myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rabelenda <rabele...@gmail.com>
Subject Re: Trinidad dispatch
Date Fri, 30 Jan 2009 13:38:26 GMT



rabelenda wrote:
> 
> Hi, I'm using Trinidad 1.0.10 with myfaces 1.1.5. I'm trying to simply do
> a forward from one faces page to an other passing parameters taken from
> the backing bean. I tried using goLink and f:param parameters but it seams
> that the goLink doesn't care about the parameters, then I tried with an
> h:outputLink with parameters (f:param) but it gives me
> "java.lang.NullPointerException: charsetName\n at
> java.net.URLEncoder.encode(Unknown Source)". After this I tried with a
> tr:commandLink with attributes (f:attribute) and an actionListener defined
> wich invokes a method in the backing bean and this one makes a dispatch
> getting the attributes from the ActionEvent. When I click the commandLink
> it works, but if I go backward with the browser and then click again the
> commandLink, after this the code of the backing bean gets invoked a lot of
> times after what the server starts to give me StackoverflowError. Some
> ideas how can I manage to do the link?, it is getting my nerves to do
> something so simple and it doesn't work.
> 

Ups sorry, I forgot to mention that when I use the commandLink and click it
the first time I get:
java.lang.NullPointerException
	at
org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:150)
	at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:97)
	at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:171)
	at
org.apache.myfaces.lifecycle.InvokeApplicationExecutor.execute(InvokeApplicationExecutor.java:32)
	at
org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:95)
	at
org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:70)
	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:139)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
	at
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:250)
	at
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:207)
	at
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:161)
	at
org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
	at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
	at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
	at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
	at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
	at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
	at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
	at java.lang.Thread.run(Unknown Source)

I hope someone could help me.


-- 
View this message in context: http://www.nabble.com/Trinidad-dispatch-tp21747322p21747354.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.


Mime
View raw message