hum, well, in fact, there is no setEnable on datePicker, just isenable !

On Thu, Aug 21, 2008 at 11:51 PM, Julien Gaucher <[EMAIL PROTECTED]> wrote:
> i'll try that tomorrow morning when i'lle get back to work ;)
> thank you for the hint
>
> On Thu, Aug 21, 2008 at 11:44 PM, Jeremy Thomerson
> <[EMAIL PROTECTED]> wrote:
>> Sorry, wasn't thinking and didn't have the code in front of me.  It seems
>> like if you are calling setVisibilityAllowed, that the behavior should not
>> be rendered at all.  But, either way, have you tried calling
>> setEnabled(false) on the DatePicker behavior?  This should definitely stop
>> it from rendering.
>>
>> --
>> Jeremy Thomerson
>> http://www.wickettraining.com
>>
>>
>>
>> On Thu, Aug 21, 2008 at 4:25 PM, Julien Gaucher <[EMAIL PROTECTED]>wrote:
>>
>>> i use setvisibility on DateTextField, there is no setVisibility()
>>> method on the datePicker .
>>>
>>> On Thu, Aug 21, 2008 at 10:58 PM, Jeremy Thomerson
>>> <[EMAIL PROTECTED]> wrote:
>>> > Which one are you setting visibility to false on?
>>> >
>>> > On Thu, Aug 21, 2008 at 3:29 PM, Julien Gaucher <[EMAIL PROTECTED]
>>> >wrote:
>>> >
>>> >> hi
>>> >>
>>> >> i have a problem with datepicker visibility (perhaps a newb problem ;) )
>>> >>
>>> >> in my application, i have some conditional form element and i switch
>>> >> them with setVisibility(true/false) and it works perfectly well except
>>> >> for the datepicker
>>> >> i add a datepicker to a dateTextField. when i switch visibility to
>>> >> true, the two elements shows on the page, but when i switch to
>>> >> false... only the textFiel goes off, and the datepicker
>>> >> icons stay.
>>> >> i think i can overcome this by using a panel, but i feel that there is
>>> >> a better solution.
>>> >>
>>> >> could someone help ?
>>> >>
>>> >> thanks.
>>> >>
>>> >> ---------------------------------------------------------------------
>>> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> >> For additional commands, e-mail: [EMAIL PROTECTED]
>>> >>
>>> >>
>>> >
>>> >
>>> > --
>>> > Jeremy Thomerson
>>> > http://www.wickettraining.com
>>> >
>>>
>>> ---------------------------------------------------------------------
>>> 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]

Reply via email to