You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Ulrich Stärk (JIRA)" <ji...@apache.org> on 2013/01/14 15:48:26 UTC

[jira] [Updated] (TAP5-687) In a Tapestry template, mixing a Tapestry library namespace with a subpackage in the element name (a dot between the folder and the component name) fails

     [ https://issues.apache.org/jira/browse/TAP5-687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ulrich Stärk updated TAP5-687:
------------------------------

    Labels: bulk-close-candidate  (was: )

This issue has been last updated more than 1.5 years ago, has no assignee, affects an old version of Tapestry that is not actively developed anymore, and is therefore prone to be bulk-closed in the near future.

If the issue still persists with the most recent development preview of Tapestry, please update it as soon as possible. In the case of a feature request, please discuss it with the Tapestry developer community on the dev@tapestry.apache.org mailing list first.
                
> In a Tapestry template, mixing a Tapestry library namespace with a subpackage in the element name (a dot between the folder and the component name) fails
> ---------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TAP5-687
>                 URL: https://issues.apache.org/jira/browse/TAP5-687
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.1.0.4
>            Reporter: Nguyen Ngoc Trung
>            Priority: Minor
>              Labels: bulk-close-candidate
>
> Steps to reproduce the exception:
> 1. Create library t5comp, and declare: configuration.add(new LibraryMapping("t5comp", "vn.pyco.demo.t5comp"));
> 2. Creare two components: vn.pyco.demo.t5comp.components.Comp1 and vn.pyco.demo.t5comp.components.sub.Comp2
> 3. Create webapp t5app, and using t5comp library.
> 4. Index.tml code:
> <html xmlns="http://www.w3.org/1999/xhtml"
>       xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd"
>       xmlns:tc="tapestry-library:t5comp"
>       xmlns:p="tapestry:parameter">
>     <head>
>         <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
>         <title>T5 Demo</title>
>     </head>
>     <body>
>         <tc:Comp1 />(1)
>         <t:t5comp.sub.Comp2 />(2)
>         <tc:sub.Comp2 />(3)
>     </body>
> </html>
> 5. Run webapp and get result:
> - (1), (2) OK
> - (3) throws an exception:
> Unable to resolve 't5comp/sub.Comp2' to a component class name. Available component types: ActionLink, AddRowLink, AjaxFormLoop, Any, BeanDisplay, BeanEditForm, BeanEditor, Checkbox, DateField, Delegate, Errors, EventLink, ExceptionDisplay, Form, FormFragment, FormInjector, Grid, GridCell, GridColumns, GridPager, GridRows, Hidden, If, Label, LinkSubmit, Loop, Output, OutputRaw, PageLink, Palette, PasswordField, ProgressiveDisplay, PropertyDisplay, PropertyEditor, Radio, RadioGroup, RemoveRowLink, RenderObject, Select, Submit, SubmitNotifier, TextArea, TextField, TextOutput, Unless, Zone, t5comp/Comp1, t5comp/sub/Comp2.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira