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 org.apache.myfaces.trinidad.component.UIXSelectOne

public static final java.lang.String COMPONENT_FAMILY =
"org.apache.myfaces.trinidad.SelectOne";
   public static final java.lang.String COMPONENT_TYPE =
"org.apache.myfaces.trinidad.SelectOne";

package org.apache.myfaces.trinidad.component.UIXSelectMany

public static final java.lang.String COMPONENT_FAMILY =
"org.apache.myfaces.trinidad.SelectMany";
   public static final java.lang.String COMPONENT_TYPE =
"org.apache.myfaces.trinidad.SelectMany";

HTH,

regards,

Martin

On 6/1/07, Mario Ivankovits <[EMAIL PROTECTED]> wrote:
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 event
action. Instead of onkeypress the component will automatically choose
onchange.
This will be done by checking for one of
        UISelectBoolean.COMPONENT_FAMILY, UISelectMany.COMPONENT_FAMILY,
UISelectOne.COMPONENT_FAMILY

Is there something similar for Trinidad?

Its just to make the component a little bit smarter, the user/in is
always able to define which even to use as attribute.


Ciao,
Mario




--

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces

Reply via email to