You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Nguyen Ngoc Trung (JIRA)" <ji...@apache.org> on 2009/05/08 06:21:46 UTC
[jira] Created: (TAP5-687) Library Namespaces throws an exception
when declaring a component in sub-components package
Library Namespaces throws an exception when declaring a component in sub-components package
-------------------------------------------------------------------------------------------
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
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.
-
You can reply to this email to add a comment to the issue online.
[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
Posted by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Howard M. Lewis Ship updated TAP5-687:
--------------------------------------
Summary: 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 (was: Exception occured when using Library Namespaces prefix (xmlns:tc="tapestry-library:t5comp"))
> 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
>
> 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.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (TAP5-687) Exception occured when using Library
Namespaces prefix (xmlns:tc="tapestry-library:t5comp")
Posted by "Nguyen Ngoc Trung (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nguyen Ngoc Trung updated TAP5-687:
-----------------------------------
Summary: Exception occured when using Library Namespaces prefix (xmlns:tc="tapestry-library:t5comp") (was: Library Namespaces throws an exception when declaring a component in sub-components package)
> Exception occured when using Library Namespaces prefix (xmlns:tc="tapestry-library:t5comp")
> -------------------------------------------------------------------------------------------
>
> 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
>
> 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.
-
You can reply to this email to add a comment to the issue online.
[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
Posted by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Howard M. Lewis Ship updated TAP5-687:
--------------------------------------
Summary: 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 (was: Exception occured when using Library Namespaces prefix (xmlns:tc="tapestry-library:t5comp"))
> 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
>
> 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.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (TAP5-687) Exception occured when using Library
Namespaces prefix (xmlns:tc="tapestry-library:t5comp")
Posted by "Nguyen Ngoc Trung (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nguyen Ngoc Trung updated TAP5-687:
-----------------------------------
Summary: Exception occured when using Library Namespaces prefix (xmlns:tc="tapestry-library:t5comp") (was: Library Namespaces throws an exception when declaring a component in sub-components package)
> Exception occured when using Library Namespaces prefix (xmlns:tc="tapestry-library:t5comp")
> -------------------------------------------------------------------------------------------
>
> 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
>
> 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.
-
You can reply to this email to add a comment to the issue online.