PDA

View Full Version : On WebMobile application cannot change view caption on breadcrumb



Oscar
6-Apr-2017, 03:09 PM
Hi,

If I change the caption of a view using WebSet psCaption to "blahblah" the breadcrumb (cWebViewStack) ignores the change.
I believe that to get the view caption it is using a Get instead of a WebGet.

I was able to confirm this by creating a function on the view called psCaption... the breadcrumb did use whatever I returned from the function.

It will be great if this bug could be fixed before release.

Thank you!
Oscar Mintegui

Bob Worsley
7-Apr-2017, 08:00 AM
did you try clearing the browser cache?

Harm Wibier
7-Apr-2017, 08:11 AM
Try using the SetBreadCrumbCaption function.

Oscar
7-Apr-2017, 08:40 AM
Harm,

I just tried and it didn't work.

Just so you know... on the dropdown menu when you click on the hamburger icon it does display the correct caption.

Regards,
Oscar

Harm Wibier
7-Apr-2017, 01:18 PM
Try SetHeaderCaption... :)

Oscar
7-Apr-2017, 01:29 PM
Harm,

Yes... I did get it working by using the following code:



Procedure OnLoad
Forward Send OnLoad
Send SetBreadCrumbCaption "Caption"
Send SetHeaderCaption "Caption"
End_Procedure


Thank you,
Oscar Mintegui