I dont think wicket:link would work. Because I need to create my own class (Navlink). I guess that the wicket framework adds a Link (or PageLink) automaticly for you. But if you work on the sourcecode it might work. Changing the code behind <wicket:link>. If its possible Jens
greeklinux wrote: > > Hello, > > for me it would be important to know where to look if I see the Navlink > code. > When I know where to find the property file with the navigation roules > then it > is ok. > > Cant you use the wicket:link tag? then you have to change only the html > instead of the java part. > > greetings > > > jensiator wrote: >> >> Thank you for the feedback. >> Okey, I have a NavLink.class that extends PageLink. >> The keys in the property file is the full class name. If the property >> file don't contain the class name key, NavLink will just call the >> PageLink constuctor with the the class name as usual. If the property >> file contains the classname key it will call the super constructor >> (PageLink) with the value set in the propertyfile. And the value can be >> another page target class. The drawback is that its hard for other >> developers to understand which page the NavLink is realy targeting! >> >> I wonder if its possible to do something like MyTargetClass_BRAND.class? >> Have to think about that! >> >> Jens >> >> > > -- View this message in context: http://www.nabble.com/Branding-a-PageLink-target-Page-tp18382006p18688733.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
