• 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
Re: WOActionURL causes session to be created
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: WOActionURL causes session to be created
      • From: Greg Hulands <email@hidden>
References: 
 >WOActionURL causes session to be created (From: Greg Hulands <email@hidden>)

  • Prev by Date: WOActionURL causes session to be created
  • Next by Date: Re: WOActionURL causes session to be created
  • Previous by thread: WOActionURL causes session to be created
  • Next by thread: Re: WOActionURL causes session to be created
  • Index(es):
    • Date
    • Thread