myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Brondsema (JIRA)" <...@myfaces.apache.org>
Subject [jira] Commented: (MYFACES-769) configurable IDs used for rendering
Date Tue, 28 Feb 2006 15:20:44 GMT
    [ http://issues.apache.org/jira/browse/MYFACES-769?page=comments#action_12368111 ] 

Dave Brondsema commented on MYFACES-769:
----------------------------------------

In other words:  My <h:form> is my parent-most naming container.  I need its ID to be
namespace-encoded since this portlet is used multiple times on the same portal page.  Can
I specify an id="foo" on the form and have that be namespace encoded?  Or must the h:form
use a dynamic id?

> configurable IDs used for rendering
> -----------------------------------
>
>          Key: MYFACES-769
>          URL: http://issues.apache.org/jira/browse/MYFACES-769
>      Project: MyFaces Core
>         Type: Improvement
>     Reporter: Dave Brondsema
>     Assignee: Martin Marinschek

>
> If the same code is used ot generated a component tree for more than one part of a webpage,
the rendered IDs are the same and functionality is broken (javascript needs unique IDs).
> An example of when this happens is when as portlet uses JSF for rendering.  If the portlet
is used more than once on a single page (e.g. an RSS reader) all the IDs are the same.
> Thus we need a way to have more configurable (perhaps random) IDs when rendered.

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


Mime
View raw message