Hello

Why this error message?

javax.servlet.ServletException: Error calling action method of component
with id content_view:filterForm:submitLink
   at javax.faces.webapp.FacesServlet.service(FacesServlet.java:154)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:237)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:157)
   at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(
BaseXMLFilter.java:96)
   at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(
BaseFilter.java:220)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:186)

I do this

                   <s:inputSuggestAjax id="pointOfConsumptionFilter"
suggestedItemsMethod="#{pagedDeliveryScheduleSort.findPointOfConsumptions}"
                                                   value="#{
inputSuggest.suggestPointOfConsumption}" onchange="submitForm" >
                       <s:submitOnEvent for="submitLink" event="blur" />
                   </s:inputSuggestAjax>


  <h:commandButton id="submitLink" style="display:none" action="#{
pagedDeliveryScheduleSort.getSchedules}" />


2007/3/29, Edney Imme <[EMAIL PROTECTED]>:

Well this is not what i want heard now :)

I need to, when the user change some value in a inputSuggestAjax component
or in a s:inputSuggest komponenet , automatilly submit the form.

In JSP and Struts this is very easy to do, and in JSF?

thank.

2007/3/29, Mario Ivankovits <[EMAIL PROTECTED]>:
>
> Hi!
> > Be aware that if there is a bug in inputSuggestAjax, using
> > submitOnEvent won't fix it.
> Jumping up to this discussion lately .. sorry for this .. too much work
> here.
>
> It might be that the submitOnEvent do not work with inputSuggestAjax.
> Do one have it running with it?
>
> As far as I remeber inputSuggestAjax uses some sort of hidden field for
> the real value to submit and a input text for the user input.
> Depending on how the javascript id will be calculated the submitOnEvent
> might hook on one or the other field, if its the hidden one, it won't
> work.
>
> All this just top of my head, don't know if I am correct.
> At least it is a dojo control which do some keyboard event control
> itself ... maybe submitOnEvent has some problems with it.
>
> If I manage to find some time tonight I'll have a look at it ... no
> promise ;-)
>
> Ciao,
> Mario
>
>


--
Att.
Edney Marcel Imme




--
Att.
Edney Marcel Imme

Reply via email to