On May 30, 2009, at 9:38 PM, Ricardo J. Parada wrote:
public String formName() {
return "" + context().userInfoForKey("formName");
}
but it's currently returning "null" even though it is wrapped in a
form. I use want to use the form name to do some javacript
magic. :-)
I changed the code to this and now it works:
public String formName() {
return "" + context().userInfo().objectForKey("formName");
}
So maybe userInfoForKey() in the WOContext doesn't do what I thought
it did. :-)
Thanks,
Ricardo
_______________________________________________
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]