Greetings

I have a small problem with some lineshifts in my xsp.

It seems like a lineshift is added to the output html from the xsp page.
I am not sure if this is something my editor puts on, or if it is a default behaviour of cocoon.
And if it is, is ther anything I can do about it?


I use cocoon-2.0.4 /jdk1.4.1 and IntelliJ editor.



This xsp code:

<a href="#">
        <xsp:attribute name="onclick">
                <xsp:expr>"addToUrl('header="+ dragid + "')"</xsp:expr>
        </xsp:attribute>
        <xsp:attribute name="onmouseover">
                <xsp:expr>"ieShow("+varcounter+")"</xsp:expr>
        </xsp:attribute>
            Add to column
</a>

Gives this ouput

<a href="#" onclick="&#xA; addToUrl('header=V319.F1')&#xA; " onmouseover="&#xA; ieShow(0)&#xA; ">Add to column</a>

While this xsp:
<a href="#">
<xsp:attribute name="onclick"><xsp:expr>"addToUrl('header="+ dragid + "')"</xsp:expr></xsp:attribute>
<xsp:attribute name="onmouseover"><xsp:expr>"ieShow("+varcounter+")"</xsp:expr></xsp:attribute>
Add to column
</a>


gives this output:
<a href="#" onclick="addToUrl('header=V319.F1')&#xA; " onmouseover="&#xA; ieShow(0)&#xA; ">



Magne Skjeret



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to