XSP indent
Posted: Tue Mar 09, 2004 7:40 pm
Hi,
I just dowloaded oxygen and tried some of oxygen's features. I have several xsp pages and thus opened one and first thing that came in mind was to indent it because it spreaded all over the page (tabs were to big). But after indent, the whole xsp thing got even worse:
<xsp:logic>
String role = request.getParameter("role");
String roleFrag = <xsp-session-fw:getxml context="authentication" path="/authentication/role" as="string"/>;
ends up as:
<xsp:logic> String role = request.getParameter("role"); String roleFrag =
<xsp-session-fw:getxml context="authentication" path="/authentication/role"
as="string"/>;
or:
<xsp:logic>
if (evenRow)
{
<Attributes class="EvenRow"/>
}
ends up as:
<xsp:logic> if (evenRow) { <Attributes class="EvenRow"/> } else {
Seems that with after the <xsp:logic> tag, everything is backed up against it, messing up/breaking the code.
I would like oxygen to leave the none-tag stuff as is (or only shift the tabs more to the left/right).
Kind Regards
JH
I just dowloaded oxygen and tried some of oxygen's features. I have several xsp pages and thus opened one and first thing that came in mind was to indent it because it spreaded all over the page (tabs were to big). But after indent, the whole xsp thing got even worse:
<xsp:logic>
String role = request.getParameter("role");
String roleFrag = <xsp-session-fw:getxml context="authentication" path="/authentication/role" as="string"/>;
ends up as:
<xsp:logic> String role = request.getParameter("role"); String roleFrag =
<xsp-session-fw:getxml context="authentication" path="/authentication/role"
as="string"/>;
or:
<xsp:logic>
if (evenRow)
{
<Attributes class="EvenRow"/>
}
ends up as:
<xsp:logic> if (evenRow) { <Attributes class="EvenRow"/> } else {
Seems that with after the <xsp:logic> tag, everything is backed up against it, messing up/breaking the code.
I would like oxygen to leave the none-tag stuff as is (or only shift the tabs more to the left/right).
Kind Regards
JH