myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Günther, Rene - Innflow AG" <>
Subject AW: Problem with duplicated ID in FacesTree in MyFaces 1.2
Date Tue, 17 Nov 2009 14:13:47 GMT
Hi Jürgen,

if I remember correctly (we also had duplicated id issue),  in 1.1 something

<h:form id="form">
<h:panelGroupd id="outer">
<h:inputText id="input">

Renders the id as "form:outer:input".

In 1.2 it renders the id as "form:input".

That causes duplicated ids:

<h:form id="form">
<h:panelGroupd id="outer">
<h:inputText id="input">

<h:panelGroupd id="outer_2">
<h:inputText id="input">


-----Ursprüngliche Nachricht-----
Von: [] 
Gesendet: Dienstag, 17. November 2009 14:59
Betreff: Problem with duplicated ID in FacesTree in MyFaces 1.2

Hello together,

in a MyFaces App we use t:saveState.

So we submit the page and stay on it. This causes an  inputtext field to 
change to an outputtext field. (Value is now Readonly)

With MyFaces 1.1 everything works fine.

If we use MyFaces 1.2 (what we want to do) we get an "Duplicate ID in 
FacesTree Error".

Any Ideas what went wrong? 
As a workaround we set the inputfield proterty displayValueOnly to true, 
but due to styling issues this can't be our solution.

Best regards

Jürgen Wieners

View raw message