1. checking whether there is an existing session associated this username
Session::PerUser ?
I looked briefly at this, but I'm a bit wary because
C::P::Session::Store::Fastmmap warns against being used with it. What
is PerUser doing that is special in that respect, and what is a good
backend
Hi Hani,
var postData =
source_account=1destination_account=2ingestor_id=10source_id=1
I think this is where it fails. As far as I can tell from your code,
postData should contain a JSON Object.
Try something like:
var postData = '{ source_account: 1, destination_account: 2,
ingestor_id:
On Jul 24, 2008, at 10:16 PM, Jonathan Rockway wrote:
* On Thu, Jul 24 2008, Pedro Melo wrote:
And yes, the tradeoff is mod_perl, which is more complex than FCGI.
How does Perlbal require mod_perl? I would just run the application's
own HTTP server behind Perlbal. Not very complex at all.
On Fri, Jul 25, 2008 at 07:40:59AM -0500, James S. White wrote:
I was trying to munge the paramaters in the controller,
You said argument in your original post:
sub foo : Local {
my ( $self, $c, $myarg ) = @_;
$c-stash-{myarg} = $self-munge( $myarg );
# or use
On 25 Jul 2008, at 13:40, James S. White wrote:
I was trying to munge the paramaters in the controller, I just
can't figure
out how to access the variables of a controller method in the
template. I'd
be more than happy to pass the argument to a controller, and then
have the
view fetch it
I did. I want to use it as a variable even though it's passed in as an arg.
I didn't mean to be unclear, sorry. Once it's stashed, can I use it like
[% myarg %] in a template? or [% c.stash.myarg %]?
On Fri, 25 Jul 2008, Bill Moseley wrote:
On Fri, Jul 25, 2008 at 07:40:59AM -0500, James S.
Cool. I was unaware how the stash worked. I can see the benefit of encapsulating
each component. Thanks!
On Fri, 25 Jul 2008, Tomas Doran wrote:
On 25 Jul 2008, at 13:40, James S. White wrote:
I was trying to munge the paramaters in the controller, I just
can't figure
out how to access
On 25 Jul 2008, at 14:50, James S. White wrote:
I did. I want to use it as a variable even though it's passed in as
an arg.
I didn't mean to be unclear, sorry. Once it's stashed, can I use it
like
[% myarg %] in a template? or [% c.stash.myarg %]?
Yes, either.
Cheers
t0m
I'm looking for suggestions how to best support multiple API versions
in an application.
The API and web share many controller actions. As is not uncommon,
actions available for the API are defined with an attribute:
sub foo : Local XMLRPC( 'foo.get' ) {
This is great for sharing code as
I can stash and array and when I use [% c.stash.mylist %] in the template,
it prints 'ARRAY(0x94023b0)' but if I try:
[% FOREACH element IN c.stash.mylist %]
[% element %]
[% END %]
the output is null. I'm sure I'm missing something here, I just don't know what.
On Fri, 25 Jul 2008, Tomas
nevermind. this works. I am an idiot. It helps if the array isn't empty...
On Fri, 25 Jul 2008, James S. White wrote:
I can stash and array and when I use [% c.stash.mylist %] in the template,
it prints 'ARRAY(0x94023b0)' but if I try:
[% FOREACH element IN c.stash.mylist %]
[% element %]
On Fri, Jul 25, 2008 at 8:02 AM, James S. White [EMAIL PROTECTED] wrote:
nevermind. this works. I am an idiot. It helps if the array isn't empty...
On Fri, 25 Jul 2008, James S. White wrote:
I can stash and array and when I use [% c.stash.mylist %] in the template,
it prints
Am 25.07.2008 um 10:27 schrieb Daniel McBrearty:
1. checking whether there is an existing session associated this
username
Session::PerUser ?
I looked briefly at this, but I'm a bit wary because
C::P::Session::Store::Fastmmap warns against being used with it. What
is PerUser doing that
On Fri, Jul 25, 2008 at 10:27:34AM +0200, Daniel McBrearty wrote:
1. checking whether there is an existing session associated this username
Session::PerUser ?
I looked briefly at this, but I'm a bit wary because
C::P::Session::Store::Fastmmap warns against being used with it. What
On Fri, Jul 25, 2008 at 07:09:58AM -0700, Bill Moseley wrote:
I'm looking for suggestions how to best support multiple API versions
in an application.
The API and web share many controller actions. As is not uncommon,
actions available for the API are defined with an attribute:
sub
15 matches
Mail list logo