Search:

Type: Posts; User: sureshpw; Keyword(s):

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    1,122

    It depends on how are you reading the spring...

    It depends on how are you reading the spring context file.

    If you in a web application, the resource can be specified as a relative URL

    /WEB-INF/myfile.proeprties

    Or you can put the the...
  2. Replies
    1
    Views
    891

    That is correct. The rules specified in a valang...

    That is correct. The rules specified in a valang validator is applied to the bean at once.

    The AWFC do not call the validate method on the validator. It will just call the template method ...
  3. Replies
    2
    Views
    763

    If you are using Spring MVC form controllers, you...

    If you are using Spring MVC form controllers, you could simply set the validators property of the BaseCommandController.



    <bean id="myFormController" class=".....">
    <property...
  4. Replies
    2
    Views
    976

    this...

    this might help.
  5. Spring provides supports for injecting...

    Spring provides supports for injecting dependencies. You can:

    1. Declare a setter method for the validators property.
    2. Inject the validators using the spring context file.



    public class...
  6. Try with...

    Try with file:${catalina.home}/conf/myProject.properties.
  7. How about overriding the formBackingObject...

    How about overriding the formBackingObject method to return the default criteria?
  8. Replies
    6
    Views
    1,037

    Cant you check the database to see if the results...

    Cant you check the database to see if the results are committed?
  9. Replies
    2
    Views
    1,042

    For Requirement 1 The solution of adding one...

    For Requirement 1

    The solution of adding one more LogoutHandler into the LogoutFilter is one way to handle it.

    What I had done if to configure a...
  10. Replies
    5
    Views
    1,122

    See the PropertyPlaceHolderConfigurer...

    See the PropertyPlaceHolderConfigurer in the Spring Documentation.
  11. Replies
    2
    Views
    7,760

    You could configure a bean implementing...

    You could configure a bean implementing ServletContextAware in your spring context. Then the ServletContext will be injected into the bean.

    -- suresh --
  12. In order to move the page from _target0 (starting...

    In order to move the page from _target0 (starting page) to _target1, you should do a POST.

    The controller checks if the request is a form submission or not. This is controlled by the method...
  13. Replies
    3
    Views
    1,111

    This...

    This might help.
  14. Replies
    5
    Views
    1,035

    If these are simple property values, isnt it...

    If these are simple property values, isnt it possible to use PropertyPlaceHolderConfigurer or PropertyOverrideConfigurer?

    For example:


    <bean id="propertyConfig"
    ...
  15. How to handle Ajax session timeouts in Acegi

    Just wondering what would be the right approach to handle session timeouts during AJAX when the web application is protected by Acegi?

    The web application is configured to use a typical setup, if...
  16. If you just wants to get the servlet context,...

    If you just wants to get the servlet context, cant you use ServletContextAware class?
  17. Replies
    8
    Views
    1,411

    Great. As with any Ajax component, make sure...

    Great.

    As with any Ajax component, make sure to handle session expiry when the user clicks on the component.

    -- suresh --
  18. That is right. The spring.vm is to use within a...

    That is right. The spring.vm is to use within a web application.
  19. Does it? Of course, the velocity engine will...

    Does it?

    Of course, the velocity engine will be able to find the spring macro template (spring.vm), if specified using the velocimacro.library property.

    But when looked closely, the spring...
  20. Havent tried, but will this work?

    Havent tried, but will this work?



    <bean id="velocityEngine"
    class="org.springframework.ui.velocity.VelocityEngineFactoryBean">
    <property name="velocityProperties">
    ...
  21. Replies
    8
    Views
    1,411

    If you could get all the entries in master and...

    If you could get all the entries in master and slave drop down lists to the UI, it may be possible to use dynamic javascript to filter the two list boxes.

    Then you can setup the dynamic option...
  22. Replies
    2
    Views
    1,294

    Try setting your filter-class to...

    Try setting your filter-class to org.acegisecurity.util.FilterToBeanProxy in the web.xml.

    -- suresh --
  23. Replies
    4
    Views
    1,028

    To add valang validations to your existing spring...

    To add valang validations to your existing spring application, as far as I know, you only need the jar file mentioned above.
  24. Replies
    4
    Views
    1,028

    What you will need is...

    What you will need is spring-modules-validation.jar to use validations.

    First of all, configure your controller with validators like:


    <bean id="personController" class="....">
    <property...
  25. Replies
    10
    Views
    1,713

    No problem. As you already know, Spring doesnt...

    No problem.

    As you already know, Spring doesnt require to create a new object to support a form.

    Ideally, you would want to have your form beans separate from your persistent entities. The form...
Results 1 to 25 of 35
Page 1 of 2 1 2