Re: WOHyperlink Passing a value back...
Re: WOHyperlink Passing a value back...
- Subject: Re: WOHyperlink Passing a value back...
- From: Art Isbell <email@hidden>
- Date: Tue, 8 Jun 2004 14:36:46 -1000
On Jun 8, 2004, at 1:44 PM, James Cicenia wrote:
I have decided to implement my own sortable headers by allowing
the person to click a WOHyperLink on column headers. I was hoping
that it would allow me to pass back a constant which in this case
would be the key to sort on.
No actions include arguments.
Without using directActions is this possible? OR, do I have to write a
action for every column... yuk.
I suppose if you made your table's columns dynamic (i.e., a
WORepetition for the columns), you could detect in which column the
hyperlink had been clicked and thereby use a single action method to
sort.
But that seems like overkill to avoid writing several action methods
containing a single statement, "return
_sortByPropertyName(propertyName)" with _sortByPropertyName()
containing one sorting statement and a "return null" statement.
Aloha,
Art
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.