users@woodstock.java.net

Re: Project Woodstock releases 4.1.1

From: Dan Labrecque <Dan.Labrecque_at_Sun.COM>
Date: Thu, 10 Jan 2008 17:01:49 -0500

I filed a bug to track the issue.

https://woodstock.dev.java.net/issues/show_bug.cgi?id=989

autozoom wrote:
> I hooked the myAlert javascript function to the postReplace attribute of the
> ajaxtransaction.
> The myAlert function is like this:
>
> function myAlert(p1, p2) {
> alert("i am here");
> webui.suntheme.widget.common.replaceElements(dojo.body());
> }
>
> At the end of the ajax transaction I correctly see the alert, but no refresh
> of the table occurs.
>
> I know you are fixing the problem for the next release, but I would really
> need a workaround for the time being.
>
> thanks a lot
>
> Mauro
>
>
>
> Dan Labrecque wrote:
>
>> autozoom wrote:
>>
>>> Can you pls give us more detail about how to use this workaround?
>>> The createWidgetOnLoad is automatically called by the ajax response code,
>>> how can I replace it with replaceElements?
>>>
>>>
>> Don't concern yourself with the createWidgetOnLoad function -- I expect
>> it to be called. This function simply stores JSON data so widgets can be
>> created at a later time. The replaceElements function is used to trigger
>> the widgets to render in the page. Currently, we call this function
>> during the window onLoad event, but it can be called again.
>>
>> Please see the DynamicFaces.fireAjaxTransaction function API. Dynamic
>> Faces provides the means to add a call back function. I have not tested
>> this myself, but you should be able to use the feature to call
>> replaceElements after Dynamic Faces has completed its Ajax transaction.
>> In the mean time, I'm working on a better solution and hope to make that
>> available shortly.
>>
>> Dan
>>
>>
>>> It is very important to be able to ajaxify all of the woodstock
>>> components
>>> to me.
>>>
>>> thanks a lot
>>>
>>>
>>> Dan Labrecque wrote:
>>>
>>>
>>>> Rasha wrote:
>>>>
>>>>
>>>>> Hello,
>>>>> The new build included this createWidgetOnLoad function, which is
>>>>> somehow
>>>>> messing up all the logic we were working with in previous releases.
>>>>> Since
>>>>> on
>>>>> ajax requests, the widgets do not get updated anymore.
>>>>>
>>>>>
>>>>>
>>>> Are you using DynamicFaces.fireAjaxTransaction to render a new widget VS
>>>> the component's refresh feature?
>>>>
>>>>
>>>>
>>>>> Is there a way to disable it? and make this work with replaceElement
>>>>> just
>>>>> like before?
>>>>>
>>>>>
>>>>>
>>>> Unfortunately, Dojo is forcing us to use the window.onLoad event. We'll
>>>> have to come up with a better solution for this, but the following
>>>> function may get you by. Note that this is NOT a public function and may
>>>> go away when we come up with a better fix.
>>>>
>>>> webui.suntheme.widget.common.replaceElements(dojo.body());
>>>>
>>>> Dan
>>>>
>>>>
>>>>
>>>>
>>>>> Thanks,
>>>>> Rasha
>>>>>
>>>>>
>>>>> Jason Suplizio wrote:
>>>>>
>>>>>
>>>>>
>>>>>> Actually, I'm going with the Woodstock_411_GA. Sorry.
>>>>>>
>>>>>> On Dec 12, 2007 11:49 AM, Jason Suplizio <suplizio_at_gmail.com> wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>> Great work! If I wanted to check this out, which of these
>>>>>>> branches/versions (see att'd image) should I use?
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Dec 10, 2007 12:59 PM, Dick Spellman <Richard.Spellman_at_sun.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>> The Project Woodstock Team has released a 4.1.1 micro release that
>>>>>>>> fixes a few critical bugs, offers improved performance and now
>>>>>>>> includes
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>> Dojo
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>> 1.0.1
>>>>>>>> Links can be found on the Download page.
>>>>>>>> https://woodstock.dev.java.net/Download.htm
>>>>>>>>
>>>>>>>> If you plan to add the NetBeans plugins for 4.1.1 to NetBeans,
>>>>>>>> please
>>>>>>>> read the "Special Note" about getting the latest development build
>>>>>>>> of
>>>>>>>> NetBeans.
>>>>>>>>
>>>>>>>> The Release Notes for 4.1.1 are available from a link on the
>>>>>>>> Download
>>>>>>>> page and detail all the issues fixed since 4.1
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>> <https://woodstock.dev.java.net/source/browse/*checkout*/woodstock/doc/release-notes.html>https://woodstock.dev.java.net/source/browse/*checkout*/woodstock/doc/release-notes.html?rev=1.50.2.8
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>> The Project Woodstock team will now focus on the 4.2 version. We
>>>>>>>> are
>>>>>>>> very interested in feedback for the list of components and other
>>>>>>>> changes/features that we have listed on our Roadmap. Please send
>>>>>>>> input
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>> to
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>> dev_at_woodstock.dev.java.net.
>>>>>>>> https://woodstock.dev.java.net/ProjectRoadmap.htm
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>> The Project Woodstock Team
>>>>>>>> ---------------------------------------------------------------------
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>> To
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>> unsubscribe, e-mail: users-unsubscribe_at_woodstock.dev.java.net For
>>>>>>>> additional commands, e-mail: users-help_at_woodstock.dev.java.net
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>