Re: wicket xml - add label as xml element atribute

2008-05-16 Thread Milan Křápek
Yeah, thanks a lot that was the thing I was searching for. But there is one more problem. When I do that this way, I get on the output something like: loc myAttritbute=attributeValue wicket:id=thisComponent/ Is there any way to remove wicket:id attribute from the output code?

Re: wicket xml - add label as xml element atribute

2008-05-16 Thread Martijn Dashorst
http://www.google.com/search?q=remove+wicket+attribute+markup On 5/16/08, Milan Křápek [EMAIL PROTECTED] wrote: Yeah, thanks a lot that was the thing I was searching for. But there is one more problem. When I do that this way, I get on the output something like: loc

wicket xml - add label as xml element atribute

2008-05-15 Thread Milan Křápek
Hi, I want to generate XML document using wicket but I have this problem. I want to generate something like root var name=a1/ var name=a2/ var name=a3/ otherStructure/ /root I decided to generate the var elements by ListView. This has some problem, because after rendering I have in

Re: wicket xml - add label as xml element atribute

2008-05-15 Thread Michael Sparer
: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Michael Sparer http://talk-on-tech.blogspot.com -- View this message in context: http://www.nabble.com/wicket-xml---add-label-as-xml-element-atribute-tp17253179p17253615.html Sent from the Wicket - User mailing

Re: wicket xml - add label as xml element atribute

2008-05-15 Thread Milan Křápek
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

Re: wicket xml - add label as xml element atribute

2008-05-15 Thread Maurice Marrink
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

Re: wicket xml - add label as xml element atribute

2008-05-15 Thread Michael Sparer
- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Michael Sparer http://talk-on-tech.blogspot.com -- View this message in context: http://www.nabble.com/wicket-xml---add-label-as-xml-element-atribute-tp17253179p17254329.html Sent from