On 01.06.2004 19:56, Peter Kröpfl wrote:

Hi,

i am trying to build a tag with multiple attributes like that:

<link id="page.category.snowboarder" href="snowboarder/start">snowboarder</link>

(for i18n stuff)


I tried it this way

---8<-----------

<link>
 <xsp:attribute>
   <xsp:param name="name">id</xsp:param>
   page.category.<esql:get-string column="NAME"/>
 </xsp:attribute>
 <xsp:attribute>
   <xsp:param name="name">href</xsp:param>
   <esql:get-string column="NAME"/>/start
 </xsp:attribute>
 <esql:get-string column="NAME"/>
</link>

------------>8--

However, it does not work.
I could only generate one attribute, but not two, or more.

What's the problem with this code?

I don't see one, it looks ok. But you never know what the XSP stylesheets do with this code and what Java code comes out at the end. You should have a look into that code to see what happens. It should be located in the servlet container's work dir.


Joerg

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



Reply via email to