jsf - How to make f:ajax ignore invalid ids in render attribute? -
jsf - How to make f:ajax ignore invalid ids in render attribute? -
i creating jsf components in back-end. also, ajax back upwards added using ajaxbehavior.
ajaxbehavior a4jsupport = (ajaxbehavior) app.createbehavior(ajaxbehavior.behavior_id); list<string> updateids = getupdateids(); if (updateids !=null){ a4jsupport.setrender(updateids); ((uicomponentbase) component).addclientbehavior("change", a4jsupport); }
idea add together re-render set of components when value changes input component. facing issue when of update id coming invalid. throws javax.faces.facesexception mentioning particular id invalid.
need know, if there way invalid ids can ignored rather throwing exceptions?
ajax jsf jsf-2 ajax4jsf
Comments
Post a Comment