cancel
Showing results for 
Search instead for 
Did you mean: 

Input field Value help problem

Former Member
0 Kudos

Hi

I am new to web dynpro and my need is as follows.

in my application there are set of 1) Definitions 2) Expressions 3)others...

so i want to populate all the available definitions and expressions and others for the user to select for his choice.

i can do this by dropdown ui elament but the problem here is

i want to differentiate the options according to what they are ( meaning all definitions should come inside definition block and all expressions should come in expressions block, like tree node and elements )

EVS help can be used for the input field Ui element but again this diffrentiation will be a big problem.

A tree will help to solve my problem but i donno how and wether a tree can be used as a EVS instead of table.

please help me out

Thanks&Regards

sudheer varma

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

You can use PopUp for each category to pass data.

You can use three radio buttons to pass reference

Put button , next to Input field on click of which a popup window containing data will open.

That window will be opened by passing reference to pop window.

Create 3 views containing data separately for each category.

use validation for opening window.

Eg if definition button is selected then open corresponding window and so on.

Refer and Use this code inside button to open Pop up window


To Open Window
*****************

IWDWindowInfo info = wdComponentAPI.getComponentInfo().findInWindows("Popup");
    IWDWindow wind = wdComponentAPI.getWindowManager().createModalWindow(info);
    wind.setTitle("Value Help Window");
    wind.setWindowPosition(150,150);
    wind.setWindowSize(150,150);

    wdContext.currentContextElement().setValueHelpWindow( wind);

    wind.show();
********************************************************************
To Close Window
****************

IWDWindow windwow = (IWDWindow)wdContext.currentContextElement().getValueHelpWindow();
	windwow.destroyInstance();

Mandeep Virk

Former Member
0 Kudos

Hi,

If your requirement supports this you can acheive it by using a model dialog with tree or treebynesting in table instead of EVS. Place a button next to input field and pop this model window.

Regards

Ayyapparaj