- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Help required on Perl GUI
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2006 06:27 PM
09-24-2006 06:27 PM
When I click on a link a pop up should be displayed with a FORM having a submit button.
I should be able to provide data to his pop up as well as submit data from it .
Solved! Go to Solution.
- Tags:
- Perl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2006 08:23 PM
09-25-2006 08:23 PM
SolutionI think to remember that there once was a project dedicated to client side Perl execution.
But this would require all your clients to have Perl (presumably with a special module) installed which is quite unlikely.
Besides, nowadays everyone seems to go mad about so called Web 2.0 technologies like Ajax etc.
However, nothing prevents you from discarding any client side action (very client friendly as it doesn't reuire them to have any additional interpreters or plug-ins installed ) and instead completely rely on server side scripting in Perl.
The simplest technique would be to have the href attribute point to a cgi Perl script on your server that generates the form.
However, I have no idea how this can be cast into a pop-up window since this to my notion is usually generated by the browser's rendering machine and thus some form of client side execution?
Maybe if you search a little in CPAN you also might come accross some client side Perl module, or similar?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2006 09:18 PM
09-25-2006 09:18 PM
Re: Help required on Perl GUI
I give values to the template file from Perl cgi.
Can u give me the code of POP UP using Javascipt which I will put in the HTML template file and generate it ?
I want to give some values to a SELECT statement inside the POP UP(for combo box) and a Submit button to submit the selected value ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2006 09:26 PM
09-25-2006 09:26 PM
Re: Help required on Perl GUI
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2006 09:58 PM
09-25-2006 09:58 PM
Re: Help required on Perl GUI
All I did was Perl server side scripting.
Only with my first attempts did I do a little JavaScript scripting to get an idea of it.
Because the only websites where I occassionally do some CGI scripting are for internal administrative purposes there is no need for fancy pop-ups or page adornment.
But there are lots of sites on the WWW dedicated to server and client side scripting.
I for once would load an url where I know to be nagged with those pop-ups (don't forget to allow them in your browser settings ;-)
and simply would look at the received html source, especially at the html comment blocks that define appropiate JavaScript functions.
Maybe a basic notion of the document object model that also the various JavaScript methods and attributes refer to would help?
Basically I would think it boils down to one or two lines in those JavaScript functions that simply open a new window (maybe with optional positioning) with the url of your input form.
Finally, a big caveat (why I am not that fond of client side scripting).
You say that you want to feed the input to a database select statement.
Never trust any client input, attributes or variables!!!
Don't trust the data that passed a client side JavaScript input checker!
Always test client input against a set of allowed characters before you use it as input for some database query!