Pheraps you can use a readonly="true" attribute and specify a CSS
stylesheet that make it appear as a disabled one (gray background color
or similar)
This way you have not to deal with extra hidden components or extra
javascript.
regards
Fabio
Vincent ha scritto:
Hi Matthew,
The reason why I want to use disabled is the field is readonly , which
means once the field value is set , it will not change any more.
Of course ,there are several way to approah this , one way is to use
readonly="true" but in the UI , disabled="true" and readonly does not
look like the same , readonly just look like the nornal field which
disabled seems more look like readonly , that's my intention.
regards,
Vincent
On 12/20/05, Matthew Lyons <[EMAIL PROTECTED]> wrote:
Couple of questions:
Why is it disable? To show a value? If so can you query the same
function that set that value? (If its disabled the user can't change it).
Or if its set by something else, can you have that same setter update an
invisible field? (as someone else suggested)
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]
---------------------------------------------------------------------
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]