Re: Actions from D2W pages
Re: Actions from D2W pages
- Subject: Re: Actions from D2W pages
- From: Anjo Krank <email@hidden>
- Date: Fri, 11 Dec 2009 20:29:54 +0100
> 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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden