Re: WOHyperlink href attribute [SOLVED]
Re: WOHyperlink href attribute [SOLVED]
- Subject: Re: WOHyperlink href attribute [SOLVED]
- From: Michael Engelhart <email@hidden>
- Date: Wed, 28 Apr 2004 16:16:24 -0500
Never mind - I figured it out. I simply had to bind it to the method
call rather then call the method from the WORepition.
sorry about that.
Mike
On Apr 28, 2004, at 3:36 PM, Michael Engelhart wrote:
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.
_______________________________________________
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.