You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Mahbub Rahman (JIRA)" <de...@myfaces.apache.org> on 2006/08/17 00:40:13 UTC
[jira] Created: (TOMAHAWK-606) t:commandLink does not work - gives
javascript error
t:commandLink does not work - gives javascript error
----------------------------------------------------
Key: TOMAHAWK-606
URL: http://issues.apache.org/jira/browse/TOMAHAWK-606
Project: MyFaces Tomahawk
Issue Type: Bug
Components: Extended CommandLink/CommandButton
Affects Versions: 1.1.5-SNAPSHOT
Environment: Tomcat tomcat-4.1.31 / WebLogic 8.1 sp 4, myfaces-core-1.1.4-SNAPSHOT, tomahawk-1.1.5-SNAPSHOT
Reporter: Mahbub Rahman
Priority: Blocker
t:commandLink and t:commandSortHeader does not work with tomahawk-1.1.5-SNAPSHOT + jsp.
h:commandLink works fine where ever t:commandLink fails with javascript error.
jsp fragment
<f:view>
<h:form id="testForm">
<h:panelGrid columns="2" >
<h:outputLabel value="First Number" for="firstNumber"/>
<h:inputText id="firstNumber" value="#{testBean.firstNumber}" required="true"/>
<h:outputLabel value="Second Number" for="secondNumber" />
<h:inputText id="secondNumber" value="#{testBean.secondNumber}" required="true"/>
</h:panelGrid>
<h:panelGroup>
<t:commandLink id="submitTest" action="#{testBean.add}" value="Add"/>
</h:panelGroup>
</h:form>
</f:view>
gives following javascript error:
ie6: Error: 'document.forms.testForm.elements.testForm:_idcl' is null or not an object
Firefox 1.0: Error: document.forms.testForm.elements['testForm:_idcl'] has no properties
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (TOMAHAWK-606) t:commandLink does not work -
gives javascript error
Posted by "Martin Marinschek (JIRA)" <de...@myfaces.apache.org>.
[ http://issues.apache.org/jira/browse/TOMAHAWK-606?page=comments#action_12435643 ]
Martin Marinschek commented on TOMAHAWK-606:
--------------------------------------------
Should be fixed by my check-ins:
http://svn.apache.org/viewvc?rev=441905&view=rev
and
http://svn.apache.org/viewvc?rev=442124&view=rev
please check with latest nightly build.
regards,
Martin
> t:commandLink does not work - gives javascript error
> ----------------------------------------------------
>
> Key: TOMAHAWK-606
> URL: http://issues.apache.org/jira/browse/TOMAHAWK-606
> Project: MyFaces Tomahawk
> Issue Type: Bug
> Components: Extended CommandLink/CommandButton
> Affects Versions: 1.1.5-SNAPSHOT
> Environment: Tomcat tomcat-4.1.31 / WebLogic 8.1 sp 4, myfaces-core-1.1.4-SNAPSHOT, tomahawk-1.1.5-SNAPSHOT
> Reporter: Mahbub Rahman
> Assigned To: Martin Marinschek
> Priority: Blocker
> Fix For: 1.1.5-SNAPSHOT
>
>
> t:commandLink and t:commandSortHeader does not work with tomahawk-1.1.5-SNAPSHOT + jsp.
> h:commandLink works fine where ever t:commandLink fails with javascript error.
> jsp fragment
> <f:view>
> <h:form id="testForm">
> <h:panelGrid columns="2" >
> <h:outputLabel value="First Number" for="firstNumber"/>
> <h:inputText id="firstNumber" value="#{testBean.firstNumber}" required="true"/>
> <h:outputLabel value="Second Number" for="secondNumber" />
> <h:inputText id="secondNumber" value="#{testBean.secondNumber}" required="true"/>
> </h:panelGrid>
> <h:panelGroup>
> <t:commandLink id="submitTest" action="#{testBean.add}" value="Add"/>
> </h:panelGroup>
> </h:form>
> </f:view>
> gives following javascript error:
> ie6: Error: 'document.forms.testForm.elements.testForm:_idcl' is null or not an object
> Firefox 1.0: Error: document.forms.testForm.elements['testForm:_idcl'] has no properties
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Resolved: (TOMAHAWK-606) t:commandLink does not work - gives
javascript error
Posted by "Martin Marinschek (JIRA)" <de...@myfaces.apache.org>.
[ http://issues.apache.org/jira/browse/TOMAHAWK-606?page=all ]
Martin Marinschek resolved TOMAHAWK-606.
----------------------------------------
Fix Version/s: 1.1.5-SNAPSHOT
Resolution: Fixed
> t:commandLink does not work - gives javascript error
> ----------------------------------------------------
>
> Key: TOMAHAWK-606
> URL: http://issues.apache.org/jira/browse/TOMAHAWK-606
> Project: MyFaces Tomahawk
> Issue Type: Bug
> Components: Extended CommandLink/CommandButton
> Affects Versions: 1.1.5-SNAPSHOT
> Environment: Tomcat tomcat-4.1.31 / WebLogic 8.1 sp 4, myfaces-core-1.1.4-SNAPSHOT, tomahawk-1.1.5-SNAPSHOT
> Reporter: Mahbub Rahman
> Assigned To: Martin Marinschek
> Priority: Blocker
> Fix For: 1.1.5-SNAPSHOT
>
>
> t:commandLink and t:commandSortHeader does not work with tomahawk-1.1.5-SNAPSHOT + jsp.
> h:commandLink works fine where ever t:commandLink fails with javascript error.
> jsp fragment
> <f:view>
> <h:form id="testForm">
> <h:panelGrid columns="2" >
> <h:outputLabel value="First Number" for="firstNumber"/>
> <h:inputText id="firstNumber" value="#{testBean.firstNumber}" required="true"/>
> <h:outputLabel value="Second Number" for="secondNumber" />
> <h:inputText id="secondNumber" value="#{testBean.secondNumber}" required="true"/>
> </h:panelGrid>
> <h:panelGroup>
> <t:commandLink id="submitTest" action="#{testBean.add}" value="Add"/>
> </h:panelGroup>
> </h:form>
> </f:view>
> gives following javascript error:
> ie6: Error: 'document.forms.testForm.elements.testForm:_idcl' is null or not an object
> Firefox 1.0: Error: document.forms.testForm.elements['testForm:_idcl'] has no properties
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (TOMAHAWK-606) t:commandLink does not work -
gives javascript error
Posted by "Mahbub Rahman (JIRA)" <de...@myfaces.apache.org>.
[ http://issues.apache.org/jira/browse/TOMAHAWK-606?page=comments#action_12437022 ]
Mahbub Rahman commented on TOMAHAWK-606:
----------------------------------------
All tomahawk links (commandLink/commandSortHeader..) are working for me. Thanks Martin.
Mahbub
> t:commandLink does not work - gives javascript error
> ----------------------------------------------------
>
> Key: TOMAHAWK-606
> URL: http://issues.apache.org/jira/browse/TOMAHAWK-606
> Project: MyFaces Tomahawk
> Issue Type: Bug
> Components: Extended CommandLink/CommandButton
> Affects Versions: 1.1.5-SNAPSHOT
> Environment: Tomcat tomcat-4.1.31 / WebLogic 8.1 sp 4, myfaces-core-1.1.4-SNAPSHOT, tomahawk-1.1.5-SNAPSHOT
> Reporter: Mahbub Rahman
> Assigned To: Martin Marinschek
> Priority: Blocker
> Fix For: 1.1.5-SNAPSHOT
>
>
> t:commandLink and t:commandSortHeader does not work with tomahawk-1.1.5-SNAPSHOT + jsp.
> h:commandLink works fine where ever t:commandLink fails with javascript error.
> jsp fragment
> <f:view>
> <h:form id="testForm">
> <h:panelGrid columns="2" >
> <h:outputLabel value="First Number" for="firstNumber"/>
> <h:inputText id="firstNumber" value="#{testBean.firstNumber}" required="true"/>
> <h:outputLabel value="Second Number" for="secondNumber" />
> <h:inputText id="secondNumber" value="#{testBean.secondNumber}" required="true"/>
> </h:panelGrid>
> <h:panelGroup>
> <t:commandLink id="submitTest" action="#{testBean.add}" value="Add"/>
> </h:panelGroup>
> </h:form>
> </f:view>
> gives following javascript error:
> ie6: Error: 'document.forms.testForm.elements.testForm:_idcl' is null or not an object
> Firefox 1.0: Error: document.forms.testForm.elements['testForm:_idcl'] has no properties
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (TOMAHAWK-606) t:commandLink does not work -
gives javascript error
Posted by "Kito D. Mann (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/TOMAHAWK-606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12510417 ]
Kito D. Mann commented on TOMAHAWK-606:
---------------------------------------
Interestingly enough, this problem re-appears with Tomahawk 1.1.6 _if_ the sandbox components (1.1.6-SNAPSHOT) are in the classpath.... Everything works fine if the sandbox components are removed from the classpath.
> t:commandLink does not work - gives javascript error
> ----------------------------------------------------
>
> Key: TOMAHAWK-606
> URL: https://issues.apache.org/jira/browse/TOMAHAWK-606
> Project: MyFaces Tomahawk
> Issue Type: Bug
> Components: Extended CommandLink/CommandButton
> Affects Versions: 1.1.5-SNAPSHOT
> Environment: Tomcat tomcat-4.1.31 / WebLogic 8.1 sp 4, myfaces-core-1.1.4-SNAPSHOT, tomahawk-1.1.5-SNAPSHOT
> Reporter: Mahbub Rahman
> Assignee: Martin Marinschek
> Priority: Blocker
> Fix For: 1.1.5
>
>
> t:commandLink and t:commandSortHeader does not work with tomahawk-1.1.5-SNAPSHOT + jsp.
> h:commandLink works fine where ever t:commandLink fails with javascript error.
> jsp fragment
> <f:view>
> <h:form id="testForm">
> <h:panelGrid columns="2" >
> <h:outputLabel value="First Number" for="firstNumber"/>
> <h:inputText id="firstNumber" value="#{testBean.firstNumber}" required="true"/>
> <h:outputLabel value="Second Number" for="secondNumber" />
> <h:inputText id="secondNumber" value="#{testBean.secondNumber}" required="true"/>
> </h:panelGrid>
> <h:panelGroup>
> <t:commandLink id="submitTest" action="#{testBean.add}" value="Add"/>
> </h:panelGroup>
> </h:form>
> </f:view>
> gives following javascript error:
> ie6: Error: 'document.forms.testForm.elements.testForm:_idcl' is null or not an object
> Firefox 1.0: Error: document.forms.testForm.elements['testForm:_idcl'] has no properties
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TOMAHAWK-606) t:commandLink does not work -
gives javascript error
Posted by "Mahbub Rahman (JIRA)" <de...@myfaces.apache.org>.
[ http://issues.apache.org/jira/browse/TOMAHAWK-606?page=comments#action_12436647 ]
Mahbub Rahman commented on TOMAHAWK-606:
----------------------------------------
newInput in javascript function oamSetHiddenInput is coming as undefined.
Regards,
Mahbub
> t:commandLink does not work - gives javascript error
> ----------------------------------------------------
>
> Key: TOMAHAWK-606
> URL: http://issues.apache.org/jira/browse/TOMAHAWK-606
> Project: MyFaces Tomahawk
> Issue Type: Bug
> Components: Extended CommandLink/CommandButton
> Affects Versions: 1.1.5-SNAPSHOT
> Environment: Tomcat tomcat-4.1.31 / WebLogic 8.1 sp 4, myfaces-core-1.1.4-SNAPSHOT, tomahawk-1.1.5-SNAPSHOT
> Reporter: Mahbub Rahman
> Assigned To: Martin Marinschek
> Priority: Blocker
> Fix For: 1.1.5-SNAPSHOT
>
>
> t:commandLink and t:commandSortHeader does not work with tomahawk-1.1.5-SNAPSHOT + jsp.
> h:commandLink works fine where ever t:commandLink fails with javascript error.
> jsp fragment
> <f:view>
> <h:form id="testForm">
> <h:panelGrid columns="2" >
> <h:outputLabel value="First Number" for="firstNumber"/>
> <h:inputText id="firstNumber" value="#{testBean.firstNumber}" required="true"/>
> <h:outputLabel value="Second Number" for="secondNumber" />
> <h:inputText id="secondNumber" value="#{testBean.secondNumber}" required="true"/>
> </h:panelGrid>
> <h:panelGroup>
> <t:commandLink id="submitTest" action="#{testBean.add}" value="Add"/>
> </h:panelGroup>
> </h:form>
> </f:view>
> gives following javascript error:
> ie6: Error: 'document.forms.testForm.elements.testForm:_idcl' is null or not an object
> Firefox 1.0: Error: document.forms.testForm.elements['testForm:_idcl'] has no properties
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (TOMAHAWK-606) t:commandLink does not work -
gives javascript error
Posted by "Martin Marinschek (JIRA)" <de...@myfaces.apache.org>.
[ http://issues.apache.org/jira/browse/TOMAHAWK-606?page=comments#action_12436654 ]
Martin Marinschek commented on TOMAHAWK-606:
--------------------------------------------
I've just seen that I had used square brackets for createElement. Hrmmpf. I've fixed it right now, can you try again?
regards,
Martin
> t:commandLink does not work - gives javascript error
> ----------------------------------------------------
>
> Key: TOMAHAWK-606
> URL: http://issues.apache.org/jira/browse/TOMAHAWK-606
> Project: MyFaces Tomahawk
> Issue Type: Bug
> Components: Extended CommandLink/CommandButton
> Affects Versions: 1.1.5-SNAPSHOT
> Environment: Tomcat tomcat-4.1.31 / WebLogic 8.1 sp 4, myfaces-core-1.1.4-SNAPSHOT, tomahawk-1.1.5-SNAPSHOT
> Reporter: Mahbub Rahman
> Assigned To: Martin Marinschek
> Priority: Blocker
> Fix For: 1.1.5-SNAPSHOT
>
>
> t:commandLink and t:commandSortHeader does not work with tomahawk-1.1.5-SNAPSHOT + jsp.
> h:commandLink works fine where ever t:commandLink fails with javascript error.
> jsp fragment
> <f:view>
> <h:form id="testForm">
> <h:panelGrid columns="2" >
> <h:outputLabel value="First Number" for="firstNumber"/>
> <h:inputText id="firstNumber" value="#{testBean.firstNumber}" required="true"/>
> <h:outputLabel value="Second Number" for="secondNumber" />
> <h:inputText id="secondNumber" value="#{testBean.secondNumber}" required="true"/>
> </h:panelGrid>
> <h:panelGroup>
> <t:commandLink id="submitTest" action="#{testBean.add}" value="Add"/>
> </h:panelGroup>
> </h:form>
> </f:view>
> gives following javascript error:
> ie6: Error: 'document.forms.testForm.elements.testForm:_idcl' is null or not an object
> Firefox 1.0: Error: document.forms.testForm.elements['testForm:_idcl'] has no properties
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Resolved: (TOMAHAWK-606) t:commandLink does not work - gives
javascript error
Posted by "Martin Marinschek (JIRA)" <de...@myfaces.apache.org>.
[ http://issues.apache.org/jira/browse/TOMAHAWK-606?page=all ]
Martin Marinschek resolved TOMAHAWK-606.
----------------------------------------
Resolution: Fixed
Thanks to Mahbub Rahman for helping me track this down.
regards,
Martin
> t:commandLink does not work - gives javascript error
> ----------------------------------------------------
>
> Key: TOMAHAWK-606
> URL: http://issues.apache.org/jira/browse/TOMAHAWK-606
> Project: MyFaces Tomahawk
> Issue Type: Bug
> Components: Extended CommandLink/CommandButton
> Affects Versions: 1.1.5-SNAPSHOT
> Environment: Tomcat tomcat-4.1.31 / WebLogic 8.1 sp 4, myfaces-core-1.1.4-SNAPSHOT, tomahawk-1.1.5-SNAPSHOT
> Reporter: Mahbub Rahman
> Assigned To: Martin Marinschek
> Priority: Blocker
> Fix For: 1.1.5-SNAPSHOT
>
>
> t:commandLink and t:commandSortHeader does not work with tomahawk-1.1.5-SNAPSHOT + jsp.
> h:commandLink works fine where ever t:commandLink fails with javascript error.
> jsp fragment
> <f:view>
> <h:form id="testForm">
> <h:panelGrid columns="2" >
> <h:outputLabel value="First Number" for="firstNumber"/>
> <h:inputText id="firstNumber" value="#{testBean.firstNumber}" required="true"/>
> <h:outputLabel value="Second Number" for="secondNumber" />
> <h:inputText id="secondNumber" value="#{testBean.secondNumber}" required="true"/>
> </h:panelGrid>
> <h:panelGroup>
> <t:commandLink id="submitTest" action="#{testBean.add}" value="Add"/>
> </h:panelGroup>
> </h:form>
> </f:view>
> gives following javascript error:
> ie6: Error: 'document.forms.testForm.elements.testForm:_idcl' is null or not an object
> Firefox 1.0: Error: document.forms.testForm.elements['testForm:_idcl'] has no properties
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (TOMAHAWK-606) t:commandLink does not work -
gives javascript error
Posted by "Martin Marinschek (JIRA)" <de...@myfaces.apache.org>.
[ http://issues.apache.org/jira/browse/TOMAHAWK-606?page=comments#action_12436600 ]
Martin Marinschek commented on TOMAHAWK-606:
--------------------------------------------
Mail from Mahbub:
---------- Forwarded message ----------
From: Mahbub Rahman <ma...@yahoo.com>
To: "Martin Marinschek \(JIRA\)" <de...@myfaces.apache.org>
Date: Thu, 21 Sep 2006 09:08:56 -0700 (PDT)
Subject: Re: [jira] Resolved: (TOMAHAWK-606) t:commandLink does not work - gives javascript error
Still getting javascript error on command link/column sort header etc.
On ie6 the javascript error message now changed to:
'undefined' is null or not an object
Thanks,
Mahbub
Mahbub, can you tell me which element is undefined? Some javascript-debugging should show you the problem...
regards,
Martin
> t:commandLink does not work - gives javascript error
> ----------------------------------------------------
>
> Key: TOMAHAWK-606
> URL: http://issues.apache.org/jira/browse/TOMAHAWK-606
> Project: MyFaces Tomahawk
> Issue Type: Bug
> Components: Extended CommandLink/CommandButton
> Affects Versions: 1.1.5-SNAPSHOT
> Environment: Tomcat tomcat-4.1.31 / WebLogic 8.1 sp 4, myfaces-core-1.1.4-SNAPSHOT, tomahawk-1.1.5-SNAPSHOT
> Reporter: Mahbub Rahman
> Assigned To: Martin Marinschek
> Priority: Blocker
> Fix For: 1.1.5-SNAPSHOT
>
>
> t:commandLink and t:commandSortHeader does not work with tomahawk-1.1.5-SNAPSHOT + jsp.
> h:commandLink works fine where ever t:commandLink fails with javascript error.
> jsp fragment
> <f:view>
> <h:form id="testForm">
> <h:panelGrid columns="2" >
> <h:outputLabel value="First Number" for="firstNumber"/>
> <h:inputText id="firstNumber" value="#{testBean.firstNumber}" required="true"/>
> <h:outputLabel value="Second Number" for="secondNumber" />
> <h:inputText id="secondNumber" value="#{testBean.secondNumber}" required="true"/>
> </h:panelGrid>
> <h:panelGroup>
> <t:commandLink id="submitTest" action="#{testBean.add}" value="Add"/>
> </h:panelGroup>
> </h:form>
> </f:view>
> gives following javascript error:
> ie6: Error: 'document.forms.testForm.elements.testForm:_idcl' is null or not an object
> Firefox 1.0: Error: document.forms.testForm.elements['testForm:_idcl'] has no properties
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Reopened: (TOMAHAWK-606) t:commandLink does not work - gives
javascript error
Posted by "Martin Marinschek (JIRA)" <de...@myfaces.apache.org>.
[ http://issues.apache.org/jira/browse/TOMAHAWK-606?page=all ]
Martin Marinschek reopened TOMAHAWK-606:
----------------------------------------
> t:commandLink does not work - gives javascript error
> ----------------------------------------------------
>
> Key: TOMAHAWK-606
> URL: http://issues.apache.org/jira/browse/TOMAHAWK-606
> Project: MyFaces Tomahawk
> Issue Type: Bug
> Components: Extended CommandLink/CommandButton
> Affects Versions: 1.1.5-SNAPSHOT
> Environment: Tomcat tomcat-4.1.31 / WebLogic 8.1 sp 4, myfaces-core-1.1.4-SNAPSHOT, tomahawk-1.1.5-SNAPSHOT
> Reporter: Mahbub Rahman
> Assigned To: Martin Marinschek
> Priority: Blocker
> Fix For: 1.1.5-SNAPSHOT
>
>
> t:commandLink and t:commandSortHeader does not work with tomahawk-1.1.5-SNAPSHOT + jsp.
> h:commandLink works fine where ever t:commandLink fails with javascript error.
> jsp fragment
> <f:view>
> <h:form id="testForm">
> <h:panelGrid columns="2" >
> <h:outputLabel value="First Number" for="firstNumber"/>
> <h:inputText id="firstNumber" value="#{testBean.firstNumber}" required="true"/>
> <h:outputLabel value="Second Number" for="secondNumber" />
> <h:inputText id="secondNumber" value="#{testBean.secondNumber}" required="true"/>
> </h:panelGrid>
> <h:panelGroup>
> <t:commandLink id="submitTest" action="#{testBean.add}" value="Add"/>
> </h:panelGroup>
> </h:form>
> </f:view>
> gives following javascript error:
> ie6: Error: 'document.forms.testForm.elements.testForm:_idcl' is null or not an object
> Firefox 1.0: Error: document.forms.testForm.elements['testForm:_idcl'] has no properties
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira