Page 1 of 1
RDMLX - WebView
Posted: Thu Jul 19, 2012 5:14 pm
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?
Re: RDMLX - WebView
Posted: Thu Jul 19, 2012 5:54 pm
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.
Re: RDMLX - WebView
Posted: Fri Jul 20, 2012 10:54 am
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.
Re: RDMLX - WebView - feature released
Posted: Wed Aug 22, 2012 3:41 pm
by MarkDuignan
Re: RDMLX - WebView
Posted: Thu Aug 23, 2012 9:04 am
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.
Re: RDMLX - WebView
Posted: Thu Aug 23, 2012 9:37 am
by Paul
A new version of the LongRange LANSA components is available for download from today.
Re: RDMLX - WebView
Posted: Thu Aug 23, 2012 9:47 am
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.