Displaying 3 results from an estimated 3 matches for "snmptrustedhost".
2007 Mar 15
0
Getting info from an Hpricot::Elem
How about getting the name and value from this element object:
irb(main):079:0> elements[1] => {emptyelem <input
name="SNMPTrustedHost" type="hidden" value="1.2.3.4">}
irb(main):080:0> elements[1].class
=> Hpricot::Elem
If I can do that, then I''m home free. I''ve been looking at the Hpricot
docs, but I''m not seeing what I need.
Should I see the doctor if my vision gets...
2007 Mar 15
0
SOLVED: Getting info from an Hpricot::Elem
...attglobal.net>
Reply-To: barsalou <barjunk at attglobal.net>
Subject: Getting info from an Hpricot::Elem
To: mechanize-users at rubyforge.org
How about getting the name and value from this element object:
irb(main):079:0> elements[1] => {emptyelem <input
name="SNMPTrustedHost" type="hidden" value="1.2.3.4">}
irb(main):080:0> elements[1].class
=> Hpricot::Elem
If I can do that, then I''m home free. I''ve been looking at the Hpricot
docs, but I''m not seeing what I need.
Should I see the doctor if my vision gets...
2007 Mar 14
2
A java initialization routine
....snmp_mode[0].checked = true;
if( ''0'' == ''0'' )
f.snmp_ver[0].checked = true;
else
f.snmp_ver[1].checked = true;
ChangeSNMP_Mode(''1'');
ChangeSNMP_Version(''0'');
SplitTrustHostIPAddress ( ''1.2.3.4'' );//SNMPTrustedHost
SplitSNMPTrapDestIPAddress ( ''0.0.0.0'' );//SNMPTrapDest
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.