Struts Users,

I know this is a little off topic, but I figure someone here has
encountered my dilema before and solved it. (elegantly, I hope!)

I am building a website for a client and I want to enable them to update
their own pages and site structure.  One of the challenges that I have
not yet solved is how to insert a hyperlink into a text paragraph while
editing (via a web interface), without simply writing the whole tag in a
static manner.

For example, say you are typing out a paragraph and realize that a
particular word should be linked to another page in the site (or another
site).  How to do this?  Particularly, how to represent the link in the
UI, but hide the implementation complexity from the non-technical user.
And, how to store the resulting information in the database, so that it
can be reconstituted upon page generation.

Maybe a custom tag that takes a string previously pulled from the
database and converts some markers into the appropriate anchor tags?

Thanks for your ideas,
Nathan Probst


Reply via email to