Hi,
I try to force my method to get parameter via link:
| <s:link value="some text" action='#{rocketCenterAction.showDetailedUnit("26")}' />
|
and different combination
| <s:link value="some text" action="#{rocketCenterAction.showDetailedUnit('26')}" />
|
but still i get EL parsing error problem.
I use Seam 1.2.0
btw how should I declare action for link in pages.xml?
| <navigation from-action="#{rocketCenterAction.showDetailedUnit(idUnit)}">
| <redirect view-id="/pages/ShowDetailedUnit.xhtml"/>
| </navigation>
|
is well defined?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4033460#4033460
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4033460
seam-gen generates this code:
@Column(name = "CATEGORIA", nullable = false, length = 1)
@NotNull
@Length(max = 1)
public char getCategoria() {
return this.categoria;
}
and in the xxxEdit.xhtml doesn't generate:
size="1" maxlength="1"
next, when i enter 'A' in this field, seam complain: "length must be between 0 and 1".
i had to remove @Length, and add size and maxlength to work. i think it would be nice that seam-gen do it for me.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4033456#4033456
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4033456