You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Patrick Hesse <in...@patrick-hesse.de> on 2006/07/14 11:03:28 UTC

problem with inputSuggestAjax

Hi List,

i'm new in myFaces.
i want to try myfaces with ajax.
the source for my jsp is:

<%@ 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="t"%>
<%@ taglib uri="http://myfaces.apache.org/sandbox" prefix="x"%>

<html>
	<body>
		<f:view>
			<h:form id="form">
			  <h:panelGrid id="grid" columns="2">
			  		<h:outputText value="Ajax" />
					<x:inputSuggestAjax 	id="aj"
suggestedItemsMethod="#{buttonList.name}" maxSuggestedItems="2" />
			  </h:panelGrid>  
			</h:form>
		</f:view>
	</body>
</head>

this doesnt working. my Javascript-debugger tells me:
Fehler: Ajax is not defined
Quelldatei: http://localhost:8080/jsfTest/helloWorld.jsf
Zeile: 12

Any Idea's
Patrick


Re: problem with inputSuggestAjax

Posted by Gerald Müllan <bi...@gmail.com>.
Hi,

which version of sandbox are you using? Try to switch to the latest
stable build.
It should work with this one.

The error looks like an old prototype issue.

cheers,

Gerald

On 7/14/06, Patrick Hesse <in...@patrick-hesse.de> wrote:
> Hi List,
>
> i'm new in myFaces.
> i want to try myfaces with ajax.
> the source for my jsp is:
>
> <%@ 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="t"%>
> <%@ taglib uri="http://myfaces.apache.org/sandbox" prefix="x"%>
>
> <html>
>         <body>
>                 <f:view>
>                         <h:form id="form">
>                           <h:panelGrid id="grid" columns="2">
>                                         <h:outputText value="Ajax" />
>                                         <x:inputSuggestAjax     id="aj"
> suggestedItemsMethod="#{buttonList.name}" maxSuggestedItems="2" />
>                           </h:panelGrid>
>                         </h:form>
>                 </f:view>
>         </body>
> </head>
>
> this doesnt working. my Javascript-debugger tells me:
> Fehler: Ajax is not defined
> Quelldatei: http://localhost:8080/jsfTest/helloWorld.jsf
> Zeile: 12
>
> Any Idea's
> Patrick
>
>


-- 
Gerald Müllan
Schelleingasse 2/11
1040 Vienna, Austria
0043 699 11772506
gerald.muellan@gmail.com