This content has been marked as final.
Show 2 replies
-
1. Re: <s:fileUpload and immediate attribute
pmuir Jan 28, 2008 5:37 AM (in response to dthibau1)s:fileUpload doesn't support immediate="true", file a feature request in JIRA.
-
2. Re: <s:fileUpload and immediate attribute
dthibau1 Jan 29, 2008 3:36 AM (in response to dthibau1)Thank you pete.
I also give my ugly solution to solve this use case.public void immediateUpload(){ UIInput input = (UIInput)facesContext.getViewRoot().findComponent("brouillonTabs:Tache:inUploadFileCreate"); input.processUpdates(facesContext); upload(); }
I retrieve the UIComponent corresponding to the s:fileUpload and then
process inputs to update the model.