cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible: rerender a panel?

Former Member
0 Kudos

Hi

At the moment we are evaluating if we should use web dynpro as the gui frontend for our application, which will run inside SAP NetWeaver Java AS.

At the moment we ask ourselves if web dynpro provides something like a panel which could be rerendered when a user selects a value from a drop down list. For example:

User selects value 'foo' from the drop down, the panel should show three labels and related input fields. Does the user select the value 'bar', the panel should only show one input field and a related label. In general it is somehow like displaying a different panel on the ui based on the selection from the drop down.

Is this possible with web dynpro?

Thank you very much for your answer,

Thierry

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

User selects value 'foo' from the drop down, the panel should show three labels and related input fields. Does the user select the value 'bar', the panel should only show one input field and a related label. In general it is somehow like displaying a different panel on the ui based on the selection from the drop down.

Your requirement is very much possible with webdynpro you can either create viewcontainer ui element and a combination of views and plugs to acheive this

or

you can create your UI dynamically based on the selection.

Regards

Ayyapparaj

Answers (3)

Answers (3)

Former Member
0 Kudos

Thank you very much for your answers. As it is poissble, we will give WebDynpro a try.

Kind regards, Thierry

0 Kudos

public static void wdDoModifyView(IPrivatePruebaView wdThis, IPrivatePruebaView.IContextNode wdContext, com.sap.tc.webdynpro.progmodel.api.IWDView view, boolean firstTime)

{

//@@begin wdDoModifyView

here you can change dynamiclly the UI

//@@end

}

Former Member
0 Kudos

Of course this is possible.

Armin