Re: WOHyperlink Passing a value back...
Re: WOHyperlink Passing a value back...
- Subject: Re: WOHyperlink Passing a value back...
- From: Greg Hulands <email@hidden>
- Date: Wed, 9 Jun 2004 10:33:56 +1000
Just use javascript to append the column name to the url of the action
for the component and in the sortByColumn method get the value of the
column by:
app.woa/0080980/fdfsd.0.2231.4?column=name
String column = context().request().stringFormValueForKey("column");
You maybe able to use WOHyperlink directly and no javascript to do this
but I don't know how.
On 09/06/2004, at 9:44 AM, James Cicenia wrote:
> Hello -
>
> 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.
>
> Without using directActions is this possible? OR, do I have to write a
> action for every column... yuk.
>
> Thanks again,
> James Cicenia
> _______________________________________________
> 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.
_______________________________________________
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.