• 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: Rest Components Questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Rest Components Questions


  • Subject: Re: Rest Components Questions
  • From: Emmanuel Tote Dominguez Torres <email@hidden>
  • Date: Mon, 09 Apr 2012 16:35:47 -0500

for now I'm  doing this in the method

public WOActionResults action1Action()
{
WOResponse res= new WOResponse();
res.appendContentString(this.responseContentForActionNamed("default"));
return res;
}

and the default action returns:

<wo:WOForm multipleSubmit = "true">
<wo:MTAjaxUpdateContainer id="af">
<wo:MTAjaxSubmitButton action="" updateContainerID = "af" value = "asdff"/>
</wo:MTAjaxUpdateContainer>
</wo:WOForm> 

But when i click the button it shoots a session has timed out exception after that I changed the action to a directAction and it worked, it there a way to use component actions instead of direct action.

Emmanuel~


 _______________________________________________
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

References: 
 >Rest Components Questions (From: Emmanuel Tote Dominguez Torres <email@hidden>)

  • Prev by Date: Re: preventing direct component access
  • Next by Date: Re: preventing direct component access
  • Previous by thread: Rest Components Questions
  • Next by thread: Re: Rest Components Questions
  • Index(es):
    • Date
    • Thread