Browser In Webspeed

NOdrog82

New Member
Hello, I just thought I would be nice share some code to build up a list of results from a dynamic query that could be used as a browse in Webspeed:

Please look in the attached zip (too much to type).

The initial page displays a number of records and you can use first, prev, next and last to navigate through. FirstKee is the rowid of the first record displayed. It is used to find the next page.

If you require help, just post the question.
Hope this helps (if anyone actually reads this, which I suppose your are :rolleyes: )

Cheers
 

Attachments

thnaks NOdrog82.

I am writng a browse system at the moment to use a xml rpc style interface that will work with the qad mfg/pro browse definitions.

I will let you know how I am going.
 
Hello,

As I have only been doing Progress a year with only in-house training, I do not know much outside of what my company needs. Basically I know some v6,v9 GUI using the app builder (But not using smart objects) and webspeed.

For "xml rpc style interface" I take it that you are using a newer version of progress than use that has the SAX parser? If not I have some code to build up a temp-table reading from an xml file, but is simple as does not try an validate the data, just that it is correctly formed. I also have a writer from a temp-table to an xml file. Both the reader and writer are generic so can be used for what ever you like.

What is " the qad mfg/pro browse definitions " ?.

Cheers
 
I have been doing progress for about a year too with pretty much no training. I have never used the app builder, its apparently good, we develop on linux and I use vi instead. We do some development for a system, MFG/PRO, to my understanding its using v9 progress. We currently parse XML using the standard DOM XML engine. There are products out there that Progess have that could do some of the XML handling possibly better, however we need to be able to use the same products that a standard MFG/PRO install would use. MFG/PRO has the ability to enable a user to configure their own browse, this configuration is stored in a flat file and a database.
 
Our business logic is stored on the server in 4gl. The XML we send to the client is basically the information that needs to be displayed on the screen therefore DOM seems ok. The messages are just managing UI. The client UI only knows to say, "Hello, I am finished with screen 5, the user clicked go, and here is what they typed in" basically similar to xforms, the business logic at the server then handles the rest. If the business logic were both on the server and client, I would like to use a SAX parser, is there one that you know of?
 
With regard to SAX, I believe the new version has it, here is some info

http://webapp.progress.com:6336/dynaweb/psdoc91d/4gl91d/epi/@Generic__BookTextView/30830;cs=default;ts=default

I tried to use this but our version of Progress did not understand it. As we still have a lot of GUI and character (v6) systems outside of head office (at least 50 branches), updating progress was out of the question.


Hope this helps.


P.S. If you are going to use getPrevNextRowid.p I need to make some changes so that it tests that the given rowid is valid in that query. The reason for this is if you modify the record so that it is no-longer matches the query, it will not work properly. If you are going to use it say as this is not work related so my need a kick to do it.

cheers
 
Back
Top