Getlist listbox array
Re: Getlist listbox array
Hello Chris,
I do it the same way, for some functions you must encode vars in a url, especially when using Javascript for Ajax oder open windows. This works also in XB2NET. Complicated is for example if you have two or more browsers in a dialog and you want edit, add or delete records. I use jquery DataTables, I got changing values in a table after editing working, but have to look how adding new rows works. I have a session specific data stack where I store each data array or DBF reference with the session id, table id, row pointer etc. I think this way I can solve most things.
regards
Rudolf
I do it the same way, for some functions you must encode vars in a url, especially when using Javascript for Ajax oder open windows. This works also in XB2NET. Complicated is for example if you have two or more browsers in a dialog and you want edit, add or delete records. I use jquery DataTables, I got changing values in a table after editing working, but have to look how adding new rows works. I have a session specific data stack where I store each data array or DBF reference with the session id, table id, row pointer etc. I think this way I can solve most things.
regards
Rudolf
Re: Getlist listbox array
I converted a VFP application to a web app but I didn't use eXpress++ commands.
Instead, I wrote it in CXP and embedded the HTML in the code.
The customer is very pleased with the result. See screen below.
I do, however, have an example of how to use CXP with eXpress++ commands and DCREAD HTML.
Look at .\samples\web20\books1.cxp and .\samples\web20\xdot.cxp.
Instead, I wrote it in CXP and embedded the HTML in the code.
The customer is very pleased with the result. See screen below.
I do, however, have an example of how to use CXP with eXpress++ commands and DCREAD HTML.
Look at .\samples\web20\books1.cxp and .\samples\web20\xdot.cxp.
The eXpress train is coming - and it has more cars.
Re: Getlist listbox array
Hello Roger,
looks great, but I need a modern GUI like the Metro UI and DataTables for the browser and some other special things. I think my framework would also work with CXP, but my customers do not accept a Appache installation, especially in healthcare companies. I can also use scripts in XB2NET like CXP, so it would be interesting to include eXpress++ in XB2NET. But I work with templates where I insert code, so I have not really the need for scripts. Actually I have successful tested my session management for arrays in browsers, now I can handle different dialogs with several browsers in one dialog for editing and updating. This is much more complicated than converting the getlist to HTML. Changing values and and whole tables and updationg in a dialog without calling the webpage again is not easy, but works now. So the Javascript part and sessionmanagement are the things that keep me stressed in the next time, I think you have the same problems
But your solution looks great and have also a big potential I think.
regards
Rudolf
looks great, but I need a modern GUI like the Metro UI and DataTables for the browser and some other special things. I think my framework would also work with CXP, but my customers do not accept a Appache installation, especially in healthcare companies. I can also use scripts in XB2NET like CXP, so it would be interesting to include eXpress++ in XB2NET. But I work with templates where I insert code, so I have not really the need for scripts. Actually I have successful tested my session management for arrays in browsers, now I can handle different dialogs with several browsers in one dialog for editing and updating. This is much more complicated than converting the getlist to HTML. Changing values and and whole tables and updationg in a dialog without calling the webpage again is not easy, but works now. So the Javascript part and sessionmanagement are the things that keep me stressed in the next time, I think you have the same problems

regards
Rudolf
Re: Getlist listbox array
This customer didn't want Apache or IIS either.my customers do not accept a Appache installation
I wrote a program in Xbase++ that is a CXP/Http server, similar to Xb2net.
The eXpress train is coming - and it has more cars.
Re: Getlist listbox array
Hello Roger,
do you see advantages to use your server compared to XB2NET ?
regards
Rudolf
do you see advantages to use your server compared to XB2NET ?
regards
Rudolf
Re: Getlist listbox array
Hi Rudolf
Can Metro-UI multiline edit control be used in desktop Xbase++ 1.9 applicale code to achive it
Thanks.
Joe
Can Metro-UI multiline edit control be used in desktop Xbase++ 1.9 applicale code to achive it
Thanks.
Joe
Re: Getlist listbox array
If I didn't see advantages I would not have written CxpHttpServer.do you see advantages to use your server compared to XB2NET ?
1. It's written entirely in Xbase++ and comes free with eXpress++.
2. It is both a web server and a CXP server.
3. I have replaced all of my apps that were previously written using Xb2.net with 2.0 functions.
The eXpress train is coming - and it has more cars.
- Eugene Lutsenko
- Posts: 1649
- Joined: Sat Feb 04, 2012 2:23 am
- Location: Russia, Southern federal district, city of Krasnodar
- Contact:
Re: Getlist listbox array
Roger!
Where can I learn more about Your CxpHttpServer and its possibilities?
And how to get it?
Where can I learn more about Your CxpHttpServer and its possibilities?
And how to get it?
Re: Getlist listbox array
Hello Chris,
I use also hidden vars and change values with Java Script. The session management from XB2NET is also very helpful. I have data sets in each session for table arrays and DBFs, complicated but works fine. The most complicated thing is to change the content of a dialog (especially tables) after editing values in a separate window. Works so far, but still a challenge to make it perfect. Without good Java Script knowledge its not possible to make a working web interface, here I have still a lot to learn
regards
Rudolf
I use also hidden vars and change values with Java Script. The session management from XB2NET is also very helpful. I have data sets in each session for table arrays and DBFs, complicated but works fine. The most complicated thing is to change the content of a dialog (especially tables) after editing values in a separate window. Works so far, but still a challenge to make it perfect. Without good Java Script knowledge its not possible to make a working web interface, here I have still a lot to learn

regards
Rudolf
Re: Getlist listbox array
Actually, it's a very simple program that is included with eXpress++ in the \exp20\samples\web20 folder.Where can I learn more about Your CxpHttpServer and its possibilities?
Basically, it is a http: server that replaces Apache or IIS and acts like a web server. It also works with CXP. If you want to know more about CXP read this:
http://donnay-software.com/ds/Articles/Donnay_CXP.pdf
The eXpress train is coming - and it has more cars.