I am trying to pass a JSP return value FRR near beans. I am making an action url with many parameters and all these are set correctly but the name of the company is set to "company name" instead of "company name"
this is my URL < / P>
var url = "& lt; liferay-portlet: actionURL & gt; lifer-portlet: Ultimate name = 'struts.portlet.action' value = '/ reg / submitStep1' / & Gt; lifer-portlet: Ultimate name = 'simple' value = 'true' /> & lt; / liferay-portlet: actionURL & gt; and no customer = "+ custNo +" and the company's Name = "+ company name;
Get company name variables from text field using i jquery The text input id is the company name
var companyName = $ ('# companyname '). Val ();
When I print it to However in the setter, the value of the string is set to "companyName, companyName", all other parameters ( using console.log; Value is OK, it has not been inserted twice.
simplified
, not a customer
) are ok. Why any thoughts are happening?
You are also passing the company name in the form of URL parameters and form parameters, Both parameters are obtained
Place only one parameter as either a URL parameter or as a form parameter.
Comments
Post a Comment