This content has been marked as final.
Show 5 replies
-
1. Re: s:fileUpload and a4j:commandButton - not submitting image
sjmenden Aug 22, 2008 9:00 PM (in response to bobc75)How about try your h:commandButton like:
<h:commandButton ...> <a4j:support event="oncomplete" .../> </h:commandButton>
-
2. Re: s:fileUpload and a4j:commandButton - not submitting image
sjmenden Aug 22, 2008 9:14 PM (in response to bobc75)egrep your project for acusadoId
egrep -r "acusadoId" *
to see if it is showing up somewhere else. Also, when you click to the edit page, what is your url, does it contain acusadoId=1 for example?
-
3. Re: s:fileUpload and a4j:commandButton - not submitting image
sjmenden Aug 22, 2008 10:23 PM (in response to bobc75)Yeah, I didn't make that comment to this case, wtf. To the guy who is messing with his edit page, if he sees this, try the above comment :)
-
4. Re: s:fileUpload and a4j:commandButton - not submitting image
grundor Aug 28, 2008 10:30 PM (in response to bobc75)I am having the same problem - my problem with using the a4j:support workaround mentioned is that unless I am mistaken (or missing something in my code) the entire page will refresh on the submit.
I tried the following:
<h:commandButton id="updatephoto" value="#{messages['com.leagueunited.btn.save']}" action="#{albumsAction.updatePhoto}" rendered="#{photoHome.managed}"> <a4j:support event="oncomplete" reRender="albumtree,albumeditor"/> </h:commandButton>
Despite the reRender attribute, the entire page is being redrawn.
-Mark
-
5. Re: s:fileUpload and a4j:commandButton - not submitting image
tony.herstell1 Aug 28, 2008 11:53 PM (in response to bobc75)Does limitToList arribute help?
I assume no components are set to always refresh...