Help

Built with Seam

You can find the full source code for this website in the Seam package in the directory /examples/wiki. It is licensed under the LGPL.

According to the specification, only the technology using the EL can pass arguments during evaluation of a MethodExpression as parameters of the underlying method call. However, JBoss Seam 1.1 adds the ability to pass arguments in the expression itself. To use it, just put your arguments inside parentheses:

<h:commandButton value="Submit" action="#{myinstance.save('name', address)}"/>

In this example, name is a String literal and address is a ValueExpression!

To use action arguments with Facelets, you need to set up the SeamFaceletsViewHandler. See the Seam documentation for more details on this feature. (Note: These steps are no longer necessary with JBoss Seam 2.0.)