|
View:
New views
7 Messages
—
Rating Filter:
Alert me
|
|
|
[jira] Created: (TAP5-680) 'Any' component didn't render id attribute'Any' component didn't render id attribute
------------------------------------------ Key: TAP5-680 URL: https://issues.apache.org/jira/browse/TAP5-680 Project: Tapestry 5 Issue Type: Bug Affects Versions: 5.1.0.4 Reporter: Nikita Koksharov Priority: Critical Any component not rendering id attribute if clientId defined, <input t:type="Any" t:clientId="someid" type="hidden"/> -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
|
[jira] Commented: (TAP5-680) 'Any' component didn't render id attribute[ https://issues.apache.org/jira/browse/TAP5-680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12705297#action_12705297 ] Robert Zeigler commented on TAP5-680: ------------------------------------- By design, components only render a clientId if "getClientId" is called on the component sometime during the server-side dom render. You can do this easily with a simple mixin: public class ForceClientId { @InjectContainer private ClientElement element; @BeginRender void ensureId() { element.getClientId(); } } And then in your component: <t:any .... t:mixins="ForceClientId"/> If that doesn't solve your issue, then there's a genuine issue, and you can re-open this. > 'Any' component didn't render id attribute > ------------------------------------------ > > Key: TAP5-680 > URL: https://issues.apache.org/jira/browse/TAP5-680 > Project: Tapestry 5 > Issue Type: Bug > Affects Versions: 5.1.0.4 > Reporter: Nikita Koksharov > Priority: Critical > > Any component not rendering id attribute if clientId defined, > <input t:type="Any" t:clientId="someid" type="hidden"/> -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
|
[jira] Commented: (TAP5-680) 'Any' component didn't render id attribute[ https://issues.apache.org/jira/browse/TAP5-680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12705392#action_12705392 ] Nikita Koksharov commented on TAP5-680: --------------------------------------- Ok, if this behaviour by design... then, i think mixin ForceClientId should be in framework. > 'Any' component didn't render id attribute > ------------------------------------------ > > Key: TAP5-680 > URL: https://issues.apache.org/jira/browse/TAP5-680 > Project: Tapestry 5 > Issue Type: Bug > Affects Versions: 5.1.0.4 > Reporter: Nikita Koksharov > Priority: Critical > > Any component not rendering id attribute if clientId defined, > <input t:type="Any" t:clientId="someid" type="hidden"/> -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
|
[jira] Assigned: (TAP5-680) 'Any' component didn't render id attribute[ https://issues.apache.org/jira/browse/TAP5-680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Zeigler reassigned TAP5-680: ----------------------------------- Assignee: Robert Zeigler > 'Any' component didn't render id attribute > ------------------------------------------ > > Key: TAP5-680 > URL: https://issues.apache.org/jira/browse/TAP5-680 > Project: Tapestry 5 > Issue Type: Bug > Affects Versions: 5.1.0.4 > Reporter: Nikita Koksharov > Assignee: Robert Zeigler > Priority: Critical > > Any component not rendering id attribute if clientId defined, > <input t:type="Any" t:clientId="someid" type="hidden"/> -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
|
[jira] Updated: (TAP5-680) Tapestry should provide a mixin for ensuring that the client id of a ClientElement is rendered[ https://issues.apache.org/jira/browse/TAP5-680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Zeigler updated TAP5-680: -------------------------------- Priority: Minor (was: Critical) Issue Type: New Feature (was: Bug) Summary: Tapestry should provide a mixin for ensuring that the client id of a ClientElement is rendered (was: 'Any' component didn't render id attribute) > Tapestry should provide a mixin for ensuring that the client id of a ClientElement is rendered > ---------------------------------------------------------------------------------------------- > > Key: TAP5-680 > URL: https://issues.apache.org/jira/browse/TAP5-680 > Project: Tapestry 5 > Issue Type: New Feature > Affects Versions: 5.1.0.4 > Reporter: Nikita Koksharov > Assignee: Robert Zeigler > Priority: Minor > > Any component not rendering id attribute if clientId defined, > <input t:type="Any" t:clientId="someid" type="hidden"/> -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
|
[jira] Closed: (TAP5-680) Tapestry should provide a mixin for ensuring that the client id of a ClientElement is rendered[ https://issues.apache.org/jira/browse/TAP5-680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Zeigler closed TAP5-680. ------------------------------- Resolution: Fixed Fix Version/s: 5.2 > Tapestry should provide a mixin for ensuring that the client id of a ClientElement is rendered > ---------------------------------------------------------------------------------------------- > > Key: TAP5-680 > URL: https://issues.apache.org/jira/browse/TAP5-680 > Project: Tapestry 5 > Issue Type: New Feature > Affects Versions: 5.1.0.4 > Reporter: Nikita Koksharov > Assignee: Robert Zeigler > Priority: Minor > Fix For: 5.2 > > > Any component not rendering id attribute if clientId defined, > <input t:type="Any" t:clientId="someid" type="hidden"/> -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
|
[jira] Updated: (TAP5-680) Tapestry should provide a mixin for ensuring that the client id of a ClientElement is rendered[ https://issues.apache.org/jira/browse/TAP5-680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Zeigler updated TAP5-680: -------------------------------- Fix Version/s: (was: 5.2) 5.2.0.0 > Tapestry should provide a mixin for ensuring that the client id of a ClientElement is rendered > ---------------------------------------------------------------------------------------------- > > Key: TAP5-680 > URL: https://issues.apache.org/jira/browse/TAP5-680 > Project: Tapestry 5 > Issue Type: New Feature > Affects Versions: 5.1.0.4 > Reporter: Nikita Koksharov > Assignee: Robert Zeigler > Priority: Minor > Fix For: 5.2.0.0 > > > Any component not rendering id attribute if clientId defined, > <input t:type="Any" t:clientId="someid" type="hidden"/> -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
| Free embeddable forum powered by Nabble | Forum Help |