Foros de discusión
aui:form doesn't send parameter
Víctor Martínez-Barquero Teruelo, modificado hace 9 años.
aui:form doesn't send parameter
New Member Mensajes: 5 Fecha de incorporación: 21/01/15 Mensajes recientes
Hi everyone,
I have an aui:form in a jsp and, inside it, I have a normal input tag instead of an aui:input ( because front developer need it ) This way:
The problem I'm facing is, when I'm working in Chrome or IExplorer I'm recieving all the parameters without any problem in the controller, but when I try to run the application in Firefox, the input value is not sended, not even appear in navigator inspector so I recieve a null value.
Thanks in advance.
Víctor.
I have an aui:form in a jsp and, inside it, I have a normal input tag instead of an aui:input ( because front developer need it ) This way:
>
<aui:form>
<aui:input></aui:input>
<aui:input></aui:input>
<label class="slcheck">
Mostrar resultados como lista <input value="${resultWorkShopCheck}" name="<portlet:namespace/>workshopResultPage" id="CHECK_FIELD" type="checkbox">
</label>
</aui:form>
The problem I'm facing is, when I'm working in Chrome or IExplorer I'm recieving all the parameters without any problem in the controller, but when I try to run the application in Firefox, the input value is not sended, not even appear in navigator inspector so I recieve a null value.
Thanks in advance.
Víctor.
Víctor Ponz, modificado hace 8 años.
RE: aui:form doesn't send parameter (Respuesta)
New Member Mensajes: 18 Fecha de incorporación: 29/07/14 Mensajes recientes
Hi Víctor
This is the code that <aui:input></aui:input> generates when it comes of a checkbox
So, try to do the same
Hope it helps
This is the code that <aui:input></aui:input> generates when it comes of a checkbox
<label for="_86_mergeUrlTagsCheckbox" class="checkbox">
<input type="hidden" value="true" name="_86_preferences--mergeUrlTags--" id="_86_mergeUrlTags">
<input type="checkbox" value="true" onclick="Liferay.Util.updateCheckboxValue(this); " name="_86_preferences--mergeUrlTags--Checkbox" id="_86_mergeUrlTagsCheckbox" class="field" checked> Incluir las etiquetas especificadas a través de la URL
</label>
So, try to do the same
Hope it helps
Víctor Martínez-Barquero Teruelo, modificado hace 8 años.
RE: aui:form doesn't send parameter
New Member Mensajes: 5 Fecha de incorporación: 21/01/15 Mensajes recientes
Hello Víctor,
I've tried to use the same structure in my jsp and it seems it has worked. Chrome and IE will send the two parameters but It's ok.
I`m going to continue proving but I think It'll be the solution.
Thanks for your answer.
I've tried to use the same structure in my jsp and it seems it has worked. Chrome and IE will send the two parameters but It's ok.
I`m going to continue proving but I think It'll be the solution.
Thanks for your answer.