Hi all, I have a problem using the DataModel Annotation. (JB4.0.4RC1 + Seam Beta2)
I have a Facelets/XHTML/JSF Page (P1) which calls a SFSB Seam (B1)Component Action/Method. That method hands over some data to another SFSB (B2) which got injected into the first SFSB via @In(create=true) and returns an outcome that leads to a second JSF Page (P2). The second page (P2) is partially rendered correctly, but all Data from that Bean (B2), that is not directly accesible via a getter Method cannot be found. There are three DataModels in B2 (e.g. @DataModel(value="xyz")) which are not accessible. I get the following message in the server log: | DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: xyz | DEBUG [org.jboss.seam.Component] seam component not found: xyz | Why? When is the DataModel outjected? What triggers it? I see that there is a SLSB in the reverse engineering tool code which gets data from a FinderBean and adds it to the EditorBean. That is basically the same that I want to do, but do I really need that third bean? Less Code, (sometimes) less trouble. Greetings, Stefan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3924872#3924872 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3924872 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
