incubator-adffaces-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Dopheide" ...@qwizics.com>
Subject tr:inputText contentStyle
Date Tue, 16 Jan 2007 20:25:58 GMT
Hi,

I'm using tr:inputText  inside a <tr:panelFormLayout> from the Jan12
snapshot.

The documentation at
http://incubator.apache.org/adffaces/trinidad-api/tagdoc/tr_inputText.html
shows contentStyle attribute but it does not seem to get rendered.

In other words, this (in my panelFormLayout):
		<tr:inputText id="regCode"
		label="#{text['registration.candidateId']}"
		value="#{userForm.registration.candidateId}"
		readOnly="#{userForm.registration.activated}" 
		contentStyle="margin: 1em 0 0 0;color: blue"/>

Get rendered like this:

<tr class="af_inputText p_AFReadOnly">
<td class="af_inputText_label af_panelFormLayout_label-cell"
nowrap="">Candidate ID</td> <td class="af_panelFormLayout_content-cell"
valign="top" nowrap=""> <div id="regCode"
class="af_inputText_content">111</div>
</td></tr>


And my "content style" never gets applied. What gives?

Also, a separate question, why is the ...valign="top"... Imposed on the
content-cell? This seems to just get in the way. In fact, this is why I'm
trying to apply a style to the content, so that I can re-align the cells
when "readOnly" is "true".

Any hints or insights?

Mark


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message