Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-4497

when we use <s:datetextfield id="doj" format="yyyy-MM-dd" name="journeyDate" ../> Struts has detected an unhandled exception: Messages: Template /template/xhtml/datetextfield.ftl not found. Template /template/xhtml/datetextfield.ftl not found.

    XMLWordPrintableJSON

    Details

    • Flags:
      Important

      Description

      jars used are antlr-2.7.2.jar
      asm-5.0.3.jar
      commons-beanutils-1.8.0.jar,
      commons-chain-1.2.jar
      commons-collections-3.1.jar
      commons-digester-2.0.jar
      commons-fileupload-1.3.1.jar
      commons-io-2.2.jar
      commons-lang-2.4.jar
      commons-lang3-3.2.jar
      commons-logging-1.1.3.jar
      commons-validator-1.3.1.jar
      freemarker-2.3.19.jar
      javassist-3.11.0.GA.jar
      ognl-3.0.6.jar
      struts2-bootstrap-plugin-2.0.1.jar
      struts2-core-2.3.20.jar
      struts2-jquery-plugin-3.7.1.jar
      xwork-core-2.3.20.jar
      bkTrip.jsp is
      <%@ taglib prefix="s" uri="/struts-tags" %>
      <%@ taglib prefix="sj" uri="/struts-jquery-tags" %>
      <html>
      <head>
      <sj:head jqueryui="true"/>

      <title>Strut2's actions</title>
      </head>
      <body>
      <div align="center" >
      <h2>Strut2's actions</h2>
      <br/>

      <s:form action="bookTrip" cssStyle="height:240px;" label="Form For Booking Trip">

      <s:actionerror/>

      <s:textfield name="name" label="Enter Name" />

      <s:datetextfield id="doj" format="yyyy-MM-dd"
      name="journeyDate"
      label="Date Of Travel"
      tooltip="Choose Date-of-Travel"
      />

      <s:url id="places_url" action="places" />
      <sj:autocompleter id="place" name="place"
      tooltip="Choose A Place"
      list="%

      {places}

      "
      label="Enter Place to Travel"
      loadMinimumCount="1"
      />

      <s:textfield name="numOfMembers" label="How Many tickets you want"/>

      <s:submit value="Book Trip"/>

      </s:form>
      </div>
      </body>
      </html>

      when we open struts-core.jar there is no spectic template for this

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                dtrprasad@gmail.com dtr prasad
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 12h
                  12h
                  Remaining:
                  Remaining Estimate - 12h
                  12h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified