Search:

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

Page 1 of 7 1 2 3 4

Search: Search took 0.03 seconds.

  1. You should tell us what exception or problem you...

    You should tell us what exception or problem you have.
    Probably view not found?

    First the InternalResourceViewResolver is never reached since UrlBasedViewResolver will throw an exception if it...
  2. Some years later...

    From the HibernateTemplate docs:By default HibernateTemplate will use the same existing transaction for all the operations. That means that while in a transaction you can call...
  3. Replies
    8
    Views
    2,604

    Well, it's already here in the release candidate....

    Well, it's already here in the release candidate.
    Issues in the final release are just documentation changes, so it's quite safe to start using the RC.
  4. This must be in one of the latest version, isn't...

    This must be in one of the latest version, isn't it? maybe even a nightly snapshot?
  5. Replies
    5
    Views
    3,233

    AjaxTilesView will only execute its part when it...

    AjaxTilesView will only execute its part when it receives an AJAX request, otherwise it will give the request to its parent, TilesView.
    When using an AJAX request you can specify which tile you want...
  6. Replies
    1
    Views
    2,086

    You can easily add your formula as a projection...

    You can easily add your formula as a projection and use it to sort.
  7. Replies
    26
    Views
    10,082

    I guess it's possible to do it. To render only...

    I guess it's possible to do it.
    To render only fragments you have to use a transition in your flow definition, after all. So there must be some way to create a transition that will only render the...
  8. Replies
    26
    Views
    10,082

    Well, webflow had support for this till the 2.0.5...

    Well, webflow had support for this till the 2.0.5 version. It was removed in the 2.0.6.
    The ViewState class would store "webflow.originatingViewState" in the requestScope when it was exited.

    So,...
  9. Well, the error is not completely misleading,...

    Well, the error is not completely misleading, since in fact JdbcTemplate is created when you set a data source.


    public final void setDataSource(DataSource dataSource) {
    if (this.jdbcTemplate...
  10. Replies
    8
    Views
    2,604

    I just answered that in case you didn't try it,...

    I just answered that in case you didn't try it, cause it's not so difficult. Didn't want to be rude.

    You have two options. Download the files latest version and put it in your project or put it in...
  11. I'm not completely sure, but I think you'll have...

    I'm not completely sure, but I think you'll have to use a ResultTransformer, like DISTINCT_ROOT_ENTITY or Transformers.aliasToBean, or something like that.
  12. List userList =...

    List userList =
    getHibernateTemplate().executeWithNativeSession(new HibernateCallback<List>() {
    public List doInHibernate(Session session) throws HibernateException {
    SQLQuery query =...
  13. Replies
    3
    Views
    714

    <form:form modelAttribute="formModel" cssClass="compactForm">
    <table>
    <c:forEach items="${formModel.rows}" varStatus="loop">
    <tr>
    <td><form:checkbox...
  14. Replies
    3
    Views
    1,336

    What I understand is that the @ResponseBody...

    What I understand is that the @ResponseBody annotation takes care of everything as long as the Jackson library is in your classpath and you use the mvc:annotation-driven configuration element.
  15. Replies
    3
    Views
    1,336

    I think your best bet would be Jackson...

    I think your best bet would be Jackson

    The docs are very brief: Json converter

    But you can read more about it the the Spring team's blog: Ajax Simplifications in Spring 3.0

    I, sometimes, use...
  16. This has been answered several times lately....

    This has been answered several times lately.
    Please use the search tool.

    How to provide default values for bean if properties file contains null value
    Not to set a property value with unresolved...
  17. Replies
    26
    Views
    10,082

    If you know its id (You stored it in a variable...

    If you know its id (You stored it in a variable somewhere), you can do this:
    context.execute(new Transition(new DefaultTargetStateResolver(originatingViewStateId)));
  18. Replies
    8
    Views
    2,604

    It is possible.

    It is possible.
  19. <form:select path="myList">
    <c:forEach items="${formModel.listTypes}" var="option">
    <form:option value="${option}" cssClass="${option.active? 'on': 'off'}"><fmt:message key="${option}"...
  20. When using @SessionAttributes, the listed...

    When using @SessionAttributes, the listed attributes are expected to be in the already there in the model before calling any request handling method.
    It can be built by binding a form in a page to a...
  21. You can write your custom exception handler and...

    You can write your custom exception handler and use it in any flow.

    First, your class must implement FlowExecutionExceptionHandler

    public class CustomFlowExceptionHandler implements...
  22. Replies
    7
    Views
    4,377

    Well, in fact, this issue...

    Well, in fact, this issue has already been fixed in the 3.0.3 release.
  23. Well, I really don't understand your problem....

    Well, I really don't understand your problem.
    When you define a variable either you explicitly set its value or let the jvm do it with implicit initialization.
    If you need to give it a value, of...
  24. You don't need to explicitly define all values...

    You don't need to explicitly define all values fit PropertyOverrideConfigurer.
    With a PropertyOverrideConfigurer, you don't use placeholders. You just set the default values for the properties you...
  25. There are two ways of doing this: First, in...

    There are two ways of doing this:

    First, in your flow definition:
    <transition on-exception="some.custom.WrongValueException" to="errorStateId" />

    Second, in a custom exception handler:...
Results 1 to 25 of 157
Page 1 of 7 1 2 3 4