[Catalyst] Catalyst::View::Email error handling problems

2017-03-17 Thread Hetényi Csaba
Dear Friends Sorry for the beginner question! I experiment with Catalyst::View::Email and i try to send mail to multiple addresses in a while loop (from a database table, containing email addresses: simply one row - one address): while ( my $userdata = $users_data->next ) { $c->stash->{

Re: [Catalyst] HTML::FormHandler setting html attributes programatically in form class

2016-01-11 Thread Hetényi Csaba
our form class that are populated by the Catalyst app on instantiation. With a before 'set_active' => sub {} Moose method modifier you can then use add_active to activate deactivated fields (I've chosen that way round). Cheers, Alex On 2016-01-11 11:26, Hetényi Csaba wrote: Dear Friends

[Catalyst] HTML::FormHandler setting html attributes programatically in form class

2016-01-11 Thread Hetényi Csaba
Dear Friends Please, forgive me, i know, this is not a HTML::FormHandler related list, but i hope, there are a lot of people here who use it! In a catalyst app, i'd like to disable (make the field readonly and disabled but not inactive) a form field based on a value (if user has the role, or

Re: [Catalyst] Serialized data with HTML::FormHandler and DBIx::Class::InflateColumn::Serializer

2011-10-17 Thread Hetényi Csaba
Dear Dmitry Thank You for your tip! That was the solution! :) In my case, the 'datepicker' is a form field in form class (a jquery datepicker widget in html), but in the table there is no such column. The mm_data is the serialized column, which holds the json serialized hash. The hash has a '

[Catalyst] Serialized data with HTML::FormHandler and DBIx::Class::InflateColumn::Serializer

2011-10-17 Thread Hetényi Csaba
to a form field, but i don't know how to access the original or de-serialized value in the form class. Thank You in advance! -- Hetényi Csaba ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo

Re: [Catalyst] Postgresql database with non default -public- schema

2010-10-20 Thread Hetényi Csaba
Thank You All for help The "db_schema" option works: script/pcm_create.pl model DB DBIC::Schema Pcm::Schema create=static components=TimeStamp,EncodedColumn db_schema=pcmbiz 'dbi:Pg:. I hope "at some point in the future" the schema loader will support multiple db schemas! The automati

[Catalyst] Postgresql database with non default -public- schema

2010-10-20 Thread Hetényi Csaba
* * To turn off this warning, set the CMDS_NO_SOURCES environment variable. * *** which is correct, because there is no tables in the default "public" pg schema. My tabl

Re: [Catalyst] Using Jquery UI Autocomplete widget with Catalyst::View::JSON

2010-04-26 Thread Hetényi Csaba
Ahh! That was the trick :))) (expose_stash => 'json') Now it is correctly translate the perl arrayref datastructure to JSON array ( [ ... ] ) my @aoh = ( { value => "1", label => "betty", }, { value => "2", label=> "jane", }, {

Re: [Catalyst] Using Jquery UI Autocomplete widget with Catalyst::View::JSON

2010-04-26 Thread Hetényi Csaba
Dear Ben van Staveren Thank You, now it is working, but in this case, i don't know why to use Catalyst::View::JSON, it is just a text formatting. Later I'd like to use DBIx datasource to feed autocomplete plugin, in this case i must manually build a special JSON formatted string. Is there exist a

Re: [Catalyst] Using Jquery UI Autocomplete widget with Catalyst::View::JSON

2010-04-25 Thread Hetényi Csaba
Dear Rodrigo I tired your tip, but my response is: {"json":[{"value":"Paddyfield Warbler","label":"Paddyfield Warbler","id":"Acrocephalus agricola"}]} and -of course- there is no any suggest. :( I thought that Catalyst::View::JSON translate perl datastructures to corresponding JSON data stru

[Catalyst] Using Jquery UI Autocomplete widget with Catalyst::View::JSON

2010-04-25 Thread Hetényi Csaba
Dear All Is there anyone, who has success with this combination? I have no idea, how to use this. On the Jquery Autocomplete demo page, i 'd like to do as you can see in the second demo (Remote datasource), but not working. If examine the original demo response with firebug, i see, that the