users@woodstock.java.net

Re: calling refresh() on a dynamically created TextField doesn't work

From: autozoom <cioni_mauro_at_yahoo.com>
Date: Tue, 29 Jan 2008 04:15:54 -0800 (PST)

One more info:
in the same page where the table is created by code, I have a button.
When the table is empty the button action is correctly called, but once I
had a row group to the table (by code) the button action is not called
anymore.
This is a "normal" action, not an Ajax one.


autozoom wrote:
>
> yes I use ajax on components created by tag libs and everything is fine.
> I will try to package a test project and send it to you soon
>
> thanks
>
>
> Dmitry Kushner wrote:
>>
>>
>>
>>
>>
>>
>>
>> I do not believe that is the case. Do you have any Ajax fuinctionality
>> working for components created by JSP tags? Please try that first. If
>> tag-based components' Ajax refresh() works fine, please send us all the
>> code you use to create a textField component ( preferably in the
>> simplified case, not within a table) and I will try to take a look at
>> it. Would be great if you could send us a simple archived Netbeans
>> project that exhibits the problem.
>>
>> Thanks!
>>
>>
>>
>> autozoom wrote:
>>
>> More in general, I suspect that Ajax functionalities and Dynafaces
>> hooking
>> has problems if components are created by code.
>> Is this correct?
>>
>> Mauro
>>
>>
>> autozoom wrote:
>>
>>
>> hello,
>> I am creating a TextField by code to be placed in a table facelet.
>> This textfield's text is bound to a bean attribute. This works fine.
>> But when I call the component's refresh() method by javascript, nothing
>> happens (no errors but the attribute getter doesn't get called).
>> Is this supported?
>>
>> thanks
>> Mauro
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_woodstock.dev.java.net
>> For additional commands, e-mail: users-help_at_woodstock.dev.java.net
>>
>>
>>
>
>

-- 
View this message in context: http://www.nabble.com/calling-refresh%28%29-on-a-dynamically-created-TextField-doesn%27t-work-tp15139265p15158165.html
Sent from the Project Woodstock - Users mailing list archive at Nabble.com.