I fixed it. Thanks for your help.
It is as simple as you need to bind to the item on the form to display the error with #springBind or you just put the springShowErrors close the item and it gets...
Type: Posts; User: roberto.bouza; Keyword(s):
I fixed it. Thanks for your help.
It is as simple as you need to bind to the item on the form to display the error with #springBind or you just put the springShowErrors close the item and it gets...
So finally the solution is (if you read well the view docs):
"showErrors (simplify display of validation errors for the bound field)" as it says BOUND to a field... so the macro showErrors should...
Gnandiga,
If you also have a solution culd you please let me know.
Thank you.
Nidhin
How did u solve this? I'm still having the same issue.
Hello everyone.
By some reason I cannot get to work the BindingResult on the POST of my form. I can submit the form I see the validator being executed, I can see the errors being added and even...
Thanks to help of the spring guys I was able to fix this issue.
Is pretty simple actually when you look at it. The only way to try to map something like that and knowing that PathVariable is...
Ok,
After a while I fixed this adding to the context.xml
<bean class="org.springframework.web.servlet.mvc.support.ControllerClassNameHandlerMapping"/>
<bean...
Hello everyone,
I'm having this issue that I can't seem to solve, let me show you. I have this method on my controller:
@RequestMapping(value = "/inventory/pepe/{firstName}/{lastName}",...
Anyone could help me with this?
This is what I have on my controller:
[at]Controller
public class InventoryController {
protected final Log logger = LogFactory.getLog(getClass());
private ProductManager...
Hello everyone,
I'm trying to use the PathVariable annotation so I can construct URIs with parameters... I'll have to add the rest after this post, the system doesn't let me add the [CODE]!!!
-...