Re: [Catalyst] Re: How to get uri_for something with a fragment?

2011-03-08 Thread Ronald J Kimball
On Mon, Mar 7, 2011 at 6:20 PM, Ashley Pond V a...@sedition.com wrote: 2011/3/7 Adam Sjøgren a...@koldfront.dk: On Mon, 7 Mar 2011 13:01:42 -0800, Ashley wrote: What Ronald said + the #fragment is not passed along in the available ENV with some servers and setups. In these cases it doesn't

Re: [Catalyst] Re: How to get uri_for something with a fragment?

2011-03-08 Thread Ronald J Kimball
On Tue, Mar 8, 2011 at 11:27 AM, Ashley Pond V a...@sedition.com wrote: Well, the original message was: How do I call uri_for_action and pass it the '#id' part? It's not an arg and it's not part of the query string. This is called the fragment identifier in the final URL. uri_for_action

Re: [Catalyst] Re: How to get uri_for something with a fragment?

2011-03-08 Thread Ashley Pond V
On Tue, Mar 8, 2011 at 8:44 AM, Ronald J Kimball rkimb...@pangeamedia.com wrote: On Tue, Mar 8, 2011 at 11:27 AM, Ashley Pond V a...@sedition.com wrote: Well, the original message was: How do I call uri_for_action and pass it the '#id' part? It's not an arg and it's not part of the query

[Catalyst] Catalyst/FastCGI process management

2011-03-08 Thread gvim
I'm staging a Catalyst application, for the first time, on Centos5.5/nginx 0.8.54/FastCGI using the 'cgiwrap-fcgi.pl' script to generate a unix socket /var/run/nginx/cgiwrap-dispatch.sock. The script makes use of FCGI::ProcessManager and everything connects fine to the unix socket but I can't

Re: [Catalyst] Re: How to get uri_for something with a fragment?

2011-03-08 Thread John M. Dlugosz
On 3/8/2011 10:27 AM, Ashley Pond V apv-at-sedition.com |Catalyst/Allow to home| wrote: Well, the original message was: How do I call uri_for_action and pass it the '#id' part? It's not an arg and it's not part of the query string. This is called the fragment identifier in the final URL.

Re: [Catalyst] Catalyst/FastCGI process management

2011-03-08 Thread Charlie Garrison
Good afternoon, On 9/03/11 at 2:16 AM -, gvim gvi...@gmail.com wrote: So, if there any others out there using nginx/cgiwrap-fcgi.pl can you tell me what you're using to manage the processes. I've heard that a persistent environment needs more process management than vanilla CGI so can't

[Catalyst] CatalystX-ExtJS is not installed on Windows with Microsoft compiler

2011-03-08 Thread Ignatov Serguei
Hi, I've found that CatalystX::ExtJS (and other modules) is not installed on Windows with Microsoft compiler because installation of Devel::Size fails. The simple fix in Size.xs (line 775) case SVt_PVAV: { dbg_printf((# Found type AV\n)); /* Quick

[Catalyst] Best prcatice: same back-end, different UI

2011-03-08 Thread Julien Sobrier
Hello, I have multiple domain names tight to the same back-end. I'd like to be able to present different templates based on: * the domain name * the language (not just a translation) * user agent (mobile version) I am wondering what is the best way to achieve this. Thanks Julien

Re: [Catalyst] Re: How to get uri_for something with a fragment?

2011-03-08 Thread will trillich
I can't see that the original question has been answered. I'm interested as well... The manpage for $c-uri_for() at http://search.cpan.org/~bobtfish/Catalyst-Runtime-5.80032/lib/Catalyst.pm) talks about ?query=values but not about #anchors. Is there any facility via e.g. $c-uri_for() to generate

Re: [Catalyst] Best prcatice: same back-end, different UI

2011-03-08 Thread Jason Galea
Hi Julien, I've used a couple of different tactics.. assuming you are subclassing Catalyst::View::TT for your view you can do: $c-stash-{additional_template_paths} = [$c-config-{root}.'/'.$theme_dir]; in your controller, auto, chain, whatever. This will tell TT to look for templates there

Re: [Catalyst] Re: How to get uri_for something with a fragment?

2011-03-08 Thread Julien Sobrier
The fragment is not sent to the server by the client: http://tools.ietf.org/html/rfc3986#section-3.5 http://en.wikipedia.org/wiki/URL_fragment The fragment identifier functions differently than the rest of the URI: namely, its processing is exclusively client-side with no participation from the

Re: [Catalyst] Re: How to get uri_for something with a fragment?

2011-03-08 Thread will trillich
What would be helpful is either There's no mechanism within the Catalyst toolkit to generate urls with anchors, stick to Perl string concatenation or You can use this handy feature XYZ of the Catalyst toolkit to generate url strings with anchors not Browsers handle the anchors so don't try to

Re: [Catalyst] Re: How to get uri_for something with a fragment?

2011-03-08 Thread Pedro Melo
Hi, On Wed, Mar 9, 2011 at 6:11 AM, will trillich will.trill...@serensoft.com wrote: I can't see that the original question has been answered. I'm interested as well... I just opened Catalyst.pm ($VERSION = 5.80030) and read the code for uri_for. As far as I can tell, there is no support for