• 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: WOHyperlink Passing a value back...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >WOHyperlink Passing a value back... (From: James Cicenia <email@hidden>)

  • Prev by Date: Re: Fetch Only Non-Empty To-Many
  • Next by Date: Re: WOHyperlink Passing a value back...
  • Previous by thread: WOHyperlink Passing a value back...
  • Next by thread: Re: WOHyperlink Passing a value back...
  • Index(es):
    • Date
    • Thread