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

Can't use anymore @contrib:FormTable or such...

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • 4.0
    • 4.0
    • Contrib, Examples
    • None

    Description

      I am trying to use @contrib:FormTable and its "embedded" components
      such as @contrib:TableView. I could not make it work so I decided to
      check the workbench.

      Unfortunately, it seems that the workbench does not work too: when I
      click on the "table" tab, I've got the following exception:

      Unable to read OGNL expression '<parsed OGNL expression>' of
      $TableView_47@5ef79f[Table/localeList.tableView]: element
      binding: ExpressionBinding[Table/localeList.tableView element]
      location: classpath:/org/apache/tapestry/contrib/table/components/TableView.jwc,
      line 114, column 55
      109 </parameter>
      110
      111 <property name="sessionState" persist="session"/>
      112
      113 <component id="table" type="Any" inherit-informal-parameters="yes">
      114 <binding name="element" value="ognl:element"/>
      115 </component>
      116
      117 <component id="renderBody" type="RenderBody"/>
      118
      119 <inject property="modelSource"
      object="service:tapestry.contrib.TableColumnModelSource"/>

      org.apache.hivemind.ApplicationRuntimeException
      Unable to read OGNL expression '<parsed OGNL expression>' of
      $TableView_47@5ef79f[Table/localeList.tableView]: element
      component: $TableView_47@5ef79f[Table/localeList.tableView]
      location: context:/WEB-INF/LocaleList.jwc, line 48, column 53
      43 <component id="submitButton" type="Submit">
      44 <binding name="label" value="Select locales"/>
      45 <binding name="listener" value="listener:selectLocales"/>
      46 </component>
      47
      48 <component id="tableView" type="contrib:TableView">
      49 <binding name="source" value="ognl:@java.util.Locale@getAvailableLocales()"/>
      50 <binding name="columns">
      51 * Locale:toString(), Language:displayLanguage, Country:displayCountry,
      52 Variant:displayVariant, ISO Language:ISO3Language, ISO Country:ISO3Country
      53 </binding>

      ognl.OgnlException
      element

      org.apache.tapestry.BindingException
      Unable to read OGNL expression '<parsed OGNL expression>' of
      $TableView_47@5ef79f[Table/localeList.tableView]: $TableView_47.table
      binding: ExpressionBinding[Table/localeList.tableView table]
      location: classpath:/org/apache/tapestry/contrib/table/components/TableView.jwc,
      line 105, column 53
      100 <description>
      101 The component where Block and messages are pulled from when using
      source/columns.
      102 </description>
      103 </parameter>
      104
      105 <parameter name="element" default-value="table">
      106 <description>
      107 The tag with which the component will be inserted in the generated content.
      108 </description>
      109 </parameter>
      110

      org.apache.hivemind.ApplicationRuntimeException
      Unable to read OGNL expression '<parsed OGNL expression>' of
      $TableView_47@5ef79f[Table/localeList.tableView]: $TableView_47.table
      component: $TableView_47@5ef79f[Table/localeList.tableView]
      location: context:/WEB-INF/LocaleList.jwc, line 48, column 53
      43 <component id="submitButton" type="Submit">
      44 <binding name="label" value="Select locales"/>
      45 <binding name="listener" value="listener:selectLocales"/>
      46 </component>
      47
      48 <component id="tableView" type="contrib:TableView">
      49 <binding name="source" value="ognl:@java.util.Locale@getAvailableLocales()"/>
      50 <binding name="columns">
      51 * Locale:toString(), Language:displayLanguage, Country:displayCountry,
      52 Variant:displayVariant, ISO Language:ISO3Language, ISO Country:ISO3Country
      53 </binding>

      Attachments

        Activity

          People

            Unassigned Unassigned
            jeje Jerome Bernard
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: