in this case both fields are in the same context. I have a plain <form> and two hidden fields (same data type) in the same form. one works and other doesn't, which i find a bit weird.
Type: Posts; User: sanjay.dahiya; Keyword(s):
in this case both fields are in the same context. I have a plain <form> and two hidden fields (same data type) in the same form. one works and other doesn't, which i find a bit weird.
I am not able to find the reason for following behavior, can someone shed some light?
Some hidden fields work fine like following.
<spring:bind path="commandObj.field">
<input...
The problem seems to be with valang's generated javascript for validating form fields. It throws an exception for any other input type than listed.
wonder if no one else faced it and if there is a...
I should have given more details, sorry.
The problem is that if the form contains a file input field, the client-side validation with valang doesnt work on any of the *other* fields and invalid...
If i include an input type="file" in my form then valang validation doesn't work and invalid values are let through. Has anyone seen this before ? or am I doing something wrong.
Here is the code...
yes, it works after using a delegate bean.
Thanks!
Yes, Annotating any method on the InitializingBean doesnt seem to start the transaction.
The code is pretty simple actually. I have a few service layer beans which have some methods annotated with @Transactional and in those methods the session is shared as is expected so I can fetch an...
I am using spring mvc +hibernate
I use @Transactional annotation with OSIV and everything works well in the webapp. but I also have an InitializingBean which gets and updates some objects from...
I agree that "calendar.publishers" is a logical role, but in this case there are multiple calendars within same application and each calendar needs to have its own auth system. so same user can have...
Apologies again for the confusing details, I will try to explain better
A community in this system can contains multiple applications and multiple user groups. As a community owner one should be...
actually this is a common requirement in typical internet community-like applications ( yahoo groups/orkut etc ).
There are multiple communities in this system, where each community has admins and...
thanks for the help,
I have (in a custom database) the users,groups and the actions these groups are allowed to take in different parts of the application. All parts of this auth system can grow...
got it working, I recreated from scratch again and its working now. Still not sure what was the error.
Apologies for the formatting, I edited the original post.
Yes the userManager bean is defined in the context elsewhere and its available here as well ( otherwise the context will fail to initialize...
I started with acegi tutorial and changed 3 things
1. Path to the login page.
2. userDetailsService
3. secure URLs.
Now It takes me to the login page when trying to access a protected page,...
I am trying to implement an authorization mechanism like typical community, where we have many community and user can be part of more than one communities and play a different role in each of these. ...
I want to mix client side and server side validation in a page. On the server side validator, it need to get a handle to a service bean and do the validation. Since there are no default constructors...