Unfortunately, we cannot make guarantees about the html generated by
trinidad renderers.
Different renderers will render different markup.
you cannot rely on a particular markup or dom structure on the client.

On 9/26/06, Martin Koci <[EMAIL PROTECTED]> wrote:

Hello,

we need it for both reasons.

We have application currently rewrited with trinidad. But we must use
some old legacy javascript which is not "JSF-oriented" (at least now).

Trinidad components have content part but with readOnly selectOneChoice
is content part not rendered as usual.

I think readOnly selectOne and readOnly inputText should act as
outputText and produce same output. And if not there must be a good
reason for this.

Btw. tomahawk uses behavioral interface DisplayValueOnlyCapable for
this.


Martin

Arjuna Wijeyekoon píše v Po 25. 09. 2006 v 18:02 -0700:
> Martin,
>
> why does it matter that these components render slightly different
markup
> when readOnly?
> are you relying on a particular DOM structure on the client-side?
>
> or are you wondering how to skin the two consistently using CSS?
>
> --arjuna


Reply via email to