Details
-
Improvement
-
Status: Closed
-
Blocker
-
Resolution: Won't Fix
-
1.2.2.RELEASE
-
None
Description
Hi all
My problem in a few line is that for a domain object:
public class OrderItem {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Column(name = "id")
private Key id;
//...
}
I find my self with
@RooGwtRequest("fr.onevu.vume.model.OrderItem")
@ServiceName("fr.onevu.vume.model.OrderItem")
public interface OrderItemRequest extends RequestContext {
abstract Request<fr.onevu.vume.client.proxy.OrderItemProxy> findOrderItem(Key id);
//...
}
Wich doesn't compile since Key can't be transformed to javascript.
A possible workaround would be to define a Key substitute in GWT (as done for the java.lang classes), but I think this coice should be left to developers (who can decide to translate the key to a String for the web).
Best Regards,
Zied Hamdi