You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Raul Montes (JIRA)" <ji...@apache.org> on 2011/02/16 17:08:24 UTC

[jira] Created: (TAP5-1447) ProgressiveDisplay could accept forcing client id property

ProgressiveDisplay could accept forcing client id property
----------------------------------------------------------

                 Key: TAP5-1447
                 URL: https://issues.apache.org/jira/browse/TAP5-1447
             Project: Tapestry 5
          Issue Type: Improvement
          Components: tapestry-core
    Affects Versions: 5.2.4
            Reporter: Raul Montes
            Priority: Minor


ProgressiveDisplay component could have similar behaviour to Zone component about forcing the id attribute. So, instead of setting clientId like:

String clientId = jsSupport.allocateClientId(resources);

It could be like Zone does:

clientId = resources.isBound("id") ? idParameter : javascriptSupport.allocateClientId(resources);

Since ProgressiveDisplay also creates a containing div (or other element) in the final markup, it is useful when you need to have related CSS or JS code.

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