Hello,

I want to implement a decorator class to wrap a store name within a
hyperlink to mapquest. I can concatenate the link together in the SQL
string, but a decorator would be better.

The SQL concatenation looks like this...

'<a
href="http://www.mapquest.com/maps/map.adp?country=US&countryid=US&addto
history=&searchtype=address&cat=&address='& replace(addr1, '#', 'No.')
&'&city='& city &'&zipcode='& zip &'&search=  Search
&searchtab=address" target="_blank" title="Get A Map">' & store & '</a>'


I'm not wrapping a single value, but values for 'store', 'address1',
'city', 'state', 'zip'.

I looked at the sample Wrapper class, and suppose I can add my own
method to it to build the link I need, but those process just one value
and I'm working with 5 values.

Can a decorator method handle 5 data objects at the same time?

Regards,
Bob V



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to