hi 

I'm a newbie to wicket and i would like to know to give a static url
reference from a link component

I tried the following

....
google 
....

....
Link link = Link("wicketLink")
{
      protected void onComponentTag(final ComponentTag tag)
      {
              super.onComponentTag(tag); 
              tag.put("href","http://www.google.com";);
      }
}
...

but this is not possible because cannot onComponentTag method as it is
marked final. 
How do i give urls from a java class to a   tag

Thanks
tbt
-- 
View this message in context: 
http://www.nabble.com/wicket-link-tp16295833p16295833.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]

Reply via email to