Hi John, Flor, other WO JC developers
I have added some things to my Client-Side EOGenericRecord class that
I think will allow for _very_ easy integration of D2JC features (lists
and forms) to any time of WO Java Client app. But since I don't do any
non-direct development, maybe one of you can try them out.
The additions are on the wiki:
http://wiki.objectstyle.org/confluence/display/WOL/Client-Side+EOGenericRecord+Additions
What you should be able to do is call something along the lines of:
formWithEntityName(myEO.ENTITY_NAME, myEO.globalID());
and you'll get a D2JC generated Swing window that allows you to make
changes to your EO with undo and revert capabilities added for free!
Just like that, no hand-written Swing required.
The layout of that form will be based on the settings you have in your
MyProject.woa/Contents/Resources/user.d2wmodel file for that specific
Entity. If you have no user.d2wmodel file, I'm not sure if it will
error or just make it's best guess. (I think it will be the best-guess).
I'm not entirely sure how this will interact with JBND, as I'm not
using it _yet_ either.
Give it a try and let me know!
Dave
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]