Hi, I'm using Trinidad and Tomahawk. Since now I need to upload files using tr:inputFile, I read that I must use tr:form with usesUpload=true. Unfortunately I also use jscookmenu, twice in the same page. So alternatives are:

- using h:form including <input type="hidden" name="jscook_action"/>. This works (since jscook_action appears once per page) but I cannot upload through tr:inputFile. - using tr:form, but then I get the automatic inclusion of jscook_action, once per menu. Then jscookmenu actions don't work. - including a little chunk of js to leave just one instance of jscook_action.

Is there any way to prevent multiple inclusion of jscook_action ? Any suggestion ?
Thanks,

-- Renzo


Reply via email to