users@woodstock.java.net

Re: Project Woodstock releases 4.1.1

From: autozoom <cioni_mauro_at_yahoo.com>
Date: Fri, 18 Jan 2008 23:21:41 -0800 (PST)

hi,
I am really looking forward to use dynafaces together with woodstock
components.
Has the 1st milestone for woodstock 4.2 been released?
Where can we find it?

thanks a lot
Mauro


Dan Labrecque wrote:
>
> It will be the first milestone for 4.2. I don't believe anything has
> been posted, but that's the plan. This release will have a couple bug
> fixes and a new login component.
>
> Dan
>
> autozoom wrote:
>> ok thanks anyway
>> I am really looking forward for the next release.
>> Do you mean we'll have a new version of Woodstock components next friday?
>> is
>> it 4.2?
>> I cannot find a up to date release plan on the site
>>
>> thanks a lot
>>
>>
>> Dan Labrecque wrote:
>>
>>> Sorry, but I have not found a good work around, yet. I cannot use the
>>> postReplace property of DynamicFaces.fireAjaxTransaction to call my
>>> function. Even when calling the function manually, I still had to tweak
>>> Woodstock code. The best I can do right now is to provide a fix with the
>>> next milestone, due Jan 18th.
>>>
>>> Dan
>>>
>>> autozoom wrote:
>>>
>>>> can you please give more details about the workaround you have in mind?
>>>> if I can get this to work it would really be great
>>>>
>>>> thanks a lot
>>>>
>>>>
>>>> Dan Labrecque wrote:
>>>>
>>>>
>>>>> Looking at the JSF code, I see that JavaScript is not evaluated when
>>>>> postReplace is used. There is still hope that my work around is valid,
>>>>> just won't be able to use postReplace to invoke it.
>>>>>
>>>>> Dan
>>>>>
>>>>> Dan Labrecque wrote:
>>>>>
>>>>>
>>>>>> After further debugging, it appears that JSF Extensions isn't
>>>>>> evaluating JavaScript. Looking at the response, I see that all
>>>>>> JavaScript is wrapped in CDATA tags. Although there may be still be a
>>>>>> Woodstock issue to correct, I don't see how this can work if JSF
>>>>>> Extensions never evaluates the script? Woodstock did not add these
>>>>>> tags.
>>>>>>
>>>>>> <script type="text/javascript">
>>>>>> //<![CDATA[
>>>>>> webui.suntheme.widget.common.createWidgetOnLoad(...
>>>>>> //]]]]><![CDATA[>
>>>>>> </script>
>>>>>>
>>>>>> That said, I'll keep working on this, but there may be a JSF
>>>>>> Extensions issue to file here. Did you say this worked previously
>>>>>> with
>>>>>> 4.1? Do you know what version of JSF Extensions you're using?
>>>>>>
>>>>>> Dan
>>>>>>
>>>>>> Dan Labrecque wrote:
>>>>>>
>>>>>>
>>>>>>> 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
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
>

-- 
View this message in context: http://www.nabble.com/Project-Woodstock-releases-4.1.1-tp14261618p14968001.html
Sent from the Project Woodstock - Users mailing list archive at Nabble.com.