voyent
Messages posted by: tyler.johnson  XML
Profile for tyler.johnson -> Messages posted by tyler.johnson [93] Go to Page: 1, 2, 3, 4, 5, 6, 7 Next 
Author Message
Hey Jeff,

As a supported ICEfaces customer, should we take this offline as a support case?

Ty
Hey Jeff,

Both the ace:selectMenu and h:selectOneMenu components work as expected with ICEfaces 3.3 and ICEmobile 1.3. Can you consider using one of these vs ICE? Here is my code:

Code:
<mobi:dataView value="#{dataViewBean.cars}" var="car"
 			activationMode="server" rowStripe="true">
 			<mobi:dataViewDetails>
 				<h3>Details</h3>
 				<h:panelGrid columns="2">
 					<ace:selectMenu value="#{car.model}">
 						<ace:ajax execute="@this" render="@form" />
 						<f:selectItem itemLabel="A" itemValue="A" />
 						<f:selectItem itemLabel="B" itemValue="B" />
 						<f:selectItem itemLabel="C" itemValue="C" />
 					</ace:selectMenu>
 					<h:outputText value="#{car.model}"/>
 				</h:panelGrid>
 			</mobi:dataViewDetails>
 
 			<mobi:dataViewColumns>
 				<mobi:dataViewColumn headerText="Model" value="#{car.model}" />
 			</mobi:dataViewColumns>
 		</mobi:dataView>


Ty
The issue is due to Servlet 2.5 only being supported in ICEmobile EE.

Ty
Hi Jeff,

As a supported customer, I've created a support case for this issue and have contacted you directly.

Thanks,

Ty

Product Support
ICEsoft Technologies Inc.
Which IDE are you using to create your project? Are you using one of our ICEfaces IDE plugins?

Ty
What about replacing your <html> tag with:

Code:
<ui:composition  xmlns="http://www.w3.org/1999/xhtml"
               xmlns:h="http://java.sun.com/jsf/html"
               xmlns:f="http://java.sun.com/jsf/core"
               xmlns:ui="http://java.sun.com/jsf/facelets"
              xmlns:mobi="http://www.icesoft.com/icefaces/mobile/component">
  
 


If that doesn't help, can you attach your source code to the post?

Ty
I had a look at our sample and the scrollbar is added by the browser. Are you wanting to get rid of it?

Tyler
Hi,

I'll look into this for you now.

Tyler

Product Support
ICEsoft Technologies Inc.
Hi,

You can try one of the following strategies:

1. In your reset method, iterate over the component tree and for each component that extends HtmlSelectBooleanCheckbox, clear it's submitted and value values. Additional information regarding this strategy can be found here: https://cwiki.apache.org/MYFACES/clear-input-components.html.

2. Get a direct reference to the component and reset it's values. Here is an example:

UIInput selectBox = (UIInput) facesContext.getViewRoot().findComponent("form:selectOneMenu");
selectBox.setSubmittedValue(null);
selectBox.setValue(null);

Thanks,

Tyler
Hi Irina,

Is this still an issue for you?

Thanks,

Tyler
Morning Irina,

Thank you very much for the source files. I have created my own sample based on your code and using our latest code base, was not able to reproduce the issue in the Android emulator or on an actual Android device.

Our 1.2 Beta release is full of improvements, features and components and should be available this week. Would you be able to wait to test again with this release?

Thanks,

Ty
Hi,

How are you building the IceMobile1.1.0-src? I have run the ant command on ICEmobile-1.1.0-src/icemobile/build.xml and it builds as expected. Let me know.

Thanks,

Ty

_________
Product Support
ICEsoft Technologies Inc.
403.663.3322 | product.support@icesoft.com
Hi,

Glad to hear that you were able to resolve your issue. ICEmobile 1.2 Beta will be available within the next 1-2 weeks and is packed full of new improvements, features and components.

Thanks,

Tyler

_________
Product Support
ICEsoft Technologies Inc.
403.663.3322 | product.support@icesoft.com
Hi Irina,

Would you be able to send me the source files for this page so that I can run it locally?

Thanks,

Tyler
Hi,

An example of this functionality can be found here in our showcase: http://icefaces-showcase.icesoft.org/showcase.jsf?grp=aceMenu&exp=dataTableBean. You can set the selectedPage value and tab out to change page.

Tyler
 
Profile for tyler.johnson -> Messages posted by tyler.johnson [93] Go to Page: 1, 2, 3, 4, 5, 6, 7 Next 
Go to:   
Powered by JForum 2.1.7ice © JForum Team