0

Initially my question was : Does richfaces 4.3.4 support JSF 2.2 and ViewScoped?

But now the question is in the title.Thanks :)

I'm trying to solve this problem. Why a View is reinstancied, when you click a command button displayed in richfaces component displayed after an ajax call ?

It seems i'm not alone : [anotherLink], anotherlink 2.

Community
  • 1
  • 1
ZheFrench
  • 1,164
  • 3
  • 22
  • 46
  • Resolve thanks to http://balusc.blogspot.fr/2011/09/communication-in-jsf-20.html#AjaxRenderingOfContentWhichContainsAnotherForm – ZheFrench Nov 06 '13 at 13:27

1 Answers1

0

Resolve thanks to this. Thanks BalusC.

EDIT : But it's no more working when you try to add an rich:fileupload neither with h:inputFile... It will displayed strange html code in a newly textarea ....It's weird...

           <rich:fileUpload  id="upload" fileUploadListener="#{analyse.test}"  acceptedTypes="bam,pdf,png" ontyperejected="alert('Seulement les fichiers avec l'extension bam et pdf sont acceptés.');" maxFilesQuantity="3">
                  <a4j:ajax event="uploadcomplete" execute="@none" render="upload" />        
            </rich:fileUpload>
ZheFrench
  • 1,164
  • 3
  • 22
  • 46