• 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

JSF, strange form action generated

 
Ranch Hand
Posts: 42
Android Google Web Toolkit Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello all,

I'm having a problem with the JSF form action.

My spring controller is mapped to /users/form.html GET and POST requests:



But JSF generates an action to "/www.appletree.be/WEB-INF/views/en_GB/users/form.html":



So my controller doesn't pick up the action of the form.

If I use firebug to change the action (in firefox) to /users/form.html the action does get picked up as it should by my controller.

I'm using Spring Web Flow btw to my flow handling but I guess this hasn't got anything to do with my issue.

All tips more than welcome since I'm a bit lost here!

Thanks in advance and have a nice day!
 
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I would suspect Spring rather than JSF. It is Spring who specified the form action and passed it to the JSF. Try a Spring forum.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic