there is an example of custom markup loading in wicket-examples. you might
also want to search the list for getvariation() to see if that will fit your
usecase
-igor
On 4/1/07, Francisco Treacy <[EMAIL PROTECTED]> wrote:
Hi,
We all know that in Wicket for a given ExampleView.java we have an
ExampleView.html associated markup.
How can I dynamically specify the HTML template from my Java page?
I'm exceptionally needing this:
if (product.getReference().equals("C25-L")) {
// trigger some code to use C25-L.html *instead* of
ExampleView.html
}
I tried playing with setMarkupStream and newMarkupResourceStream but still
no success.
Didn't seem that complex, but I'm lost here. Any hints?
Thanks!
Francisco
------------------------------
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions
! Profitez des connaissances, des opinions et des expériences des
internautes sur Yahoo!
Questions/Réponses<http://fr.rd.yahoo.com/evt=42054/*http://fr.answers.yahoo.com>
.
-------------------------------------------------------------------------
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
Wicket-user@lists.sourceforge.net
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
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user