You don't even need the div - just set the style attribute directly
on the input tag itself.
We too have been using this approach instead of hidden fields for
storing internal data.
- Navin
On 17-Jan-07, at 6:35 PM, Mika Tammilehto wrote:
Well, I found a workaround - in case somebody else is running into
the same problem... I replaced the hidden field with a normal text
field, but inside a hidden div:
<div style="display: none;">
<input type="text" jwcid="[EMAIL PROTECTED]" value=... />
</div>
Works fine for me.
Cheers,
mika
Hi
I've got 2 forms which both are submitted async (example below).
Form 1 contains a block (innerContainer) with a property selection
that should be updated when form 2 is submitted. This works ok,
but when the "innerContainer" is updated, the value of the hidden
field "someNumber" in form 1 is lost, even though the hidden field
is *not* inside "innerContainer".
Is there any reason for that behaviour? Any workaround? Maybe
another way to update the PropertySelection?
Any help appreciated!
Thanks in advance,
mika
Example:
<div jwcid="[EMAIL PROTECTED]">
<form jwcid="[EMAIL PROTECTED]" async="true" updateComponents="container1">
<input type="hidden" jwcid="[EMAIL PROTECTED]"
value="ognl:someNumber" />
<div jwcid="[EMAIL PROTECTED]">
<select jwcid="@PropertySelection" ...>
<option>...</option>
</select>
</div>
....
</form>
</div>
<div jwcid="[EMAIL PROTECTED]"
<form jwcid="[EMAIL PROTECTED]" async="true" updateComponents="ognl:
{'container2', 'innerContainer'}">
...
</form>
</div>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]