Re: WOActionURL causes session to be created
Re: WOActionURL causes session to be created
- Subject: Re: WOActionURL causes session to be created
- From: Lachlan Deck <email@hidden>
- Date: Thu, 24 Jul 2008 14:30:48 +1000
On 24/07/2008, at 2:21 PM, Greg Hulands wrote:
On my main component I am making sure not to have any component
actions bound, but I have found that using WOActionURL to get the
url to a direct action seems to be causing a new session to be
created.
This is the binding:
<form method="post" action="<webobject name=loginURL></webobject>">
loginURL: WOActionURL {
directActionName = "login";
}
And this is the html produced:
<form method="post" action="/WebObjects/TrackLog.woa/wa/login?
wosid=zd4YCBNdtT6muy6pb0vxJg">
Is this a known bug or am I missing something obvious?
http://developer.apple.com/documentation/WebObjects/Reference/DynamicElements/Introduction/chapter_1_section_1.html
"WOActionURL enables the creation of URLs to invoke methods or specify
pages to return. You can use this element for a variety of purposes,
but it is primarily intended to support JavaScript within a WebObjects
application."
I believe you want WOHyperlink.
with regards,
--
Lachlan Deck
_______________________________________________
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