From: Timo M. <me...@gm...> - 2006-01-31 16:18:11
|
Hi, last weeks I converted my hole app to Gui4j and I am really satisfied with this decision. So, thanks to all developers. I have a small problem: Is it possible to cast Objects? In ComboBoxes it is simple by adding the contentType-tag. My problem is to cast objects in edit-components. Here the contentType-tag is missing. My Example: getEditEntity() returns Object (because of generalization problems I can't define a specialized class as return type), but to have access to the methods getName it needs to be casted to e.g. Customer. <edit value="{eEventEditRefresh}getEditEntity.getName" setValue="getEditEntity.setName(?value)"/> Thank you very much Timo -- Glück Auf Timo (MAIL) me...@gm... (ICQ) 10201138 (AIM) TimoLiebtEffi (JAB) tim...@ja... DSL-Aktion wegen großer Nachfrage bis 28.2.2006 verlängert: GMX DSL-Flatrate 1 Jahr kostenlos* http://www.gmx.net/de/go/dsl |