• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

'oncomplete' problem while running request to a servlet

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 263
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
reply
    Bookmark Topic Watch Topic
  • New Topic