Search:

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

Page 1 of 6 1 2 3 4

Search: Search took 0.06 seconds.

  1. I've done that before, but it required adding a...

    I've done that before, but it required adding a spring context to the portal container (I used liferay and added an initialization hook) and then referencing it from every WAR. However, for...
  2. I agree, I would like to see a definitive on this.

    I agree, I would like to see a definitive on this.
  3. Multi-threaded (partitioned step) batch summary processing advice needed

    Hey guys,

    I've been reading over some of the Spring Batch related documentation and have a couple of questions regarding a job flow. Take the following as truth:

    --

    A batch job where...
  4. Franklin, You still need to write a validator;...

    Franklin,

    You still need to write a validator; personally, I implement the org.springframework.validation.Validator interface and then use the commons-lang static classes (StringUtils,...
  5. Absolutely! For example: final MyObject...

    Absolutely! For example:



    final MyObject myObject = new MyObject("some random class");
    final MyObjectValidator validator = new MyObjectValidator();
    final BindException errors = new...
  6. wgoldman, Naming the view resolvers allows you...

    wgoldman,

    Naming the view resolvers allows you to have multiple (possibly chained) view resolvers that your web application can use.

    If you do not name it, one is pulled from the context by...
  7. Replies
    3
    Views
    3,003

    ilyaskorik, I could be wrong, but I think you...

    ilyaskorik,

    I could be wrong, but I think you need to have the params indexed. Such as:


    http://localhost/?id[0]=uuid&id[1]=uuid

    instead of
  8. Replies
    1
    Views
    2,546

    org.springframework.beans.factory.BeanCreationExce...

    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactoryPg' defined in ServletContext resource [/WEB-INF/ApplicationContext.xml]: Invocation of...
  9. sudeepj2ee, I've seen this in some of my unit...

    sudeepj2ee,

    I've seen this in some of my unit tests because I did not have a transaction manager for the unit tests nor was I committing the DB transaction. Beyond that, not sure.

    HTH,
  10. lcmorley, You have a few different options...

    lcmorley,

    You have a few different options available at your disposal.

    The easiest would be to create the attribute you need as a bean in your Spring context named the value of Resources.STOCK...
  11. Can you post your transaction manager config and...

    Can you post your transaction manager config and any relevant xml (use the [ code ] tag)?
  12. Replies
    2
    Views
    1,016

    Try using a / before your prefix like so: ...

    Try using a / before your prefix like so:



    <!-- 1.View Mapping -->
    <bean class="org.springframework.web.servlet.view.InternalResourceViewResolver">
    <property...
  13. Replies
    4
    Views
    1,089

    I've always used a custom date editor, not sure...

    I've always used a custom date editor, not sure if that's the best way, but it seems to be the easiest.
  14. venletine, That's what the @ModelAttribute...

    venletine,

    That's what the @ModelAttribute for ;-)



    @Controller
    @RequestMapping("/test.do")
    public class BaseClassController {
    @ModelAttribute
  15. montoya, I'm not sure how you're attempting to...

    montoya,

    I'm not sure how you're attempting to create your beans, but you should be able to specify the lazy-init="true" property for your data source and it's collaborating beans which would...
  16. blaf, Doesn't it work like ...

    blaf,

    Doesn't it work like



    @RequestMapping(value = "/edit")
    public String edit(@RequestParam MyCommandObject object) {
    ...
    }
  17. Replies
    1
    Views
    776

    Looks to me like it can't find your mapping...

    Looks to me like it can't find your mapping resource, which looks like you have on the classpath. If I remember correctly, unless you prefix your classpath resource with classpath:* it won't check...
  18. Replies
    1
    Views
    750

    dasvestis, I don't see why not. If you're...

    dasvestis,

    I don't see why not. If you're using a ModelAndView you can perform any validation you'd like and inject the errors object into the view from the controller.

    ie



    ...
  19. Problem installing to Eclipse 3.4 from Update Site

    I have been trying to install Spring STS into Eclipse 3.4 and have added the update site, but when I try to install from it I get an error, as shown below.


    No repository found at...
  20. Replies
    5
    Views
    1,022

    johnrowles, I've encountered similar behavior...

    johnrowles,

    I've encountered similar behavior in the past, and it was due to poor performance of the default JDK proxy methods. I don't remember what the scenario was exactly, but I remember...
  21. Sprang, I got nothing; it's an easy thing to...

    Sprang,

    I got nothing; it's an easy thing to determine if they are internal or not, but AFAIK, without some custom LDAP entries and dedicated IP -> SINGLE USER translation, I do not believe this...
  22. Seems to me you're missing an annotation url...

    Seems to me you're missing an annotation url mapping handler...

    See:
    ...
  23. Sprang, There are many different options with...

    Sprang,

    There are many different options with varying levels of complexity. Are you looking for Single Sign On support, such as using their desktop credentials? Is it sufficient to simply bind...
  24. Replies
    6
    Views
    2,012

    You could try adding the portletMode to your...

    You could try adding the portletMode to your <portlet:renderURL/> tag like:



    <portlet:renderURL var="viewProfUrl" portletMode="view">
    <portlet:param name="action"
    ...
  25. Replies
    1
    Views
    1,266

    agil, Most of the time I've encountered Spring...

    agil,

    Most of the time I've encountered Spring not supported by a third party hosting company it's because they've deliberately turned off required Java features such as reflection and direct file...
Results 1 to 25 of 143
Page 1 of 6 1 2 3 4