Yes, this is in our new code base which is Wonder based! :-)
I'm wondering what would be the advantage. But I'll probably switch
it just because is the Wonder based branch. :-)
On May 31, 2009, at 8:26 AM, Mike Schrag wrote:
if you're using wonder -- ERXWOForm has:
public static String formName(WOContext context, String
defaultName) {
ms
On May 30, 2009, at 10:22 PM, Ricardo J. Parada wrote:
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/mschrag%40mdimension.com
This email sent to [email protected]
_______________________________________________
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/rparada
%40mac.com
This email sent to [email protected]
_______________________________________________
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]