Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [wtp-jsf-dev] How to convert one jsp tag to two or more html tags using jsp pagedesigner api

There is still currently no way to accomplish this. See bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=200293. For now, would it perhaps be possible to wrap your result in a span element and return that?
 
 - Ian (JSF Tools Project)
-----Original Message-----
From: wtp-jsf-dev-bounces@xxxxxxxxxxx [mailto:wtp-jsf-dev-bounces@xxxxxxxxxxx]On Behalf Of Huang Kaibin
Sent: Wednesday, March 26, 2008 12:28 AM
To: wtp-jsf-dev@xxxxxxxxxxx
Subject: [wtp-jsf-dev] How to convert one jsp tag to two or more html tags using jsp pagedesigner api

Hi all,
I am adding GUI support to my custom taglibs to the Web Page Editor,
and encounter a problem on converting one jsp tag to two or more html tags.
For example,I want to convert "<h:input label='text'>" to two html tags
"<input type='text'><label>text</label>".
Since the getResultElement method provided in ITagConverter interface returns
only one Element,I can't find any way to return more than one element.
 
Can anyone help me to get it?Thanks.
 
 
Best Regards
 
----------------------------------------------------
Huang Kaibin
Dept. of Technology and Development,
Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST)
No.189, Guangzhou Rd.,Nanjing, P.R. China
Civil Defense Building 9F
Postcode: 210029
PHONE:+86+25-86630523-911
FUJITSU INTERNAL:79955911
FAX:+86+25-83317685
----------------------------------------------------

Back to the top