struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Theissen <>
Subject Problem with submitting an additional param in a form
Date Thu, 03 Apr 2008 16:46:08 GMT
Hello everbody,

I'm new to Struts2 and also this mailing list.
I'm programming a user management for a non-profit organisation.

My question is now:
I have started with the basic struts2 application. In the index.jsp
there is a form which looks (nearly) like this:
            <s:form action="saveReg" validate="true">
                <s:param name="status" value="waiting" />   
                <s:textfield id="id" name="" 
                <s:textfield id="firstName" label="First Name" 
                <s:textfield id="lastName" label="Laste Name" 
                <s:textfield id="email" label="Email" 
                <s:submit theme="ajax" targets="registrations" 
Why cant I append the paramter 'status' and pass it through to the 
action class?
I read a lot of docs and faqs but didnt find the answer.
Is it my mistake, a bug or do I need a certain workaround?
I thought about taking a display:none textfield, but it would make me
quite unhappy to start the project with dirty tricks and workarounds ;-)

Any help appreciated.

Best regards

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message