I am confused by portlet action. In my jsp, there is a line like this : <input type="submit" name="eventSubmit_doAddvalue" value="Add Value" onclick="javascript:oncheck(document.propertySet.elements['propertyValue'].value)"> In javascript:oncheck(value), I will check if "value" is available, if not, return false. In general, this submit action should not be performed, but in portlet action, "doAddvalue" still runs. This goes against my idea. How to disable the action when my javascript returns false.
thanks a lot. sophy