Simple steps to add Repeat Control to XPage


Repeat control is the type of “container control” you can find this control in container control navigation.
We have added it on XPage. It looks like this -

 

Before starting to work on repeat control, you need to assign the data source name from the property box.
Add the “collection name” to repeat control. We have added “RepeatControlEx”
 
 

Next step, we have to bind data source, refer below screen you can set your data source name, we have selected the ‘view2”our data source name.

 

Now, we will add ‘List box’ control in repeat control. To show view column values in a style of List.

 
Added List box , now go to 'Data' Property , Select simple data binding' .now see

data source name will becomes populated automatically, because we have added list box control in repeat control.


List box Field in Repeat control.
 



Select Bind to Field list, these are the column names from view2 DataSoucre

 
Now, select First Name Field/Column name, it will look link as below
 

Save your repeat control XPage and run it on web browser and see how the values are populating-
Below is the simple output of repeat control. These are the column values of a "First Name"
 
Done.

Read our TOP 5 articles on XPage  -


  1. XPage Export To Excel-LotusScript
  2. XPage Mail Send Using Lotus Script
  3. XPage Export To Excel-Client JavaScript
  4. xPage Mail Send Using SS JavaScript 
  5. XPage Export To Excel Using Server Side JavaScript


 




No comments :

Post a Comment

Leave A Comment...