[jboss-user] [JBoss Seam] - Re: Drop Down Menu Using Seam and Facelets

2006-09-28 Thread yj4jboss
Hello Denis, Could you please tell me what the difference between using your way of implementing SelectItems, the Custom Annotations way and simply using tomahawk to implement SelectItems. Cheers, Yogesh View the original post :

[jboss-user] [JBoss Seam] - Re: Drop Down Menu Using Seam and Facelets

2006-09-25 Thread yj4jboss
Hello Denis, I had declared getModel() in the interface.I could only get your code to work by doing the following changes: | | public MapString,Object model = new TreeMapString,Object(); | | // Instead of public MapString,Object model; | | |

[jboss-user] [JBoss Seam] - Re: Drop Down Menu Using Seam and Facelets

2006-09-25 Thread denis-karpov
Do not call fillMaps(); in a getter. I think it will solve all of your problems. Good place to call it in the factory method or like that. Then, I think you misunderstand this line model.put((Empty),-1); // Add EMPTY element if needed It is EMPTY element. It is needed to

[jboss-user] [JBoss Seam] - Re: Drop Down Menu Using Seam and Facelets

2006-09-22 Thread yj4jboss
Hello Denis, I am trying to get your example of implementing SelectItems without custom annotations. I have included the the following code in my SFSB. | | | | @Stateful | @Name(companySearch) | @Scope(ScopeType.SESSION) | @Interceptors(SeamInterceptor.class) | |

[jboss-user] [JBoss Seam] - Re: Drop Down Menu Using Seam and Facelets

2006-09-22 Thread denis-karpov
I guess you forgot to declare getter getModel() in your CompanySearch interface. public abstract MapString,Object getModel(); View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3973567#3973567 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Drop Down Menu Using Seam and Facelets

2006-09-12 Thread denis-karpov
http://wiki.jboss.org/wiki/Wiki.jsp?page=SelectItems Just added. This one is interesting that it is direct usage without custom annotations. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3970921#3970921 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Drop Down Menu Using Seam and Facelets

2006-09-11 Thread CptnKirk
Take a look at the Seam wiki. There are a couple third-party selectItems DataBinders there. These will let you take a list returned from your DB and use it within your JSF menu. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3970806#3970806 Reply to the post