• 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: update a WOComponentContent from my code?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: update a WOComponentContent from my code?


  • Subject: Re: update a WOComponentContent from my code?
  • From: Chuck Hill <email@hidden>
  • Date: Mon, 06 Jun 2011 10:48:53 -0700

Using an AUC and a redirect together seems wrong.

I think the solution to your problem is in the MaiTable class and needing to call the set... methods with a default value if they are not set.


Chuck

On Jun 5, 2011, at 7:28 PM, Theodore Petrosky wrote:

> I have an update Container:
>
> <wo:AjaxUpdateContainer id = "MainTableUC">
> <div id = "contentArea"> <webobject name = "MainTableComponentContent" /> </div>
> </wo:AjaxUpdateContainer>
>
> WOD
>
> MainTableComponentContent : WOComponentContent {}
>
> I have a popup and depending on its selection, I fire:
>
> MainTable nextPage = pageWithName(MainTable.class);
> nextPage.setShowAllIOs(((Session)session()).showAllIOs());
> nextPage.setSearchQualifier(((Session)session()).searchQualifier());
>
> AjaxUtils.redirectTo(nextPage);
>
>
> and beautifully AjaxUtils inserts the WOComponentContent.
>
> How can I fire this from my code? My Main page opens with nothing present. I must select something from the popup. I can not figure out how to present a default selection.
>
> I am sure it is simple, but my pea brain just doesn't understand.
>
> Ted
>
>
>
>
> _______________________________________________
> 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

--
Chuck Hill             Senior Consultant / VP Development

Come to WOWODC this July for unparalleled WO learning opportunities and real peer to peer problem solving!  Network, socialize, and enjoy a great cosmopolitan city.  See you there!  http://www.wocommunity.org/wowodc11/

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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: update a WOComponentContent from my code?
      • From: Theodore Petrosky <email@hidden>
References: 
 >update a WOComponentContent from my code? (From: Theodore Petrosky <email@hidden>)

  • Prev by Date: Re: Mismatch between model and database
  • Next by Date: Re: update a WOComponentContent from my code?
  • Previous by thread: Re: update a WOComponentContent from my code?
  • Next by thread: Re: update a WOComponentContent from my code?
  • Index(es):
    • Date
    • Thread