Thanks for the answers,

I think both include and getVariation will solve my problem. I'll try out to use the include from the cvs.

Christian

On Thu, 07 Jul 2005 12:25:29 +0200, Johan Compagner <[EMAIL PROTECTED]> wrote:

I am planning to introduce a getVariation() method
so that you can set on a container instance what variation of markup it should use.

It will work something like this:

Help.java
Help.html
Help1.html
Help2.html

Help.java searches for a default Help.html

If the variation is set to 1 then it will search for Help1.html (or Help_1.html)
So that you can switch at instance level to certain html files.

johan


Christian Essl wrote:

Thanks Juergen,

Sorry if I expressed myself wrong what I did mean is:

I have help-pages Help1.html Help2.html Help3.thml etc and these pages only differ by their static content. Do I have to provide empty Help1.class Help2.class Help3.class which extend from Help.class or is it possible that they all can just share the single Help.class.

Or is there some way to dynamicly set the Markup file for a certain Page?

Thanks,
Christian

On Thu, 7 Jul 2005 07:08:15 +0200, Juergen Donnerstag <[EMAIL PROTECTED]> wrote:

please see the navomatic example on how to create a common page layout
incl. navigation etc..This is achieved by means of a Border component.
The page's markup contains only the "main" part of your page. For each
web page, there must be a corresponding Page class.

In HEAD you'll find a 2nd way of achieving the same by means of markup
inheritance which seems to more easy to understand.

Juergen

On 7/7/05, Christian Essl <[EMAIL PROTECTED]> wrote:

Hi,

Quite some pages in my web-app are static. They only share a common border for navigation and contain some links to 'functional' pages. Do I have to create for each such page a new class or is it possible to share common
page-class?

Thanks,
Christian

-- Christian Essl





___________________________________________________________
Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user






-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user



--
Christian Essl
        

        
                
___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to