Re: change (redirect) the markup html file

2010-05-27 Thread Jeremy Thomerson
On Wed, May 26, 2010 at 8:08 AM, Daniel Aschauer daniel.ascha...@gmail.comwrote: Thanks! But, I don't have a setStyle in WebPage-class, there is a setStyle-method only in ResourceReference? How could I use this? Sorry, I forgot that setStyle is only on the session for page-level styling.

Re: change (redirect) the markup html file

2010-05-26 Thread Daniel Aschauer
Thanks! But, I don't have a setStyle in WebPage-class, there is a setStyle-method only in ResourceReference? How could I use this? Daniel 2010/5/25 Jeremy Thomerson jer...@wickettraining.com: You could use style for this if you'd like, and use a PageParameter to set the style in the

change (redirect) the markup html file

2010-05-25 Thread Daniel Aschauer
Hello! Maybe a simple question, but I didn't figured it out yet. I have a set of very simular mainly static pages, so I want to use one java class and depending on a given parameter use differnt html-markup files. Is there a method that does this kind of redirect or changes the name of the

Re: change (redirect) the markup html file

2010-05-25 Thread Jeremy Thomerson
You could use style for this if you'd like, and use a PageParameter to set the style in the constructor (SomePage_style1.html, SomePage_style2.html) public SomePage(PageParameters params) { setStyle(params.get(style)); } On Tue, May 25, 2010 at 5:23 AM, Daniel Aschauer