The fix was for inputSuggestAjax not autoUpdateDataTable. Take a look
at the fix though since the two problems may be releated.
sean
On 10/25/05, Travis Reeder <[EMAIL PROTECTED]> wrote:
> Hi Sean,
>
> Is this a fix as of yesterday? There were issues yesterday with the Ajax
> components when using server side state saving. Namely
> autoUpdateDataTable.jsp didn't work, it repopulates the entire page inside
> the table so you get this nice infinite recurring page inside a page inside
> page effect. ;)
>
> And this is what shows in the logs which I presume is the reason:
>
> Oct 25, 2005 10:52:58 AM
> org.apache.myfaces.application.jsp.JspStateManagerImpl
> restoreTreeStructure
> FINE: No serialized view found in server session!
> Oct 25, 2005 10:52:58 AM
> org.apache.myfaces.lifecycle.LifecycleImpl restoreView
> FINE: exiting restoreView in
> org.apache.myfaces.lifecycle.LifecycleImpl (--> render
> response)
>
> Travis
>
>
> On 10/25/05, Sean Schofield <[EMAIL PROTECTED]> wrote:
> > OK I double checked and I was the one to apply the patch
> > (MYFACES-643.) Its a bit confusing because Chris has several patches
> > for that component since we are trying to use it here at work and not
> > all of the patches have been applied yet.
> >
> > So server-side state saving now works (on the trunk.) I think someone
> > mentioned that it didn't and that's what got me all confused about the
> > patch.
> >
> > sean
> >
> > On 10/25/05, Martin Marinschek < [EMAIL PROTECTED]> wrote:
> > > ---------- Forwarded message ----------
> > > From: Martin Marinschek <[EMAIL PROTECTED]>
> > > Date: Oct 25, 2005 9:56 AM
> > > Subject: Re: inputSuggestAjax
> > > To: Sean Schofield <[EMAIL PROTECTED]>
> > >
> > >
> > > Well,
> > >
> > > you've got a confused young man here, so no luck ;)
> > >
> > > I've just checked the sources, though, and I find:
> > >
> > > if
> (context.getApplication().getStateManager().isSavingStateInClient(context))
> > > {
> > > out.writeText("', {\n" +
> > > " method: 'post',\n" +
> > > " asynchronous: true,\n" +
> > > " parameters: '',\n"+
> > > " callback: function(element,entry)
> > > {return
> entry+'&jsf_tree_64='+encodeURIComponent(document.getElementById('jsf_tree_64').value)+'&jsf_state_64='+encodeURIComponent(document.getElementById('jsf_state_64').value)+'&jsf_viewid='+encodeURIComponent(document.getElementById
> ('jsf_viewid').value)}"
> > > +
> > > " })",null);
> > > }
> > > else
> > > {
> > > out.writeText("', {\n" +
> > > " method: 'post',\n" +
> > > " asynchronous: true,\n" +
> > > " parameters: '',\n" +
> > > " callback: function(element,entry)
> > > {return entry}" +
> > > " })", null);
> > > }
> > >
> > > sounds like server side state saving should work, at least in the
> > > current head, right?
> > >
> > > regards,
> > >
> > > Martin
> > >
> > > On 10/24/05, Sean Schofield < [EMAIL PROTECTED]> wrote:
> > > > @Martin
> > > >
> > > > When was this resolved? I had a patch for this but now I can't
> > > > remember if I applied it or someone else did. Please help a confused
> > > > old man ... :-)
> > > >
> > > > sean
> > > >
> > > > On 10/21/05, Martin Marinschek <[EMAIL PROTECTED]> wrote:
> > > > > Do you use client-side or server-side state saving?
> > > > >
> > > > > Try switching to client-side state saving, it should work then.
> > > > >
> > > > > InputSuggestAjax didn't work with server side state saving until a
> while ago.
> > > > >
> > > > > regards,
> > > > >
> > > > > Martin
> > > > >
> > > > > On 10/21/05, Volker Weber
> <[EMAIL PROTECTED] > wrote:
> > > > > > When did you get your last update? there was a problem:
> > > > > >
> > > > > > http://issues.apache.org/jira/browse/MYFACES-724
> > > > > >
> > > > > > which was fixed yesterday.
> > > > > >
> > > > > > SOSA, Pablo wrote:
> > > > > > > I've got the sources from the trunk. URL:
> > > > > > >
> https://svn.apache.org/repos/asf/myfaces/[build|sandbox|impl|api|...]/tr
> > > > > > > unk
> > > > > > >
> > > > > > > Does anybody have this problem with RC3? Any suggestion on how
> to get it
> > > > > > > working again?
> > > > > > >
> > > > > > > Cheers
> > > > > > >
> > > > > > > -----Original Message-----
> > > > > > > From: Sean Schofield [mailto:[EMAIL PROTECTED]
> > > > > > > Sent: Friday, 21 October 2005 2:38 p.m.
> > > > > > > To: MyFaces Development
> > > > > > > Subject: Re: inputSuggestAjax
> > > > > > >
> > > > > > > RC3 is being built on a branch so its definitely possible that a
> bug has
> > > > > > > been fixed/introduced on the trunk/branch and not on the other.
> > > > > > >
> > > > > > > sean
> > > > > > >
> > > > > > > On 10/20/05, SOSA, Pablo < [EMAIL PROTECTED]>
> wrote:
> > > > > > >
> > > > > > >>Hi People,
> > > > > > >>
> > > > > > >> I'm not sure if this is the right place for this, please
> correct
> > > > > > >>me if not :D
> > > > > > >>
> > > > > > >> I'd tried the sandbox:inputSuggestAjax, successfuly by
> checking
> > > > > > >>the sources from the repository the 13/10/05 and following the
> example
> > > > > > >
> > > > > > >
> > > > > > >>I manage to get it working. It was very very easy. However those
> > > > > > >>sources had some problems and the InputCalendar was broken in IE
> (not
> > > > > > >>int firefox), therefore I tried 1.1.1RC3, which solve the
> problems
> > > > > > >>with the calendar but the inputSuggesetAjax fails to call the
> Bean,
> > > > > > >>further checking in IE and Firefox showed the following error
> is:
> > > > > > >> document.getElementById("jsf_tree_64") has no properties.
> > > > > > >>
> > > > > > >> My code:
> > > > > > >>
> > > > > > >><%@ taglib uri=" http://java.sun.com/jsf/html" prefix="h" %> <%@
> taglib
> > > > > > >
> > > > > > >
> > > > > > >>uri=" http://java.sun.com/jsf/core" prefix="f" %> <%@ taglib
> > > > > > >>uri="http://myfaces.apache.org/tomahawk"
> > > > > > >>prefix="x"%>
> > > > > > >><%@ taglib
> uri="http://myfaces.apache.org/sandbox"
> > > > > > >>prefix="sx"%>
> > > > > > >>:
> > > > > > >>:
> > > > > > >> <sx:inputSuggestAjax
> > > > > > >> id="inputAssetSearchAjax"
> > > > > > >>
> > > > > > >>suggestedItemsMethod="#{
> assetPlantCodeList.getMatchingList}"
> > > > > > >> maxSuggestedItems="50"
> > > > > > >> size="80"
> > > > > > >>
> title="#{worc_messages['help_search_asset']}"
> > > > > > >> immediate="true"
> > > > > > >> />
> > > > > > >>:
> > > > > > >>:
> > > > > > >>
> > > > > > >>Cheers,
> > > > > > >>Pablo
> > > > > > >
> > > > > > >
> > > > > > >
> ______________________________________________________________________
> > > > > > > This email has been scanned by the MessageLabs Email Security
> System.
> > > > > > > For more information please visit
> http://www.messagelabs.com/email
> > > > > > >
> ______________________________________________________________________
> > > > > > >
> > > > > > >
> > > > > >
> > > > > > --
> > > > > > Don't answer to From: address!
> > > > > > Mail to this account are droped if not recieved via mailinglist.
> > > > > > To contact me direct create the mail address by
> > > > > > concatenating my forename to my senders domain.
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > >
> > > > > http://www.irian.at
> > > > > Your JSF powerhouse -
> > > > > JSF Trainings in English and German
> > > > >
> > > >
> > > >
> > >
> > >
> > > --
> > >
> > > http://www.irian.at
> > > Your JSF powerhouse -
> > > JSF Trainings in English and German
> > >
> > >
> > > --
> > >
> > > http://www.irian.at
> > > Your JSF powerhouse -
> > > JSF Trainings in English and German
> > >
> >
>
>