Re: Portlet like features

2006-09-19 Thread [EMAIL PROTECTED]
This might VERY well be exactly what I have been looking for - THANK YOU very much for the info - damn, that I missed this in the docs (but to my defence it is extremely well hidden :-) ) Anyways - I'll give it a spin when I get home (doing django in my spare time).. thanks again.. later / Lars B

Re: Portlet like features

2006-09-19 Thread Frankie Robertson
On 19/09/06, Waylan Limberg <[EMAIL PROTECTED]> wrote: > > On 9/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > Well - yes but most MVC type applications have a dispatcher like > > architecture where the request is caught by a single resource which > > then locates the controller to ha

Re: Portlet like features

2006-09-19 Thread Waylan Limberg
On 9/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Well - yes but most MVC type applications have a dispatcher like > architecture where the request is caught by a single resource which > then locates the controller to handle the request. > Anyways, I think I got most of it to work (usin

Re: Portlet like features

2006-09-18 Thread [EMAIL PROTECTED]
Well - yes but most MVC type applications have a dispatcher like architecture where the request is caught by a single resource which then locates the controller to handle the request. Anyways, I think I got most of it to work (using my sparse python knowledge :-) ) but each time I tried to read fr

Re: Re: Portlet like features

2006-09-18 Thread James Bennett
On 9/18/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > But that strikes me as a bad design. Normally in MVC > apps you have your controller to fetch all data before forwarded > to the view. Keep in mind that Django is not strictly MVC -- the closest thing we have to a "controller" is the URL

Re: Portlet like features

2006-09-18 Thread patrickk
you´re right. I`m happy if it works the way you explained. unfortunately, I don´t think it does. similar discussion: http://groups.google.com/group/django-users/ browse_frm/thread/f6aa4c6108fd557e/ patrick Am 18.09.2006 um 15:56 schrieb [EMAIL PROTECTED]: > > But that strikes me as a bad de

Re: Portlet like features

2006-09-18 Thread [EMAIL PROTECTED]
But that strikes me as a bad design. Normally in MVC apps you have your controller to fetch all data before forwarded to the view. By doing it the way I (tried to) explain you are able to use your portlet in whatever context and by using template inheritance you can make all portlet appear the bas

Re: Portlet like features

2006-09-18 Thread patrickk
I think you could do that (or something similar) with using template- tags. we´re having a sidebar on one of our django-sites where the user is able to select the content (and position) she wants. since we don´t know what´s going to be loaded when calling the view, we have to use template-t

Portlet like features

2006-09-18 Thread [EMAIL PROTECTED]
I am a happy but rather newbie user of django but one thing seems to rattle my chain :-). I've created a base template which includes several blocks which are overridden/inserted in the specific pages, but if the template is to use any context parameters I have to set these in ALL controller metho