Look for one missing entry:
========================================================
<jsp:useBean id="IDOfAction"
class="de.volke.jetspeed.modules.actions.portlets.NameOfPortlet" scope="request" />
<%
String jspeid = (String) request.getAttribute("js_peid");
%>
<form name="InputForm" method="POST" action="<jetspeed:dynamicUri/>">
<input type="hidden" name="js_peid" value="<%=jspeid%>">
<input name="NameOfInput" type="TEXT">
<input type="hidden" name="action" value="portlets.NameOfPortlet">
<input type="SUBMIT" name="eventSubmit_doUpdate" value="Ok">
========================================================
-----Original Message-----
From: Maruthi [mailto:[EMAIL PROTECTED]
Sent: Monday, June 28, 2004 2:07 PM
To: Jetspeed Users List
Subject: ***SPAM*** RE: Parameters in JSP
Hello Christoph,
I am getting this info after inserting the code you sent:
INFO: Server startup in 13610 ms
PARAMETERS [js_peid]: P-fd6b1d1053-10000
PARAMETERS [eventsubmit_doupdate]: submit
PARAMETERS [template]: /html/Home.vm
User id is:null<br>
Hello I am here !
Number of Rows inserted:1<br>
My template name is :: RegistrationJSPTemplate.jsp.... what might be the problem?.
Please reply.
Thank you,
Maruthi.
Flo�mann_Christoph <[EMAIL PROTECTED]> wrote:
Hi Maruthi,
try this snippet in your action and you'll see what data you've got.
for(Enumeration enum = rundata.getParameters().keys(); enum.hasMoreElements(); )
{
String key = (String)enum.nextElement();
System.out.println("PARAMETERS [" + key + "]: " +
rundata.getParameters().getString(key) );
}
-----Original Message-----
From: Maruthi [mailto:[EMAIL PROTECTED]
Sent: Monday, June 28, 2004 12:00 PM
To: Jetspeed Users List
Subject: ***SPAM*** Parameters in JSP
Hello Christoph,
Thanks for your mail.I am using just as you mentioned ...like this..
String street= rundata.getParameters().getString("streetnhno");
String city= rundata.getParameters().getString("city");
String zip= rundata.getParameters().getString("zip");
String country= rundata.getParameters().getString("country");
but i am not getting data into my action class.Should i define these parameters in the
.xreg file...or what else is causing the problem?.
Please reply,
Thank you,
Maruthi.
Flo�mann_Christoph wrote:
Did you use rundata.getParameters().getString("NameOfInputField"); to get the data?
The quotation marks are important!
-----Original Message-----
From: Maruthi [mailto:[EMAIL PROTECTED]
Sent: Monday, June 28, 2004 11:49 AM
To: [EMAIL PROTECTED]
Subject: ***SPAM*** Parameters in JSP
Hello Everybody,
In my JSP... i have a form...after filling and submitting the form i am not getting
the filled in data into my action class.I am getting null.Can anybody tell me whats
wrong ?.
Thanks
Maruthi.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]