google-code-export / jqwicket

Automatically exported from code.google.com/p/jqwicket
1 stars 0 forks source link

TabsWebMarkupContainer enable(AjaxRequestTarget, int) seems not to work #16

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
In TabsWebMarkupContainer component  I've one tab disabled at startup and try 
to enable it at runtime. To do this I use AjaxButton where in onSubmit method I 
invoke method: 
myTabs.enable(AjaxRequestTarget target, int tabIndex) 
As result tab is still disabled. I've added some quickstart for this problem in 
atachment. 

In wicket debug window I see response like that:  
<?xml version="1.0" 
encoding="UTF-8"?><ajax-response><evaluate><![CDATA[$("#tabs24").tabs("enable","
1");]]></evaluate></ajax-response>

Could the problem be that index of the tab is in ""?
I tried do downgrade jqwicket to version 0.5 and this behavior worked there. 
The only diference in ajax responses was ommision of quote marks on index 
parametr. 

What version of the product are you using? On what operating system?
jqwicket 0.6, wicket 1.4.17, browsers: chrome 13, firefox 5

Original issue reported on code.google.com by krzysiek...@gmail.com on 18 Aug 2011 at 1:46

Attachments:

GoogleCodeExporter commented 9 years ago
fixed for 0.7

Original comment by m...@javaforge.net on 14 Sep 2011 at 7:24