Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » *.jspx auto-format in Eclipse 3.2
*.jspx auto-format in Eclipse 3.2 [message #216597] Wed, 02 July 2008 07:57 Go to next message
koonyue is currently offline koonyueFriend
Messages: 2
Registered: July 2009
Junior Member
Hi,

I am using Eclipse 3.2 WTP and open a jspx file using JSP editor with the
following content (partial):

<div id="divHeader" style="width: 100%; height: ${parm1}; overflow:
hidden" />

After I press ctrl-shift-f, the above text becomes:

<div id="divHeader" style="width: 100%; height: ${" />

I know the "${parm1}" is not a well form XML element, but how can I
construct the style attribute using some constand and a request parameter?

Please note that if I DON'T format the above code and let it run, it run
perfectly under Tomcat 6, JSF 1.2 + Facelet

Any help would be appreciated

Thank You
Re: *.jspx auto-format in Eclipse 3.2 [message #216605 is a reply to message #216597] Wed, 02 July 2008 09:03 Go to previous message
koonyue is currently offline koonyueFriend
Messages: 2
Registered: July 2009
Junior Member
I would like to say the lastest version of eclipse ganymede solve the
formatting problem, good job !

however, the result format is still not perfect

anyway, at least it really work
Previous Topic:Installation of new version of Web tools
Next Topic:XML Editor content types and 'complex' extensions
Goto Forum:
  


Current Time: Tue Apr 23 09:39:21 GMT 2024

Powered by FUDForum. Page generated in 0.02941 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top