override getVariation() in your page to get the appropriate html/markup
picked.

regards
-dipu


On Dec 14, 2007 9:43 AM, qinyi lai <[EMAIL PROTECTED]> wrote:

> Hi
>   I wanne to dynamic load a HTML file to mapping a JAVA class page!
> a JAVA class file will have many HTML files(1:n mapping), and in the
> running time,
> the JAVA class file will select a  HTML file to display a different Page
> layout to User!
> How to carry it out?
>
> I found a article about this,
>
> http://cwiki.apache.org/WICKET/control-where-html-files-are-loaded-from.html
> but it just define the new IResourceStreamLocator class:
> Than, override Application.init() method to add the new
> IResourceStreamLocator
> It only load the file int init of Application! and It 1:1 (java class:html
> file) mapping in the program!
>
> Thanks for U suggestion!
> Best Regards,
> Mead
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
>
> _________________________________________________________________
> Express yourself instantly with MSN Messenger! Download today it's FREE!
> http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

Reply via email to