I've created my own custom look that removes the edit and inspect actions on a list page in favour of using a pagecontroller. I subclassed the erdcontrollerbutton to redo the list of actions as an unordered list of list suitable for css styling and it works well.

I didn't then need to have direct actions so I left it at that. I need sessions so component actions work perfectly.

My (naive) suggested answer (without trying it) is to use a dedicated d2w list page subclass remove all actions in favour of buttons that use direct actions.....



--
Dr. Mark Wardle
Specialist registrar, Neurology
(Sent from my mobile)


On 11 Dec 2009, at 20:20, Daniel Beatty <[email protected]> wrote:

Greetings Anjo and Dave,
It does answer the question.  Ouch.

For one paper, I can use D2W with the session based components to demonstrate the point and test the business logic.

The D2JC route that Dave is suggesting may be a useful solution. The size of this database may be a prohibitive factor. In this case, what I would need the D2JC app to do is literally read information out of the ugly database , organize the data in a pretty way, and copy the data into the pretty database. Does D2JC allow for console type applications? In this case, it would be nice to use it in conjunction with a cluster/ grid.


A D2JC lesson would definitely be nice. I hear that Northern Virginia is having such a thing coming up next Tuesday. If we could work the iChat telecom, we could probably work that.

In any case, if I get this working it would make one heck of a success story for the WO community.


Thank you,

Dan Beatty, M.S. CS (B.S. EECS)
Ph.D. Student
Texas Tech University
[email protected]
http://venus.cs.ttu.edu/~dabeatty
http://web.me.com/danielbeatty/My_Home_Page/Welcome.html



On Dec 11, 2009, at 11:29 AM, Anjo Krank wrote:

I have a question on this thread. In the case of a read-only part of D2W, is there a way to force all actions to be "Direct Actions" to avoid the session driven "Component Actions"?

Short answer: No. The component action redirector does something different. When you use it, you still have /wo/ urls, but when the page they are on will have a direct action url.

The long answer is: you need to create a lot of property level components and a lot of pages. Each time you create a link or button, you will need to. If you want to do this, you can avoid the actual /wo/ url. But you *will* need a session for D2W to work. So at the least, you need setStoresSessionInCookies(true).

In this case, I happen to have a fairly gross application where the database is relational only in the sense that it is stored in a MySQL database. It has no keys of any kind (primary, foreign or skeleton). The only reason to make this app is basically to access a legacy database and supply the means to translate its data to a cleanly devise scheme with appropriate keys and relations.

Not sure how this relates to your question?

Cheers, Anjo











_______________________________________________
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/mark %40wardle.org

This email sent to [email protected]

_______________________________________________
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]

Reply via email to