[jboss-user] [JBoss Seam] - Re: richfaces datascroller and scope

2008-01-29 Thread lsabin
Thanks for your reply. What i don't understand is why the PAGE scope is not good for these cases. I was guessing that the datamodel would be created in the page context so the datascroller would have access to the data. View the original post : http://www.jboss.com/index.html?module=bb&op=vi

[jboss-user] [JBoss Seam] - richfaces datascroller and scope

2008-01-29 Thread lsabin
Hi. I have a problem with the richfaces datascroller. The use case is simple: based on the selection in a listbox the app shows a list of results. But the datascroller only works when my seam component (searchservice) is in the SESSION scope or if i create a long running conversation. In any ot

[jboss-user] [JBoss Seam] - Re: redirect based on roles

2007-12-20 Thread lsabin
Hi. If i understand correctly the preAuthorizationRoles gets "promoted" to real roles after the s:hasRole is evaluated. That's why the first time the user does not have the role. Is there any way to fix this behaviour? A silly question, how to debug seam applications? I mean debugging the sea

[jboss-user] [JBoss Seam] - redirect based on roles

2007-12-18 Thread lsabin
Hi. In my application after the user logs in I want to redirect to a different page based on the user role. This is the relevant portion of my pages.xml: | | | | | | | |

[jboss-user] [JBoss Seam] - Re: Redirect based on identity-roles

2007-12-14 Thread lsabin
Hi. I am having problems with the suggested solution. This is the relevant portion of my pages.xml: | | | | | | | | | | The first time the user with role

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

2007-11-27 Thread lsabin
Thanks for your reply. My mistake was initializing the List object but I still don´t understand why it was working with the version of the component I showed in my post (CourseAction). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108168#4108168 Repl

[jboss-user] [JBoss Seam] - @DataModel problem

2007-11-27 Thread lsabin
Hi. I have the following component which retrieves a list of courses done by a employee. This works fine but when I included some code to get a list of courses that match a certain input the list of courses is not retrieved (actually the method listCoursesEmployee() is not invoked at all).

[jboss-user] [JBoss Seam] - best practice for populating combos

2007-11-07 Thread lsabin
Hi. Which is the best practice for populating a selectOneListBox component? I have a list of static values and I want to load then just once. I tried using a @Factory annotation in the method which retrieves those values in a Seam component with SESSION scope. But I am using a long-running c

[jboss-user] [JBoss Seam] - Re: best practice for populating combos

2007-11-07 Thread lsabin
Thanks for your reply. I tried your solution but when I end my conversation and I begin a new one my dropdown is not empty but when the action (associated with the onchange event) is triggered I get the error : (value is not valid). The onchange event is included in a . View the original po