473,657 Members | 2,507 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Have Zope a querystring parse routine ? (plus others)

Hi !

Sorry, but zo**@zope.org is not send mails to me... So I trying with
that list...
1.)
I want to use query-string, and post datas in combined dictionary.
I have a page that I must access with special query string, but it have
post datas.

The simple way is to redefine the post action, not the use of hidden
parameters:

action="/?pid=113"

But if I post that page, the pid is not in request, or request.form,
because it is in query string, and Zope is use that post datas, not the
query string.

So query string is unparsed, and if I want to get the params, I need to
parse items, and place in querydict dictionary.
My parse routine (what a pity) not handle the non-us, or other special
characters.

How to I do it simply ?

2.)
How to I avoid in Zope that request.form items are appear in request ?
It is a possible way to inject variables in request from out...

3.)
I there a way in Zope to get some often used routines simply ?
(Aliases ?)

Now I need to repeat in every pyscript:

rq=context.REQU EST
....

or
CreateCombo=con text.routines.h tml.CreateCombo
combotext=Creat eCombo(name,id, items,......)

I think that often used routines are placeable in request dictionary:
init.py
rq=context.REQU EST
oup={} # often used procs
proc=context.ro utines.html.Cre ateCombo
oup['CreateCB']=proc
rq.set('OUP',ou p)

usage:
rq=context.REQU EST;oup=rq['OUP']
proc=oup['CreateCB']
proc(.....)

But have a Zope an alias to use the procs with simply aliases ?

Thanx for help:
FT

Jul 18 '05 #1
1 2117
fo***********@a nonym.hu wrote:
1.)
I want to use query-string, and post datas in combined dictionary.
I have a page that I must access with special query string, but it have
post datas.


You are probably better of by just making hidden fields in the form. You
can do exactly the same thing that way.

regards Max M
Jul 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
2181
by: Jerrykhan | last post by:
Hello, who know the best Bug tracker system on a Python/Zope server ? BugZilla is Perl oriented (beuh !!) What about others ? Is A python oriented BugZilla like exists ? or need I write it ? On a zope one or behind an apache one. Any ideas ? Thanks ..
0
961
by: gnurpreet | last post by:
Software architect for Python/Zope/Plone development. Innovative (free/open source) software company in Rome, Italy, develops software for international political organizations. Proven and multi-year experience, management skills a plus. Relocation to Rome preferred, but also remote consulting and mixed are considered. Competitive compensation. jobs-mgmt@partecs.com Programmer for Python/Zope/Plone development. Innovative (free/open...
47
2596
by: Will Stuyvesant | last post by:
Hello all, So Zope still lives, yay. Well, I like that they use Python. <rant> What amazed me is they write that they "added types to the variables and hope that it will be added to the Python project too". Really. ROFL.
21
1596
by: godwin | last post by:
Hi all, I wanna thank Martin for helping out with my ignorance concerning execution of stored procedure with python. Now i have decided to write a web app that googles into my companies proprietary database. I need to know whether zope is good for that job. But even the introduction to zope in the zope book was intimidating. Are there any simple options? If so plz tell me how i can obtain it and study it. I should say that i am new to web...
3
3124
by: Dan Sikorsky | last post by:
How can I get the Querystring passed to the Referring Page from its referrer? I don't want the querystring coming to my current page. I want the querystring that came to the referring page, so that I can check for the existance of a parameter value in that previous querystring.
6
12012
by: John Grandy | last post by:
Does Server.URLDecode() need to be applied to Request.QueryString(<key name>) ?
5
1587
by: =?Utf-8?B?Q2hyaXN0aWFuIE51bmNpYXRv?= | last post by:
Hi there: I'm using ASP.NET AJAX and liking it, but I've run into an issue I'm not sure how to address. I'm building a very simple image browser I'm sure you've all seen before -- one asp:Image tag and a couple of Next/Previous LinkButtons -- and everything's working just fine, but of course, since we're not doing full-page refreshes, the URL in the Address bar never changes -- it simply remains Photo.aspx, for instance. I'd like to...
9
2609
by: Norm | last post by:
Hi, without meaning to start a flame war between the various python web tools, I was wondering if anyone had a review of the status of Zope. For example, is it being used for new projects or just maintenance? I really like the look of Zope 3, and the interface/schema pattern for defining objects looks very useful - but if the general feeling is to use a different tool since Zope 3 isn't being used in the community then I would prefer...
4
5961
by: =?Utf-8?B?RVcgTmV3Ymll?= | last post by:
My apologies in advance if there is a better forum for this question. Given the following snippet: <script type="text/c#" runat="server"> protected void Page_Load(Object Sender, EventArgs e) { if ( Request.QueryString.Count 0 ) { if ( Request.QueryString != "" )
0
8425
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8326
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8743
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8522
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7355
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6177
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4333
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2745
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1736
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.