cancel
Showing results for 
Search instead for 
Did you mean: 

using the messages-object on another page?

daniel_humberg
Contributor
0 Kudos

I used to show error messages on the top of my BSP-page by using the messages object. With <i>messages->add_message()</i>, I added the error messages and with <i>message->get_message()</i> I read and displayed them.

Now, I would like to show the messages on a popup-window that shows another BSP-page. Can I access the first page's messages object on the popup-page or is using a global messages object in the application class the only way?

View Entire Topic
JiriEhrlich
Product and Topic Expert
Product and Topic Expert
0 Kudos

The right way is to use global messages object in the application class & statefull BSP.

Other way is to transfer message table from page to page via navigation->set_parameter

former_member181879
Active Contributor
0 Kudos

> Other way is to transfer message table from page to

> page via navigation->set_parameter

Keep in mind URL is limited to about 2Kb length. The navigation object does a browser redirect transfering the parameters via the URL (by default). Not recommended for tables.