Cliff Wells wrote:
Hi,
So I'm almost done with a new template engine and an issue I had with
TurboStan has arisen again. The first time around I didn't concern
myself too much since I only supported TurboGears with TurboStan, but
this time around I'm primarily supporting the Buffet API.
Cliff Wells wrote:
Hi,
So I'm almost done with a new template engine and an issue I had with
TurboStan has arisen again. The first time around I didn't concern
myself too much since I only supported TurboGears with TurboStan, but
this time around I'm primarily supporting the Buffet API.
That works fine when you go straight to the /login page. But, if you go
to a protected page like /secret (and aren't already authenticated),
the progression goes something like this:
- user goes to /secret
- internally, user is redirected to /login. Browser url still appears
to say /secret
-
On Jan 5, 1:55 pm, Jorge Godoy [EMAIL PROTECTED] wrote:
var hideMyScript = function (element_id) {
element = $(element_id);
previous_sibling = element.previousSibling;
updateNodeAttributes(element, {'class':'invisible'});
I started to respond with API in a post, but I figure it will be more
useful in the actual docs. This should be it.
http://docs.turbogears.org/1.0/IdentityManagment#exposed-interfaces-in-identity-current
--~--~-~--~~~---~--~~
You received this message because
Steve Bergman [EMAIL PROTECTED] writes:
Nope. previousSibling returns something of type text. However, this
Probably it should be something like element.previousSibling.parentNode.
hides the whole row of the TableForm by setting the tr's class to
invisible, which is just what I want:
I
wondering if any one can help me make sense of a couple of things. I
have this block of code in controllers.py out side of root class.
def get_client_list_as_options():
options = [(client.id, client.clientName) for client in
Client.select()]
return options
class
hi
im trying to use a TableForm with a TextField (passed in as a
widgetList). Because its for a new record, im passing in values=.
What Im getting in my browser is an input text field with
built-in method title of str object at 0xb7dbc098 as the 'value'.
Is there an easy way I can surpress that
glenn schrieb:
hi
im trying to use a TableForm with a TextField (passed in as a
widgetList). Because its for a new record, im passing in values=.
What Im getting in my browser is an input text field with
built-in method title of str object at 0xb7dbc098 as the 'value'.
Is there an easy way I
Jorge Godoy schrieb:
Use the widget the correct way. Send some code to the list. You are not
doing what you think you're doing.
Be patient with him. Without any proper API documentation on widgets, he's not
really to blame.
And looking into the source code does not really help either. It's
Christopher Arndt [EMAIL PROTECTED] writes:
Be patient with him. Without any proper API documentation on widgets, he's not
really to blame.
I'm not impatient (otherwise I wouldn't be answering). All of his questions
are answered without an API documentation.
Excellent! Thanks Patrick. Looks as if the API documentation is still
under heavy work, is there any more API docs available for other parts of
TG?
-Original Message-
From: turbogears@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Patrick Lewis
Sent: Saturday, January 06,
Christopher Arndt [EMAIL PROTECTED] writes:
Sorry, that is not my idea of an API documentation. These are mere usage
examples.
I didn't say they were API. Let me repeat: without an API documentation.
I wouldn't call that exactly a lot, esp. since the last is only a list and
no. 2 is only
Jorge Godoy schrieb:
If you restrict yourself to the wiki then there isn't a lot. :-)
Search the archives here and you'll see a lot more of resources and examples.
There are blogs with recipes, notes, etc.
I think that scattered notes, hints, mailing list messages etc. don't count as
On 1/6/07, Jorge Godoy [EMAIL PROTECTED] wrote:
There are docs explaining all the process. I believe that even the 20 minute
wiki shows that... There are some widgets tutorials available on
docs.turbogears.org as well. Take some time to read them.
The book explains this process. There are
I have added a wiki page for the sprint.
http://us.pycon.org/TX2007/TurboGearsSprint
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
TurboGears group.
To post to this group, send email to
On Saturday the 13th of January, I'll be organizing (I use the term
loosely) a Doc Sprint.
We'll discuss our work on the TurboGears Docs mailing list, on the
#turbogears, and organize or efforts around the work listed on the
Docs wiki.
http://docs.turbogears.org/1.0/DocSprintOrganization
If
I've tracked this down to a bug in Trac itself. As soon as I can get
the latest release installed on the server it will be fixed. I'm
aiming to have this done tomorrow.
Lee
On 1/5/07, Christopher Arndt [EMAIL PROTECTED] wrote:
Florent Aide schrieb:
I receive this error:
500 Internal
Mark Ramm schrieb:
http://docs.turbogears.org/1.0/DocSprintOrganization
Just beautified that a bit and added basic info (took the liberty to steal most
of your text here).
If you want to help, add your name to the list of participants.
Just added myself.
How will contribution work if we
I think that scattered notes, hints, mailing list messages etc. don't count as
documentation. If you're determined, you'll get along, but I still maintain
that TurboGears (i.e. the distribution, wiki, trac and amin page) itself has no
proper documentation on widgets.
Have you looked at the
Hi Jorge
Thanks for taking the time to reply...
Jorge Godoy wrote:
Glenn Davy [EMAIL PROTECTED] writes:
1) Id __like__ to say:
project_formwidget.fields.client.default=p.clientID
However the 500 err tells me that:
AttributeError: 'ProjectFields' object has no attribute 'client', but
On Jan 6, 7:18 pm, glenn [EMAIL PROTECTED] wrote:
I notice many people pass in key value pairs, but, well... I dont want
to have to - It seems I can almost get away with just passing in the
object (p) and I'd like to make this work.
You can turn most data model objects into dictionaries
Hi people!
I was working on a plugin to turbogears that gives me the same
funcionality of the django templates. My goal is to be able to define
some template paths and when loading the template, search through this
paths to find the proper template. I want to be able to import the
proper
Hi,
Can I use @exception_handler to catch 404(cherrypy.NotFound)
exception.
I used @exception_handler decorator in my index, but the 404 error kept
showing
without calling my own exception handler.
I tried calling my index page with an additional parameter, which my
index function
doesn't
glenn schrieb:
I notice many people pass in key value pairs, but, well... I dont want
to have to - It seems I can almost get away with just passing in the
object (p) and I'd like to make this work.
I think you can actually also pass in model objects to the value argument of
forms but not
Lee Connell wrote:
Also, the login controller is still called when the user attempts to
authenticate, it just redirects it to in this case /verify_login if the
authentication is successful, otherwise it reports the authentication error
message to the login.kid template?
Not quite. Yes, the
Steve Bergman wrote:
On Jan 6, 7:18 pm, glenn [EMAIL PROTECTED] wrote:
I notice many people pass in key value pairs, but, well... I dont want
to have to - It seems I can almost get away with just passing in the
object (p) and I'd like to make this work.
You can turn most data model
Well, to be honest, I didn't realize that you *could* pass a model
object.
I just created this simple project and it works.
Perhaps you will see something in this that will help:
Model.py:
from turbogears.database import PackageHub
from sqlobject import *
hub =
We can post patches to tickets in Trac -- I'm sure we can talk
somebody into comitting those patches :)
--Mark Ramm
On 1/6/07, Christopher Arndt [EMAIL PROTECTED] wrote:
Mark Ramm schrieb:
http://docs.turbogears.org/1.0/DocSprintOrganization
Just beautified that a bit and added basic info
hey steve
Steve Bergman wrote:
Well, to be honest, I didn't realize that you *could* pass a model
object.
neither did I, but its what they do in 1 sample of the famous bookmark
example in chp5
I just created this simple project and it works.
yp - mine works as for as you've gone also... I
I'm relatively confident that widgets docs will be addressed during
the docs sprint, since people who DO know the widgets system should be
participating and it's the only major area of TG that isn't documented
online. The official position is that the book documents widgets,
which is true, but
Go for it! But remember that ToscaWidgets will become the standard.
I know. That's what's so fascinating about TurboGears. We don't really need
documentation, because before you'll get to know a component properly, it'll be
replaced by another anyway ;-)
Buwahahaha! You've figured out
This is a little off topic, but my googling is not turning much up. Is
there a firefox extension or other easy way of testing pages with
arbitrary post variables? I'm interested in finding out what the best
way of making manual and automated tests of browser page loads with
preset get and post
I'm having a hard time wrapping my head around MochiKit, because I have
very little javascript experience.
I want to do something really simple. When I click a specific link on
a page, I want some text to appear in the middle of the page.
I understand enough that I need to put something in my
34 matches
Mail list logo