wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Milan Křápek <Hellb...@seznam.cz>
Subject Re: wicket xml - add label as xml element atribute
Date Thu, 15 May 2008 14:05:22 GMT
Thanks, 
  the XML code is fine, but I need to know how to do it in the .java file. It seems you just
use Labels that fill the value of each node. But my problem is little bit different. What
I want is to be able do set there some attribute.

You have in your XML code:

<loc wicket:id="locNode">my.location.com</loc>

but I need 

<loc url="my.location.com"/>

And this I have givven by DTD so I cannot have there any wicket:id. And I need to pass the
value to attribute and not as text value in the <loc> element. 

So I think I cannot use your method :o(

Best regards

Milan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Mime
View raw message