Hello,
I probably miss the understanding on how to do it. I am trying to test the result of an actor, the actor pushes messages into a PushEnumerator. I have simplified the usecase to just a few lines of code.�
These are the element and the iterator I use in my test:
� � � case class TestElement(name:String)
� � ��
� � � val consumer = Iteratee.fold[TestElement, List[TestElement]](List.empty) {
� � � � (
I am trying to customize default views. So i made a plugin (almost copy paste from http://securesocial.ws/guide/views-customization.html) and firstly i wanted use views from demo so I copyed them into custom folder. But when i was trying to compile my project I got about 76 errors mostly about "not found: type RequestHeader". Was my approach bad? Becouse I dont understnad why it doesnt work.
Hi when i use the JKD 7 i get this problem�� VerifyError: Inconsistent stackmap frames
If i use it with JDK 6 the problem do not occur.
the code is this :
��� public double calculateParts() {
��� ��� if (statut == StatutMarital.MARIE || statut == StatutMarital.PACSE)
��� ��� ��� return personneACharge == 0 ? 2 : (personneACharge == 1) ? 2.5 : personneACharge + 1;
��� ��� if (statut == StatutMarital
Hi All,
I have a strange problem where i am able to insert into the table or retrieve all rows from the table (using .all() method).
But when I try to delete a row from the table (using the .delete() method), I am getting an error as:
[PersistenceException: ERROR executing DML bindLog[] error[You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for
Dear all,
�I used: -�play�2.0.4
� � � � � � - Java jdk 6
� � � � � � - play2war�0.8.1
� � � � � � - Tomcat 6.0
Problem I got:
� �I have alot of checkbox like in attach file and have one sumbit button for delete information in database. If I try to sumbit with 500 checkboxs it is ok but If you try to submit with 2000 checkboxs and then I got the problem, it is not delete but�
it hang on it, and then
Dear all play team,
�I used: - play 2.0.4
� � � � � � - Java jdk 6
� � � � � � - play2war�0.8.1
� � � � � � - Tomcat 6.0
�Please help me, I have a problem when try to download file that is bigger than 1 MB.
�When I try to download it and this problem occur when deploy with tomcat.
�Here is my code:
public static Result exportToExcel() {
� � � � String[] codeToDelete = request().body().asMultipartFormData
I am having a very unusual problem after upgrading from iBatis 2.0.4 to
2.1.5.
It has to do with a particular table and a few particularly simple maps that
interact with that table.
The table is in Sybase, and it has a clustered index (which in Sybase
doesn't allow duplicate ROWS, ie. two rows having the exact same content).
Essentially, the flow looks like this:
1) start transaction.
2) Load
Hello,
I'm having some problems with views.
Could please someone give me some help?
I created two tables and a view.
I created the view using WITH CASCADED CHECK OPTION
because I need to update some columns of the view.
When I do update 2007_marche set data_invio_teramo = current_date where
azienda='IT002RE005';
the db seems locked, apparently it does nothing, after a while I have to
Dear play group !
Firstly, sorry for my first email, I forgot to put subject.
I need your help, Here is my eviroment :
- play 2.0.4
- jdk1.6
- apache-tomcat-6.0.35
- play2war 0.8.1
My problem is happend when I deploy it with tomcat.
I used ajax to request to server for import data from excel into database.
The problem is it return to client server even the sever is not complete process.
I try
I have a case class as follows:
case class Recipe(name:String, category:String, ingredients:List[String], url:String, instructions: String)�
If I just use a hard-coded list, then I can get it to compile:
�private val recipeForm: Form[Recipe] = Form( � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �
� � mapping( � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �
� � "
Hi everyone,
I'm having a problem with my production deployment script
My script execute play clean-all and dist task's, then zip the output generated
by the tasks and do ftp to production.�
play clean-all
play dist
mkdir myapp
cp scripts/start myapp
zip -r -q dist/myapp.zip myapp/*
In the production enviroment i'm running another script to start the application.�
When i go to my application
Hi guys,
I'm trying to implement a session timeout in play framework 2.04 in Java.
I've overridden Global.onRequest to my specific action. In there if the session is inactive for too long I'm redirecting to login page.
However I'm getting a redirection error loop. Global.onRequest -> MyAction -> Global.onRequest -> MyAction ......
��� @Override
��� public Result call(Context ctx) throws Throwable
Hi,
I'm trying to use the rewrite handler to clean up a list function URL,
but doesn't seem to work correctly. The view and list function work
fine without the rewrite.
The view and reduce output complex keys like so:
{"rows":[
{"key":[123456,"Alpha],"value":2},
{"key":[985323,"Bravo"],"value":1},
]}
and the view and list URL work correctly using these parameters:
http://couch:5984/db/_design
Hi all,
I am loading data from view. I am getting value of two columns null.
When I am running same query on SQL console it is fetching the all the
column correctly.
Can somebody please tell me what would be the reason?
Regards
yuvrajs
Hi -
I have been facing a problem with temp view creation from command line. When
I try ..
$ curl -vX POST -H "Content-Type: application/json" -d '{"map" :
"function(doc) { emit(null, doc) }"}'
http://localhost:5984/hello-world/_tmp_view
the error that I get is the following ..
{"error":"bad_content_type","reason":"Invalid Content-Type header for form
upload"}
The following is the complete response
I'm trying my first view with url
http://localhost:5984/qq/_design/application/_view/all, the code is,
_id : _design/application
_rev: 8-70c13aeee55e3ba8400f2068f11d9156
views: {
all: {
map: "function(doc) {
emit(doc._id,doc);
}"
}
}
and the error is below, can anyone tell what's the issue here?
{"error":"badmatch","reason
Hi,
� � I got this message when trying to run computer-database sample project. I didn't get a solution from sbt mailing list. Does anyone know? Thank you!
computer-database daiwei89$ play run
Getting org.scala-sbt sbt_2.9.1 0.12.1 ...
:: problems summary ::
:::: WARNINGS
module not found: org.scala-sbt#sbt_2.9.1;0.12.1
==== local: tried
�/usr/local/bin/../Cellar/play/2.0.4/bin/../libexec
Hi.
I want to create Problem View just like Eclipse Problem view in
Eclipse Plugin..
But I have problem to display problems i.e errors,warning,infos at run
time...
I am able to get that runtime but when we change any error i.e after
removing or adding any error,warning that changes not reflect
immediately in problem view table..
For that immediate change,
There is need to use inputChanged
Hi
Please find my code below
val json: JsValue = Json.parse(jsonObject)
val value1= (json \ "result").asOpt[Int].get
val value2= (json \ "result").asOpt[Int].get
val value3= (json \ "result" \"key1" \\ "key2").toList
val value4= (json \ "result" \"key3" \\ "key4").toList
val value5= (json \ "result" \"key5" \\ "key6).toList
I'm able to get value1
Anyone had any similar problems when running the mm.mysql-2.0.4 JDBC driver
for mysql on a NT4 box?
I'm running mysql3.23.40 on a linux box, and accessing it via the downloaded
java2 example jdk1.3.1_01\demo\jfc\TableExample.jar running on an NT box
using the mm.mysql-2.0.4 driver on the NT box. I get the following errors:-
===========D:\john\jdbc\classes>java -classpath C:\mm.mysql-2.0.4