werner wrote:
Yes, it's true. The tabs don't work when you have another form on the
page. This problem can be solved if you change the line in forms-lib.js:
document.forms[0][state].value = idx;
to
document.getElementById(state).value=idx;
Then there is another change in the xsl necessary, because the tab-state
widget is not generated with an id attribute (only with a name). In
forms-page-styling.xsl look for the line
<input type="hidden" name="{$state-widget}" value="{$active}"/>
and add the id attribute
<input type="hidden" name="{$state-widget}" id="{$state-widget}"
value="{$active}"/>
Then it works. I don't know it this is a hack or not.
As far as I have seen, this problem exists in 2.1.7 and 2.1.8 (without
Ajax)
It will be in 2.1.8 :-)
Thanks for spotting this!
Sylvain
--
Sylvain Wallez Anyware Technologies
http://people.apache.org/~sylvain http://www.anyware-tech.com
Apache Software Foundation Member Research & Technology Director
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]