hi !
my problem is, that the following formular doesn't work in a portlet
(with struts-bridge).
i get no errors, only a white page. when i use the portlet as single app
it also works fine.
which way my link have to go to submit the form to my action ?
i think, that the JS is the problem, isnt it ?
the link:<html-p:link action="/kundeSearch.do">test</html-p:link> works
fine, but i hav no form in my action, of course...
i had a formular like this in my struts-app:
<html:form action="/kundeSave" styleId="EDITFORM">
<html:hidden property="kunde.kunde.pk"/>
....
...
</html:form>
and a save button like this:
<html:link styleClass="button"
href="javascript:submitForm();">save</html:link>
and at last a JS-funcion like this:
function submitForm()
{
if(checkRequiredFields()){
if(checkUsername()){
document.getElementById("EDITFORM").submit();
}
}
}
thank for every help
thomas