Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-241

Converter property of contrib:FormTable does not work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.1
    • 3.0.5
    • Contrib
    • None
    • Tomcat 5.5

    Description

      I've been trying to use the "converter" property on the contrib:FormTable component without success. I dug into the source code and discovered that the "converter" property on the contained "tableRows" components is not marked as <inherited-binding.../>, it's just marked as a <binding.../> which, of course, will prevent the "converter" property of the owning table from being passed in properly. This all happens on line 237 of FormTable.jwc:

      <component id="tableRows" type="TableFormRows">
      <inherited-binding name="row" parameter-name="row"/>
      <inherited-binding name="class" parameter-name="rowsClass"/>
      <Unable to render embedded object: File (-HERE'S THE PROBLEM) not found.!!-->
      <binding name="convertor" expression="convertor"/>
      </component>

      It seems like that line should read:

      <inherited-binding name="converter" expression="converter"/>

      Attachments

        1. TAPESTRY-241-branch-3.0.patch
          0.9 kB
          Brian K. Wallace

        Activity

          People

            jkuhnert Jesse Kuhnert
            cardsharp Kurtis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: