• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Mixing D2JC with Non-Direct Java Client
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Mixing D2JC with Non-Direct Java Client


  • Subject: Mixing D2JC with Non-Direct Java Client
  • From: David Avendasora <email@hidden>
  • Date: Thu, 26 Mar 2009 10:28:18 -0400

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@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Mixing D2JC with Non-Direct Java Client
      • From: John Ours <email@hidden>
  • Prev by Date: Re: Java Client (topic of the day!)
  • Next by Date: Java Client (topic of the day!)
  • Previous by thread: Re: AjaxAutoComplete
  • Next by thread: Re: Mixing D2JC with Non-Direct Java Client
  • Index(es):
    • Date
    • Thread