You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-dev@incubator.apache.org by Martin Koci <Ma...@aura.cz> on 2006/09/26 15:01:12 UTC

Rendering of readOnly and simple component

Hello,

if a component is readOnly and simple how it is rendered?

<tr:inputText id="readOnlyInputText" value="Value in readOnly inputText"
readOnly="true" simple="true" /> renders:


<span id="formId:readOnlyInputText" class="x1b p_AFReadOnly">

<div class="x1m">
Value in readOnly inputText
</div>
</span>

It has a content part rendered as a div and component itself is rendered
as a span. PPR uses this structure for something? Why is it not rendered
as span only as h:outputText does?

Thanks,

Martin