[jboss-user] [JBoss Seam] - Re: Inject EL Results

CptnKirk do-not-reply at jboss.com
Fri Jul 21 11:09:02 EDT 2006


If you want to pass parameters directly via EL I think your only option is to write an EL Function.  Everything else in JSF is based on method binding EL which is a simple lookup.  Method bindings depend on the bean having all the requisite state prior to invocation.

You could write a custom JSF component that takes in JSF params and communicates directly with your Seam component in Java land.

Or you can have a type specific context aware Seam component.  UserManager.printUser(), that knows where to look up the user entity within Seam.  This way JSF can take #{user} as a param and your Seam component can use a well known location to function properly.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959923#3959923

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959923



More information about the jboss-user mailing list