Search:

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

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Replies
    3
    Views
    3,068

    Hi I gave up this and used a 3rd party sms...

    Hi
    I gave up this and used a 3rd party sms gateway that was able to post to our webserver using http

    Best regards
    Per-Jarle
  2. Replies
    1
    Views
    490

    Web MVC - Javascript

    Hello all
    I am trying to make a google map containing markers for all our reference sites.

    My controller returns a ModelAndView containing a List of all the coordinates



    /**
    Coordinate...
  3. Replies
    1
    Views
    663

    Noone that knows a sollution on this one?

    Noone that knows a sollution on this one?
  4. Replies
    1
    Views
    663

    Need help with SimpleFormController

    Hello
    I am having a problem which probably have an easy sollution.



    public class OrderCommand {
    private Long productId;
    private int quantity;
    private String action;
    private...
  5. Replies
    4
    Views
    4,326

    And if i put the attribute tabindex="-1" in...

    And if i put the attribute tabindex="-1" in addition, the field will be unawailable both from tabs and mouseklicks :)
  6. Replies
    4
    Views
    4,326

    Found sollution

    Hello
    I found out that i could use a "readonly" field instead.

    This makes it cleaner since i can avoid hidden fields.

    The drawback is that when using the tab key, it will stop at the readonly...
  7. Replies
    4
    Views
    4,326

    MVC spring:bind with disabled input field

    Hello
    In one of my forms, i have a textfield for zipcode and a disabled textfield for city.

    When the user writes a zipcode, there is an Ajax script which does the lookup to find the right city....
  8. Replies
    3
    Views
    1,912

    Where to put business logic (Spring MVC)

    Hello
    I am strugling to find the right place to put my business logic.

    Example:
    I have a form registerCustomerContact.jsp

    Country: _____________V (Dropdown)
    Company:_____________V...
  9. Excellent :) Thank you very much for your help...

    Excellent :)

    Thank you very much for your help

    Best regards
    Per-Jarle
  10. Can i use that method directly from the onSubmit...

    Can i use that method directly from the onSubmit method and then pass the locale as parameter to the service method?

    Since it's a static method, how can i be sure that the locale it return is the...
  11. I'm not sure if i understand what you mean Can...

    I'm not sure if i understand what you mean

    Can you give me a short example?

    Best regards
    Per-Jarle
  12. For instance when signing up for the...

    For instance when signing up for the application...

    The user register himself at the signup page:


    User register itself at the signup page (SimpleFormController)
    The SignUpController...
  13. Transfering internationalization between web layer and service layer

    Hello
    I am using Spring MVC in my web application.

    The architecture for the application is quite straight forward with the following layers:

    web front (Web MVC)
    Service layer
    Repository
  14. Replies
    0
    Views
    460

    Problems with one-to-many relations

    Hello
    I have a problem when using one-to-many-relations where i have cascade-persist and cascade-merge

    I'm not sure if this is a Hibernate og Spring related problem, so i have also posted this on...
  15. Replies
    3
    Views
    3,068

    Integration using SMPP

    Hello
    I am working with a system that will talk to an external system by sending and receiving sms messages.

    We have a SMPP connection to our mobile service operator.

    I plan to use an open...
  16. Hello I went for a sollution with two queries...

    Hello
    I went for a sollution with two queries instead of one.

    Thanks for helping me

    /Per-Jarle:)
  17. Hello I tried to follow what they said on the...

    Hello
    I tried to follow what they said on the page you tipped me about, but i get a ClassCastException.

    I definately think this is close to the sollution.
    When debugging in Eclipse, Eclipse is...
  18. Hibernate / Spring: query for two types of objects in a query

    Hello
    I need some help with a case

    Superclass specified as mapped-superclass in orm.xml:


    public class SMS {
    private String message;

    public void setMessage(String message){
  19. Replies
    3
    Views
    959

    My bad

    Hello
    When traversing and logging out all parameters for the request, i found that the id was set to null in the get-request when rendering the form.

    So problem is solved, but thanks for your...
  20. Replies
    3
    Views
    959

    Hello, and thanks for your answer :) It makes...

    Hello, and thanks for your answer :)
    It makes sense that formBackingObject is called both on rendering and submitting.

    I got that documentet in my log when adding the request method to my log...
  21. Replies
    3
    Views
    959

    Binding problem spring:bind

    hello
    When using spring:bind tag on a pre-initiated object (customer), do i have to bind all the values for that object? :confused:

    I have a Customer object which i load from the repository in...
  22. Which method should i override (SimpleFormController)

    Hello
    I'm new to the Spring MVC, but i've managed to come quite far in my workflow.

    Now i'm facing a problem which i don't see the sollution for.

    I have created a controller and view for a...
  23. Replies
    0
    Views
    855

    Spring MVC adding objects to collections

    Hello
    I am looking for a sollution on how to add items to a collection.

    Example:


    public class Order {

    private List<OrderLine> orderLines = new ArrayList<OrderLine>();
  24. Replies
    0
    Views
    650

    Transactions over RMI

    Hello
    I'm working on an application which i forsee will have some problems.

    I'm using Hibernate's JPA implementation for persistence and Spring for configuring.

    The server side of the...
  25. Replies
    2
    Views
    3,565

    JPA - Serialize entity with lazy loading

    Hello all
    I wonder what the best approach for doing the following is.




    public class OrderLine implements Serializable {

    private int id;
    private Product product;
Results 1 to 25 of 38
Page 1 of 2 1 2