Messages posted by pattamuthu
[Logo]
ICEsoft.org Forums: ICEfaces, ICEmobile, ICEpdf
[Search] Search   [Recent Topics] Recent Topics   [Groups] Home Page | www.icesoft.org  [Login] Login 
Messages posted by: pattamuthu  XML
Profile for pattamuthu -> Messages posted by pattamuthu [56] Go to Page: 1, 2, 3, 4 Next 
Author Message
Guys,

I found a solution!

Not to use this component, instead write a Servlet (Ajax) and do the logic there and customize the normal input text to behave the same as ice:selectInputText(With out issues :)). But to be noted, we have control of this implementation, what ever and when ever is needed we can do that. I fed up of using selectinputtext and doing all research, instead i used a day to develop this and now every thing is smooth moving
I am using ice:radio in dataTable, and when i tab form the previous field and focus is in the ice:radio field, the highlight with dotted lines is not there, as it seen in the ice:selectOneRadio. Means user will not understand that the focus is in that field, until he press tab which takes him to the next field.

Any solution or icefaces bug!!?
Guys,

i use ice:panelPopup as below
<ice:panelPopup draggable="false" modal="true" rendered="#{vendorSearchAction.vendorRendered}" style="width:520px;height:auto;" autoCentre="false" autoPosition="110,40">
<f:facet name="header">
<ice:panelGrid columns="2" width="100%">
<ice:panelGroup style="text-align:Left">
<b><ice:outputText value="Vendor Profile"/></b>
</ice:panelGroup>
<ice:panelGroup style="text-align:right">
<ice:commandButton type="button" image="/images/red_x.gif"
actionListener="#{vendorSearchAction.closeVendorProfilePopup}"
title="Close Popup" alt="Close" binding="#{popup.buttonFocus}"/>
</ice:panelGroup>
</ice:panelGrid>
</f:facet>
<f:facet name="body">
<div style="overflow:auto; height:500px;background-color:white; ">
<ice:panelGrid width="95%">
<ui:include src="/pages/vendor/vendorBookProfile.xhtml" />
</ice:panelGrid>
</div>
</f:facet>
</ice:panelPopup>

The problem is, the tabbing works fine, if i dint open the popup. After opening the popup the tabbing behaves very odd, every tabbing from the field takes me to the address bar and even if click(focus) on a field by mouse and tabbing again takes me to the address bar. Tabbing 100% doesnt work after that.

Pease help me. Thanks in advance
Is it possible to know why the panelCollapsible opening it and closing it makes much time. Is it right way to write our own component in JS making the div content visible, or some thing we can set to make it fast !!
Even me too face the same problem in Icefaces 1.8.0, is there any solution found.?
I use ice:selectBooleanCheckbox inside the data Table, and and when the user click the check box i need to some operation on the basis of if it is clicked. But the problem is when i clicked the checkbox, in the event the value(event.getNewValue is coming as true) but the VO value it is coming as false, it is not all changed. I tried the same thing with Table and c:forEach also, but the same problem
Usage of code

<table class="bgcolor-c7ffff">
<c:forEach items="#{airExchangeBean.bkdFlightDetails}" var="flite">
<tr>
<td>
<f:facet name="header">
<ice:outputText value="Exch" />
</f:facet>
<ice:selectBooleanCheckbox value="#{flite.segSelected}" partialSubmit="true"
valueChangeListener="#{airExchangeAction.populateSearchFields}" />
</td>

<td>
<f:facet name="header">
<ice:outputText value="Date" />
</f:facet>
<ice:outputText value="#{flite.fltDepDate}" />
</td>

<td>
<f:facet name="header">
<ice:outputText value="Flight" />
</f:facet>
<ice:outputText value="#{flite.flightName} #{flite.flightNo}" />
</td>

<td>
<f:facet name="header">
<ice:outputText value="Depart" />
</f:facet>
<ice:outputText value="#{flite.departureTime}" />
</td>

<td>
<f:facet name="header">
<ice:outputText value="Arrive" />
</f:facet>
<ice:outputText value="#{flite.arrivalTime}" />
</td>

<td>
<f:facet name="header">
<ice:outputText value="Booking Class" />
</f:facet>
<ice:outputText value="#{flite.bookingClass}" />
</td>

<td>
<f:facet name="header">
<ice:outputText value="Status" />
</f:facet>
<ice:outputText value="#{flite.bookingStatus}" />
</td>

<td>
<f:facet name="header">
<ice:outputText value="Exchange Status" />
</f:facet>
<ice:commandLink value="Pending Exchange" action="#"
styleClass="textdeco-underline" />
</td>
</tr>
</c:forEach>
</table>

#{airExchangeBean.bkdFlightDetails} - Is the list of VO
And in the action i have written
public void populateSearchFields(ValueChangeEvent event){
if(event != null){
System.out.println("Event value"+event.getNewValue());
int i =0;
for(BookedFlightDetailsVO fltVO:exchangeBean.getBkdFlightDetails()){
System.out.println("Selected flight"+i+fltVO.isSegSelected());
i++;
}
}
}

Here the First SYSOUT gives me True and next is false. Guys please help me to understand the problem and Fix this issue

Thanks in advance
Guys, i use a select one radio component as like

<ice:selectOneRadio id="carPickupLocTy"
value="#{controllerBean.customerVO.travelVO.carSearchVO.pickUpLocType}"
valueChangeListener="#{carSearchAction.showPickupLocOptions}"
styleClass="carCustomSelOneRb"
partialSubmit="true" >
<f:selectItems value="#{carSearchAction.pickupTypeList}" />
</ice:selectOneRadio>

But i am not able to understand on tab, the focus is not going to the next field, it is going to the start of the form. To solve, i wrote work around javascript, which sets the focus to the next field, by sending the next field id. But the problem is onblur or onkeypress of iceSelectOneRadio is not working, can you please help me to solve why the onblur or onkeypress is not working. If can, please help to solve that tabbing issues, instead giving tabIndex.

Thanks in advance
I am getting the following exception when i use data paginator
java.lang.IllegalArgumentException: -5
at javax.faces.component.UIData.setFirst(UIData.java:226)
at com.icesoft.faces.component.datapaginator.DataPaginator.broadcast(DataPaginator.java:184)
at

i am using dataTable and dataPaginator in this way

<ice:dataTable id="tarRes" value="#{airResultsBean.tariffResultsList}"
var="tarResult" width="100%"
rows="#{controllerBean.customerVO.travelVO.airSearchVO.numOfResultsPerPage}"
sortColumn="#{airResultsBean.sortColumnName}"
sortAscending="#{airResultsBean.ascending}">

<ice:column>
<f:facet name="header">
<b><ice:outputText value="#{msg['tarRes.advPur']}" /></b>
</f:facet>
<ice:outputText value="#{tarResult.advPurchase}" />
</ice:column>

<ice:column>
<f:facet name="header">
<b><ice:outputText value="#{msg['tarRes.minMaxStay']}" /></b>
</f:facet>
<ice:outputText value="#{tarResult.minMaxStay}" />
</ice:column>

<ice:column>
<f:facet name="header">
<b><ice:outputText value="#{msg['tarRes.fareTyp']}" /></b>
</f:facet>
<ice:outputText value="#{tarResult.fareType}" />
</ice:column>

<ice:column>
<f:facet name="header">
<b><ice:outputText value="#{msg['tarRes.trvDates']}" /></b>
</f:facet>
<ice:outputText value="#{tarResult.outBoundDates}" />
</ice:column>

</ice:dataTable>
<div class="right" align="center"><ice:panelGrid columns="1">
<ice:panelGroup>
<ice:dataPaginator id="dataScroll_2" for="tarRes"
rowsCountVar="rowsCount"
displayedRowsCountVar="displayedRowsCount"
firstRowIndexVar="firstRowIndex"
lastRowIndexVar="lastRowIndex"
pageCountVar="pageCount"
pageIndexVar="pageIndex" align="right"
rendered="#{not empty airResultsBean.tariffResultsList}" >
<ice:outputFormat
value="Showing Results {2} to {3} of {0}"
styleClass="standard">
<f:param value="#{rowsCount}"/>
<f:param value="#{displayedRowsCount}"/>
<f:param value="#{firstRowIndex}"/>
<f:param value="#{lastRowIndex}"/>
<f:param value="#{pageIndex}"/>
<f:param value="#{pageCount}"/>
</ice:outputFormat>
</ice:dataPaginator>
</ice:panelGroup>

</ice:panelGrid></div>


<div align="center"><ice:panelGrid columns="1"
rendered="#{airResultsBean.tarPaginatorRend}">
<ice:panelGroup>

<ice:dataPaginator id="dataScroll_3" for="tarRes" paginator="true"
fastStep="3" paginatorMaxPages="10" pageIndexVar="pageIndex"
pageCountVar="pageCount" styleClass="aaaDatPgr">
<f:facet name="first">
<ice:graphicImage id="firstpage_1" url="/images/arrow-first.gif"
styleClass="border" title="First" rendered="#{pageIndex != 1}" />
</f:facet>
<f:facet name="last">
<ice:graphicImage id="lastpage_1" url="/images/arrow-last.gif"
styleClass="border" title="Last"
rendered="#{pageIndex != pageCount}" />


</f:facet>
<f:facet name="previous">
<ice:graphicImage id="previouspage_1"
url="/images/arrow-previous.gif" styleClass="border"
title="Previous" rendered="#{pageIndex != 1}" />
</f:facet>
<f:facet name="next">
<ice:graphicImage id="nextpage_1" url="/images/arrow-next.gif"
styleClass="border" title="Next"
rendered="#{pageIndex != pageCount}" />


</f:facet>

</ice:dataPaginator>

How ever when i remove Data paginator which displayes the info text (Data paginator with id dataScroll_2), it is working fine, guys please help me to fix this issue.

Thanks in adavnce
Is it possible to add effect to Panel tabs?.

I have a requirement like i need to high light the tab with red color, when there is error message, how to do that?

Please help me in this, thanks in advance.
Thanks mgroeneweg

When i type in the selectInputText and when go to the next field, how to stop the valuchangeListener?. Means not to call the value change method.

What is happening is, when u type in the selectInputText field and when the user in second field , the dropdown for the select input text appears, so when user moved out of that inputtext field, is is possible to hide the dropdwon or not to call valuechangelsitener

Thanks in advance
1. how can I disable the validate checking after release the focus.

what is the answer for this question?.

I am also facing this problem, sine none javascript event get triggered in this component.
I have 2 select inputtext comonents,
user types text in the first text box and he enters in to the next text box, with out selecting any thing from the first dropdown, evn he do the same for second dropdown, but still the drop down appears on the screen and it hides the other field in the page.

Is it possible when he moves too next field, to hiode the drop down menu!!
thanks in advance
Hi Guys,

I tried using onclick, onchange events in selectInputText, however unlike other components, the value change listener is called first and none of the events are working. Why, please help me in this.

Thanks in advance.
I have a panl collapsible inside i have some text boxes, the values entered i will get if i left open. But if i close and submit the values of the text boxes are not there, how to retain, those values, any work around?
I have written a custom css for the connection status. it will show a gif image on active as "processing...". As below

.connectionStatusActv {
position: fixed;
background-image: url( "../images/loading.gif" );
filter:alpha(opacity=80);
background-position: center;
background-attachment: scroll;
background-repeat: repeat;
width: 600px;
height: 400px;
}

and the rest of classes in this component remains same.
Here the problem is, the attribute position:fixed and background-attachment: scroll; doesnt work in IE6, so i have a solution to do that, but is it possible to write a css for IE6 and other for IE7.
Normally we use to write ".ie6 input.submit" for IE6 and normal input.submit for IE7. As the same is it possible to do the same here, in this component. Please help me guys.
 
Profile for pattamuthu -> Messages posted by pattamuthu [56] Go to Page: 1, 2, 3, 4 Next 
Go to:   
Powered by JForum 2.1.7ice © JForum Team