in this case) is passed to the
constructor at setup time; all you need to do is make accessors for
whatever you want access to:
__PACKAGE__-mk_accessors(qw/vip/);
sub pay_for_vip : Private {
...
my $price = $self-vip-{price};
}
--
Jason Gottshall
jgottsh...@capwiz.com
/Intro.pod#Built-in_Private_Actions
--
Jason Gottshall
jgottsh...@capwiz.com
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk
an extra request cycle, but the user's
experience will be more correct.
--
Jason Gottshall
jgottsh...@capwiz.com
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http
Zbigniew Lukasiak wrote:
On Mon, Feb 2, 2009 at 7:59 PM, Jason Gottshall jgottsh...@capwiz.com wrote:
Zbigniew Lukasiak wrote:
Maybe I am just being lazy now - but before I start digging too deep -
did you take into accout that some forms require loading stuff from
the DB? It can happen
( app = $c );
so that the form can access model-related stuff as necessary. (This is
safe because RHTMLO automatically weakens any value passed to -app).
Would something like that address your cases?
--
Jason Gottshall
jgottsh...@capwiz.com
___
List
Jason Gottshall wrote:
John Siracusa wrote:
On Mon, Jan 26, 2009 at 1:43 PM, Jason Gottshall
jgottsh...@capwiz.com wrote:
Caching sounds wise. The only kink I see is that my controller allows
for
multiple instances of the same form.
The same form meaning what? If you store forms keyed
Peter Karman wrote:
Jason Gottshall wrote on 1/22/09 4:52 PM:
[Cross-posted to catalyst-users and rhtmlo lists]
I know there are several modules out there that hook up rhtmlo and
catalyst, but none of them do what I want. They all seem to do too much:
connect to a CRUD API, interface
John Siracusa wrote:
On Mon, Jan 26, 2009 at 1:43 PM, Jason Gottshall jgottsh...@capwiz.com wrote:
Caching sounds wise. The only kink I see is that my controller allows for
multiple instances of the same form.
The same form meaning what? If you store forms keyed by an
arbitrary name string
::CRUD::Controller::RHTMLO
A component that enables use of Rose::HTML::Form objects with Peter
Karman's
cool LCatalystX::CRUD API.
=back
=head1 SEE ALSO
LRose::HTML::Form, LRose::HTML::Objects, LRose::Object,
LCatalyst::Controller, LCatalyst::Action, LCatalyst
=head1 AUTHOR
Jason Gottshall
, then you just pass $c-user to the schema at
the beginning of the request. RestrictWithObject will intercept all
searches and tack on the appropriate filter for the requested resultset
for you.
HTH,
Jason
--
Jason Gottshall
[EMAIL PROTECTED]
___
List
J. Shirley wrote:
You can give information on the conference at http://perloasis.org/opw/
Correct conference URL is http://perloasis.org/opw2009/
--
Jason Gottshall
[EMAIL PROTECTED]
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http
11 matches
Mail list logo