I have found the following in the seam DEBUG logs:
[DEBUG] 10:19:34.211 core.Events - Processing
event:org.jboss.seam.preRemoveVariable.entityId
| [DEBUG] 10:19:34.211 seam.Component - instantiating Seam
component: org.jboss.seam.core.events
| [DEBUG]
After looking throught the code in seam related to setting page parameters, I'm
sure my problem is related to this line in pages.xml:
param name=entityId value=#{accountHome.id}
| converter=java.lang.Integer /
The converter in JSF is not java.lang.Integer,
For reference:
The code in Seam is in org.jboss.seam.pages.Param#getValueFromRequest() around
lines 133 to 142
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4058025#4058025
Reply to the post :
Also I should have used converterId instead of converter attribute.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4058031#4058031
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058031
Seam allows you to use the java.lang.XXX for converter id (extension to JSF).
The reason for no error was not using the correct attribute, if a converter
can't be found, then an exception will be thrown.
View the original post :
For sure the attribute was the worst thing, but as you can see here:
public Object getValueFromModel(FacesContext facesContext)
|{
| Object value = getValueExpression().getValue();
| if (value==null)
| {
| return null;
| }
| else
|
Can you file a JIRA issue for this?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4058114#4058114
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058114
___
jboss-user mailing list
http://jira.jboss.org/jira/browse/JBSEAM-1561
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4058134#4058134
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058134
___
jboss-user
That should be /details.xhtml for the view-id in pages.xhtml probably.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4057839#4057839
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057839
It is. Acutally it is a bit longer line '/admin/secure...'. I've cut that down
for simplicity.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4057850#4057850
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057850
No, but thanks. I'm using JSR RI 1.2 with Facelets 1.1.12 and Tomcat 5.5.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4057853#4057853
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057853
11 matches
Mail list logo