[jboss-user] [JBoss Seam] - Re: Submitting using SelectOneRadio

2006-10-31 Thread [EMAIL PROTECTED]
Yeah, usually something like this would not be a seam-related problem, but we hacked in some functionality to make JSF method bindings more flexible (and I screwed up doing it). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982187#3982187 Reply to the post

[jboss-user] [JBoss Seam] - Re: Submitting using SelectOneRadio

2006-10-31 Thread monkeyden
BINGO! Built from CVS. I never would have guessed that this was a bug in Seam. Seems to me that it has more to do with JSF event handling. Anyway, it's in the rear-view mirror. Thanks for the help Gavin. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982

[jboss-user] [JBoss Seam] - Re: Submitting using SelectOneRadio

2006-10-31 Thread [EMAIL PROTECTED]
Can you try this with a CVS or nightly build of Seam, it looks like a bug that was already fixed. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982174#3982174 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982174

[jboss-user] [JBoss Seam] - Re: Submitting using SelectOneRadio

2006-10-31 Thread monkeyden
I changed the method signature of updateStateRadioChange to no-arg, and it called it properly. It's looking like I'm completely misunderstanding the way in which a ValueChangeListener method is invoked. It's my understanding that when the valueChangeListener attribute is specified for a comp

[jboss-user] [JBoss Seam] - Re: Submitting using SelectOneRadio

2006-10-31 Thread monkeyden
Here is the runtime memory (up to the call to org.apache.myfaces.el.MethodBindingImpl.getMethod()). _argClasses is null, which tells me that it might be expecting to call a no-arg method, when the actual method takes a ValueChangeEvent. thisMethodBindingImpl (id=346) | facesContext

[jboss-user] [JBoss Seam] - Re: Submitting using SelectOneRadio

2006-10-30 Thread [EMAIL PROTECTED]
Put a breakpoint in the MyFaces code and find out what values it is passing to getMethod(). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3981929#3981929 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3981929 __

[jboss-user] [JBoss Seam] - Re: Submitting using SelectOneRadio

2006-10-30 Thread monkeyden
NOTE: I abandoned implementation of a ValueChangeListener (earlier posts in this thread), in favor of invoking the value change listener method on the Seam component instance itself. 20:31:23,711 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception | javax.faces

[jboss-user] [JBoss Seam] - Re: Submitting using SelectOneRadio

2006-10-30 Thread [EMAIL PROTECTED]
It would help if you showed us the stack trace. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3981918#3981918 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3981918 ___ jboss-u

[jboss-user] [JBoss Seam] - Re: Submitting using SelectOneRadio

2006-10-30 Thread monkeyden
no, that's the first thing I tried, because it's a boolean component. I saw the same result. When that didn't work, it occurred to me that the type of component might not even matter, so long as the ValueChangeEvent was created. Note, this is all done after obsessively cleaning my project, JB

[jboss-user] [JBoss Seam] - Re: Submitting using SelectOneRadio

2006-10-30 Thread [EMAIL PROTECTED]
Can you make it work for a h:inputText? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3981912#3981912 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3981912 ___ jboss-user mail

[jboss-user] [JBoss Seam] - Re: Submitting using SelectOneRadio

2006-10-30 Thread monkeyden
Sorry to be so noisy on an ignored topic. I have degraded to a much simpler question. Has anyone gotten the valueChangeListener attribute to work with ? I have seen a handful of threads around and no one has ultimately said that they got it to work. The result in my case is a very mysteriou

[jboss-user] [JBoss Seam] - Re: Submitting using SelectOneRadio

2006-10-30 Thread monkeyden
I've implemented a ValueChangeListener, to handle the change of the radio button, but I'm not sure how to change the value in my Seam component, to reflect the value change. I'm sure I am supposed to be looking up the Seam component a different way, since it fails with a ClassCastException when

[jboss-user] [JBoss Seam] - Re: Submitting using SelectOneRadio

2006-10-30 Thread monkeyden
Sorry, hosed the action method (needs to return String), but the main problem is still the same. Can't force the radio button's value into the Seam component. public String locationsByState(){ | currentLocations = new ArrayList(); | loadLocations(); | Context event