In portlet environment, table id attribute (for implicit object creation) 
should use <portlet:namespace/>
---------------------------------------------------------------------------------------------------------

                 Key: DISPL-651
                 URL: http://jira.codehaus.org/browse/DISPL-651
             Project: DisplayTag
          Issue Type: Improvement
    Affects Versions: 1.2
            Reporter: Kevin Ilsen


When specifying an "id" attribute on the <display:table> tag (to expose each 
row object), the generated HTML simply uses the id provided.  (For example, 
<display:table id="user"> results in the HTML <table id="user">.) Within a 
portlet, this is bad practice, because other HTML elements on the page could 
have the same id.  The <portlet:namespace/> should be used to properly qualify 
the identifier, and prevent collisions with other elements that could exist in 
other portlets or in the HTML generated by the portal container.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
displaytag-devel mailing list
displaytag-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to