cancel
Showing results for 
Search instead for 
Did you mean: 

There is no anything displayed on browser after i run the program.

Former Member
0 Kudos

Hi ,All

I developed a program refer to SAP standard example,But after i DEPLOY successfully and RUN it , the IE browser display a blank without any error message . i check the JCO connection its OK , So what's the problem ?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Have you embedded a view in the window?

Armin

Former Member
0 Kudos

Armin :

Thank you.

I have done it .

Former Member
0 Kudos

If you do "View source" in the browser, what do you see?

Armin

Former Member
0 Kudos

A lot of text :

.................

html

>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<meta http-equiv="imagetoolbar" content="no">

<title>

.....

Message was edited by: guixin chen

Former Member
0 Kudos

This shows that the request-response cycle has been processed. But the rendered view seems to contain only a message area.

Can you tell more about the view and navigation structure of your application?

Armin

Former Member
0 Kudos

Hi, Armin

Thank you , I implement very simlple logic. in my component there is just only one view without navigation involved . I am a new guy in WD so that i am not sure i explain it clearly to you.

Former Member
0 Kudos

Ok, you have one view which is correctly embedded in the (only) window.

Which UI elements are in this view? Have you bound their properties correctly to context attributes?

You might print debug messages at different code places, e.g in wdDoInit() or in your action handlers. To do so, use the message manager API, like

wdComponentAPI.getMessageManager().reportSuccess("<some messsage>");

Armin

Former Member
0 Kudos

My only view embedded in the (only) window consist of 4 Input fields and corresponding Lables(4) , 1 Table and 1 button that triggers the action retrieving data .

I have done following you , put "ReportSuccess" method in each wdDoInit() of Component controller and View controller respectively. the outputing in the following :

FlightListComponent::wdDoInit()

FlightListView::wdDoInit()

Former Member
0 Kudos

Then you should see at least the labels, empty input fields and an empty table.

Do you "silently" catch exceptions somewhere in your code? Like

try
{
  /* some backend call */
}
catch (Exception e)
{
  /* no code here */
}

Armin

Former Member
0 Kudos

Yes , Armin , I agree with you that the UI elements should show up as least.

I used TRY ..CATCH in the case should used i think .

That code with TRYCATCH shouldn't be executed because they only will be called by the button .

Former Member
0 Kudos

Add an additional debug message inside method wdDoModifyView().

Better: Attach the debugger to your application and set breakpoints at those places where you have debug statements now.

Try to comment out every code in wdDoInit() of view and component controller. Do you see the view then?

Meanwhile I am not sure anymore your view is embedded correctly in the window. Open the context menu on the window and select "Embed view", select existing view etc.

Armin

Message was edited by: Armin Reichert