Hello David,
The form name i.e. createPortalPortlet is unique in ftl and there is no
other with same name.

Thanks and Regards
Santosh Chouhan

On Thu, Apr 2, 2009 at 1:16 AM, David E Jones
<[email protected]>wrote:

>
> It may be that the form name is not unique, ie there is something else on
> the page with that same name. If this is in a list of things then something
> needs to be done (a suffix to the name added) so that each form name is
> unique.
>
> -David
>
>
>
> On Apr 1, 2009, at 10:30 AM, santosh chouhan wrote:
>
>  Hello all,
>> When I try to create a new contact address for a portal then javascript is
>> blocked for all buttons on the page, here is code snippet for javascript
>> of
>> form
>>
>> <form method="post"
>> action="<@ofbizUrl>createPortalPagePortlet</@ofbizUrl>"
>> onSubmit="javascript:submitFormDisableSubmits(this)"
>> name="createPortalPortlet">
>>  <input name="portalPortletId" value="${portalPortlet.portalPortletId}"
>> type="hidden"/>
>>  <input name="portalPageId" value="${parameters.portalPageId}"
>> type="hidden"/>
>>  <input name="columnSeqId" value="${parameters.columnSeqId}"
>> type="hidden"/>
>> </form>
>> <a class="buttontext"
>>
>> href="javascript:document.createPortalPortlet.submit()">${uiLabelMap.CommonAdd}:
>> ${portalPortlet.portletName}</a>
>>
>> In the above code javascript:document.createPortalPortlet.submit() is
>> blocked and shows error in firebug with this is not a function. I searched
>> with existing code of other files and found no difference and those codes
>> are working fine.
>>
>> Thanks in advance.
>>
>> Thanks and Regards
>> Santosh Chouhan
>>
>
>

Reply via email to