users@woodstock.java.net

Re: Table + AJAX

From: Venkatesh Babu <Venkatesh.M_at_Sun.COM>
Date: Tue, 27 Nov 2007 16:18:27 +0530

Could you show the code snippet for the ajax refresh you are doing.
How are you updating the server side data and doing the label refresh.

-Venky

stuartr wrote:
> Guys
> Im having a problem with any of the textfield, hidden , hyperlink etc to
> allow for ajax refresh.
> My code has an onclick which updates the server side, and then invokes a
> refresh on a label
> I have on the screen. Basically, the code at the back end bean gets invoked
> to get the new value
> for the label, and using firebug I can see the request.
> However, nothing happens at the client side. the label just never changes
> its value.
>
> Im using facelets along with my woodstock components.
>
>
> Stu
>
>
>
>
>
>
>
>
>
>
>
>
> Dan Labrecque wrote:
>
>> The prototype was available in the Woodstock milestone builds, but is
>> disabled for the official 4.1 release. It will be enabled again in the
>> 4.2 milestone builds as we complete the widget.
>>
>> Dan
>>
>> Lking wrote:
>>
>>> Thanks Dan.
>>>
>>> Is this "table2" available for trying?
>>>
>>>
>>>
>>> On Nov 21, 2007 6:46 PM, Dan Labrecque <Dan.Labrecque_at_sun.com
>>> <mailto:Dan.Labrecque_at_sun.com>> wrote:
>>>
>>> Not all components support this API -- please see the TLD for
>>> supported
>>> JavaScript features. There is a table2 component in the works
>>> which is
>>> fully Ajax enabled and supports the refresh feature.
>>>
>>> Dan
>>>
>>> Lking wrote:
>>> > How can I get a client-side update with the Table component?
>>> > I was trying something like...
>>> >
>>> >
>>>
>>> onChange="document.getElementById('form1:table1').refresh('form1:textfield1');"
>>> >
>>> > but it doesn't work.
>>> >
>>> > thanks.
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe_at_woodstock.dev.java.net
>>> <mailto:users-unsubscribe_at_woodstock.dev.java.net>
>>> For additional commands, e-mail: users-help_at_woodstock.dev.java.net
>>> <mailto:users-help_at_woodstock.dev.java.net>
>>>
>>>
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_woodstock.dev.java.net
>> For additional commands, e-mail: users-help_at_woodstock.dev.java.net
>>
>>
>>
>>
>
>