[jboss-user] [JBoss Seam] - Re: pages-2.0.xsd schema - undocumented features
hstang
do-not-reply at jboss.com
Tue Jul 3 18:20:10 EDT 2007
"wschwendt" wrote : "hstang" wrote :
| | "in" is like @In.....does injection.
|
| yes, "in" sounds like injection. But injection into WHAT? For @In we have a component as injection target (the instance of the class that contains the @In annotation). But what would be the injection target for the "in"-element when used in pages.xml as child element of the "page" element?
|
|
| The "in"-element can have 3 attributes:
|
| name (required)
| value (required)
| scope (optional)
name is the context variable name, e.g. a component name
value is a value expression where you want to set that that looked up component
so [in name="foo" value="#{bar.foo}"] will set your component named "foo" to your component named "bar"'s foo
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060179#4060179
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060179
More information about the jboss-user
mailing list