myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Mander <paul.man...@chordiant.com>
Subject Re: [TRINIDAD] In Internet Explorer, fidgety behaviour of panelFormLayout with inputDate
Date Thu, 03 Apr 2008 14:18:22 GMT

This may be related to the following issue:

https://issues.apache.org/jira/browse/TRINIDAD-992

for which I have proposed a solution.


Carsten Pieper wrote:
> 
> Hi,
> 
> this just seems to happen in Internet Explorer (tested in IE6): 
> 
> Assume you have an tr:panelFormLayout with one or more tr:inputDate
> components in it. 
> When you then press a button or a link, the inputDate causes some vertical
> fidgeting.
> 
> To reproduce this, you can take the example code given on the Trinidad
> site:
> 
> http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_panelFormLayout.html
> panelFormLayout documentation 
> 
> <tr:panelFormLayout rows="6" labelWidth="40%">
>   <!-- A bunch of form components -->
>   <tr:inputText label="Text"/>
>   <tr:inputFile label="File"/>
>   <tr:inputListOfValues label="SelectInput"/>
>   <tr:inputDate label="Date"/>
>   <tr:inputText label="Attribute"/>
>   <tr:inputText label="Attribute"/>
>   <tr:inputText label="Attribute"/>
>   <tr:inputText label="Attribute"/>
> 
>   <!-- Now, an example of panelLabelAndMessage for more complex content
> -->
>   <tr:panelLabelAndMessage label="Date Range">
>     <tr:panelHorizontalLayout>
>       <tr:inputDate simple="true" shortDesc="Start date"/>
>       <tr:inputDate simple="true" shortDesc="End date"/>
>     </tr:panelHorizontalLayout>
>   </tr:panelLabelAndMessage>
>   <f:facet name="footer">
>     <tr:panelButtonBar>
>       <tr:commandButton text="Button 1"/>
>       <tr:commandButton text="Button 2"/>
>     </tr:panelButtonBar>
>   </f:facet>
> </tr:panelFormLayout>
> 
> If you put a partialSubmit to a button
>    <tr:commandButton text="Button 1" partialSubmit="true"/>
> you can "freeze" the fidgeting, which comes in quite handy, because you
> can 
> then investigate further (e.g. with the IE Developer Toolbar, which I
> did...)
> 
> To me, it's looking as if the message cell
> ("af_panelFormLayout_message-cell") or
> its nested content (OraInlineErrorText) is pushing the rest of the page
> down.
> 
> Please have a look at these screenshots:
> 
> First screenshot shows the situation before Button 1 is pressed:
> 
>  http://www.nabble.com/file/p16467494/initial.jpg 
> 
> Second shows the situation after pressing the button
> (which, see above, can be halted with a partialSubmit="true"):
> 
>  http://www.nabble.com/file/p16467494/fidgety.jpg 
> 
> Please note, that this happens regardless of the configured skin (tested
> our own skinning, as seen in the screenshots, as well as custom skinning 
> turned
> completely off). A last note, we're still on Trinidad 1.0.5, so probably
> this might
> have vanished in the meantime (although I don't think so, because I didn't
> notice
> any related activities/discussions in the forum...) and we're using
> Facelets 1..1.14
> (if that might be of any relevance here).
> 
> Any idea welcome, thanks,
> Carsten
> 
>  
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/-TRINIDAD--In-Internet-Explorer%2C-fidgety-behaviour-of-panelFormLayout-with-inputDate-tp16467494p16467505.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.


Mime
View raw message