cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Magne Skjeret <>
Subject Wierd signs at lineshifts
Date Fri, 28 Mar 2003 08:48:50 GMT

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 name="onmouseover">
             Add to column

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 + 
             Add to column

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

Magne Skjeret 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message