[jboss-user] [JBoss Seam] - Re: @DataModelSelection problem

2007-10-24 Thread [EMAIL PROTECTED]
Seam automatically injects parameters when you call a method. Best thing is to split your datamodel onto another seam component. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098496#4098496 Reply to the post : http://www.jboss.com/index.html?module=bb&op=p

[jboss-user] [JBoss Seam] - Re: @DataModelSelection problem, outjects the first element i

2007-06-04 Thread [EMAIL PROTECTED]
Hi, asked this question again [1] with a little more details, and got it sort of working. Turned out that I had to invoke an action method for the selected value to get outjected properly, as suggested in the other post I just call an empty action mehtod. Not sure that I'm doing everything cor

[jboss-user] [JBoss Seam] - Re: @DataModelSelection problem, outjects the first element i

2007-06-03 Thread rkosiarz82
I think you should put @Factory("searchResults") public String performSearch(){ int nbrHits = RandomUtils.nextInt()%10; List tmpList = new ArrayList(nbrHits); for(int i=0; ihttp://www.jboss.com/index.html?module=bb&op=viewtop

[jboss-user] [JBoss Seam] - Re: @DataModelSelection problem, outjects the first element i

2007-05-21 Thread [EMAIL PROTECTED]
Hi again, when looking at post [1] which seems to have had my problem the main difference I find is that the @Factory annotation is used to initialize the List backing the datamodel. In my test app I initialize the List backing the datamodel via the performSearch action(which rerenders the pag

[jboss-user] [JBoss Seam] - Re: DataModelSelection problem

2006-10-13 Thread [EMAIL PROTECTED]
Don't use @DataModel with @Out. Don't use @DataModelSelection with @In. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975626#3975626 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3975626 __

[jboss-user] [JBoss Seam] - Re: DataModelSelection problem

2006-10-02 Thread [EMAIL PROTECTED]
You can use @Out with @DataModelSelection. Just like you can use @Out with @In. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975638#3975638 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3975638 ___

[jboss-user] [JBoss Seam] - Re: DataModelSelection problem

2006-10-02 Thread [EMAIL PROTECTED]
Is this ok? | @Out(value = "task", scope = ScopeType.SESSION) | @DataModelSelection(value = "tasks") | Task task; | Btw, also is it "legal" to have @DataModelSelection in another SFSB than from where the @DataModel originated? It didn't work, atleast on my portlet environment w

[jboss-user] [JBoss Seam] - Re: DataModelSelection problem

2006-10-02 Thread monkeyden
BINGO! Thanks Gavin. Is the @Out incorrect in the tutorial as well? @DataModel | private List messageList; | | @DataModelSelection | @Out(required=false) | private Message message; View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975629#3975629 R

[jboss-user] [JBoss Seam] - Re: DataModelSelection problem

2006-10-02 Thread [EMAIL PROTECTED]
ie. Look again at the examples. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975627#3975627 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3975627 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - Re: DataModelSelection problem

2006-10-02 Thread monkeyden
I'm very doubtful that it's something on the JSF side. I removed every column with the exception of this one and it still didn't work. It seems pretty clear to me that there is an informational disconnect in the injection. Do all of my annotations appear correct? | @Stateful | @Scope(

[jboss-user] [JBoss Seam] - Re: DataModelSelection problem

2006-10-02 Thread petemuir
I can't see a problem with what you are doing. It's quite simple, it should 'just work' using a JSF datatable and h:commandButton/Link. I suggest the standard approach: start with a simple table with clickable links (see some of the examples), make sure it is working, and make your additions s

[jboss-user] [JBoss Seam] - Re: DataModelSelection problem

2006-10-02 Thread monkeyden
Is there any requirement of the client to pass a unique identifier back to the SB? Just a thought, though I saw nothing indicating this in the Messages tutorial. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975602#3975602 Reply to the post : http://www.j

[jboss-user] [JBoss Seam] - Re: DataModelSelection problem

2006-10-02 Thread monkeyden
Thanks for the reply. I removed the immediate attribute, to no avail. It appeared, however, that because the rows were uniquely named in the resulting JSP, that it should have worked regardless. As you might have gleaned from the JSF, I also implemented a paginator. FWIW, If I were to traver

[jboss-user] [JBoss Seam] - Re: DataModelSelection problem

2006-10-02 Thread petemuir
anonymous wrote : updated in immediate=true updated when immediate=true Sorry View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975539#3975539 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3975539 __

[jboss-user] [JBoss Seam] - Re: DataModelSelection problem

2006-10-02 Thread petemuir
I don't know if this is the case, but I'm not sure that the DataModelSelection will be updated in immediate=true (and to me it seems unecessary on that page). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975538#3975538 Reply to the post : http://www.jboss.

[jboss-user] [JBoss Seam] - Re: DataModelSelection problem

2006-10-02 Thread monkeyden
Sure, sorry. I highlighted the commandLink of interest. | | | | | | | | | | | | | | | | |

[jboss-user] [JBoss Seam] - Re: DataModelSelection problem

2006-10-02 Thread petemuir
Can you show your jsf? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975527#3975527 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3975527 ___ jboss-user mailing list jboss-us

[jboss-user] [JBoss Seam] - Re: DataModelSelection Problem

2006-08-05 Thread recycle_bin
Thanks. Below is my source code: SysConfig2Bean: | package com.abc.test.session; | | import static javax.ejb.TransactionAttributeType.NOT_SUPPORTED; | | import javax.ejb.Remove; | import javax.ejb.Stateful; | import javax.ejb.TransactionAttribute; | import javax.interceptor.Inte

[jboss-user] [JBoss Seam] - Re: DataModelSelection Problem

2006-08-04 Thread german.delacruz
"bfo81" wrote : I think @DataModelSelection only works when you use s:link ;). For me, It didn't work with s:link. But I make it work with commandButton... see http://www.jboss.com/index.html?module=bb&op=viewtopic&t=88100 anyway, What about your entityList factory?. Can you post your entire b

[jboss-user] [JBoss Seam] - Re: DataModelSelection Problem

2006-08-04 Thread petemuir
No, it quite definitely works without s:link View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3963165#3963165 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3963165 ___ jboss-user

[jboss-user] [JBoss Seam] - Re: DataModelSelection Problem

2006-08-04 Thread bfo81
I think @DataModelSelection only works when you use s:link ;). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3963156#3963156 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3963156

[jboss-user] [JBoss Seam] - Re: DataModelSelection Problem

2006-08-04 Thread recycle_bin
it is typo error but it also doesn't work even correcting it. any other thing i missed? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3963124#3963124 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3963124 __

[jboss-user] [JBoss Seam] - Re: DataModelSelection Problem

2006-08-04 Thread petemuir
You seem to be missing a { in your JSF View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3963116#3963116 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3963116 ___ jboss-user maili