-
1. Re: Extending components with CDK?
nbelaevski Feb 5, 2010 4:00 PM (in response to hansjuergen.schumacher)1 of 1 people found this helpfulHi Juergen,
First of all, you can specify existing component class as base class for the generated component - almost all RF components are extending standard behavioral classes, like UIInput, UIOutput, etc. Extension of renderer classes compiled from CDK templates can be hard as there are not many entry points for that.
Can you please clarify further what kind of extension do you need?
-
2. Re: Extending components with CDK?
hansjuergen.schumacher Feb 9, 2010 4:37 AM (in response to nbelaevski)Hi Nick,
thank you for your reply. I need to extend the SuggestionBox component. The component shall become more features. Here is the list of new features:
- New graphical presentation (small marker to recognize that it is a list)
- When leaving with the TAB-Key the typed characters should be taken for the value (the standard is that the component get the first element in the list as far there is any autocomplete list values)
- Click via mouse within the field shall already expand the complete suggestionlist
Maybe you have a recommedation if it is a good idea to use the CDK for those purposes.
Thank in advance,
juergen
-
3. Re: Extending components with CDK?
hansjuergen.schumacher Feb 9, 2010 4:41 AM (in response to nbelaevski)Oopps...this was not intened... -
4. Re: Extending components with CDK?
nbelaevski Feb 9, 2010 5:51 AM (in response to hansjuergen.schumacher)Juergen,
- New graphical presentation (small marker to recognize that it is a list)
This can be achieved by CSS customization or changes in renderer code.
- When leaving with the TAB-Key the typed characters should be taken for the value (the standard is that the component get the first element in the list as far there is any autocomplete list values)
This requires JavaScript code modification.
- Click via mouse within the field shall already expand the complete suggestionlist
Can be implemented via external button & JS API.
I think it's not possible to implement this via extending component, so you can import existing suggestionbox project from SVN, customize it and build.
-
5. Re: Extending components with CDK?
hansjuergen.schumacher Feb 9, 2010 6:36 AM (in response to nbelaevski)Nick,
Thank you a lot for your recommendations.
Cheers,
juergen