<h:form prependId="false">
<h:outputText id="message" value="this is old value" escape="false" ></h:outputText>
<p:fileUpload update="messages" fileUploadListener="#{FileUploadController.handleFileUpload}" allowTypes="*.jpg;*.png;*.gif;" description="Images"/>
</h:form>
As you can see above the <h:outputText is not updated to new value after file is uploaded.
However if I try the same with <p:growl id=message /> , the growl component is shown with relevant message.
But I want to update the outputText field and display of growl message is of no value to me.
Please if someone can help me on the issue.
thanks
File Upload does not do PPR with h:outpouttext
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
id of text is message and update option referes to messages, there is a typo.
-
- Posts: 36
- Joined: 12 Aug 2010, 15:49
oooo..
I am sorry..that is just a typo here.......
In my original code , I have no type and still it is not working...
I am sorry..that is just a typo here.......
In my original code , I have no type and still it is not working...
-
- Information
-
Who is online
Users browsing this forum: No registered users and 33 guests