I don't see the @UiField(provided=true) on the pacienteProxy field on your
code.
On Thursday, July 19, 2012 8:37:23 PM UTC+2, Daniel Mauricio Patino León
wrote:
>
> Should be great if we can use a proxy on a UiBinder template with
> the <ui:with>
>
> I tryed to do it, but i get a error.
>
> public class VerPresupuestos extends TabItem
> PacienteProxy pacienteProxy;
> public VerPresupuestos(final PacienteProxy pacienteProxy) {
> this.pacienteProxy = pacienteProxy;
> initWidget(uiBinder.createAndBindUi(this));
> }
> ...
> }
>
> and on the UiBinder template.
>
> <ui:with type="xx.xxx.Project.shared.Model.Paciente.PacienteProxy"
> field="pacienteProxy"></ui:with>
>
> <g:Label width="100%" height="100%" styleName="{style.lbl}">Presupuestos
> de <ui:text from="{pacienteProxy.getNombre}"></ui:text></g:Label>
>
> i get an exception:
>
> 13:26:44.736 [ERROR] [Porject] Deferred binding result type
> xx.xxx.Project.shared.Model.Paciente.PacienteProxy' should not be abstract.
>
> Would be nice make thing like this.
>
> I use GWT 2.4
>
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/AT7NWaDMGRIJ.
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.