Bob,

Your comments did help.  My response below:

Bob Showalter> This is a "drill down" concept, right? Why not just use a simple link?
Bob Showalter> <A HREF=...>Details</A>

I don't think this is just a "drill down" concept.  I need some way of
passing the variables between the pages so that a dynamically built
DBI/MySQL query is built.


Bob Showalter> If you want a form, I would use a Submit button. If you use a radio
Bob Showalter> button, you either need a Submit button somewhere else, or you need
Bob Showalter> to use onclick to submit the form, which seems counter-intuitive to
Bob Showalter> me. You'll have to name the submit button in such a way as to identify
Bob Showalter> the row selected.


Bob Showalter> Don't close the table row. Just put the form element inside a <TD></TD>

This is what I ended up doing, and it works great.


Bob Showalter> I don't see any evidence of CGI.pm being used in your code.
Bob Showalter> You're just handrolling your HTML, which is fine with me, but not
Bob Showalter> necessarily the "CGI.pm" way...

I always start off my code by using CGI.pm object-oriented method:
print $q->header( "text/html" ),
        $q->start_html( -title => "eDPS1 DS0 Monitor", -bgcolor => "#ffffff" ),
        $q->h2( "$jason DS0 Monitor" ),
        $q->p("$tm" ),
        $q->p("Select a T1 Below to see Status of individual DS0 Circuits" ),
        $q->end_html;

But then can't use this format again, so have to "handroll" my HTML in
the rest of the program because If I try to go back to using it, I get
an error.

The last thing I want to do is become a target, but the only way to
show you what I am trying to do is show you the infant page:

http://monitor.natelnetwork.com/cgi-bin/ds0.cgi?rgrp=WORLDCOM

Two questions:
1.  Off to the right, what I am trying to do is be able to click one of
the rows, and then it will do a query for that "rls" column.  It will
then "expand" underneath that row and display all 24 of the element values
underneath whatever row I selected.  I can then hit a clear button,
and the 24 elements are collapsed so that you see only the first page
once again (so you can select another row instead of the previous one).

2.  How do you refresh the page and create the same dynamic content,
like say every 15 seconds?

I tried using:
print $q->header( -Refresh=>'15; URL=ds0.cgi' ),

But after the first time it re-freshes, it looses the 'Wworldcom'
variable / query string, and doesn't display any rows.


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to