Re: [play-framework] Abridged summary of play-framework@googlegroups.com - 34 Messages in 23 Topics

97 views
Skip to first unread message

Santiago López

unread,
Oct 14, 2013, 3:45:01 PM10/14/13
to play-fr...@googlegroups.com

udffftw2âŸjklppllloug

El 14/10/2013 20:03, <play-fr...@googlegroups.com> escribió:

Group: http://groups.google.com/group/play-framework/topics

    Ricardo Sacramento <card...@gmail.com> Oct 14 04:26AM -0700  

    Anyone can help me?
     
    Em domingo, 13 de outubro de 2013 03h36min40s UTC-3, Ricardo Sacramento
    escreveu:
    ...more

    Back to top.

    Jose Alfonso Mora Lores <josealf...@gmail.com> Oct 14 07:22AM -0700  

    At App/Global.java try this:
     
    *import static play.mvc.Results.*;*
    *
    *
    @Override
    public Result onHandlerNotFound(RequestHeader request) {
    return ...more

    Back to top.

    Ricardo Sacramento <card...@gmail.com> Oct 14 09:43AM -0700  

    This is for 2.1.
     
    Similiar code I have posted.
    I need for play 2.2
     
    Em domingo, 13 de outubro de 2013 03h36min40s UTC-3, Ricardo Sacramento
    escreveu:
    ...more

    Back to top.

    Guillaume Bort <guillau...@gmail.com> Oct 14 07:05PM +0200  

    I guess that `onHandlerNotFound` now returns a Promise<SimpleResult>. You
    can create a direct successful promise of result using Promise.pure(...)
     
     
     
    --
    Guillaume Bort, @guillaumebort ...more

    Back to top.

    Xipe Totec <ashra...@gmail.com> Oct 14 09:34AM -0700  

    No one who knows a basic tutorial?
     
    Il giorno lunedì 9 settembre 2013 13:47:13 UTC+2, Xipe Totec ha scritto:
    ...more

    Back to top.

    ita...@code972.com Oct 14 09:02AM -0700  

    Hi,
     
    I'm starting a PoC with Play 2.2.0 and having some pain points with the way
    sync/async Results are returned in Java.
     
    Consider the following:
     
    public static F.Promise<Result> ...more

    Back to top.

    Otto <ottovonw...@gmail.com> Oct 14 08:32AM -0700  

    Hm,
     
    I've tried that and the callstacks seem to be similar, screenshots
    attached. This error occurred after the update to 2.2.
     
    Otto
     
    On Friday, October 11, 2013 4:10:58 PM UTC+2, Otto wrote: ...more

    Back to top.

    Sushi <stoe...@gmail.com> Oct 14 07:04AM -0700  

    Hi all,
     
    I am trying to fill data into a form...
    In my client I have
     
    public static Result editIndex(Long id) {
    Form<Client> clientForm = Form.form(Client.class).fill(Client.find. ...more

    Back to top.

    Sushi <stoe...@gmail.com> Oct 14 07:17AM -0700  

    Hi all,
     
    so according to another post I could figure out that we now (since play
    2.2) need getters and setters...
    When I add them to my client model class than the error mentioned above is ...more

    Back to top.

    Joost de Vries <joost....@gmail.com> Oct 14 05:10AM -0700  

    I've got a Play 2.1.x application that is broken up in 3 subprojects and a
    root aggregate project.
    It seems that FakeApplication doesn't find the application.conf file.
    I've tried using sbt keys ...more

    Back to top.

    J <jes...@tray.io> Oct 14 12:56AM -0700  

    Hi,
     
    Since upgrading to play 2.2 when I run stage (or dist) I get the following
    error
     
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1 ...more

    Back to top.

    Johan Andren <johan....@mejsla.se> Oct 14 03:55AM -0700  

    Looking at line 236 in the play sbt plugin sources it seems to loop over
    files ending with 'routes', something special with the stuff in your conf
    directory?
    ...more

    Back to top.

    J <jes...@tray.io> Oct 14 04:23AM -0700  

    Just the routes file and a few other conf files, some of which are symlinked
     
    application.conf
    cluster.xml
    logconfig.xml
    play.plugins
    prod.conf
    routes
    shared.conf -> ...more

    Back to top.

    Andreas <web...@gmail.com> Oct 14 04:22AM -0700  

    Bom dia Marcos,
     
    looks actually like the concept needed in Play2@JPA!! Thanks a lot for your
    input!
     
    The only thing we would add is a possibility to add criterias in brackets ...more

    Back to top.

    Akshay Bhatt <akshay...@gmail.com> Oct 14 04:18AM -0700  

    I have been trying it for sometime and I have to create view for complex
    frontend application. This looks like I am able to send array list like:
     
    In Controller :
     
    ArrayList<String> cname = new ...more

    Back to top.

    Dark Rider <johns...@gmail.com> Oct 13 11:43PM -0700  

    Using Play 2.1 Java version
     
    I have a simple form
     
    <div class="row">
    <div class="col-md-6">
    @inputText(userForm("usercode"), args = 'placeholder -> "User Code",'class
    -> "form-control ...more

    Back to top.

    Mustafa Dumlupinar <dumlup...@gmail.com> Oct 14 12:45PM +0300  

    Sorry My English is bad.
     
    In your controller (here is BankController)
     
    Step 1: You have yo define a form handler, like this;
    private final static Form<Bank> dataForm = form(Bank.class);
    ...more

    Back to top.

    marchaos <marc...@gmail.com> Oct 13 10:31AM -0700  

    Hey,
     
    I'm using the CSRF Filters for forms. I'm wondering if there is a way to
    configure it so that it uses a hidden field rather than a query string
    parameter? I don't wish to have to token ...more

    Back to top.

    Thomas W <twhitm...@gmail.com> Oct 13 09:04PM -0700  

    Normally binding should "bind into" an entity which has been retrieved from
    the database? Without having retrieved it already, there is no VERSION
    stamp.. and hence no locking.
    ...more

    Back to top.

    Manoj Prasanna Handapangoda <hmd...@gmail.com> Oct 13 07:46PM -0700  

    Great, the used with <,> worked for me.
    Thanks.
     
    On Sunday, October 13, 2013 10:14:49 PM UTC+8, Justin Lee wrote:
    ...more

    Back to top.

    Carlos Feliz <kale...@gmail.com> Oct 13 07:20PM -0700  

    Has this been resolved in 2.2? I'm having this problem using play 2.2
    Iteratees outside of play and can't seem to figure out how to shutdown
    without system.exit().
     
    On Saturday, January 5, 2013 ...more

    Back to top.

    Christopher Hunt <christop...@typesafe.com> Oct 13 03:34PM -0700  

    Hey guys,
     
    Play 2.2 uses the sbt-native-packager - you may get more mileage by
    consulting its docs and raising issues with the project there.
     
    However if you don't get a good outcome then please ...more

    Back to top.

    David Weinberg <thym...@gmail.com> Oct 13 03:11PM -0700  

    I don't know how MongoDB works, but in an RDBMS, it's not the DML that's
    causing the problem, but the concurrent DDL that might be on the same
    tables. As 奥村 says, you can try to make it ...more

    Back to top.

    Jari Pennanen <cia...@oksidi.com> Oct 13 11:21AM -0700  

    Sorry, been trying to find a solution for few hours but as soon as I posted
    this I figured it out:
     
    ?(__ \ 'invoiceRows)(Reads.of[JsArray] keepAnd Reads.list(invoiceRowJson))
    ...more

    Back to top.

    Pascal Voitot Dev <pascal.v...@gmail.com> Oct 13 09:40PM +0200  

    > ).reduce
     
    > See the PSEUDO code line (I've made up the Reads.arr). The problem: how
    > can I do the reading of array of JsObjects of certain Reads?
     
    Can you try this?
     
    val invoiceJson = ( ...more

    Back to top.

    Jari Pennanen <cia...@oksidi.com> Oct 13 01:01PM -0700  

    On Sunday, October 13, 2013 10:40:29 PM UTC+3, Pascal wrote:
     
    > Can you try this?
     
    Hey, that works too. Thanks.
     
    Pascal, Do you know if it's possible to validate e.g. foreign key (which ...more

    Back to top.

    Pascal Voitot Dev <pascal.v...@gmail.com> Oct 13 10:44PM +0200  

    > f
    > }
    > }
     
    Actually, you must deal with Reads[Future[JsValue]] and manage it yourself!
    Json transformers don't work with it!
     
    Maybe you should do it in 2 steps... ...more

    Back to top.

    Danny <danny...@gmail.com> Oct 13 01:34PM -0700  

    thanks Johan,
     
    that was correct advice, the second error was indicating that the jre had
    no access to the certificate and the solution is to get the certificate (in
    my case I used Chrome to ...more

    Back to top.

    Holger Burde <hbur...@googlemail.com> Oct 13 01:12PM -0700  

    Hi;
     
     
    Ok i resolved the error by adding javaJpa to Build.scala and now this error pops up:
     
     
    javax.persistence.PersistenceException: No Persistence provider for EntityManager named true
     
     
    ...more

    Back to top.

    notalifeform <notali...@gmail.com> Oct 13 12:46PM -0700  

    Hi,
     
    The issue has been resolved in 1.3.x/master.
     
    regards,
     
    Robert
     
    On Sunday, September 29, 2013 3:49:38 PM UTC+2, Carl wrote:
    ...more

    Back to top.

--
You received this message because you are subscribed to the Google Groups "play-framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framewor...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Reply all
Reply to author
Forward
0 new messages