WOHyperlink href attribute
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.