You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by Juergen Melzer <my...@hotmail.de> on 2006/01/26 16:05:19 UTC

inputSuggestAjax and inputCalendar don't work together in 1.1.2

I tried a very simple page like:

    <h:outputText value="User-ID"/>
    <s:inputSuggestAjax suggestedItemsMethod="#{editUser.getUserNames}"/>
    <t:inputCalendar id="calid" value="" renderAsPopup="true" 
renderPopupButtonAsImage="true"/>


It doesn't work ;-(
The javascript console says:
       Ajax.MyFacesAutocompleter is not a constructor

When I change the order it works fine...

Can anyone help?
Juergen

_________________________________________________________________
Die neue MSN Suche Toolbar mit Windows-Desktopsuche. Suchen Sie gleichzeitig 
im Web, Ihren E-Mails und auf Ihrem PC! Jetzt neu! http://desktop.msn.de/ 
Jetzt gratis downloaden!


Re: inputSuggestAjax and inputCalendar don't work together in 1.1.2

Posted by Juergen Melzer <my...@hotmail.de>.
Great it works.


>From: Volker Weber <us...@weber-oldenburg.de>
>Reply-To: "MyFaces Development" <de...@myfaces.apache.org>
>To: MyFaces Development <de...@myfaces.apache.org>
>Subject: Re: inputSuggestAjax and inputCalendar don't work together in 
>1.1.2
>Date: Fri, 27 Jan 2006 00:20:43 +0100
>
>Hi Juergen,
>
>the problem was including prototype.js twice, with different names, this
>is fixed in svn head.
>
>Regards,
>   Volker
>
>Juergen Melzer wrote:
> > I tried a very simple page like:
> >
> >    <h:outputText value="User-ID"/>
> >    <s:inputSuggestAjax suggestedItemsMethod="#{editUser.getUserNames}"/>
> >    <t:inputCalendar id="calid" value="" renderAsPopup="true"
> > renderPopupButtonAsImage="true"/>
> >
> >
> > It doesn't work ;-(
> > The javascript console says:
> >       Ajax.MyFacesAutocompleter is not a constructor
> >
> > When I change the order it works fine...
> >
> > Can anyone help?
> > Juergen
> >
> > _________________________________________________________________
> > Die neue MSN Suche Toolbar mit Windows-Desktopsuche. Suchen Sie
> > gleichzeitig im Web, Ihren E-Mails und auf Ihrem PC! Jetzt neu!
> > http://desktop.msn.de/ Jetzt gratis downloaden!
> >
>
>--
>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.

_________________________________________________________________
Die neue MSN Suche Toolbar mit Windows-Desktopsuche. Suchen Sie gleichzeitig 
im Web, Ihren E-Mails und auf Ihrem PC! Jetzt neu! http://desktop.msn.de/ 
Jetzt gratis downloaden!


Re: inputSuggestAjax and inputCalendar don't work together in 1.1.2

Posted by Volker Weber <us...@weber-oldenburg.de>.
Hi Juergen,

the problem was including prototype.js twice, with different names, this
is fixed in svn head.

Regards,
  Volker

Juergen Melzer wrote:
> I tried a very simple page like:
> 
>    <h:outputText value="User-ID"/>
>    <s:inputSuggestAjax suggestedItemsMethod="#{editUser.getUserNames}"/>
>    <t:inputCalendar id="calid" value="" renderAsPopup="true"
> renderPopupButtonAsImage="true"/>
> 
> 
> It doesn't work ;-(
> The javascript console says:
>       Ajax.MyFacesAutocompleter is not a constructor
> 
> When I change the order it works fine...
> 
> Can anyone help?
> Juergen
> 
> _________________________________________________________________
> Die neue MSN Suche Toolbar mit Windows-Desktopsuche. Suchen Sie
> gleichzeitig im Web, Ihren E-Mails und auf Ihrem PC! Jetzt neu!
> http://desktop.msn.de/ Jetzt gratis downloaden!
> 

-- 
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.