Things that are not Seam components may be bound to Seam context variables. You
just outject them. That is why @Out has a scope element. (You don't need to
specify scope for components, of course.)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959991#39599
works just like you said.
a few thoughts...
so i can outject a property and reference the property directory. i thought i
had to name the component with @Name and then outject the property. then i
would reference as follows - component.property.
however, by outjecting a property, i bypass the
You don't need the getter/setter because you have outjected the list as
"packages". Your mistake is that you use "#{package.packages}" as the EL
expression instead of just "#{packages}".
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959978#3959978
Reply to
btw, i've already used the @DataModel and @Factory annotations and it all works
great. i'm just exploring here to make sure i understand what it is i'm doing
thanks.
eric ray
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959977#3959977
Reply to the post :
The docs say if you annotate the property you don't need getters and setters.
...from the manual...
anonymous wrote : The next two annotations control bijection. These attributes
occur on component instance variables or property accessor methods.
|
| @In
I'll add G/S and see if that wor
Either add some getters/setters to package or look up via #{packages} not
#{package.packages}. If using #{packages} you'll probably also want to add a
@Factory method somewhere to perform the inital construction of your DataModel.
View the original post :
http://www.jboss.com/index.html?module