on 10-23-2007 8:21 AM
hi..
I am working with dynamic Text view application. In my funtion module output it shows table format. But i need to show that text only..without rows,columns and lines.
for that i am using in my result view dynamic textview. But i am not getting that o/p. please anybody tell how will do this appl? i need full steps.. i am new in Webdynpro..Please explain all steps..
it's very urgent...
with regards,
Gobinath.R
Hi,
Take the output in JCO.Table.
and then fetch the textvalue in some String variable like this:
JCO.Table table= (JCO.Table) exportParamValues.get("testvalue");
String[] textView=new String[table.getNumRows()];
for (int index = 0; index < table.getNumRows(); index++) {
table.setRow(index);
textView[index]=((String)table.getValue("text"));
}
Now take a for loop and use these values for creating TextView by using the above String array like this.
in wdModifyview()
{
IWDTextView textview1=(IWDTextView)view.createelement(IWDTextView.class,"text1");
textView1.setText( textView[index]);
Regards,
Praveen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.