On 5/22/06, Johan Compagner <[EMAIL PROTECTED]> wrote:
use variation.

So create Page1.java and Page1.html and Page1_var.html

then return the right variation when you want page2 (== page1_var)

johan


The way I read this is that Page1.java needs to know the name of page1_var.
However that is not what I want.
Page 1.jave needs to work as a library and should not have to know where it is used, just like a normal library.
For example a JSP custom tag library can be called by any JSP page and does not contain any logic about the page where it is called from.

--
John Zoetebier
Web site : http://www.transparent.co.nz



On 5/22/06, John Zoetebier <[EMAIL PROTECTED]> wrote:
Hi,

Suppose these files:
folder1/page1.html
folder2/page1.html

In both folders has page1.html identical wicket tags, the content however can differ.
Does this require replicating the same wicket java files in both folders ?
Or can I setup a wicket library, similar to a JSP tag library ?
Cheers,

--
John Zoetebier
Web site : http://www.transparent.co.nz





Reply via email to