Uploaded image for project: 'MyFaces Tomahawk'
  1. MyFaces Tomahawk
  2. TOMAHAWK-606

t:commandLink does not work - gives javascript error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 1.1.5-SNAPSHOT
    • 1.1.5
    • None
    • Tomcat tomcat-4.1.31 / WebLogic 8.1 sp 4, myfaces-core-1.1.4-SNAPSHOT, tomahawk-1.1.5-SNAPSHOT

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              mmarinschek Martin Marinschek
              mrahman Mahbub Rahman
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: