Hi Vincent,
From what I understand you want to send the disabled parameter as an
informal parameter not as a parameter to the TextField component, right?
If so, I dont think you can do that.
However, even if the you send the parameter to the component the
html outcome will be the same.The only difference will be the the
reverse binding(to set back the value) will not be done. Is there any
other reason for you to set the disabled tag in the html directly?
If you dont like the solution with the invisible field you could use
javascript. For this you will need to overwrite the onSubmit() function
and iterate all the input fields and set the disable=false(all of this
is done in js of course).
Regards, Andrei
Vincent wrote:
Hi Andrel,
My intension is use html disabled="true" tag not tapestry tag.
Is there any solution for this?
regards,
Vincent
On 12/20/05, Andrei Chiritescu <[EMAIL PROTECTED]> wrote:
Is not possible(as far as I know). I also run into this kind of problem
and I would like to know is there is way of doing this.
For myself, I used a workaround ... so for each disabled input I added
an invisible field that is not disabled ... in this way the binding is
done through the invisible one.
For you it would look like :
<code>
<input type="text" disabled="true" jwcid="@TextField" value="ognl:sample"/>
<input type="text" style="display: none" jwcid="[EMAIL PROTECTED]"
value="ognl:sample"/>
</code>
Regards, Andrei
Vincent wrote:
Hi all,
Is it possible to get the value from textfield which parameter is set
to disabled?
<code>
<input type="text" disabled="true" jwcid="@TextField" value="ognl:sample"/>
</code>
regards,
Vincent
---------------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]