[JBoss Seam] - Re: bijection value causing JSF Error. Misuse, or misunders
by quilleashm
I think you've kinda got it a bit backward. Basically Seam has a big map of components that are available. These components are defined either in components.xml with or more usually with the @Name annotation.
For accessing pure components these are the only names that are available for you to use in EL and for injection via @In. So you can't put #{searchRecord.xxx} in an EL expression because there is no component called searchRecord. Similarly @In looks for components by using the field/method name unless it is specified explicitly by @In( value="" ).
To get your example to work you have to leave the name as profileRecord in the .xhtml or use some method of creating a profileRecord alias. Putting <factory auto-create="true" name="searchRecord" value="#{profileRecord}"/> would probably have the effect you are after.
It sounds like you might be trying to achieve something similar to what I am at the moment. I'm trying to create a searchTemplate.xhtml facelet template that wraps all the common layout and action hooks of a standard search screen (parameters, grid, search button, rows returned display, pagination buttons etc). Then I'll use the template in a real view page and just populate the parameter grid and data grid definition. On the model side I want to implement all the common logic and magic in a reusable component and allow overriding with custom logic per page (custom validation, grid population etc).
So I want do have component per search screen but then access the current search screen in my search template with #{searchBean}.
If anyone has any experience doing this I'd be interested to hear about it.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012937#4012937
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012937
19Â years, 2Â months
[JBoss Seam] - Re: deploy jboss seam application on oc4j server
by recycle_bin01
I have also tried to deploy application glassfish to OC4J but fail. It throws following error:
anonymous wrote : [2007?2?8? ??05:20:48] Application Deployer for jboss-seam-glassfish STARTS.
| [2007?2?8? ??05:20:48] Copy the archive to C:\oracle\ora92\j2ee\home\applications\jboss-seam-glassfish.ear
| [2007?2?8? ??05:20:48] Initialize C:\oracle\ora92\j2ee\home\applications\jboss-seam-glassfish.ear begins...
| [2007?2?8? ??05:20:48] Unpacking jboss-seam-glassfish.ear
| [2007?2?8? ??05:20:49] Done unpacking jboss-seam-glassfish.ear
| [2007?2?8? ??05:20:49] Unpacking jboss-seam-glassfish.war
| [2007?2?8? ??05:20:50] Done unpacking jboss-seam-glassfish.war
| [2007?2?8? ??05:20:50] Initialize C:\oracle\ora92\j2ee\home\applications\jboss-seam-glassfish.ear ends...
| [2007?2?8? ??05:20:50] Starting application : jboss-seam-glassfish
| [2007?2?8? ??05:20:50] Initializing ClassLoader(s)
| [2007?2?8? ??05:20:51] Initializing EJB container
| [2007?2?8? ??05:20:51] Loading connector(s)
| [2007?2?8? ??05:20:51] Starting up resource adapters
| [2007?2?8? ??05:20:51] Processing EJB module: jboss-seam-glassfish.jar
| [2007?2?8? ??05:20:52] application : jboss-seam-glassfish is in failed state
| [2007 ?2?8? ??05:20:52] Operation failed with error: [jboss-seam-glassfish:jboss-seam-glassfish] - No or lifecycle callbacks were specified for interceptor org.jboss.seam.ejb.SeamInterceptor.
|
I didn't change anything in this EAR. Anything need i further configure. Thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012931#4012931
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012931
19Â years, 2Â months