Messages posted by rdunne
[Logo]
ICEsoft.org Forums: ICEfaces, ICEmobile, ICEpdf
[Search] Search   [Recent Topics] Recent Topics   [Groups] Home Page | www.icesoft.org  [Login] Login 
Messages posted by: rdunne  XML
Profile for rdunne -> Messages posted by rdunne [11]
Author Message
I think it is more likely a configuration issue on my part. We stripped down the example to the bare bones and it ran for the support guys, but not for me. Our actual project is a mish mash of JSP/JSF etc.

I am going to set up my configuration again by getting ICEfaces to work first, along with the simple example, and then adding the legacy JSPs, rather than the other way around.
IE6 - ICEfaces 1.7.1

I have a panel series somewhat like the following code. A table of input text areas with a button that is supposed to grow the size of the adjacent input text area.

Code:
 <ice:panelSeries var="chicken" value="#{bean.chickenList}">
     <ice:panelGrid columns="2">
         <ice:inputTextarea value="#{chicken.text}" rows="#{chicken.rows}" valueChangeListener="#{chicken.textChanged}" partialSubmit="true"/>
         <ice:commandButton image="increaseRows.png" actionListener="#{chicken.increaseRowsActionListener}"/>
     </ice:panelGrid>
 </ice:panelSeries>
 


The code in the action listener simply increments the value of getRows() returned for the particular chicken. However, even though all the code is called and the values updated appropriately, the input text area does not actually display its new size when the button is clicked.

If I then add or remove a chicken from the list, so that the number of items in the series is altered, then suddenly all the input text areas will show the proper number of rows.

Could someone tell me the correct way to make styles and sizes for components in a series refresh, without altering the number of elements in the series itself? Should I be using one of the other iterators ui:repeat or c:forEach.

Thanks.
OK. It just seemed strange that I can make it italic, but not red, when it is disabled.

I shall rethink it.

Thanks.
Thanks Sam,

Did you try IE6? I tried your simple example and it does not work for me under IE6, but it does turn red on FireFox.

Rod.
Thanks Sam.

I have overridden all the child styles classes mentioned in the documentation. I am trying to change the font color in the input text field for the selectInputDate.

As I said, I can change this color when the disabled attribute is false, but not when it is true. The "Input" child style class seems to be the one that alters the input text field.

Is this a bug? If the style for the disabled text input field remains "iceSelInpDateInput-dis BaseClassNameForSelectInputDateInput-dis", is there something in the ICE style that stops me from specifying a new color?
IE6 - ICEfaces 1.7dr2 - support #6776

I have some styles defined for a selectInputDate, which includes something like the following:

.BaseClassNameForSelectInputDateInput
{
font-style: italic;
color: blue;
}
.BaseClassNameForSelectInputDateInput-dis
{
font-style: italic;
color: red;
}

When the selectInputDate is enabled, the font in the text field is italic and blue. Yet when it is disabled the font is italic and gray, not red.

Is there another style that I should be setting to alter that gray colour?

Thanks.
Rod.
Thanks guys.

The current icefaces jar has this in the manifest:
Implementation-Version: DR2 1.7.0_5

I have it "working", although I may not understand why :)

I do not see much difference in the positioning, they all specify the same z-order and an absolute location.

Sorry, my first post is not entirely accurate. In both cases I have discovered that neither a commandButton nor a commandLink will work without the validations occurring.

In the ICEfaces panelPopup tutorial, the close button is using an action.

<ice:commandButton image="images/close.gif" action="#{popup.closePopup}"/>

I had been using the same approach. But when I change this to use an actionListener instead, the validations no longer occur and the popup closes.

I am still unsure why there is a difference as I have other panelPopups that do close fine without validations occurring, even though they contain fields that have the "required" attribute set to true also.
I changed the close button on one of my panelPopups from a commandButton to a commandLink. But now the validators, for the fields in the popup, are called instead of being ignored. So the popup does not close and the validations warnings are displayed instead.

I have set immediate to true on the commandLink, but it made no difference.

The fields that show the validation warning have partialSubmit set to false and required set to true.

Is there something else I need to do, to stop the validations from occurring? Should a commandLink be behaving differently from a commandButton here?


Is this related to http://www.icefaces.org/JForum/posts/list/6370.page?


Thanks.
Thanks Philip, that is a great help. At some point I would like to understand the underlying trickery going on in that htc file.


As a followup, would you know of any reason why this approach would not work with commandButtons contained inside an ice:panelPopup? The hover works fine for me on normal pages but not on popups.
I can apply a style to an ice:commandButton to handle mouse over as follows:

.commandButtonStyle
{
background-color: pink;
}
.commandButtonStyle:hover
{
background-color: red;
}

This works on FireFox2, but does nothing on IE6. Only the non-hover style shows up. Does anyone know what I am doing wrong or can anyone suggest a workaround for IE6?

Thanks.
--
Rod
 
Profile for rdunne -> Messages posted by rdunne [11]
Go to:   
Powered by JForum 2.1.7ice © JForum Team