voyent
Problem with dynamic inputText...  XML
Forum Index -> General Help
Author Message
BjornOlivier

Joined: 31/Aug/2007 00:00:00
Messages: 2
Offline


Hi,

I want just to generate dynamic inputText with different selectonemenu selection!
It seems that the backing bean is called but the display is not refreshed when the selectonemenu value has changed...
Here is my code

Code:
 <ice:form id="form1" partialSubmit="true">
 
 
 		<ice:selectOneMenu id="SlctCompTyp" styleClass="selectTagMenu"
 			value="#{tabset.searchItemName}" partialSubmit="true"
 			valueChangeListener="#{tabset.searchItemNameChange}"
 			onchange="submit()">
 			<f:selectItems id="SlctcompTypeItms" value="#{tabset.itemList}" />
 		</ice:selectOneMenu>
 
 
 		<ice:panelGrid columns="1" partialSubmit="true"
 			binding="#{tabset.pgDynSearchDisplay}">
 
 		</ice:panelGrid>
 
 
 
 
 	</ice:form>
 




the backing bean :
Code:
 public HtmlPanelGrid getPgDynSearchDisplay() {
 		
 
 		return pgDynSearchDisplay;
 	}
 
 	public void setPgDynSearchDisplay(HtmlPanelGrid pgDynSearchDisplay) {
 		
 
 		this.pgDynSearchDisplay = pgDynSearchDisplay;
 	}
 
 	/**
 	 * Backing bean action to control search input dynamic display
 	 * 
 	 * @param vcListener
 	 */
 	public void searchItemNameChange(ValueChangeEvent vcEvent) {
 
 		this.pgDynSearchDisplay  = buildSearchCriteriaForm(ESearchType
 				.valueOf(((String) vcEvent.getNewValue()).toUpperCase()));
 		
 
 	}
 
michael.thiem


Joined: 04/Jun/2007 00:00:00
Messages: 704
Offline


Hi,

did you check if there are any conversion or validation errors happening
before? Just put an <ice:messages/> tag somewhere on your page that
will get rendered. This could be the reason why you don't see anything.

Best regards,
Michael
 
Forum Index -> General Help
Go to:   
Powered by JForum 2.1.7ice © JForum Team