• Post Reply Bookmark Topic Watch Topic
  • New Topic

'oncomplete' problem while running request to a servlet  RSS feed

 
Dmitriy Kastikovich
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello.

I have a A4J form with inputFileds.
And a button:




So, when I press button, new window appears, but after request it closes itself without any questions.
If I change oncomplete to onclick, then all is OK, except that no data from fileds are setted to managed bean.

Thanks.
 
nitin pokhriyal
Ranch Hand
Posts: 263
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
just a wild guess.. try "return true" keyword in js function.
 
Dmitriy Kastikovich
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
nitin pokhriyal wrote:just a wild guess.. try "return true" keyword in js function.


nothing changed...
please, see WAR file:

http://upload.com.ua/get/901049747/?mode=free
(enter numerical CAPTCHA and press green button, wait for a 1 min)

to run: http://127.0.0.1:8080/test/pages/reports.jsf
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!