• 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
WOHyperlink href attribute
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

WOHyperlink href attribute


  • Subject: WOHyperlink href attribute
  • From: Michael Engelhart <email@hidden>
  • Date: Wed, 28 Apr 2004 15:36:05 -0500

I am generating a list of Countries from a database table.
I have a component that has these instance variables (along with setters/getters)


NSArray resultSet
NSDictionary resultSetItem

I have a WORepetition that wraps a table row that writes out the country names wrapped in WOHyperlink's. I need to generate a static HREF attribute for each WOHyperlink. (In case you're wondering I have some mod_rewrite magic to convert these back to WO URL's for SE purposes). What I've tried so far is to create an instance variable like this:

String staticUrl;

that is then set in the setStaticUrl() method that I call from setResultSetItem(). I did a simple test where I just did a println in setResultSetItem() and while the page was being generated the response took forever to generate even 20 URL's. This clearly isn't the correct way to do this. Is there a documented method for generating "static" URL's dynamically within a WORepetition?

Thanks
Mike
_______________________________________________
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.


  • Follow-Ups:
    • Re: WOHyperlink href attribute [SOLVED]
      • From: Michael Engelhart <email@hidden>
  • Prev by Date: Java Monitor Sessions Question
  • Next by Date: Re: Java Monitor Sessions Question
  • Previous by thread: Re: Java Monitor Sessions Question
  • Next by thread: Re: WOHyperlink href attribute [SOLVED]
  • Index(es):
    • Date
    • Thread