Re: DMI question not setting parameters

2018-06-07 Thread Greg Huber
Would be based on the method name (does not consider the post/get), so with DMI and a ?myMethod refresh, the validator validates without all the necessary data (provided by ongl etc) and fails badly. ie returns to INPUT with all black fields. I have tweaked my DMI interceptor to fail gracefully r

Re: DMI question not setting parameters

2018-06-05 Thread Yasser Zamani
On 6/5/2018 3:25 PM, Greg Huber wrote: > Think is just a check on the logic. > > for a page refresh > > http://www/../edit/myEdit!save.action > > will call the validator, whilst > > http://www/../edit/myEdit.action

Re: DMI question not setting parameters

2018-06-05 Thread Greg Huber
Think is just a check on the logic. for a page refresh http://www/../edit/myEdit!save.action will call the validator, whilst http://www/../edit/myEdit.action does not. If its not a post why validate the form? Guess

Re: DMI question not setting parameters

2018-06-05 Thread Yasser Zamani
On 6/5/2018 2:30 PM, Greg Huber wrote: > I think the logic is OK, but the validator wants to validate the form on > the manual refresh (check for a post?), but the fields on the form have not > been added to the stack, ie all by form.beans are empty when the validator > runs. > > I have logic th

Re: DMI question not setting parameters

2018-06-05 Thread Greg Huber
I think the logic is OK, but the validator wants to validate the form on the manual refresh (check for a post?), but the fields on the form have not been added to the stack, ie all by form.beans are empty when the validator runs. I have logic that checks for a refresh and will show an error messag

Re: DMI question not setting parameters

2018-06-05 Thread Yasser Zamani
On 6/5/2018 1:26 PM, Greg Huber wrote: > I have a form with the below with a button: action:myEdit!save which works > great. > > > .. > type="submit"> > > > > But if I modify the url on the page as below > > http://www/../edit/myEdit!save.action > > and then manually refresh the page, it

DMI question not setting parameters

2018-06-05 Thread Greg Huber
I have a form with the below with a button: action:myEdit!save which works great. .. But if I modify the url on the page as below http://www/../edit/myEdit!save.action and then manually refresh the page, it follows the DMI logic, ie try to call the save method but does not set the parameter