Eclipse WTP JSP formatter setup [message #199056] |
Tue, 28 August 2007 21:28 |
Eclipse User |
|
|
|
Originally posted by: tomh.a-t-g.com
This is a multi-part message in MIME format.
------=_NextPart_000_000A_01C7E990.7AB03840
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
I have a JSP that when I format with Eclipse Europa it formats in this =
manner.
<body>
<f:view>
<h:form id=3D"addEditForm">
<div id=3D"container">
<div id=3D"addEditSection"><atg:clientSideDropDownGrid
dataFieldName=3D"name"
keyDataFieldName=3D"id"
labelCaption=3D"Consultation/Procedure Requested:"
value=3D""
required=3D"true"
id=3D"consulProcedure"
>
</atg:clientSideDropDownGrid> <br />
I would like the nested elements to be on new line and indented if =
possible? Like this
=20
<body>
<f:view>
<h:form id=3D"addEditForm">
<div id=3D"container">
<div id=3D"addEditSection">
<atg:clientSideDropDownGrid
dataFieldName=3D"name"
keyDataFieldName=3D"id"
labelCaption=3D"Consultation/Procedure =
Requested:"
value=3D""
required=3D"true"
id=3D"consulProcedure"
>
</atg:clientSideDropDownGrid> <br />
Thanks,
Tom
------=_NextPart_000_000A_01C7E990.7AB03840
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.3157" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV>I have a JSP that when I format with Eclipse Europa it formats in =
this=20
manner.</DIV>
<DIV> </DIV>
<DIV><FONT color=3D#008080 size=3D2>
<P align=3Dleft><</FONT><FONT color=3D#3f7f7f =
size=3D2>body</FONT><FONT=20
color=3D#008080 size=3D2>></FONT></P>
<P align=3Dleft><FONT color=3D#008080 size=3D2><</FONT><FONT =
color=3D#3f7f7f=20
size=3D2>f:view</FONT><FONT color=3D#008080 size=3D2>></FONT></P>
<P align=3Dleft><FONT color=3D#008080 size=3D2> =
<</FONT><FONT=20
color=3D#3f7f7f size=3D2>h:form </FONT><FONT color=3D#7f007f =
size=3D2>id</FONT><FONT=20
size=3D2>=3D</FONT><FONT color=3D#2a00ff =
size=3D2>"addEditForm"</FONT><FONT=20
color=3D#008080 size=3D2>></P></FONT><FONT size=3D2>
<P align=3Dleft></FONT><FONT color=3D#008080=20
size=3D2> =
<</FONT><FONT=20
color=3D#3f7f7f size=3D2>div </FONT><FONT color=3D#7f007f =
size=3D2>id</FONT><FONT=20
size=3D2>=3D</FONT><FONT color=3D#2a00ff =
size=3D2>"container"</FONT><FONT color=3D#008080=20
size=3D2>></P></FONT><FONT size=3D2>
<P align=3Dleft></FONT><FONT color=3D#008080 size=3D2> =
<</FONT><FONT color=3D#3f7f7f size=3D2>div =
</FONT><FONT=20
color=3D#7f007f size=3D2>id</FONT><FONT size=3D2>=3D</FONT><FONT =
color=3D#2a00ff=20
size=3D2>"addEditSection"</FONT><FONT color=3D#008080 =
size=3D2>><</FONT><FONT=20
color=3D#3f7f7f size=3D2>atg:clientSideDropDownGrid</P>
<P align=3Dleft></FONT><FONT color=3D#7f007f size=3D2> =
dataFieldName</FONT><FONT=20
size=3D2>=3D</FONT><FONT color=3D#2a00ff size=3D2>"name"</P>
<P align=3Dleft></FONT><FONT color=3D#7f007f size=3D2> =
keyDataFieldName</FONT><FONT=20
size=3D2>=3D</FONT><FONT color=3D#2a00ff size=3D2>"id"</P>
<P align=3Dleft></FONT><FONT color=3D#7f007f size=3D2> =
labelCaption</FONT><FONT=20
size=3D2>=3D</FONT><FONT color=3D#2a00ff =
size=3D2>"Consultation/Procedure=20
Requested:"</P>
<P align=3Dleft></FONT><FONT color=3D#7f007f size=3D2> =
value</FONT><FONT =
size=3D2>=3D</FONT><FONT=20
color=3D#2a00ff size=3D2>""</P>
<P align=3Dleft></FONT><FONT color=3D#7f007f size=3D2> =
required</FONT><FONT =
size=3D2>=3D</FONT><FONT=20
color=3D#2a00ff size=3D2>"true"</P>
<P align=3Dleft></FONT><FONT color=3D#7f007f size=3D2> =
id</FONT><FONT =
size=3D2>=3D</FONT><FONT=20
color=3D#2a00ff size=3D2>"consulProcedure"</P>
<P align=3Dleft></FONT><FONT color=3D#008080 size=3D2> =
></P></FONT><FONT size=3D2>
<P></FONT><FONT color=3D#008080 size=3D2> =
</</FONT><FONT=20
color=3D#3f7f7f size=3D2>atg:clientSideDropDownGrid</FONT><FONT =
color=3D#008080=20
size=3D2>></FONT><FONT size=3D2> </FONT><FONT color=3D#008080=20
size=3D2><</FONT><FONT color=3D#3f7f7f size=3D2>br </FONT><FONT =
color=3D#008080=20
size=3D2>/></FONT></P>
<P><FONT color=3D#008080 size=3D2>I would like the nested elements to be =
on new line=20
and indented if possible? Like this</FONT></P>
<P><FONT color=3D#008080 size=3D2> </P>
<P align=3Dleft><<FONT color=3D#3f7f7f size=3D2>body</FONT><FONT =
color=3D#008080=20
size=3D2>></FONT></P>
<P align=3Dleft><FONT color=3D#008080 size=3D2><</FONT><FONT =
color=3D#3f7f7f=20
size=3D2>f:view</FONT><FONT color=3D#008080 size=3D2>></FONT></P>
<P align=3Dleft><FONT color=3D#008080 size=3D2> =
<</FONT><FONT=20
color=3D#3f7f7f size=3D2>h:form </FONT><FONT color=3D#7f007f =
size=3D2>id</FONT><FONT=20
size=3D2>=3D</FONT><FONT color=3D#2a00ff =
size=3D2>"addEditForm"</FONT><FONT=20
color=3D#008080 size=3D2>></P></FONT><FONT size=3D2>
<P align=3Dleft></FONT><FONT color=3D#008080=20
size=3D2> =
<</FONT><FONT=20
color=3D#3f7f7f size=3D2>div </FONT><FONT color=3D#7f007f =
size=3D2>id</FONT><FONT=20
size=3D2>=3D</FONT><FONT color=3D#2a00ff =
size=3D2>"container"</FONT><FONT color=3D#008080=20
size=3D2>></P></FONT><FONT size=3D2>
<P align=3Dleft></FONT><FONT color=3D#008080 size=3D2> =
<</FONT><FONT color=3D#3f7f7f =
size=3D2>div=20
</FONT><FONT color=3D#7f007f size=3D2>id</FONT><FONT =
size=3D2>=3D</FONT><FONT=20
color=3D#2a00ff size=3D2>"addEditSection"</FONT><FONT color=3D#008080=20
size=3D2>></FONT></P>
<P align=3Dleft><FONT color=3D#008080 size=3D2> =
=20
=
<</FONT><FONT=20
color=3D#3f7f7f size=3D2>atg:clientSideDropDownGrid</P>
<P align=3Dleft></FONT><FONT color=3D#7f007f size=3D2> =
=
=20
dataFieldName</FONT><FONT =
color=3D#000000=20
size=3D2>=3D</FONT><FONT color=3D#2a00ff size=3D2>"name"</P>
<P align=3Dleft></FONT><FONT color=3D#7f007f size=3D2> =
=
=20
keyDataFieldName</FONT><FONT =
color=3D#000000=20
size=3D2>=3D</FONT><FONT color=3D#2a00ff size=3D2>"id"</P>
<P align=3Dleft></FONT><FONT color=3D#7f007f size=3D2> =
=
=20
labelCaption</FONT><FONT =
color=3D#000000=20
size=3D2>=3D</FONT><FONT color=3D#2a00ff =
size=3D2>"Consultation/Procedure=20
Requested:"</P>
<P align=3Dleft></FONT><FONT color=3D#7f007f size=3D2> =
=
=20
value</FONT><FONT color=3D#000000=20
size=3D2>=3D</FONT><FONT color=3D#2a00ff size=3D2>""</P>
<P align=3Dleft></FONT><FONT color=3D#7f007f size=3D2> =
=
=20
required</FONT><FONT =
color=3D#000000=20
size=3D2>=3D</FONT><FONT color=3D#2a00ff size=3D2>"true"</P>
<P align=3Dleft></FONT><FONT color=3D#7f007f size=3D2> =
=
=20
id</FONT><FONT color=3D#000000=20
size=3D2>=3D</FONT><FONT color=3D#2a00ff size=3D2>"consulProcedure"</P>
<P align=3Dleft></FONT><FONT color=3D#008080 size=3D2> =
=
=20
></P></FONT><FONT size=3D2>
<P></FONT><FONT color=3D#008080 size=3D2> =
=20
=
</</FONT><FONT=20
color=3D#3f7f7f size=3D2>atg:clientSideDropDownGrid</FONT><FONT =
color=3D#008080=20
size=3D2>></FONT><FONT size=3D2> </FONT><FONT color=3D#008080=20
size=3D2><</FONT><FONT color=3D#3f7f7f size=3D2>br </FONT><FONT =
color=3D#008080=20
size=3D2>/></FONT></P>
<P> </P>
<P><FONT face=3DArial color=3D#000000>Thanks,</FONT></P>
<P><FONT face=3DArial color=3D#000000>Tom</FONT></P></FONT>
<P><FONT color=3D#008080 size=3D2><FONT face=3DArial=20
color=3D#000000></FONT> </P></FONT></DIV></BODY ></HTML>
------=_NextPart_000_000A_01C7E990.7AB03840--
|
|
|
Powered by
FUDForum. Page generated in 0.04534 seconds