Re: Tomahawk sandbox component submitOnEvent and Trinidad components

2007-06-15 Thread CarstenPi
-- View this message in context: http://www.nabble.com/Tomahawk-sandbox-component-submitOnEvent-and-Trinidad-components-tf3849149.html#a11134711 Sent from the MyFaces - Users mailing list archive at Nabble.com.

Re: Tomahawk sandbox component submitOnEvent and Trinidad components

2007-06-15 Thread Mario Ivankovits
Hi Carsten! I've change submitOnEvent in a way that should make it work with Trinidad too, though, I have no Trinidad here and do not have the time to test it. Please give it a try and report back. Hm, as far as I can see, the behaviour didn't change: A Trinidad developer promised

Re: Tomahawk sandbox component submitOnEvent and Trinidad components

2007-06-15 Thread Matthias Wessendorf
yes, form has a defaultCommand http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_form.html -M On 6/15/07, Mario Ivankovits [EMAIL PROTECTED] wrote: Hi Carsten! I've change submitOnEvent in a way that should make it work with Trinidad too, though, I have no Trinidad here and do not

Re: Tomahawk sandbox component submitOnEvent and Trinidad components

2007-06-15 Thread CarstenPi
... and maybe without javascript. Wouldn't it solve your use-case too? -- View this message in context: http://www.nabble.com/Tomahawk-sandbox-component-submitOnEvent-and-Trinidad-components-tf3849149.html#a11135135 Sent from the MyFaces - Users mailing list archive at Nabble.com.

Re: Tomahawk sandbox component submitOnEvent and Trinidad components

2007-06-01 Thread Mario Ivankovits
UICommand.COMPONENT_FAMILY? Alternatively I check the class using instanceof UIInput|UICommand, but this I know can not work with Trinidad. Ciao, Mario [EMAIL PROTECTED] wrote: Hi, just a short question: Does the Tomahawk sandbox component submitOnEvent collaborate with Trinidad components

Re: Tomahawk sandbox component submitOnEvent and Trinidad components

2007-06-01 Thread Matthias Wessendorf
@martin: I rely on the ComponentFamily, do you know if input fields in Trinidad use UIInput.COMPONENT_FAMILY and commands UICommand.COMPONENT_FAMILY? Alternatively I check the class using instanceof UIInput|UICommand, but this I know can not work with Trinidad. EditableValueHolder /

Re: Tomahawk sandbox component submitOnEvent and Trinidad components

2007-06-01 Thread Mario Ivankovits
Hi Matthias! But, the problem is, that Family/Type are strings. Why not going against the base interfaces, provided by JSF ? -javax.faces.component.EditableValueHolder -javax.faces.component.ActionSource Yepp, I'll change it that way. I just wanted to know ;-) Thanks! Ciao, Mario

Re: Tomahawk sandbox component submitOnEvent and Trinidad components

2007-06-01 Thread Mario Ivankovits
Matthias Wessendorf schrieb: On 6/1/07, Mario Ivankovits [EMAIL PROTECTED] wrote: Hi! have you got any clue on this? I have't used Trinidad till now. @carsten: Do you see some javascript regarding submitOnEvent stuff rendered into the resulting html? @martin: I rely on the

Re: Tomahawk sandbox component submitOnEvent and Trinidad components

2007-06-01 Thread Matthias Wessendorf
question: Does the Tomahawk sandbox component submitOnEvent collaborate with Trinidad components? I'm afraid it simply doesn't… Or am I missing some configuration gimmick? For your information, our environment also includes Facelets… Thanks in advance, Carsten -- Matthias Wessendorf

Re: Tomahawk sandbox component submitOnEvent and Trinidad components

2007-06-01 Thread Mario Ivankovits
Hi Matthias! Hi Matthias! But, the problem is, that Family/Type are strings. Why not going against the base interfaces, provided by JSF ? -javax.faces.component.EditableValueHolder -javax.faces.component.ActionSource When I hook on one of the UISelect* components I use a different

Re: Tomahawk sandbox component submitOnEvent and Trinidad components

2007-06-01 Thread Mario Ivankovits
Hi! just a short question: Does the Tomahawk sandbox component submitOnEvent collaborate with Trinidad components? I've change submitOnEvent in a way that should make it work with Trinidad too, though, I have no Trinidad here and do not have the time to test it. Please give it a try

Re: Tomahawk sandbox component submitOnEvent and Trinidad components

2007-06-01 Thread Mike Kienenberger
We used the component family because we need to conditionally choose what kind of event is needed to determine the submit condition. That's not possible from the base interfaces. input fields require keypress, select menus require change, and so on. Worse case, the end-user can override it.

Re: Tomahawk sandbox component submitOnEvent and Trinidad components

2007-06-01 Thread Matthias Wessendorf
On 6/1/07, Mike Kienenberger [EMAIL PROTECTED] wrote: We used the component family because we need to conditionally choose what kind of event is needed to determine the submit condition. That's not possible from the base interfaces. input fields require keypress, select menus require change,

Re: Tomahawk sandbox component submitOnEvent and Trinidad components

2007-06-01 Thread Martin Marinschek
Hi Mario, here the strings: org.apache.myfaces.trinidad.component.UIXSelectBoolean public static final java.lang.String COMPONENT_FAMILY = org.apache.myfaces.trinidad.SelectBoolean; public static final java.lang.String COMPONENT_TYPE = org.apache.myfaces.trinidad.SelectBoolean; package

Tomahawk sandbox component submitOnEvent and Trinidad components

2007-05-31 Thread carsten.pieper
Hi, just a short question: Does the Tomahawk sandbox component submitOnEvent collaborate with Trinidad components? I'm afraid it simply doesn't... Or am I missing some configuration gimmick? For your information, our environment also includes Facelets... Thanks in advance, Carsten

Re: Tomahawk sandbox component submitOnEvent and Trinidad components

2007-05-31 Thread Martin Marinschek
Mario, have you got any clue on this? regards, Martin On 5/31/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, just a short question: Does the Tomahawk sandbox component submitOnEvent collaborate with Trinidad components? I'm afraid it simply doesn't… Or am I missing some