[jboss-user] [JBoss Seam] - XML formattting in Eclipse to match seam-gen
awhitford
do-not-reply at jboss.com
Mon Jun 4 18:15:24 EDT 2007
When looking at seam-gen generated xhtml, I can see it is formatted in a way that the element attributes are aligned on the equals (=) sign:
| <s:decorate id="nameDecoration" template="layout/edit.xhtml">
| <ui:define name="label">name</ui:define>
| <h:inputText id="name"
| required="true"
| size="40"
| maxlength="40"
| value="#{countryHome.instance.name}">
| <a:support event="onblur" reRender="nameDecoration"/>
| </h:inputText>
| </s:decorate>
|
This is certainly pretty, and makes it easy to read.
My problem is that this alignment is lost when I reformat this XML in Eclipse because it has its own indentation rules. Is there a way to get this kind of indentation in Eclipse?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4051131#4051131
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4051131
More information about the jboss-user
mailing list