PxPlus User Forum

Twitter Twitter Twitter

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - pwhirley

Pages: [1] 2
1
Thanks Susan,

Your understanding is correct.  I have tried adding a line down where all the other hidden variables are.  it looks like this:
[hide printerList$ value=""]

That didn't work, so I also tried adding printerList$ to the _fm_panel_iol$ value, also at the bottom of the page. 

Your suggestion suggests that I'm not totally ignorant, thankfully.  I think I understand this but I'm doing something wrong.

Phil

2
I'm not sure how best to explain my question. I feel sure it is an easy solution but I'm tired of trying to figure it out.
I have a file maintenance page generated through the NOMADS tools.  It works just fine and I've been able to do some tweaks.  I have copied _fm_webmaint to my progs folder and modified it and all the mods work except one.  One of the fields available to edit is the selected Printer.  I have made this a drop box and intend to offer a list of the available printers ON THE SERVER.  I inserted this line within the <form>:
[execute perform "Tools;Printer_List"]
The line executes and creates a variable, printerList$ that has a delimited list of available printers.  I cannot figure out how to make that variable available on the page so that it shows up in the line below:

[row "*\[show usefile field=printer$\]:"][list printer$ usefile event=Printer_Validate]
      [data rowsep=/]printerList$[/data][/list]
   [/row]<br />[/font][/font][/size][/size]

I have tried using %webster'Update(printerList$,mynewlist$) in my program, but I cannot get any data in the variable printerList$ on the web page.

Any help would be appreciated.  It is something simple, I am certain.

Thanks - Phil

3
Webster Plus / Re: Password for downloaded CATS Webster+ demo
« on: May 14, 2024, 03:43:52 PM »
Thanks Jean,
I was not requesting a password for the online demo.  I downloaded the code to my local machine from https://demo.pvxplus.com/site.zip.

I chatted with Mike K. and found that the user name is "Admin" and the password is the same as the default online password.  It all works now and is very helpful.

Phil

4
Webster Plus / Password for downloaded CATS Webster+ demo
« on: May 13, 2024, 02:05:24 PM »
Hello All,
I have downloaded the CATS Webster+ demo application but cannot find the password.  Since I'm not terribly familiar with the PXPlus security system, yet, I have been unable to figure out how to hack it and get into the demo on my local system.

What's the user name and password for the demo system that I have downloaded?

Thanks - Phil

5
Programming / Re: Source code formatter
« on: May 13, 2024, 11:52:26 AM »
This is great news, Len!  Thanks for letting us know.  I will look forward to the extension and will immediately begin playing with it. 

Perhaps I'll even make it to the developer conference in September, though I can't find much information on it.

Phil

6
Programming / Re: Source code formatter
« on: May 02, 2024, 10:56:24 AM »
Thanks for the input.
I have not used line numbers in my code in many years, so changing line numbers doesn't bother me at all.  I also haven't used ED+ in many years, but I'll check it out and see if I can make use of it.  I really don't want to have to load individual programs to reformat them.  I would prefer to be able to process a whole folder full of source text at once.

Josh, you might want to check out the Eclipse plug-in.  Notepad++ is a good editor, but Eclipse is a full-featured integrated development environment which you can use at no cost.  With the plug-ins available (https://eclipse.sagemas.com) you get a decent editor and the ability to decompile programs, recompile with error flagging, a to-do list, very sophisticated search tool, integration to SVN or Git and much more.  You can automatically save your programs, classes and libraries to multiple locations such as a project space and a test system.

I'll let y'all know if I write something to format or if I figure out how to automate the existing ED+ tool.

Phil

7
Programming / Source code formatter
« on: May 01, 2024, 05:03:09 PM »
Has anyone out there written a source code formatter for PXPlus programs?  I use Eclipse with a plug-in developed and maintained by Fred McGuirk.  It does a great job of decompiling PXPlus programs into text source, but it does not attempt to do any pretty formatting.  I am considering writing a tool to do the formatting (i.e. remove LET, replace "THEN" with "{", indent IF and loop constructs, etc).  I don't want to write it if someone else has already done so.

Phil

8
Nomads / Re: Convert NOMADS file to XML (need IOLIST)
« on: March 14, 2024, 08:09:02 PM »
Thank you Jane!

I thought I had already replied to your post, but I don't see it.
I think the *plus/proj/pxpnl program looks promising to come up with a more readable comparison.  Thank you for the suggestion.

Phil

9
Nomads / Re: Convert NOMADS file to XML (need IOLIST)
« on: March 14, 2024, 09:09:29 AM »
Thanks Mike and Stéphane,

I've written a quick and ugly XML conversion which is adequate, but I may look at the other option to make something prettier.  The way it's working now, I can easily see if the compared libraries have been changed, but identifying the changes adequately requires me to go back to NOMADS utilities.  Using the SVN utility may well work better, though it means another folder level.  However, that will help narrow down exactly where the change is, which should make things more efficient.

I know the NOMADS library IOLIST doesn't change very often, but grabbing the IOLIST from the object will insure that I get the correct columns for the version I'm working with.  That will be better.

Phil

10
Nomads / Re: Convert NOMADS file to XML (need IOLIST)
« on: March 13, 2024, 03:37:34 PM »
Thanks Loren!  That looks familiar. - Phil

11
Nomads / Convert NOMADS file to XML (need IOLIST)
« on: March 13, 2024, 03:13:51 PM »
I am writing a utility to convert PVXPlus program and library files to text so that Beyond Compare (a compare utility from Scooter Software) can easily spot changes.  Converting the program to text is easy and done.  I've decided to convert the NOMADS library files to XML.  I can do this with made-up column names (i.e. Field1, Field2, etc), but I'd rather have the meaningful names that go with the columns.

Have any of you already written a conversion of NOMADS library files to XML that you'd be willing to share?

Where would I find the IOLIST for a NOMADS library file?

Thanks - Phil

P.S. I'll be happy to share my conversion program and the Beyond Compare configuration to anyone interested.  It's quite useful.

12
Web Services / Re: Publishing a PDF through PXPlus web engine
« on: March 08, 2024, 08:27:01 AM »
Thanks Mike,
That's too easy.  :-)

The piece I was missing is the %Content-type$ global variable.  I'm sure there are many other variables used by the web engine that I don't know about.

I appreciate the help.

- Phil

13
Web Services / Re: Publishing a PDF through PXPlus web engine
« on: March 07, 2024, 06:21:11 PM »
Well, Mike.  I'm sure I'm doing something wrong.  I've tried using an HTML format with <head> and <body> putting the content-type: application/pdf and content-size in the <head> and the binary in the <body>.  I've also tried an HTTP POST format, which I've never used to send *to* a web browser.  Neither one worked. 

I've also tried using <embed>, <object> and <img> with encoding/decoding the pdf data.

What format should I be using?  I'm testing with just the web engine directly.  Eventually I'll probably be using IIS or Apache, but those aren't set up to use, yet.  I've never used the web engine except with iNOMADS, Webster+ and the old Sage 100 eBusiness stuff.

- Phil

14
Web Services / Re: Publishing a PDF through PXPlus web engine
« on: March 06, 2024, 04:07:29 PM »
Thanks Mike,
I think that the application/pdf might well work.  I'm not sure why I didn't think of that.  It should work fine with the IIS front end, I believe.

I appreciate the quick response.  I hope you're enjoying retirement as much as I am.  :-)

Phil

Philip Whirley
phil@whirley.org

15
Web Services / Publishing a PDF through PXPlus web engine
« on: March 06, 2024, 02:30:45 PM »
I need to create a label of a specific size, format, font, etc and present it to be printed on the website.  The PVXPlus web engine will be running on one server and the website is on another server.  The website host will not have access to the folders for the application. The only access is through the web engine.

I'm using the *PDF* special file to create the PDF, but I do not know how to get the web server to publish that back to the website.  I'm sure it's simple.

Thanks - Phil

Pages: [1] 2