=> 1,
parent => 'fix',
stash=> {},
tag => "span",
type => "Label",
value=> "foobar",
}, "HTML::FormFu::Element::Label"),
bl
|
| time_minute | 52 |
| time_second | 30 |
'--+--'
but the vaildation always fails with invalid date. The datetime without
time works well. What's wr
On 7/17/2012 4:07 PM, Jan Grmela wrote:
Hi there,
I'm just in process of implementation translations to our new app.
We're using Catalyst with Catalyst::Controller::HTML::FromFu and
Template Toolkit as a templating engine along with
Catalyst::Plugin::I18N to localize our app.
The base translatio
On 4/12/2012 5:04 PM, Robyn Jonahs wrote:
Hrm, so go into the test directory for the various modules? I will look
into those on my local install.
It depends on your environment, the binary packages not contains the
unit tests, but most of the perl modules sources are available and
browseable
On 4/12/2012 12:59 AM, Robyn Jonahs wrote:
The section just above the link you sent was what I was trying to use
as a guide. I do see that they use a Textarea not a Text field. I tried
that and it also failed. With all my trial and error I have yet to
figure out where I am going wrong.
In my o
On 4/11/2012 7:29 PM, Robyn Jonahs wrote:
|
What if I don't want the authors in a select field but a text field? Can
I do that?
I have been trying to use something like in
http://search.cpan.org/~pshangov/HTML-FormFu-Model-DBIC-0.09002/lib/HTML/FormFu/Model/DBIC.pm#has_many_and_many_to_many_re
On 1/10/2012 7:48 PM, Gabor HALASZ wrote:
$position = $c->stash->{form}->get_all_element({ type => 'File', });
$position->parent->insert_after( $c->stash->{form}->element( {
name => $productId,
src => $c->uri_for( '/api/getproducticon/'
On 1/10/2012 10:56 AM, Carl Franks wrote:
Ah, it's the old FAQ :) - you need to call insert_after() on the
parent of $position, not the $form object.
So, do this:
$position->parent->insert_after( \%new_spec, $position );
Hi!
I tried this, but not works perfectly, the new element render
On 1/10/2012 12:15 PM, Carl Franks wrote:
On 10 January 2012 10:22, Gabor HALASZ wrote:
Thanks :) My last question today: I created a simple element/constraint pair
for my app to protect form's hidden fields (with sha1 checksum) from
malicious users. What do you think, its maybe interesti
On 1/10/2012 10:56 AM, Carl Franks wrote:
On 10 January 2012 09:16, Gabor HALASZ wrote:
On 1/10/2012 9:38 AM, Carl Franks wrote:
Hi,
Can you provide the config / code which sets-up the form, and the rest
of your code which looks like it's cut off mid-line?
Hi!
My configs:
pi
On 1/10/2012 9:38 AM, Carl Franks wrote:
Hi,
Can you provide the config / code which sets-up the form, and the rest
of your code which looks like it's cut off mid-line?
Hi!
My configs:
picture/manage.conf:
<>
typeBlock
id fieldb
form.tt"
[error] Caught exception in PAGL::Controller::Picture->manage "position
element not found at
/usr/home/HalaszGabor/Pagl/script/../lib/PAGL/Controller/Picture.pm line 53"
If I tried get_all_elements without %options, and the insert_a
On 1/9/2012 12:07 PM, Carl Franks wrote:
On 8 January 2012 21:23, Gabor HALASZ wrote:
Hi!
I created a form with a select field and two submit button with different
values. When I sent the form, the Catalyst reports the correct parameters,
but formfu not:
When using multiple submit buttons
m2x2o98crjfyr',
'data' => 'Data',
'image' => 'Image'
};
($c->log->debug('HIER: ' . Dumper $c->stash->{form}->params);)
What about this?
Thanks
--
Gabor HALASZ
___
HTML-FormFu mailing list
HTML-FormFu@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu
...
Of course, this exception caused by a wrong placed filters, but why lost
all methods from H:F:Q:C?
I spent 2 hours to solve this situation, the exception directed me to a
wrong way, and I tried to figure out a problem in H:F code instead in my
form config :(
My versions:
p5-HTML-FormFu-0.09005
p5-H
essages :)
Thanks
--
Gabor HALASZ
___
HTML-FormFu mailing list
HTML-FormFu@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu
ecause I
have 'localize_from_context => 1,' in my appconfig? And why call the
Number::Format on an empty form without default values?
--
Gabor HALASZ
___
HTML-FormFu mailing list
HTML-FormFu@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu
d field will not
be deletable, but I think, this is a smaller problem). What about this?
--
Gabor HALASZ
___
HTML-FormFu mailing list
HTML-FormFu@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu
rsion of
MooseX-ChainedAccessors from Github.
--
Gabor HALASZ
___
HTML-FormFu mailing list
HTML-FormFu@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu
magic of DBIC accessible to create forms, and placed
every component to a right place (model in database model, form prefill
logic in application/controller, and form description in config files).
And finally, I think, this not require an intensive extension of
Mode
quot;me.id" or
"map_actions.id", as appropriate.
Yes, I think about this solution (me.id works), but I wasn't sure about
the correct formfu's way.
Thanks
--
Gabor HALASZ
___
HTML-FormFu mailing list
HTML-FormFu@lists.scsys.
out the condition, the create/update works well. The resultset
relationship is many_to_many and my Model::DBIC newer than the linked
revision (0.08002). What about this?
Thanks
--
Gabor HALASZ
___
HTML-FormFu mailing list
HTML-FormFu@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu
2011.01.11. 16:39 keltezéssel, Ronald J Kimball írta:
On Tue, Jan 11, 2011 at 8:21 AM, Gabor HALASZ mailto:halas...@freemail.hu>> wrote:
I think, simply on wrong place and checks wrong variable, the
correct is:
for my $name ( keys %$from_stash ) {
croak "config
On 2011.01.11. 13:27, Carl Franks wrote:
On 11 January 2011 11:47, Gabor HALASZ wrote:
Hi Carl!
Why not accepts hashes from stash in condition_from_stash? I read the
DBIC.pm:
if ( defined( my $from_stash = $attrs->{condition_from_stash} ) ) {
$condition = $condit
gt;stash->{userRS}->name };
commented out the croak line above, and I got the correct query:
WHERE ( ( id > ? AND name != ? ) ): '1', 'Administrator'
What's your opinion?
Thanks
--
Gabor HALASZ
___
HTML-FormFu
2010.10.29. 14:32 keltezéssel, Octavian Rasnita írta:
In order to make it work, the following Config::General configuration
should be added:
-SplitPolicy => 'whitespace',
...in the myapp.conf somewhere under:
Hi!
Thanks. I read the man pages, added next lines to my Catalyst app's
__PACK
Hi!
I created the next config:
...
model System::User
id_column id
label_columnlogin
> 1
= 0
...
but I got an sql error:
WHERE ( ( dead ? AND id > ? ) )" with ParamValues: 0="0", 1="1"
Tried
On 2010.02.23. 16:41, Carl Franks wrote:
>
> Hi,
>
> I think there must be something wrong with your installed files - this
> error isn't in the file in the 0.06001 distribution, and the file
> hasn't changed in source-control in over 2 years.
Hi!
Sure, I tried reproduce on a (two) clean instal
Carl Franks wrote:
2010/2/23 Gabor HALASZ :
[snip]
and rendered as an empty select (tested with ie and firefox). This caused by
a typo in the select_tag template:
[% ELSE %] <
option value="[% option.value %]"[%
process_attrs(opti
[% END %]
I simply changed to the next version:
[% ELSE %]
[% option.label %]
[% END %]
and the selectable list works. I'm using HTML-FormFu-0.06001.
--
Gabor HALASZ
___
HTML-F
Hi!
One more question...How can I localize the title attribute? I changed from
title Enter your password here
to title_loc, but it not works.
thanks
--
Gabor HALASZ
___
HTML-FormFu mailing list
HTML-FormFu
On 2010.01.29. 15:49, Sven Eppler wrote:
> Hi Wolfang,
>
> this basicly solves my problem. But it moves the message to the complete
> right and let it grow from there towards my input elements.
>
> Which works on bigger error messages. But smaller ones look "lost" at
> the right side of the scree
Brian Cassidy wrote:
On Fri, Jan 29, 2010 at 8:31 AM, Gabor HALASZ wrote:
I got an exception
Caught exception in MyApp::Controller::Auth->login "Can't locate object
method "get_handle" via package "Catalyst::Plugin::I18N" at
/usr/local/lib/perl5/site_perl/5
Brian Cassidy wrote:
2010/1/29 Gabor HALASZ :
I tried localize formfu with catalyst::plugin::I18N, but I have no luck.
Can you paste your form config?
Thanks for a quick answer. I used label instead of label_loc, of course
:) I rewroted my config:
constraints Required
ction::FormConfig loading
config file 'auth/login'
[debug] Form->languages: hu en ru en-us i-default
[debug] Form->localize_class: Catalyst::Plugin::I18N
[debug] Rendering template "auth/login.tt"
My packages' versions:
HTML-FormFu-0.06001_1
Catalyst-Plugin-I1
35 matches
Mail list logo