• 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: Posting vars programatically from component to Direct Action
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Posting vars programatically from component to Direct Action


  • Subject: Re: Posting vars programatically from component to Direct Action
  • From: Randall Perry <email@hidden>
  • Date: Sat, 17 Apr 2004 10:21:57 -0400

on 4/17/04 9:50 AM, Arturo Pirez at email@hidden wrote:
>
> Ah, ok.  You want do to this:
>
> NSMutableDictionary dict = new NSMutableDictionary();
> dict.setObjectForKey(user, "username");
> WOComponent red = pageWithName("WORedirect");
> red.takeValueForKey(context().directActionURLForActionNamed("myDA",
> dict), "url");
> return red;
>
Thanks, I'll file that technique. But using hidden fields works and is a lot
simpler.


>>> You could go right ahead and use a WOHiddenField.
>> Ok. Should've checked for that. May be the most straightforward way to
>> do
>> it. My purpose is to prevent the user from seeing the info.
>
> Well, a curious (or malign) user can still see the data in a hidden
> field.
No, my user's are barely able to use internet browsers never mind fish out
hidden vars ;-)

> So, depending on how confidential you need that data to be this may or
> may not
> be appropriate.
No need for confidentiality, just want to hide data that would be redundant
to the user but necessary for my purposes.



--
Randall Perry
sysTame

Xserve Web Hosting/Co-location
Website Development/Promotion
Mac Consulting/Sales

http://www.systame.com/
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Re: Posting vars programatically from component to Direct Action (From: Arturo PĂ©rez <email@hidden>)

  • Prev by Date: showing build errors
  • Next by Date: WOComponentDefinition
  • Previous by thread: Re: Posting vars programatically from component to Direct Action
  • Next by thread: [OT] Javascript sending down a variable to a Perl script
  • Index(es):
    • Date
    • Thread