wood burning stoves 2.0*
The moose likes Struts and the fly likes adding object to a list using tags. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "adding object to a list using tags." Watch "adding object to a list using tags." New topic
Author

adding object to a list using tags.

paddy Mahadeva Iyer
Ranch Hand

Joined: Feb 10, 2007
Posts: 63
Hi guyz,

i have 2 questions.

1)Is there any tag that will allow me to create an object
2) Is there any tag that will allow me to add an object to a list.

Thanks in advance
Sonny Gill
Ranch Hand

Joined: Feb 02, 2002
Posts: 1211

In Struts 2?

For 1), see the bean tag.

For 2), OGNL can invoke arbitrary methods on any object, so you could do this by evaluating an OGNL expression somehow, perhaps by using it as a value in another tag.


The future is here. It's just not evenly distributed yet. - William Gibson
Consultant @ Xebia. Sonny Gill Tweets
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: adding object to a list using tags.
 
Similar Threads
Adding form:option dynamically
help in JSP
JspFragment
How do I access a page scoped object.
Tutorial on Dynamic Attributes