The ultimate breakout is custom markup reloading, of which we have an
example in wicket-examples/wicket.examples.customresourceloading. Use
is only recommended in 2.0, though you should consider just sticking
with panels as that is how Wicket was set up.

Eelco


On 11/2/06, Juergen Donnerstag <[EMAIL PROTECTED]> wrote:
> The question is how flexible you want to be. If the Components such as
> Label, Link etc stay the same and only the html markup changes, than
> you might use Component.setVariation(). It is similar to Locale and
> Style but it is a per component setting. The markup file name than
> become <myComponent>_<myVariation>.html.
>
> Juergen
>
> On 11/2/06, Shams Mahmood <[EMAIL PROTECTED]> wrote:
> > Thanx
> >
> > I check it out and post here if I get any ideas.
> >
> > Shams
> >
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of Erik van
> > Oosten
> > Sent: Thursday, November 02, 2006 4:43 PM
> > To: wicket-user@lists.sourceforge.net
> > Subject: Re: [Wicket-user] Programmatically/Dynamically change html
> >
> > Hmm. I remember that more people asked for generated templates. Don't
> > remember an answer though.
> >
> > Perhaps you can investigate the class
> > WebMarkupContainerWithAssociatedMarkup or its super classes to see how
> > Wicket loads the templates.
> >
> > Good luck,
> >       Erik.
> >
> >
> > Shams Mahmood schreef:
> > > I actually wanted to change the html source dynamically
> > > Rather than writing different panel which would limit all my variations
> > >
> > > :)
> > >
> > > Shams
> > >
> > >
> >
> > --
> > Erik van Oosten
> > http://www.day-to-day-stuff.blogspot.com/
> >
> >
> > -------------------------------------------------------------------------
> > Using Tomcat but need to do more? Need to support web services, security?
> > Get stuff done quickly with pre-integrated technology to make your job
> > easier
> > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > _______________________________________________
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
> >
> > -------------------------------------------------------------------------
> > Using Tomcat but need to do more? Need to support web services, security?
> > Get stuff done quickly with pre-integrated technology to make your job 
> > easier
> > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > _______________________________________________
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to