I'm trying to configure textmate with Play! and I keep getting this error when I use the model shortcut
/Users/bennett/Library/Application Support/TextMate/Pristine Copy/Bundles/Play!.tmbundle/Support/bin/model.py: Permission denied
Can anyone make heads or tails of this? some ... |
Apparently I don't understand Play's routing as well as I thought. I was trying to get the url for a form looking the way I want, and I'm getting StackOverflowError ... |
I am getting this error when I am simply trying to run play command from command prompt in windows.
C:\Users\naveenreddy>play
Traceback (most recent call last): File "E:\andrew\structure\play-1.2\play", line 13, ...
|
In the play framework documentation, there are two different ways to handle an action with validation errors :
- Redirect to the index (validation section of the documentation) :
...
|
I upgraded from 1.1.1 to 1.2.1 and I seem to be getting the following exception when it attempts to connect to MySQL:
The last packet sent successfully to the server was 0 ...
|
I have really simply domain model in scala:
package models
import org.joda.time.DateTime
import com.google.code.morphia.annotations.Entity;
import play.data.validation.Required;
import play.modules.morphia.Model;
@Entity
class User(@Required val cid: String, val isAdmin: Boolean = false, @Required val dateJoined: DateTime = new DateTime() ) extends ...
|
My question refers to validation in a Model class.
I know how to basically do validation, but I've though got a question about it.
I'd like to now if it is possible to ... |
|
I am getting error while doing 'play run'
"Could not execute the Java executable, please make sure the JAVA_HOME environment variable is set properly (the Java executable should reside at JAVA_HOME/bin/java)." ... |
I am new to morphia, mongoDB and playframework. I am trying to use these for production. My code was working just fine the last time i run it last week. This ... |
I'm working with tags in the Yabe tutorial and am running into an issue with my initial-data.yml
I already confirmed it's likeness to the samples version stopping just short of a copy ... |
I am tying to get started with "Play Framework" on Unix . I tried the Yabe example on play web site. That says use play new yabe to create a play ... |
I'm using Play framework and phpmyadmin. When I run my application it crashes with this error:
Database error
A database error occured : Cannot connect to the database, An attempt by a ... |
I have the following code:
public void doJob() {
MyObj s;
for ( Object o : MyObj.all().fetch()) {
s ...
|
I want to build an application where forms are submitted via Ajax without a complete page reload. To display server-side validation errors the server should return validation errors as JSON and ... |
Getting below error while starting the application.
*Cannot parse the /conf/initial-data.yml file: mapping values are not allowed here*
Can anyone please tell me wht exactly this error mean ?
I am not able ... |
While trying to execute the tests on my project in play framework ? getting error :
Not found
GET /@tests
*These routes have been tried, in this order :
GET ...
|
Using Play Framework, I was wondering if it was possible to load some vars in the template like I do in other controllers.
I mainly think about my "STATIC_URL" var that contains ... |
i just playing java with Play Framework tonight, it is easy and then i get this error: http://twitpic.com/7665ys. i have changed the script and refreshing the website but there's ... |
So I installed the greenscript-1.2.6k module for my Play 1.2.3 server according to the documentation.
When I startup the server and hit one of the pages this is the error I get:
... |
I'm having a little problem with command "play test" or "play auto-test"...The first command gives me something like this:
My-heaven:jobboard Droid$ play test
~ _ ...
|
I'm trying to follow Play!'s documentation for validation. I have a controller with 3 actions:
- add() - an "add website" form
- added() - called when the add form is submitted, does ...
|