I'm afraid Struts 2 is not my strength, but it should be pretty
straightfoward (I know it is easy in Spring MVC). You will find a useful
tag reference here for Struts 2:
http://struts.apache.org/2.0.8/docs/tag-reference.html

The exact tag you choose will largely depend on what kind of html tags you
want to build. So to create your list of hyperlinks, the iterator tag is
probably most useful:
http://struts.apache.org/2.0.8/docs/iterator.html(there are some nice
examples on the page).

To build a dropdown, the form select tag will help:
http://struts.apache.org/2.0.8/docs/select.html

Hope that helps.

Mike.

On 6/17/07, Tobu <[EMAIL PROTECTED]> wrote:


I have a ManyToOne relationship in my entities, and I'd like to find
something like jsp tags that represent it.

I expect it will look like a hyperlink when displayed, and a drop-down
list
when edited.

I am using appfuse / struts-2, so apparently I have access to all these
tag
libraries (in taglibs.jsp):
jsp, display tag, struts (or struts-2?) and appfuse's struts tags. But I
have no idea what each of these is for.

(in fact, my newbieness also prevents me from formulating decent search
queries on that topic)

--
View this message in context:
http://www.nabble.com/-newbie--How-to-map-a-ManyToOne-relationship-in-jsp-tf3934848s2369.html#a11159873
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to