Skip to Content
0
Jul 21, 2016 at 12:01 PM

Fragment: Binding element from Model

2117 Views

Hello Experts,

I have created a fragment and used it as a dialog.

I have a Split app where in details page , employee details are being shown based on the employee selected from the master page.

My requirement is to show the same employee details in dialog. I am binding the elements same way it is done in the view but nothing is shown on the popup.

<Label text="{i18n>empid}"/>

<Text text="{EmployeeID}"/>

<Label text="{i18n>name}"/>

How I make my model available for Fragment also ?

Thanks,

Abhi