[JBoss Seam] - Re: selectItems exception
by petemuir
I'm not really sure what you're after here. The difference between s:button and h:commandButton has been explained above. I'm not asking to package the source in your project - just to debug the code at the method specified above - and this isn't the appropriate place to discuss debugging using Netbeans as an IDE (and I know nothing about Netbeans).
If you can debug the call to BasicEntityConverter.getAsObject and tell me whether it is called or not, and if it is, whether it completes, and if not, at what line it fails I can help more. Alternatively get together a simple test case (this means no more code than absolutely necessary to show the problem, a working build.xml and details of what libraries I need to include) and mail it to me.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4008545#4008545
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4008545
19 years, 2 months
[JBoss Seam] - Re: selectItems exception
by damatrix
Hi,
I took the dreaded path of writing my own converter for my entity and guess what? That doesn't work as well. I mean the selectOneMenu does get populated with the entities alright, but after selecting one and clicking save h:commandButton my action method doesn't get called, with no exception or message. However my action method does get called if i change to an s:button, though the outjected object returns with null fields.
May i ask how different an s:button is from an h:commandButton apart from being able to pass method parameters in the former?
Anyway i want to try your most recent suggestion but i don't know how to configure my project to make use of the source files directly. I'm using NetBeans 5.5 if that's any help. Really wanna try something just to get this problem solved. Thanx for the patience.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4008539#4008539
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4008539
19 years, 2 months