Link or button to bookmark current page

Use this board for starting discussions, asking questions, and giving advice on Web programming for the IBM i platform (and predecessors.)
leomoore
Profound User
Posts: 35
Joined: Thu Mar 15, 2012 3:42 pm
First Name: Robert
Last Name: Moore
Company Name: General Parts Company
Phone: 770-818-4736
Address 1: 3100 Windy Hill Rd.
City: Atlanta
State / Province: Georgia
Zip / Postal Code: 30339
Country: United States
Contact:

Link or button to bookmark current page

Post by leomoore »

I am looking for a way to provide a link or button that will bookmark the current page. I wondered if there is a way to do it just with JS. Any help is appreciated.
User avatar
David
Profound Logic Staff Member
Posts: 690
Joined: Fri Jan 04, 2008 12:11 pm
First Name: David
Last Name: Russo
Company Name: Profound Logic Software
Contact:

Re: Link or button to bookmark current page

Post by David »

I'm not sure if there is a reliable and cross-browser compatible way of doing this with JS; see the discussion and code examples here:

http://stackoverflow.com/questions/9928 ... rs-mine-do

Also, in Profound UI there are not separate pages as you get with a "traditional" web application.

In Profound UI there is only 1 page that loads when you start a session, and it never reloads for the duration of the session. Applications screens are rendered "Ajax-style" without ever reloading this initial page.

So, a bookmark would just bring the user to the PUI sign on display, anyhow.
leomoore
Profound User
Posts: 35
Joined: Thu Mar 15, 2012 3:42 pm
First Name: Robert
Last Name: Moore
Company Name: General Parts Company
Phone: 770-818-4736
Address 1: 3100 Windy Hill Rd.
City: Atlanta
State / Province: Georgia
Zip / Postal Code: 30339
Country: United States
Contact:

Re: Link or button to bookmark current page

Post by leomoore »

Thanks.
johny3329
New User
Posts: 1
Joined: Tue Jan 22, 2013 6:06 am
First Name: johny
Last Name: bravo
Company Name: pasban
Contact:

Re: Link or button to bookmark current page

Post by johny3329 »

I am having an issue with a library list setup. We have recently created a new library for RPGXML and the application I have created runs over a file that sits in the RPGXML library.

We have 2 machines, one for development which we have a full development and runtime licence and a live machine that has a runtime only licence. Therefore I cannot use the RPGSP development environment to modify the library list.

I’m not 100 % sure as I did not have anything to do with the implementation of the user environments but I think that the jobs run on the live machine using a fixed library list as I have the required library list when running Green screen programs but don’t have it when running RPGSP applications indicating that my library list is replaced at runtime. I have proven the issue by adding a call to a CL in the application which adds the RPGXML library to the list and that works but it is not ideal going forward.
User avatar
David
Profound Logic Staff Member
Posts: 690
Joined: Fri Jan 04, 2008 12:11 pm
First Name: David
Last Name: Russo
Company Name: Profound Logic Software
Contact:

Re: Link or button to bookmark current page

Post by David »

RPGsp pages set their own library list at each run. This happens in a call to RPGspInit() which is automatically inserted into each page at compile-time.

RPGspInit() looks for a file named QCOMPILED with member LIBLIST in the same library as the program is running from. The LIBLIST contains the list of libraries, one per record.

The dialog in the development tool which allows you to set the library list is simply updating this source member...
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests