Use a main view
PatientRegistrationFormEditor implements Editor<BeanProxy>{
}
then use separated views
PersonalDetailsView implements Editor<BeanProxy> /*
ValueAwareEditor<BeanProxy> if you need the proxy for some reason*/{
}
Then anonate you partial views on your main view with
@Path("") /* this make the subeditor (partial view) edit the same beanproxy
*/
@UiField PersonalDetailsView personalDetailsView;
Done.
El 18 de abril de 2012 10:49, saurabh saurabh <[email protected]>escribió:
> Hi all,
> I don't have much experience with Editor frameworks so this question
> may appear naive or dumb.
>
> So suppose we have a big bean or proxy having a many fields. A good
> idea in view part could be having group them under TabLayoutPanel
> otherwise a big form on a page may not appear user friendly.
>
> Example:
> Patient Registration Form
>
> ---------------------------------------------------------------------------------------------------------------------------
> ||Personal Details || Patient Habbits || Family History || Medical
> History || Insurance || |
>
> ---------------------------------------------------------------------------------------------------------------------------
> |
> |
> |
> |
> |
>
> ---------------------------------------------------------------------------------------------------------------------------
>
> Here I feel comfortable to have five different UI like detailsView,
> habbitsView and so on and having them under one composite but all of
> 'em are concerned to one Class Patient.
>
> So my question is how I can wire multiple Editors to same bean, each
> for different set of properties.
>
> I don't find much on net for Editors, I guess it could be
> CompositeEditors, but I need some help for how to do it.
>
> Thanks in advance
>
> --
> 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.
>
>
--
ISC. Daniel Mauricio Patiño León.
Director ejecutivo
Liondev S.A. de C.V.
--
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.