• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Form Action

 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I defined a form in this way:



In the file urlPattern.properties I defined:


In the moduleMappings.properties I defined:


When I click on the button the submit is executed and I receive the message:

HTTP Status 404 -

description The requested resource () is not available.


What do I wrong?
If I set the button type as button (and not as submit) and I call a function on click, in this way:



In this way the corect Action is invoked (after I have set in urlPattern.properties: importaUtenti.inserisciUtenti.0 = ).
why?
Another problem is the upload of the file in the form (as I said in a previous topic).

Could someone help me?
Thanks, bye bye.
[originally posted on jforum.net by abdujaparov]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not totally sure but I don't think you can mix the "URL" format with the parameter format. Try:

.../importaUtenti/inserisciUtenti/<group_id>/<fileUtenti.value>.page

Where group_id is just the number and fileUtenti is what ever that value is.

Also, the module and parameter files are cached in memory. You'll probably have to restart jforum anytime you make a change there.
[originally posted on jforum.net by monroe]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic