Hi Matt! and other devs,

No, the test was done using firefox, but since you mentionned IE, I went 
on to test the page on it too. Indeed there was a small difference on how 
things were visually rendered.

I've added 2 screenshots showing what is seen both before my modification 
and after my modification. You can see them as part of the Jira issues:
https://issues.apache.org/jira/browse/ADFFACES-97

Basically, here are the 3 styles that matter:
inputText::label : green text / white background
inputText:disabled::label : yellow text / red background
panelFormLayout::label-cell : gray text / silver background

Now, before jumping to the rendered html tag (like I did in the last 
post), let's stay high level !

>From the 2 screenshots, you can see that before my modification, a 
inputText outside a panelFormLayout was correctly applied the disabled / 
normal(enable) style. Inside a panelFormLayout, the "label-cell" style get 
rendered over the inputText label style.

After my modification, the label inside a panelFormLayout get displayed 
with the specified color BUT, if you pay close attention, the alignment is 
modified. (no clue yet why) YET again, when testing on IE, before the 
modification is the same as with firefox, HOWEVER, after the modification, 
the alignment isn't changed like it is on firefox. (so, on IE the 
alignment for the text label are all aligned to finish on the right 
border)

This lead to my following question :
Is the expected behavior should really be that the "disabled" style 
specified for an input* be rendered inside a panelFormLayout (like what is 
seen on the screenshot after the modif) OR that style of a panelFormLayout 
"label-cell" gets priority over others defined style?

thanks,

Pierre-Luc Archambault,
Fujitsu Consulting

Reply via email to