[jboss-user] [JBoss Seam] - Re: can i do this...

2006-07-21 Thread [EMAIL PROTECTED]
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

[jboss-user] [JBoss Seam] - Re: can i do this...

2006-07-21 Thread c_eric_ray
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

[jboss-user] [JBoss Seam] - Re: can i do this...

2006-07-21 Thread [EMAIL PROTECTED]
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

[jboss-user] [JBoss Seam] - Re: can i do this...

2006-07-21 Thread c_eric_ray
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 :

[jboss-user] [JBoss Seam] - Re: can i do this...

2006-07-21 Thread c_eric_ray
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

[jboss-user] [JBoss Seam] - Re: can i do this...

2006-07-21 Thread CptnKirk
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