Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

URL Display

Hi Colleagues,

We have a requirement where

we will get the URL's(number of URL's changes according to the ouput) as query output

These URL's need to be Displayed on the screen

Here in our code we are getting URL's in this way

for (int j=0; j < finalResult.size(); j++)

{

RESULT result = (RESULT)finalResult.get(j);

wdComponentAPI.getMessageManager().reportSuccess(result.getURL()+ " " + result.getURLNAME() );

}

Could anyone please let me know How to bind these URL and URLName to the Context

and Get these URL's displayed(no of URLs returned by Query) on the View

Manythanks & Regards

Swetha

Former Member
Former Member replied
for (int j = 0; j < PatResult.size(); j++)
{
  result = (PAT) PatResult.get(j);
  element = wdContext.nodeElements().createAndAddElementsElement(); 
  /* in old releases use: createElementsElement() + addElement() */
  element.setURL(result.getURL());
  element.setURLLabel(result.getDLOBJTITLE());
}

Armin

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question