• 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: D2W Question: ERXD2WList, how to retain sort order key
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: D2W Question: ERXD2WList, how to retain sort order key


  • Subject: Re: D2W Question: ERXD2WList, how to retain sort order key
  • From: Robert Hanviriyapunt <email@hidden>
  • Date: Mon, 11 Feb 2013 23:41:47 -0600

Is that persisted or per session?

On Feb 11, 2013, at 11:11 PM, David Holt <email@hidden> wrote:

> ERCoreBusinessLogic can save user preferences for sort order. Would something in there help you?
>
> Sent from my iPad
>
> On 2013-02-11, at 9:03 PM, Robert Hanviriyapunt <email@hidden> wrote:
>
>> Hi again,
>>
>> I have a ERXD2WList [B] in a page/component [A] and have propertyIsSortable = "true" on all properties.  The sorting is all ajax-y and works, but when the user clicks a row to view a single item on a new page, then clicks a "back" link to go back to the list page, the sort is lost.  How can I retain the sort last selected by the user?
>>
>> I am about to go crazy on this and replace all the header components with my my own header component hack that calls ognl like ~parent.parent.parent.sortBy( propetyName ) something-or-other if I can't get a clean way to have the list save off the sort key or the sort orderings off, either back to the parent component or the session.  Would that even work?  I have no idea how that ajax stuff works, if [B] still can traverse up the component tree to [A] and set something, and then get fed the new sorted list of stuff as the source of the refreshed table.  Am I talking crazy?
>>
>> = Robert =
>> _______________________________________________
>> 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

 _______________________________________________
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: 
 >D2W Question: ERXD2WList, how to retain sort order key (From: Robert Hanviriyapunt <email@hidden>)
 >Re: D2W Question: ERXD2WList, how to retain sort order key (From: David Holt <email@hidden>)

  • Prev by Date: Re: D2W Question: ERXD2WList, how to retain sort order key
  • Next by Date: Re: WebObjects IDE
  • Previous by thread: Re: D2W Question: ERXD2WList, how to retain sort order key
  • Next by thread: Re: D2W Question: ERXD2WList, how to retain sort order key
  • Index(es):
    • Date
    • Thread