You can use
 setEscapeModelStrings(false) to not escape special characters.
 attributemodifiers to add attributes to tags or use onComponentTag for this

Maurice

On Thu, May 15, 2008 at 4:05 PM, Milan Křápek <[EMAIL PROTECTED]> wrote:
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to