Sounds like you violated the SRP principle... If I got it right, Composite depends on the DOM, which doesn't exist server-side, so I don't think it is possible. A solution would be to encapsulate the functionnality you want to use server-side in a POJO. Your composite would then delegate to the POJO, which could be reused server-side. And if you wish to push further towards great design, embrace MVP !
On 5 août, 14:42, Stephan T <[email protected]> wrote: > For several reasons I need to instansiate a Composite on the server > side that is in the client package. Is it possible? Now I think I'm > getting class not found exception when trying... -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
