wood burning stoves 2.0*
The moose likes JSF and the fly likes dynamic ajax behaviour Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "dynamic ajax behaviour" Watch "dynamic ajax behaviour" New topic

dynamic ajax behaviour

Jabi Vulla

Joined: Jan 20, 2013
Posts: 7
Hai ..any body can help me please ... im creating primefaces components dynamically here the code is ...

ValueExpression valueExp1 = elFactory.createValueExpression(elContext, "#{transactionSearchBean.selectedDataType1}",Object.class);

ValueExpression valueExp3 = elFactory.createValueExpression(elContext, "#{transactionSearchBean.textBoxValue1}",String.class);

MethodExpression criteriaAjaxEventListener = elFactory.createMethodExpression(
context.getELContext(), "#{transactionSearchBean.fieldChangedForPanel1}", null, new Class[] { AjaxBehaviorEvent.class });

AjaxBehavior criteriaAjax = new AjaxBehavior();

UISelectItems selectItems1 = new UISelectItems();

SelectOneMenu criteriaMenu = new SelectOneMenu();

InputText inputText1 = new InputText();
inputText1.setValueExpression("rendered", valueExp5);

in combo box i added selectitem1 list see in the code, i want to display text box when selection of item in the combo box for that
i need add child ajax element to combo box , here the problem is i am not getting how ajax element add to combo box please any one tell
how i need to put ajax to combo box and how display text box when selecting combo box item..please any experts can explain Ajax behaviours in this scenario?

I agree. Here's the link: http://aspose.com/file-tools
subject: dynamic ajax behaviour
Similar Threads
java.lang.NumberFormatException: For input string
how to bind value attribute inside another component binding attribute
errors during adding dynamic components to panel grid in jsf
How to add programmatically RichFaces a4j:attachQueue
Not getting the Edited Value of InputText when creating editable DataTable on server