Messages posted by sbelvadi
[Logo]
ICEsoft.org Forums: ICEfaces, ICEmobile, ICEpdf
[Search] Search   [Recent Topics] Recent Topics   [Groups] Home Page | www.icesoft.org  [Login] Login 
Messages posted by: sbelvadi  XML
Profile for sbelvadi -> Messages posted by sbelvadi [7]
Author Message
Thanks for your quick response.

I tried what you suggested and no JSF RI libraries are downloaded for JavaServer Faces 1.1/1.2 project configurations.

If I understand your comments about the library-provider, does this imply this is also the reason why the ICEfaces libraries don't show up in the Download Library list for an ICEfaces project.

Thanks again for your comments.

Not sure if any one else has run into this issue before.

Eclipse Galileo - 3.5
ICEfaces Plug in - Downloaded from http://www.icefaces.org/eclipse-updates/

From the project wizard

Create a dynamic web project (Icefaces)
For configuration - Select Icefaces project
Source folder Screen -> Next
Web Module Screen -> Next
JSF Capablities screen
JSF Implementation library -> User library is selected.
I click on the Download Library icon BUT the libraries are not downloaded.

What am i doing wrong?

I did not have this problem with Eclipse Ganymede for earlier version of Icefaces.

Issue resolved.
Scenario 2 - Issue 2
Resolved.
Hello,

Requirement- is to incorporate a collapsible panel that can contain component for Selections in one zone (ex:W zone of a Panel border) and auto complete and submit buttons in a different zone (ex:Center zone in a Panel Border layout).

I have a weird problem - again these are newbie concerns.
I would like to request some direction.

I am trying to incorporate autocomplete.

Scenario 1 -

- Define a select Input text component and a submit button in a panel grid
- Initialize an array list of select items to populate the suggestions

Test for auto complete -
- When i start typing in the select input text box, the suggestions should be populated and the cursor should indicate the next input position - works as expected

- when I select the appropriate value from the list of Select Input Text values, the list box should collapse - again works as expected.

Issue noticed - When I click inside the text box for Select Input Text, the submit button seems to be trigerred as well.

Should I be setting any attributes or handle this differently. The view defined is as below:

Code:
 
 <!-- Auto Complete FILTER BY TRACKING NUMBER -->
 <ice:outputText value="Tracking Number"></ice:outputText>
 <ice:panelGroup>
 <ice:panelGrid columns="2">
 <ice:selectInputText rows="10"
 valueChangeListener="#{uiSessionBean.selectInputValueChangeEventListener}"
 id="autoCompleteTextBox">
 <f:selectItemsvalue="#{uiSessionBean.sepInfoTableBean.alFilterSelectItems}" />
 </ice:selectInputText>
 <ice:commandButton value="Filter" id="filterBtnActionList"
 actionListener="#{uiSessionBean.filterButtonListener}" />
 </ice:panelGrid>
 </ice:panelGroup>



Scenario 2 -


Add a collapsible panel in one of the Panel Layout zones in addition to the autocomplete text box and submit button and test for
a. Expand collapsible panel
b Test for auto complete

Issue noticed
1. When I click on the collapsible panel to expand, the submit button gets clicked also
2. When I type in the auto complete text box, the suggestions appear in the select input text list, but the cursor is not visible. Also when I select from the list box, the list of select input text items does not collapse
Code:
 <f:facet name="west">
 <ice:outputText value="W"></ice:outputText>
 <ice:panelGroup styleClass="pnlClpsblWrapper panelCollapsible">
 
 <!-- ********************************* -->
 <!--  Collapsible panel for test level -->
 <!-- ********************************* -->
 
 <ice:panelCollapsible id="testLvlPanel"
 expanded="#{uiSessionBean.colPanel1Expanded}" toggleOnClick="true"
 actionListener="#{uiSessionBean.collapsibelPanelEventListener}">
 <f:facet name="header">
 <ice:panelGroup>
 <ice:outputText id="testLvlHeader" value="Test level" />
 </ice:panelGroup>
 </f:facet>
 </ice:panelCollapsible>
 </ice:panelGroup>
 </f:facet>
 
 
 <f:facet name="center">
 <ice:panelGrid id="topGrid" border="0" columns="3">
 <!-- CENTER TITLE -->
 <ice:outputText value=""></ice:outputText>
 <h2><ice:outputText value="TEST PAGE FOR AUTO COMPLETE"></ice:outputText></h2>
 <ice:outputText value=""></ice:outputText>
 
 <!-- Auto Complete FILTER BY TRACKING NUMBER -->
 <ice:outputText value="Tracking Number"></ice:outputText>
 <ice:panelGroup>
 <ice:panelGrid columns="2">
 <ice:selectInputText rows="10"
 valueChangeListener="#{uiSessionBean.selectInputValueChangeEventListener}"
 id="autoCompleteTextBox">
 <f:selectItemsvalue="#{uiSessionBean.sepInfoTableBean.alFilterSelectItems}" />
 </ice:selectInputText>
 <ice:commandButton value="Filter" id="filterBtnActionList"
 actionListener="#{uiSessionBean.filterButtonListener}" />
 </ice:panelGrid>
 </ice:panelGroup>
 
 </ice:panelGrid>
 </f:facet>


What am i missing? and How should I go about resolving the above?

I understand that sometimes questions go unanswered since the same problem might have been answered in an earler post or due to its assigned criticality by the forum admins. But I would really appreciate any suggestions that anyone might have to offer.

I probably have not done a good job of reading all of the posts or I just dont know where to look. So given this ignorance of mine, I would like to request that this rudimentary question of mine be answered.


Hope to find some resolution to the above,
Thanks
This is a newbie concern.

I have a selectInputText component that the user can type in text to get a list of matches. I am able to get a list of matches when I start typing into the text box.

The issue I am facing is when I start typing a character/number, the cursor seems to disappear after each character input. I have to Click inside of the text box to resume cursor visibility each time. I am not sure why this is happening and what i am doing wrong.

I would appreciate any help in this regard. I have tried to follow the tutorial closely, but I must be missing something.

Code snippets below that I thought are relevant:


Code:
 
 <ice:panelGroup>
 <ice:panelGrid columns="2">
 
 <ice:selectInputText rows="10"
        valueChangeListener="#{uiSessionBean.updateAutoCompleteList}"
        partialSubmit="true">
        <f:selectItems
          value="#{uiSessionBean.sepInfoTableBean.alFilterSelectItems}" />
 </ice:selectInputText>
 
 <ice:commandButton 
      value="#{uibundle.filterBtnNm}"
      actionListener="#{uiSessionBean.filterButtonListener}" 
      partialSubmit="true"/>
 
 </ice:panelGrid>
 </ice:panelGroup>
 
 



The methods that I have to handle the ValueChangeEvent are as below:

Code:
 
 **
  * Method to update the auto complete list when user types in choice.
  */
 public void updateAutoCompleteList(ValueChangeEvent vce) {
 
 	if (this.getSepInfoTableBean() != null) {
 		this.getSepInfoTableBean().updateList(vce);
 	}
 	this.effectChangeListener(vce);
 		
 }



UiSessionBean extends BaseBean that comes as part of Icefaces component showcase source
(ICEFaces.1.8.1)


Code:
 public class BaseBean implements Serializable {
     //the logger for this class
 	protected final Log logger = LogFactory.getLog(this.getClass());
 
     // effect that shows a value binding chance on there server
     protected Effect valueChangeEffect;
 
     public BaseBean() {
         valueChangeEffect = new Highlight("#fda505");
         valueChangeEffect.setFired(true);
     }
 
     /**
      * Resets the valueChange effect to fire when the current response
      * is completed.
      *
      * @param event jsf action event
      */
     public void effectChangeListener(ValueChangeEvent event){
         valueChangeEffect.setFired(false);
     }
 
     ....................
     .....................
 
 }
This is newbie question. Trying to look for examples that show the configuration required using the above. Appreciate any help I can get in this regard.
 
Profile for sbelvadi -> Messages posted by sbelvadi [7]
Go to:   
Powered by JForum 2.1.7ice © JForum Team