RE: form completion question- lwp/mechanize - possible issue

2004-06-10 Thread Gedanken
On Thu, 10 Jun 2004, Thomas, Mark - BLS CTR wrote: If you know what the 'real' value should be, you can add it yourself manually, THEN select it like: heres an example of having to add a radio button and a text selection because javascript BS is what the form uses to do the same. the form its

RE: form completion question- lwp/mechanize - possible issue

2004-06-10 Thread Thomas, Mark - BLS CTR
> as you can see, there is no value for the "Monday" > checkbox Ack, that code is so 1993. Even HTML 2.0 (circa 1994) required a value attribute. > But yet the asp server code handles it properly. Your browser fills in an empty value when it encodes the GET or POST. The server code is just

form completion question- lwp/mechanize - possible issue

2004-06-10 Thread bruce
hi... i've got what appears to be a problem/issue with the www::mechanize function, as it applies to form submissions... i have the following code segment... use HTML::TreeBuilder; use LWP::UserAgent; use WWW::Mechanize; my $b = WWW::Mechanize->new(); $ua = new LWP::UserAgent; $ua->timeo

Re: libwww questions/issue..

2004-06-10 Thread Keary Suska
on 6/9/04 2:12 PM, [EMAIL PROTECTED] purportedly said: > got a bit of a problem/lack of understanding... > > the following url works in a browser window. it can be selected, and the > appropriate page appears... > > http://soc.our.psu.edu/soc/act_main_search.cfm?Semester=FALL%202004&CrseLoc= > A

RE: frame question- lwp/mechanize

2004-06-10 Thread bruce
there seems to be an issue with this... when i "grab" the frame i'm interested in, and i submit the form, how do i go about getting the updated content/html from the parent frame?? here's a section of code that i'm using... --- use HTML::TreeBuilde

Re: frame question- lwp/mechanize

2004-06-10 Thread Gedanken
On Thu, 10 Jun 2004, bruce wrote: there may be a smarter way to do it, but 'regular' mech works just fine with frames. after you do a 'get' to grab the frameset, you can just do 'get's to grab the frame you want. like $agent->get("someframeset.html"); $agent->get("leftNav.html") theres no n

frame question- lwp/mechanize

2004-06-10 Thread bruce
hey... can www::mechanize be used to deal with frame sites.. or does one have to use lwp::useragent::framesready...?? is there a sample of code that someone could point me to... didn't really find anything on google that answered this basically, i want to get a given frame (foo), submit a fo