Search:

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

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    1,044

    I might have misused the EntityManager, thanks...

    I might have misused the EntityManager, thanks for noticing, I've previously used old JpaTemplate and JPA1.0 and haven't had a decent bite in JPA2.0 documentation yet, my bad.

    So the transaction...
  2. Replies
    7
    Views
    1,044

    ok, so the interface hierarchy is quite complex,...

    ok, so the interface hierarchy is quite complex, but here it is:


    public interface GenericService<T, PK extends Serializable> {

    @Transactional(readOnly = false, propagation =...
  3. Replies
    7
    Views
    1,044

    I do know what code tags are for, though from the...

    I do know what code tags are for, though from the amount of code psoted in raw text I understand precautions:)

    test-config.xml

    <?xml version="1.0" encoding="UTF-8"?>
    <beans...
  4. Replies
    7
    Views
    1,044

    Transaction management issue

    I have some issues with transaction management and testing.

    If inside the test I get to EMF and perform em = emf.createEntityManager and from obtained EntityManager i start the transaction...
  5. at least your rows are inserted, mine won't even...

    at least your rows are inserted, mine won't even insert. Persist and merge won't throw any exceptions, transaction is commited but no inserts are made. Anyone knows why?
  6. I have a similar problem and cannot find any...

    I have a similar problem and cannot find any accurate answer to it (search won't help, I cannot find answer in documentation too), so your help will be appreciated, though I understand I might miss...
  7. DataSource as OSGI service on dm server 2.0.2

    I've recently switched to dm server 2.0 and have tried to configure datasource for one of the project modules as osgi service. I've used
    <bean id="suDataSource"...
  8. Replies
    11
    Views
    2,734

    Did you try the following: 1. Before running...

    Did you try the following:

    1. Before running the application right-click on the project and go to Google > Web Toolkit Setting. Ensure that you have Use Google Web Toolkit enabled and 'Use default...
  9. Replies
    11
    Views
    2,734

    I did test it with both and in fact I got it in...

    I did test it with both and in fact I got it in firefox too, but only on startup (on page load), and error was only displayed in console, no sign of it in browser.
    I was referring to the problem...
  10. Replies
    11
    Views
    2,734

    there seems to be an issue within chrome and this...

    there seems to be an issue within chrome and this app - as I run it in chrome I get the mentioned error, but under firefox everything works fine.

    A bit ironic that GWT app won't work properly in...
  11. Replies
    0
    Views
    791

    Check for modifications during binding

    I wonder if anyone has solved that issue - I need to find out if any of fields that are bound to view have been modified (for example I have a form with a model object behind it and I want to check...
  12. Replies
    0
    Views
    932

    problem with hibernate + web flow binding

    This might ba a bit lame but I'm experiencing some problems with joining hibernate mapped classes and web flow 2.0. When fetching object i get java.lang.ClassNotFoundException...
  13. Replies
    0
    Views
    420

    Issue with binding to a model

    I have some problem with binding to a model (using Web Flow 2.0.8).

    What I do is here:

    <form:form modelAttribute="uploadDocumentsBean">
    <c:forEach items="${uploadDocumentsBean.documents}"...
  14. Thread: Beans and JSP

    by fungin
    Replies
    8
    Views
    826

    No answers there. Thank you for your help anyway.

    No answers there. Thank you for your help anyway.
  15. Thread: Beans and JSP

    by fungin
    Replies
    8
    Views
    826

    the problem is I do have to use MVC+Web Flow and...

    the problem is I do have to use MVC+Web Flow and I am running out of time. I do understand basic concepts and I had no problems with that until I've tried to do what I've described above. Whatever I...
  16. Thread: Beans and JSP

    by fungin
    Replies
    8
    Views
    826

    5 days of google'ing, hundreds of posts/pages...

    5 days of google'ing, hundreds of posts/pages read and still no answer, it seems to me that mvc declared bean while used as a model in a webflow might be inaccessible fo forEach statement and for...
  17. Thread: Beans and JSP

    by fungin
    Replies
    8
    Views
    826

    I should use controller to add an MVC declared...

    I should use controller to add an MVC declared bean to one of flow scopes? I don't fully understand the question so maybe I'll just post the config xml's.

    webflow-config.xml


    <?xml...
  18. Thread: Beans and JSP

    by fungin
    Replies
    8
    Views
    826

    Beans and JSP

    This might sound a lame question but how do I refer to the beans I have declared in the MVC configuration file with <bean ... /> tag?
    Can I use them directly with jstl core tags or do I have to use...
  19. Replies
    2
    Views
    1,399

    Problem is back

    I am really sorry to double-post but due to some fatal mistake I've lost my working copy in which I have found the solution to the problem. Dudeto the fact that I worked late at night and was very...
  20. Solved!

    ok, my fault, I have made some changes to the code and discovered that update of Web Flow library to 2.0.8 solves problem with mapping (thefre was an issue with using bean both as bind model and in...
  21. Replies
    2
    Views
    1,399

    Similar problem

    FIXED!
    OK, my fault, I have made some changes to the code and discovered that update of Web Flow library to 2.0.8 solves problem with mapping (thefre was an issue with using bean both as bind model...
  22. should do the trick but it does not:/ maybe it...

    should do the trick but it does not:/ maybe it has something to do with the use of WebFlow. All I am trying to get is a page looking like this:

    Your diplomas:

    First diploma teaser <edit>...
  23. Iteration through bean property type ArrayList

    I have a bit of a problem with performing actions on bean properties. Here is the problem:

    I have a class looking like this:



    public class EducationBean implements Serializable {

    private...
Results 1 to 23 of 23