That might be due to the implementation of server side state "memory"-
We'll need to submit the view-number with the AJAX request. Can you
open a jira issue on this?

regards,

Martin

On 10/25/05, SOSA, Pablo <[EMAIL PROTECTED]> wrote:
> Yeap, it did on 13/10 and afterwards it stop working on 20/10, both from
> trunk of course.
>
> Pablo
>
> -----Original Message-----
> From: Sean Schofield [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, 26 October 2005 2:40 a.m.
> To: MyFaces Development; [EMAIL PROTECTED]
> Subject: Re: inputSuggestAjax [SPAM]
>
> 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(contex
> t))
> >         {
> >             out.writeText("', {\n" +
> >                           "      method:       'post',\n" +
> >                           "      asynchronous: true,\n" +
> >                           "      parameters: '',\n"+
> >                           "      callback: function(element,entry)
> > {return
> entry+'&jsf_tree_64='+encodeURIComponent(document.getElementById('jsf_tr
> ee_64').value)+'&jsf_state_64='+encodeURIComponent(document.getElementBy
> Id('jsf_state_64').value)+'&jsf_viewid='+encodeURIComponent(document.get
> ElementById('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|a
> > > > > > pi|...]/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
> >
>
> ______________________________________________________________________
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email
> ______________________________________________________________________
>
>
>


--

http://www.irian.at
Your JSF powerhouse -
JSF Trainings in English and German

Reply via email to