[Mason] $m->redirect not working

2006-08-01 Thread Oliver Jeeves
Has anybody else had problems with Masons $m->redirect not working? It aborts the component, and sets the loaction header correctly, but the status doesn't get set correctly. I've discovered that the problem is that $m->abort($status) doesn't set the status at all (which, according to the docum

Re: [Mason] <% "something" if $true %>

2006-08-01 Thread Jon Craig
I've had occasions where $bar->{url_target} is actually a deeply nested data structure (thank you XML), so: $bar->{fu}{man}{chu}{with}{a}{lemon}{twist} ? do_something_wise($bar->{fu}{man}{chu}{with}{a}{lemon}{twist}) : or_not($bar->{fu}{man}{chu}{with}{a}{lemon}{twist}) is pretty painful. On tho

[Mason] external stylesheet

2006-08-01 Thread Raful Mr Mitchell H
My external style sheet works on my webserver on NON-mason sites. It just doesn't work on my site in mason.  What am I doing wrong with Mason?  Should my be in my of my autohandler?   Thanks,   Mitch   Mitch Raful, MCSE CCNP Network Engineer HQMC MCCS 3044 Catlin Avenue Quantico, VA 22134 7

Re: [Mason] external stylesheet

2006-08-01 Thread John Romkey
This happens to me all the time... with me, it's usually that my style sheet is getting processed by my autohandler, which makes it an invalid CSS file (given that it has HTML in it then). If all your top level Mason components are using an autohandler and the autohandler is responsible for the

Re: [Mason] external stylesheet

2006-08-01 Thread Raful Mr Mitchell H
No luck, i tried everything I could think of. NO html in the style sheet. I can get to the style sheet via the browser and the link statement is there see below, again, the top of the page to is the autohandler: http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";> http://www.w3.org/1999/xhtml

Re: [Mason] external stylesheet

2006-08-01 Thread Jay Truesdale
On 8/1/06, Raful Mr Mitchell H <[EMAIL PROTECTED]> wrote: > > > My external style sheet works on my webserver on NON-mason sites. It just > doesn't work on my site in mason. What am I doing wrong with Mason? Should > my be in my > of my autohandler? > That's where mine is and it works. It's af

Re: [Mason] external stylesheet

2006-08-01 Thread Raful Mr Mitchell H
However, it works well embeded into the autohandlerany ideas? Mitch -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Raful Mr Mitchell H Sent: Tuesday, August 01, 2006 3:41 PM To: John Romkey Cc: Mason-Users (E-mail) Subject: Re: [Mason] external styleshe

Re: [Mason] external stylesheet

2006-08-01 Thread John Peacock
Raful Mr Mitchell H wrote: > No luck, i tried everything I could think of. NO html in the style sheet. I > can get to the style sheet via the browser and the link statement is there > see below, again, the top of the page to is the autohandler: Put your stylesheets in a directory /css/ and tel

Re: [Mason] external stylesheet

2006-08-01 Thread Sherrard Burton
just grasping at straws here, but is it possibly a pathing issue, ie is the href in the link tag appropriately pathed? in firefox there is an option under the tools menu for viewing "page info". if you go to the links tab, you can see what firefox thinks is the full url for the stylesheet. i k

Re: [Mason] external stylesheet

2006-08-01 Thread Raful Mr Mitchell H
Hey that did the trick!! :-) http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";> http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en"> Management App Thanks, Mitch -Original Message- From: John Peacock [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 01, 2006 4:04 PM T

Re: [Mason] external stylesheet

2006-08-01 Thread Ken Woodruff
As an aside to this topic I find the it handy to include a "css" method call in the autohandler to enable page specific styles and/or stylesheet links when needed (since they must appear in the head, but the is generated by the autohandler). This helps cut down on clogging the main styles

Re: [Mason] external stylesheet

2006-08-01 Thread Gavin Carr
On Tue, Aug 01, 2006 at 01:35:30PM -0700, Ken Woodruff wrote: > As an aside to this topic I find the it handy to include a "css" > method call in the autohandler to enable page specific styles and/or > stylesheet links when needed (since they must appear in the head, but > the is generated b