• 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: Repeating a component output in the same page
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Repeating a component output in the same page


  • Subject: Re: Repeating a component output in the same page
  • From: Mike Schrag <email@hidden>
  • Date: Wed, 9 Jan 2008 18:16:25 -0500

Of course the content has some restrictions: one can't create an AjaxUpdateContainer (or anything else that requires a JavaScript id) inside it. But the pager is just links and sugar, so I think that wouldn't be a problem.

Any more potential problems I'm missing? :)
Let me see ... making your life overly difficult :) ?

You're going to have component actions in there mixed with Ajax Updates ... If one of those pagers updates in an Ajax update without the other cached one updating, you'll end up with each pager generated from different contexts and the one not updated may be now referring to a context that no longer exists.

I still maintain that easier = better here ... You aren't really trying to cache the HTML, you're trying to cache the query results. a PaginationState class that you pass into both, the first filling it out, the second see it's filled out be a lot less error prone.

ms

_______________________________________________
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: 
 >Repeating a component output in the same page (From: Miguel Arroz <email@hidden>)
 >Re: Repeating a component output in the same page (From: Andrew Lindesay <email@hidden>)
 >Re: Repeating a component output in the same page (From: Chuck Hill <email@hidden>)
 >Re: Repeating a component output in the same page (From: Mike Schrag <email@hidden>)
 >Re: Repeating a component output in the same page (From: Miguel Arroz <email@hidden>)

  • Prev by Date: Re: Repeating a component output in the same page
  • Next by Date: Re: Can't retrieve cookies
  • Previous by thread: Re: Repeating a component output in the same page
  • Next by thread: Re: Can't retrieve cookies
  • Index(es):
    • Date
    • Thread