He wasn't talking about generated IDs, he was talking about using EL
to set the ID of the component. Using view generated IDs is still
okay. If you meant dynamic IDs as meaning that you create IDs using
EL, then yes, it is possible under some circumstances (although very
remote) to cause some issues.
On 10/4/06, Aneesha Govil <[EMAIL PROTECTED]> wrote:
I think you could create data tables in java code and set id using
datatable.setId("id"+some_dynamic_number_or_text). It is
still static, it's just that you are setting it in the managed bean so you
can use whatever u want.
Hope that helps.
Aneesha
On 10/4/06, Wesley Hales <[EMAIL PROTECTED]> wrote:
> Reference this post from Craig about css attacks:
>
http://mail-archives.apache.org/mod_mbox/myfaces-users/200410.mbox/[EMAIL
PROTECTED]
>
> I have no choice but to use the same ID (I can't generate one dynamically
when the datatable is being looped). So therefore, it is a bug when trying
to loop over a datatable. Got any ideas on a workaround?
>
> Here is my post with the source:
>
http://mail-archives.apache.org/mod_mbox/myfaces-users/200609.mbox/browser
>
>