You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Muhammad Gelbana (JIRA)" <ji...@apache.org> on 2011/09/24 00:53:26 UTC

[jira] [Created] (TAP5-1667) Non compatible component declaration in tml and java class not firing an exception

Non compatible component declaration in tml and java class not firing an exception
----------------------------------------------------------------------------------

                 Key: TAP5-1667
                 URL: https://issues.apache.org/jira/browse/TAP5-1667
             Project: Tapestry 5
          Issue Type: Improvement
            Reporter: Muhammad Gelbana
            Priority: Minor


I by mistake, declared a "select" component in my .tml and declared a component in the java class as TextField using @Component annotation. This is wrong as Thiago pointed out but tapestry didn't throw an exception and just showed a text field in the html shown to the user.

=============
*Index.tml*
<t:select model="literal:a,b,c" value="select" t:id="select"/>

*Index.page*
@Property
private String select;

@Component(id="select")
private *TextField* select
===============

Which is wrong. But shouldn't this fire an exception ?

Please refer to this thread for some detailed description:
http://mail-archives.apache.org/mod_mbox/tapestry-users/201109.mbox/%3CCAOjiMm5kJL+4p=zPt3OgoaA5e0VRVgmgg=kTRp2jq5mtiRW7xA@mail.gmail.com%3E

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (TAP5-1667) Non compatible component declaration in tml and java class not firing an exception

Posted by "Muhammad Gelbana (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-1667?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Muhammad Gelbana updated TAP5-1667:
-----------------------------------

    Description: 
I by mistake, declared a "select" component in my .tml and declared a component in the java class as TextField using @Component annotation. This is wrong as Thiago pointed out but tapestry didn't throw an exception and just showed a text field in the html shown to the user.

=============
*Index.tml*
<t:select model="literal:a,b,c" value="select" t:id="select"/>

*Index.page*
@Property
private String select;

@Component(id="select")
private *TextField* select
===============

Which is wrong. But shouldn't this fire an exception ?

Please refer to this thread for some detailed description:
http://mail-archives.apache.org/mod_mbox/tapestry-users/201109.mbox/%3CCAOjiMm5kJL+4p=zPt3OgoaA5e0VRVgmgg=kTRp2jq5mtiRW7xA@mail.gmail.com%3E

Thank you all for your efforts :)

  was:
I by mistake, declared a "select" component in my .tml and declared a component in the java class as TextField using @Component annotation. This is wrong as Thiago pointed out but tapestry didn't throw an exception and just showed a text field in the html shown to the user.

=============
*Index.tml*
<t:select model="literal:a,b,c" value="select" t:id="select"/>

*Index.page*
@Property
private String select;

@Component(id="select")
private *TextField* select
===============

Which is wrong. But shouldn't this fire an exception ?

Please refer to this thread for some detailed description:
http://mail-archives.apache.org/mod_mbox/tapestry-users/201109.mbox/%3CCAOjiMm5kJL+4p=zPt3OgoaA5e0VRVgmgg=kTRp2jq5mtiRW7xA@mail.gmail.com%3E


> Non compatible component declaration in tml and java class not firing an exception
> ----------------------------------------------------------------------------------
>
>                 Key: TAP5-1667
>                 URL: https://issues.apache.org/jira/browse/TAP5-1667
>             Project: Tapestry 5
>          Issue Type: Improvement
>            Reporter: Muhammad Gelbana
>            Priority: Minor
>              Labels: @Component,, @InjectComponent,
>
> I by mistake, declared a "select" component in my .tml and declared a component in the java class as TextField using @Component annotation. This is wrong as Thiago pointed out but tapestry didn't throw an exception and just showed a text field in the html shown to the user.
> =============
> *Index.tml*
> <t:select model="literal:a,b,c" value="select" t:id="select"/>
> *Index.page*
> @Property
> private String select;
> @Component(id="select")
> private *TextField* select
> ===============
> Which is wrong. But shouldn't this fire an exception ?
> Please refer to this thread for some detailed description:
> http://mail-archives.apache.org/mod_mbox/tapestry-users/201109.mbox/%3CCAOjiMm5kJL+4p=zPt3OgoaA5e0VRVgmgg=kTRp2jq5mtiRW7xA@mail.gmail.com%3E
> Thank you all for your efforts :)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (TAP5-1667) Non compatible component declaration in tml and java class not firing an exception

Posted by "Muhammad Gelbana (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-1667?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Muhammad Gelbana updated TAP5-1667:
-----------------------------------

    Description: 
I by mistake, declared a "select" component in my .tml and declared a component in the java class as TextField using @Component annotation. This is wrong as Thiago pointed out but tapestry didn't throw an exception and just showed a text field in the html shown to the user.

=============
*Index.tml*
<t:select model="literal:a,b,c" value="select" t:id="select"/>

*Index.page*
@Property
private String select;

@Component(id="select")
private *TextField* select
===============

Which is wrong. But shouldn't this fire an exception ?

Please refer to this thread for some detailed description:
http://mail-archives.apache.org/mod_mbox/tapestry-users/201109.mbox/%3CCAOjiMm5kJL+4p=zPt3OgoaA5e0VRVgmgg=kTRp2jq5mtiRW7xA@mail.gmail.com%3E

Thank you all for your efforts :)

  was:
I by mistake, declared a "select" component in my .tml and declared a component in the java class as TextField using @Component annotation. This is wrong as Thiago pointed out but tapestry didn't throw an exception and just showed a text field in the html shown to the user.

=============
*Index.tml*
<t:select model="literal:a,b,c" value="select" t:id="select"/>

*Index.page*
@Property
private String select;

@Component(id="select")
private *TextField* select
===============

Which is wrong. But shouldn't this fire an exception ?

Please refer to this thread for some detailed description:
http://mail-archives.apache.org/mod_mbox/tapestry-users/201109.mbox/%3CCAOjiMm5kJL+4p=zPt3OgoaA5e0VRVgmgg=kTRp2jq5mtiRW7xA@mail.gmail.com%3E


> Non compatible component declaration in tml and java class not firing an exception
> ----------------------------------------------------------------------------------
>
>                 Key: TAP5-1667
>                 URL: https://issues.apache.org/jira/browse/TAP5-1667
>             Project: Tapestry 5
>          Issue Type: Improvement
>            Reporter: Muhammad Gelbana
>            Priority: Minor
>              Labels: @Component,, @InjectComponent,
>
> I by mistake, declared a "select" component in my .tml and declared a component in the java class as TextField using @Component annotation. This is wrong as Thiago pointed out but tapestry didn't throw an exception and just showed a text field in the html shown to the user.
> =============
> *Index.tml*
> <t:select model="literal:a,b,c" value="select" t:id="select"/>
> *Index.page*
> @Property
> private String select;
> @Component(id="select")
> private *TextField* select
> ===============
> Which is wrong. But shouldn't this fire an exception ?
> Please refer to this thread for some detailed description:
> http://mail-archives.apache.org/mod_mbox/tapestry-users/201109.mbox/%3CCAOjiMm5kJL+4p=zPt3OgoaA5e0VRVgmgg=kTRp2jq5mtiRW7xA@mail.gmail.com%3E
> Thank you all for your efforts :)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira