[announcement] new sandbox component: submitOnEvent

2006-10-10 Thread Mario Ivankovits
Hi! I am proud to announce a new sandbox component named submitOnEvent This components aims to do whats described in [1] and [2] For examples please have a look at http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/submitOnEventInput.jsp?view=markup http://svn.

Re: [announcement] new sandbox component: submitOnEvent

2006-10-10 Thread Jeff Bischoff
Great! Seems like a common requirement, always figured this would end up as a tomahawk/sandbox component at some point. Looks interesting. I like this usage syntax - very straightfoward. I notice you didn't need to forceID the submit buttons on the example. Do we run into any ID trouble

Re: [announcement] new sandbox component: submitOnEvent

2006-10-10 Thread Mario Ivankovits
Hi Jeff! > I notice you didn't need to forceID the submit buttons on the example. > Do we run into any ID trouble with subviews, forms, subforms, etc? Shouldn't be a problem. I use the JSF computed client-id, and if there isn't a bug in this computation (there were in the past ;-) ) it should work.

Re: [announcement] new sandbox component: submitOnEvent

2006-10-11 Thread Mario Ivankovits
Hi! > A wiki page should follow soon, though, maybe some of you are willing to > donate a page? *hinthint* ;-) > And here it is: http://wiki.apache.org/myfaces/SubmitOnEvent Ciao, Mario

Re: [announcement] new sandbox component: submitOnEvent

2006-10-11 Thread Andrew Robinson
Great to see this component. Hopefully this will lower the number of people asking how to do this (despite there already being a WIKI present on it). Perhaps the component will satisfy the need. Thanks for writing it. -Andrew On 10/11/06, Mario Ivankovits <[EMAIL PROTECTED]> wrote: Hi! > A wik

Re: [announcement] new sandbox component: submitOnEvent

2006-10-16 Thread Jeff Bischoff
I notice you didn't need to forceID the submit buttons on the example. Do we run into any ID trouble with subviews, forms, subforms, etc? Shouldn't be a problem. I use the JSF computed client-id, and if there isn't a bug in this computation (there were in the past ;-) ) it should work. Okay,

Re: [announcement] new sandbox component: submitOnEvent

2006-10-19 Thread Jeff Bischoff
Hey all, I believe I have answered my own question. I have reviewed the source code for the submitOnEvent component, and I can see that Mario is using the UIComponent.findComponent() method to locate the component referenced by the "for" attribute. That find method uses an algorithm described

Re: [announcement] new sandbox component: submitOnEvent

2006-10-19 Thread Mario Ivankovits
Hi Jeff! > I believe I have answered my own question. Sorry, I've missed your last mail :-( > If I first test to ensure the more complicated use-case works as > expected, do you mind if I update that wiki page with this additional > detail about the options for use of the "for" attribute? No, plea