Author |
Message |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 25/Jun/2007 20:39:03
|
feng.sian
Joined: 13/May/2007 00:00:00
Messages: 5
Offline
|
I'm new to JSF and to ICEFaces, so I'm not sure if I'm asking a stupid question or not. I did my homework (I searched throughout Google), but did not find any clue of this problem.
I'm working on an app that looks similar to an addressbook. It have two pages: one to list and another to show the details. On the list, I have a dataTable and on each row, a commandLink
Code:
<ice:dataTable rendered="#{! empty PatientManager.patientDataModel}"
value="#{PatientManager.patientDataModel}" var="patient">
<h:column>
<f:facet name="header">
<h:outputText value="Nome" />
</f:facet>
<h:commandLink value="#{patient.name}" action="#{PatientManager.editProfile}"/>
</h:column>
...
When clicking on this, nothing happens. After configuring the Log4J backend, I'm getting the following lines after clicking on the link:
Code:
Jun 25, 2007 10:34:54 PM org.apache.tomcat.util.http.Parameters processParameters
WARNING: Parameters: Invalid chunk ignored.
DEBUG [http-8080-Processor23] (org.patientmanager.managedbean.PatientManagerMB:88) - patient id:8
The last line from the log show that the method code is actually being executed, showing that the item was correctly identified. But the method returns a String that should make the browser to load the detail page.
I double checked the faces-config.xml, and the navigation rule is there
Code:
<navigation-rule>
<from-view-id>/patientList.jsp</from-view-id>
<navigation-case>
<from-outcome>editProfile</from-outcome>
<to-view-id>/patientDetails.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>newPatient</from-outcome>
<to-view-id>/patientDetails.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>doQuery</from-outcome>
<to-view-id>/patientList.jsp</to-view-id>
</navigation-case>
</navigation-rule>
Any help is welcomed!
Tks
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 25/Jun/2007 21:38:53
|
philip.breau

Joined: 08/May/2006 00:00:00
Messages: 2989
Offline
|
Hi,
Not sure about the invalid chunk error. If you've mapped the ICEfaces servlet to use *.iface, you should use that extension in your navigation rules.
Philip
|
. |
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 26/Jun/2007 02:28:52
|
SCAI_Andre
Joined: 09/Mar/2007 00:00:00
Messages: 39
Offline
|
We get this invalid parameter chunk message constantly, too.
What does it mean?
|
Regards,
Andre |
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 26/Jun/2007 08:52:45
|
judy.guglielmin
Joined: 20/Feb/2007 00:00:00
Messages: 1388
Offline
|
Which application server are you using? If it is the JBoss AS 4.2.0.GA, then it looks like it does some validation against the jsf components which doesn't check the extended properties/attributes of the icefaces components and it looks like the validation of the components are the "chunks" that are being ignored. From what I can see, the components are behaving as they should.
Is the behaviour of the components different than on another server? (say jboss AS 4.0.5.GA)? as I have not found this to be so.
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 26/Jun/2007 09:00:17
|
SCAI_Andre
Joined: 09/Mar/2007 00:00:00
Messages: 39
Offline
|
in my case I'm talking about TomCat 5.5.23
|
Regards,
Andre |
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 26/Jun/2007 09:02:30
|
judy.guglielmin
Joined: 20/Feb/2007 00:00:00
Messages: 1388
Offline
|
Which jsf specs :- 1.1 or 1.2?
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 26/Jun/2007 09:11:55
|
SCAI_Andre
Joined: 09/Mar/2007 00:00:00
Messages: 39
Offline
|
from what do I tell this? Please apologize my ignorance :)
|
Regards,
Andre |
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 26/Jun/2007 09:17:10
|
judy.guglielmin
Joined: 20/Feb/2007 00:00:00
Messages: 1388
Offline
|
no problem..It's just that since I ran into this same warning when I was using the JBoss AS 4.2.0 with the jsf1.2 libraries (jsf1.2*.jars)
If you are using Tomcat with the jsf1.2*.jars (instead of myfaces*.jars) then my findings on this warning might pertain to what you are seeing. I mostly deal with Seam (limits me to an ejb3 container = JBoss servers), but I like to check out the issues that are common to both Seam and non-seam applications as often as I can.
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 26/Jun/2007 09:28:19
|
feng.sian
Joined: 13/May/2007 00:00:00
Messages: 5
Offline
|
I'm playing all this using Eclipse, the ICEfaces plugin for Eclipse+JSF, tomcat 5.5.15 and JSF 1.1.
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 26/Jun/2007 09:31:30
|
SCAI_Andre
Joined: 09/Mar/2007 00:00:00
Messages: 39
Offline
|
I assume we are using JSF 1.1 from Sun or better: We include the jsf-JAR's that come with the samples and the manifest.mf of jsf-impl.jar reads:
Code:
Manifest-Version: 1.0
Created-By: Apache Ant 1.5.1
Specification-Title: JavaServer Faces
Specification-Version: 1.1
Implementation-Title: 'jsf-impl': JavaServer Faces RI
Implementation-Version: 1.1_02-b08
Implementation-Vendor: Sun Microsystems, Inc.
Implementation-Vendor-Id: com.sun
Extension-Name: com.sun.faces
|
Regards,
Andre |
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 26/Jun/2007 09:33:39
|
judy.guglielmin
Joined: 20/Feb/2007 00:00:00
Messages: 1388
Offline
|
OK...so which JDK are you guys using?
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 26/Jun/2007 10:49:07
|
SCAI_Andre
Joined: 09/Mar/2007 00:00:00
Messages: 39
Offline
|
Hi,
this is jdk1.5.0_05 here.
|
Regards,
Andre |
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 27/Jun/2007 18:36:02
|
feng.sian
Joined: 13/May/2007 00:00:00
Messages: 5
Offline
|
Philip,
philip.breau wrote:
Not sure about the invalid chunk error. If you've mapped the ICEfaces servlet to use *.iface, you should use that extension in your navigation rules.
Wow, finally I got some time to check this out. And it turned out that was simply those view name endings... You've solved the mistery... Thanks for your accurate observation!
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 03/Jul/2007 14:51:38
|
ted.goddard
Joined: 26/Oct/2004 00:00:00
Messages: 874
Offline
|
"Invalid chunk ignored" has had a fix checked in:
http://jira.icefaces.org/browse/ICE-1677
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 03/Dec/2008 08:03:06
|
petar_b

Joined: 05/Jun/2008 00:00:00
Messages: 74
Offline
|
mistake.
|
|
 |
|