I've previously been a Perl programmer. I did a lot of stuff where I would have multiple links with different options. Ex. <a href="/path/script.pl/1234">1234</a><br> <a href="/path/script.pl/2345">2345</a><br> Then, in script.pl, I would pick up the extra info on the other side from $PATH_INFO. The problem in Zope is that there is no "end" to the address. Serving from Apache, it knows that the .pl extension is the end of the path. If there's a '/' and more after it, it will push it to PATH_INFO. So how do you do this in Zope? Because it's object names instead of paths in the request, how do you send optional, additional info through the request as above? I know there has to be a way to easily do this, I just can't figure it out.
"Leichtman, David J" wrote:
I've previously been a Perl programmer. I did a lot of stuff where I would have multiple links with different options. Ex.
<a href="/path/script.pl/1234">1234</a><br> <a href="/path/script.pl/2345">2345</a><br>
You can do this and more with a SiteAccess access rule and modifying the remaining traversal stack. It's a REQUEST variable but the name escapes me right now... However, I'm planning to do a PathHandler product to do just this as soon as I get to grips with Zope 2.2... cheers, Chris
Hi all, I have given myself permission to post this gripe. Thank You <g> While I do use the list archives and I try to get others that are new to Zope to do the same. I have a gripe for the Zen Masters. It's the subject line above. Granted most of the "No Subject" mail starts with a newbie question. That doesn't mean you have to let it ride like that. Simply do what I did above. WHY? Once your words are immortalized in the archives they carry great value, IF there is a subject line that makes sense. Otherwise it's just one more in the list each month that say "(no subject)". How sad that you would value you efforts at such a low mark. I'd like to thank you all in advance for taking that extra 45 seconds to add or change to the appropriate subject line. It makes the archives that much more useful. BTW: Thanks for all the help everyone. -- Tim Cook -- "The more I learn, the more I realize I don't know, and the more I realize I don't know, the more I want to learn." --Einstein
Tim Cook wrote:
Hi all,
I have given myself permission to post this gripe. Thank You <g>
While I do use the list archives and I try to get others that are new to Zope to do the same. I have a gripe for the Zen Masters. It's the subject line above.
Granted most of the "No Subject" mail starts with a newbie question. That doesn't mean you have to let it ride like that. Simply do what I did above. WHY?
One of my gripes is the subject line too. In fact, I nearly always ignore (no subject) posts. Seems to me it should not be too difficult to make Mailman reject posts with that subject, with a message indicating the reason. I'll leave whether or not it _should_ be done as an excercise for the reader.... -- Do not meddle in the affairs of sysadmins, for they are easy to annoy, and have the root password.
participants (4)
-
Bill Anderson -
Chris Withers -
Leichtman, David J -
Tim Cook