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

update a WOComponentContent from my code?


  • Subject: update a WOComponentContent from my code?
  • From: Theodore Petrosky <email@hidden>
  • Date: Sun, 05 Jun 2011 19:28:03 -0700 (PDT)

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

  • Follow-Ups:
    • Re: update a WOComponentContent from my code?
      • From: Chuck Hill <email@hidden>
    • Re: update a WOComponentContent from my code?
      • From: Michael Sharp <email@hidden>
  • Prev by Date: Re: Session Persistence (Database)
  • Next by Date: Re: Session Persistence (Database)
  • Previous by thread: hash or short keys?
  • Next by thread: Re: update a WOComponentContent from my code?
  • Index(es):
    • Date
    • Thread