Can't you just override the onComponentTag method and modify the tag the way you need?
-Matej Carfield Yim wrote: > On 11/24/06, Juergen Donnerstag <[EMAIL PROTECTED]> wrote: >> And what do want to achieve? What is the input markup and what your >> expected output markup? >> > Say XML like > > <body> > <tag1>value1</tag1> > <tag2>value2</tag2> > </body> > > Wicket template like > > <html> > <body> > Tag1 is <wicket:xml wicket:id="body:tag1"></wicket:xml> > Tag2 is <wicket:xml wicket:id="body:tag2"></wicket:xml> > </body> > </html> > > Then output to > > <html> > <body> > Tag1 is value1 > Tag2 is value2 > </body> > </html> > > Of course I can use a XML parser parse the XML fill the <span> tag one > by one, just wonder is that quicker way to map a XML to HTML, may be > XSLT is what I suppose to use, but I am not sure how to work with > XsltTransfomerBehavior and XsltOutputTransformerContainer , any > examples? > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Wicket-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wicket-user > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
