Re: WiQuery disabling tabs

2012-01-17 Thread Marco Springer
If anyone cares, I found a solution... I'm guessing the previous solution isn't working because the statement is probably output before the page is actually rendered. Therefore i did the following: tabs.add(new AbstractBehavior() { @Override public void renderHead(IHeaderResponse response) {

Re: WiQuery disabling tabs

2012-01-17 Thread Martin Grigorov
On Tue, Jan 17, 2012 at 9:15 AM, Marco Springer marcosprin...@gmail.com wrote: If anyone cares, I found a solution... I'm guessing the previous solution isn't working because the statement is probably output before the page is actually rendered. Therefore i did the following: tabs.add(new

Re: WiQuery disabling tabs

2012-01-17 Thread Marco Springer
Ah ofcourse! Tnx. On 17 January 2012 09:19, Martin Grigorov mgrigo...@apache.org wrote: On Tue, Jan 17, 2012 at 9:15 AM, Marco Springer marcosprin...@gmail.com wrote: If anyone cares, I found a solution... I'm guessing the previous solution isn't working because the statement is

RE: WiQuery disabling tabs

2012-01-17 Thread Hielke Hoeve
[mailto:marcosprin...@gmail.com] Sent: dinsdag 17 januari 2012 9:16 To: users@wicket.apache.org Subject: Re: WiQuery disabling tabs If anyone cares, I found a solution... I'm guessing the previous solution isn't working because the statement is probably output before the page is actually rendered

Re: WiQuery disabling tabs

2012-01-17 Thread Marco Springer
...@gmail.com] Sent: dinsdag 17 januari 2012 9:16 To: users@wicket.apache.org Subject: Re: WiQuery disabling tabs If anyone cares, I found a solution... I'm guessing the previous solution isn't working because the statement is probably output before the page is actually rendered. Therefore i

WiQuery disabling tabs

2012-01-16 Thread Marco Springer
Hi all, *The problem: * tabs not disabled on first render. *The source:* I'm adding the Tabs class from WiQuery 1.2.4 like so: tabs = new Tabs(tabs); tabs.setOutputMarkupId(true); CompoundPropertyModelWafer waferModel = new CompoundPropertyModelWafer(getDefaultModel()); tabs.add(new