You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Phillip Rhodes <rh...@yahoo.com> on 2001/12/17 22:27:18 UTC
struts integration to turbine (semi-working)
I am using turbine, and using the struts html tags. Yes, it is working!
I have it working "manually", if I create an instance of my object and set
all the properties of it manually and push my object onto the request, I
can use the struts html objects.
Simple example:
<%
Survey survey = new Survey();
survey.setSurveyName("survey name");
request.setAttribute("survey",survey);
%>
<html:text name="survey" property="surveyName" size="44" maxlength="44"/>
One of the things that struts does is to read values from the request
object and creates a new object with the appropriate values. It
automatically reads the request object and creates objects.
What class or object is doing this in struts?
I would like to use this to create my objects.
I really like the taglibs of struts. I hate having to loop through radio
groups, combo boxes, etc to select my value.
Thanks,
Phillip
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>