Danny Robinson wrote:
>
> Paul,
>
> This was fixed a while ago, although not certain which build you are
> using.
>
> https://issues.apache.org/jira/browse/TRINIDAD-376
> https://issues.apache.org/jira/browse/TRINIDAD-364
>
> Regards,
>
> Danny
>
I took the latest JSF 1.1 release and this works as you describes. I have
however uncovered a potential bug while using EL in the partial triggers of
the component that I want updated.
The following will work as expected
<tr:table id="myTable" rowSelection="single" autoSubmit="true" ...
</tr:table>
<tr:inputText label="Selected Reference"
readOnly="true" id="ref" partialTriggers="myTable"
value="#{bean.selectedReference}/>
However if you make the partial triggers any kind of EL...
<tr:table id="myTable" rowSelection="single" autoSubmit="true" ...
</tr:table>
<c:set var="pt" value="myTable"/>
<tr:inputText label="Selected Reference"
readOnly="true" id="ref" partialTriggers="#{pt}"
value="#{bean.selectedReference}/>
I get a js error "please see the server's error log for an entry beginning
with: Server Exception during PPR, #6"
21/09/07 09:11:42:984 BST] 00000030 XmlHttpConfig E
org.apache.myfaces.trinidadinternal.config.xmlHttp.XmlHttpConfigurator
handleError Server Exception during PPR, #6
javax.servlet.ServletException: Cannot
convert recentTransactionsTable of type class java.lang.String to class
[Ljava.lang.String;
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:989)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:930)
at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
at
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:253)
at
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:210)
at
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:164)
at
org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
--
View this message in context:
http://www.nabble.com/-Trinidad--autosubmit-of-row-selection-tf4487863.html#a12812651
Sent from the MyFaces - Users mailing list archive at Nabble.com.