1.First Get the ViewObject
2.Second use The Row interface
3.Get the row at index
3.Use getAttriubte() method. and cast to toString()
1.ViewObjectImpl view = this.getSponsorVO1();
//getSponsorVo1(){ has findViewObject("SponsorVO1") method}
public SponsorVOImpl getSponsorVO1()
{
return (SponsorVOImpl)findViewObject("SponsorVO1");// Casting to Imp as we are using ViewObjectIMpl
}
2.Row row = view.getRowAtRangeIndex(0);
3.String sponsorId= row.getAttribute("SponsorId").toString();
2.Second use The Row interface
3.Get the row at index
3.Use getAttriubte() method. and cast to toString()
1.ViewObjectImpl view = this.getSponsorVO1();
//getSponsorVo1(){ has findViewObject("SponsorVO1") method}
public SponsorVOImpl getSponsorVO1()
{
return (SponsorVOImpl)findViewObject("SponsorVO1");// Casting to Imp as we are using ViewObjectIMpl
}
2.Row row = view.getRowAtRangeIndex(0);
3.String sponsorId= row.getAttribute("SponsorId").toString();
No comments:
Post a Comment