Re: form action change to external link?
Alejandro Infante <[email protected]>
| Newsgroups | gmane.comp.lang.smalltalk.squeak.seaside |
|---|---|
| Message-ID | <[email protected]> |
Hi! The WABrush>>with: call must be the last call to a brush. So instead of: html form with: [ stuff… ]; action: 'http://localhost/home/html/upload_large.asp <http://localhost/home/html/upload_large.asp>' Try: html form action: 'http://localhost/home/html/upload_large.asp <http://localhost/home/html/upload_large.asp>'; with: [ stuff… ] I have tried and it works :) Cheers! Alejandro > On Mar 1, 2016, at 11:30 AM, Robert Kuszinger <[email protected]> wrote: > > > > Hello Everyone! > > I'm still working on my large file upload project on a windows server (so ngix won't play :( ). > I have a good uploader and also technique to solve upload outside Seaside (or VA WebCOnnection as I did before) and then come back into the session afterwards. > > But to make it I need to hack the seaside form to put my own link into the ACTION=".....". > > Here is what I did, but it seems that action is overwritten by Seaside to its usual internal form action (understandably) > > > f := html form. > > f with:[ > > .... form creaton code here.... works well, no problem....... > > ]. > > f action: 'http://localhost/home/html/upload_large.asp <http://localhost/home/html/upload_large.asp>'. > > And when looking at generated page source: > > <form accept-charset="utf-8" method="post" action="/uploader?_s=jdXt_Vzp8dKoK3M9&_k=C197PyH7ka66mXVd"> > > > So, how to hack my own action into the form? > > > thanks > Robert > > > > > > > _______________________________________________ > seaside mailing list > [email protected] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside _______________________________________________ seaside mailing list [email protected] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside