RDMLX - WebView

Please do not use to report errors- use your regional help desk.
Please mark posts as being for RPG or RDMLX (LANSA) developer.
To subscribe by email, display this forum, scroll to the end and select ‘Subscribe Forum’.
Post Reply
soapagent
Posts: 93
Joined: Mon Jul 16, 2012 6:19 pm

RDMLX - WebView

Post by soapagent »

I've just impelemented a webview in my application that is used to embed a LANSAWEB function. This worked beautifully first time.

The page contains links to PDF Word documents and these too open beautifully.

My issue is that once I've opened a PDF in the absence of a back button I have no way of betting back to my web page. I add a button to the app can force the webview to be reloaded but this will lose the users place in the web application document which will be annoying (as well as causing an unneccessary trip back to the server.

Is there any way round this that I have overlooked?
tsupartono
Posts: 289
Joined: Wed Apr 18, 2012 10:21 am

Re: RDMLX - WebView

Post by tsupartono »

Not possible at this time.

I've noted this & we'll add an option to display navigation buttons (back, reload etc) in the next release.


One workaround for the time being would be to load the PDF in an IFRAME.
soapagent
Posts: 93
Joined: Mon Jul 16, 2012 6:19 pm

Re: RDMLX - WebView

Post by soapagent »

Thank you for the response. Optional navigation buttons will be an ideal solution to this issue and, I think, will be generally useful.
soapagent
Posts: 93
Joined: Mon Jul 16, 2012 6:19 pm

Re: RDMLX - WebView

Post by soapagent »

Its good to a rapid turn around in fix /enhancments - much better than waiting for huge upgrades.

Navigation bar can be enabled on WebView (Back, Forward, Reload buttons)

The question now is how do I set these properties - surely that requires a new version of the iSeries components.
Paul

Re: RDMLX - WebView

Post by Paul »

A new version of the LongRange LANSA components is available for download from today.
MarkDuignan
Posts: 346
Joined: Wed Apr 18, 2012 10:33 am

Re: RDMLX - WebView

Post by MarkDuignan »

You need the new iOS client.

If you are using RPG you can use immediately - no server side update is needed.
The new property is documented online at http://www.longrangemobile.com/docs/LRP ... bview1.htm

If you are using LANSA you can also use immediately with no server update.
You do this by setting the new property(s) via the 'low level' generic property interface - it's just like the RPG interface.
If you want to do that please advise and we will post an example.

Otherwise you can update your server side with a new version which will expose the new 'high level' properties.
I am told that it should be announced on this forum later today.
Post Reply