Announcement Announcement Module
Collapse
No announcement yet.
RichFaces FileUpload listener in the flow Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • RichFaces FileUpload listener in the flow

    Hello,

    I'm trying to integrate the element rich:fileuUpload with Spring Web Flow. It's working correctly but not in the way that I would like.

    Currently and regarding all the info that I have, I have to create a backing bean with a listener method:

    Code:
    # html code
    <rich:fileUpload fileUploadListener="#{bbean.uploadAttach}" ... />
    
    #bbean - java code
    public void uploadAttach(UploadEvent event) throws Exception {...}
    I would like integrate totally in the flow, something like this:
    Code:
    # html code
    <rich:fileUpload fileUploadListener="uploadAttachAction" ... />
    
    #flow
    <transition on="uploadAttachAction">
    <evaluate expression="action.uploadAttach(event) />
    </transition>
    
    #action class - java code
    public void uploadAttach(UploadEvent event) throws Exception {...}
    I have tried a lot of differents ways to do this, even adding the tag <a4j:support ...>, but I couldn't do it.

    Is possible do it?
Working...
X