Re: [fw-general] Dojo BorderContainer Help

2008-09-29 Thread Graham Anderson
On Friday 26 September 2008 17:02:12 Panman wrote:
> Matthew Weier O'Phinney-3 wrote:
> > Yep -- I use it in my pastebin demo:
> >
> > http://weierophinney.net/matthew/uploads/pastebin-1.0.0.tar.gz
> >
> > One thing to note: BorderContainer and doctypes don't play well together
> > in most cases -- I generally need to omit the DocType declaration when
> > using it.
>
> Do you apply a theme? I've found that when I apply the Tundra theme the
> entire layout dissapears after the page loads.

One thing to watch for is if you are using a local path to dojo rather than 
from CDN. I found i had to explicitly set the dojo module path as well as 
setting the local path to dojo itself.

$view->dojo()->registerModulePath('../dijit', 'dijit');

Also there are a some quirks that seem to cause a layout to not appear, which 
ultimately are *not* bugs in the ZF implementation.

For example if you do not specify the widths of left/right dijit layout areas 
in CSS(outside of a dijit theme) or when you instantiate the dijit layout 
helpers, this can cause the layout to not be visible depending on the rest of 
your style definitions.

Graham




Re: [fw-general] Dojo BorderContainer Help

2008-09-26 Thread Matthew Weier O'Phinney
-- Panman <[EMAIL PROTECTED]> wrote
(on Friday, 26 September 2008, 08:02 AM -0700):
> Matthew Weier O'Phinney-3 wrote:
> > 
> > Yep -- I use it in my pastebin demo:
> > 
> > http://weierophinney.net/matthew/uploads/pastebin-1.0.0.tar.gz
> > 
> > One thing to note: BorderContainer and doctypes don't play well together
> > in most cases -- I generally need to omit the DocType declaration when
> > using it. 
> > 
> Do you apply a theme? I've found that when I apply the Tundra theme the
> entire layout dissapears after the page loads.

Please look at how the pastebin does it; everything works correctly in
that application.

-- 
Matthew Weier O'Phinney
Software Architect   | [EMAIL PROTECTED]
Zend Framework   | http://framework.zend.com/


Re: [fw-general] Dojo BorderContainer Help

2008-09-26 Thread Panman



Matthew Weier O'Phinney-3 wrote:
> 
> Yep -- I use it in my pastebin demo:
> 
> http://weierophinney.net/matthew/uploads/pastebin-1.0.0.tar.gz
> 
> One thing to note: BorderContainer and doctypes don't play well together
> in most cases -- I generally need to omit the DocType declaration when
> using it. 
> 
Do you apply a theme? I've found that when I apply the Tundra theme the
entire layout dissapears after the page loads.
-- 
View this message in context: 
http://www.nabble.com/Dojo-BorderContainer-Help-tp19657350p19690187.html
Sent from the Zend Framework mailing list archive at Nabble.com.



Re: [fw-general] Dojo BorderContainer Help

2008-09-25 Thread Matthew Weier O'Phinney
-- Panman <[EMAIL PROTECTED]> wrote
(on Wednesday, 24 September 2008, 01:32 PM -0700):
> I have not been able to get BorderContainer to work at all. Neither with ZF
> nor directly coding a test page. Has anyone been successful with
> BorderContainer?

Yep -- I use it in my pastebin demo:

http://weierophinney.net/matthew/uploads/pastebin-1.0.0.tar.gz

One thing to note: BorderContainer and doctypes don't play well together
in most cases -- I generally need to omit the DocType declaration when
using it. 

-- 
Matthew Weier O'Phinney
Software Architect   | [EMAIL PROTECTED]
Zend Framework   | http://framework.zend.com/


[fw-general] Dojo BorderContainer Help

2008-09-24 Thread Panman

I have not been able to get BorderContainer to work at all. Neither with ZF
nor directly coding a test page. Has anyone been successful with
BorderContainer?
-- 
View this message in context: 
http://www.nabble.com/Dojo-BorderContainer-Help-tp19657350p19657350.html
Sent from the Zend Framework mailing list archive at Nabble.com.