Welcome to Squishdot Websites Squishdot How-To Newbies
 about
 search
 post article
 Documentation
 Mailing Lists
 Bug Tracking
 Development
 Installation
 Upgrading
 Download
 admin
 rdf

 main


About Squishdot Site Code
How-To Posted by BuzzBee on Wednesday January 30, 08:54AM, 2002
from the new-squish-users dept.
A question on the squishdot code...

I'm a new user of Zope and Squishdot. I started on by looking at the code of squishdot site. In one of the dtml documents, the code addresses a form action method. The code goes as:
<Form action="." Enctype="mutipart/form-data" method="post">
i would like to know the significance of the "." in the form actoion and to which url will it take me too
cheers
buzzbee

<  |  >

 

Related Links
  • Articles on How-To
  • Also by BuzzBee
  • Contact author
  • The Fine Print: The following comments are owned by whoever posted them.
    ( Reply )

    probably nothing
    by Chris Withers on Wednesday January 30, 12:58PM, 2002
    I don't think there is much significance. You could try taking out the whole action="." and it'll probably still work fine.

    cheers,

    Chris

    [ Reply to this ]
    Re: About Squishdot Site Code
    by LninYo on Friday March 29, 01:40AM, 2002
    I think it calls the current page with the form that you just submitted with the values that you just submitted. Look in the DTML document, it might have a DTML-IF in there somewhere that processes the values you just entered.

    In Unix shells "." means "here", this is what it probably means in this context as well. I haven't checked the docs, but I think that's what it does..

    HTH
    [ Reply to this ]
    The Fine Print: The following comments are owned by whoever posted them.
    ( Reply )

    Powered by Zope  Squishdot Powered
      "Any system that depends on reliability is unreliable." -- Nogg's Postulate
    All trademarks and copyrights on this page are owned by their respective companies. Comments are owned by the Poster. The Rest ©1999 Butch Landingin, ©2000-2002 Chris Withers.