[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Quest for the FIXGRIDListBinding  XML
Forum Index -> Development
Author Message
wocher

Power User
[Avatar]

Joined: 14/04/2008 13:10:19
Messages: 49
Location: Ravensburg
Offline

Greet,

in the BeanBrowser the FIXGRIDListBinding list no properties for the items there in.
Björn can you chance the Class that the bean browser shows the properties from the items and the expression no #{d.xx.yy.zz} but also .{zz}?
We have many lists for the mask so where the making easier.

Wocher

„Ein Haus ohne Bücher ist arm, auch wenn schöne Teppiche seinen Boden und kostbare Tapeten und Bilder die Wände bedecken.“
Hermann Hesse, Dichter, Schriftsteller und Maler * 02. 07. 1877 - Calw † 09. 08. 1962 - Montagnola, Schweiz

Rainer Wocher Quentia Development GmbH (Sotware Developer)
[ICQ]
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5521
Offline

...this is possible as well right now, we will provide an example...
Björn

Björn Müller, CaptainCasa GmbH
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5521
Offline

...this is possible as well right now, we will provide an example...
Björn

Björn Müller, CaptainCasa GmbH
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5521
Offline

...the solution is the following:

In DynamicIntrospectionInfo you pass back the property name and its class. And you may also pass a "reference" value. Pass as refernce the class that you want to see within you FIXGRIDItem implementation.

Example:
Code:
                     dpi.setName("grid");
                     dpi.setPropClass(BeanArrayWrapper.class); // BeanArrayWrapper extends FIXGRIDListBinding
                     dpi.addReference(XYZClass.class); // the class managed inside the grid item
                     result.getProperties().add(dpi);
 
 


Björn

Björn Müller, CaptainCasa GmbH
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team