Closed GoogleCodeExporter closed 9 years ago
Hi, I will work on it. I think it maybe comes from a generic parameter <?>.
I'm investigating.
Original comment by mathieu....@gmail.com
on 9 Jan 2012 at 10:15
Thx...
so the problem is that many of the GXT model derivation is through ...
all data is actually
public class BaseModelData implements ModelData, Serializable {
protected RpcMap map;
RpcMap stored all data!
getter and setter is generic method...
Original comment by eggPro...@gmail.com
on 9 Jan 2012 at 11:43
I found where the problem is.
I will fix soon.
But I think it will be better for you to not pass a BaseModelData to the PHP
because it will be difficult to handle it in PHP (many subclass).
I suggest you to create your own model for GWT-PHP communication and to
implement Model from GXT. It will give you a easier implementation of your
model to fill on PHP side.
Original comment by mathieu....@gmail.com
on 10 Jan 2012 at 10:05
[deleted comment]
I have commited the fix.
Can you test it with your project ?
Original comment by mathieu....@gmail.com
on 15 Jan 2012 at 12:00
one day I will test and references to the issue here
Original comment by eggPro...@gmail.com
on 15 Jan 2012 at 5:01
New code generate php code, but: 2 error
1. RpcServlet.php 168 row => $e->message = "Server does not have a type sent by
the client : Class not found [FastMap]"
2. GWT generate php code MyService.service.php 28 row require_once
'MyService.php'; // this file does not exist
I attached my full project
Original comment by eggPro...@gmail.com
on 17 Jan 2012 at 10:02
Attachments:
Ok, I will see that soon. I'm currently modifying the Java class to php
algorithm so it could be linked.
Original comment by mathieu....@gmail.com
on 20 Jan 2012 at 12:04
thx....
Original comment by eggPro...@gmail.com
on 20 Jan 2012 at 2:21
I just executed your project.
1. With the new java to php core, I haven't see the first issue.
2. For the second issue, one file is missing MyService.php. It is the file in
php you must write. It must contains the server in php code.
To write it, I suggest you to take the content of MyService.model.php (in
war/com.mycompany.project.ImageViewer/phpservice), and to copy it in
MyService.php (a file that you must create in a public directory of your GWT
module, see
http://code.google.com/intl/fr-FR/webtoolkit/doc/latest/DevGuideOrganizingProjec
ts.html#DevGuidePathFiltering). After you can fill methods (executed when GWT
call service methods).
Could you try to do it. If your project work after that, I can close this issue
:)
Original comment by mathieu....@gmail.com
on 22 Jan 2012 at 4:06
Original comment by mathieu....@gmail.com
on 6 Jul 2012 at 6:35
Original issue reported on code.google.com by
eggPro...@gmail.com
on 8 Jan 2012 at 7:33Attachments: