You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by K J <to...@yahoo.com> on 2002/03/19 02:57:55 UTC

Core Struts Classes

I don't see any instances of 'ActionFormBean' and
'ActionForwardBean' being used in the struts example,
can someone give me some examples as to where such
objects would get used? Also, what's the main purpose
for 'ActionMapping' object? I've read the Java Docs,
but still not too clear on these objects? Are these
mainly just java beans that contain different types of
data?

Someone also told me that with Struts you can create
html forms, can someone explain how (if this is true)?

Many thanks!

Tony

__________________________________________________
Do You Yahoo!?
Yahoo! Sports - live college hoops coverage
http://sports.yahoo.com/

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Visual tools and custom tags

Posted by Alex Reid <al...@phiz.net>.
Is there any easy way of slightly enhancing the view a 'designer' gets when
working with JSP files containing <bean:write> and <nested:write> tags?
Currently when editing in DreamWeaver's visual mode they can't see any
'dynamic' text at all.

Speaking as someone with no experience in creating a taglib, would it be
difficult to modify the behaviour of these 'output' tags like so:

<nested:write property="name">Fred</nested:write>

ie: the dummy data (Fred) is replaced with the property value? I think this
would make the pages slightly easier for non-HTML savvy designers to edit.

I think this is how Enhydra handled things when I checked it out. But I want
to stay with JSP, not XMLC. I think Zope has something similar now too.

Cheers

Alex
Newcastle, UK



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Core Struts Classes

Posted by Ted Husted <hu...@apache.org>.
The Action*Beans are the descriptions from the struts-config file. They
are used internally to locate an ActionForm by name, and then
instantiate the corresponding type. 

The Struts HTML taglib includes tags for writing HTML elements that
populate themselves from the ActionForm objects. 

-- Ted Husted, Husted dot Com, Fairport NY US
-- Developing Java Web Applications with Struts
-- Tel: +1 585 737-3463
-- Web: http://husted.com/about/services


K J wrote:
> 
> I don't see any instances of 'ActionFormBean' and
> 'ActionForwardBean' being used in the struts example,
> can someone give me some examples as to where such
> objects would get used? Also, what's the main purpose
> for 'ActionMapping' object? I've read the Java Docs,
> but still not too clear on these objects? Are these
> mainly just java beans that contain different types of
> data?
> 
> Someone also told me that with Struts you can create
> html forms, can someone explain how (if this is true)?
> 
> Many thanks!
> 
> Tony
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Sports - live college hoops coverage
> http://sports.yahoo.com/
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>