Hi Alexander,
sorry I'm not on irc as my software doesn't work properly and time is very
rare to fix it.
The overall direction of FF::ExtJS should be given from Moritz as he started
this.
With this out of the way I agree to create and document the behaviour for
overwriting xtype for all elem
Discussing this on irc would be great.
Are you on irc too, Mario?
Maybe we should define the possibility to overwrite the xtype per
Element and document the behaviour.
The purpose of the Generic element would be for the use of ExtJS user
extensions which don't have anything in common with any of
Just one generic element won't probably be enough, because there are also
select type elements in ExtJS.
When I think of the ux.DD... fields, then we would need more than just these
two generic fields.
So overwriting the xype wouldn't be that bad and just let you decide which way
to go.
Gree
This should do it. If you want to create a custom ExtJS element you
have to create both a HTML::FormFu::Element::ExtJS::ItemSelector
and a
HTML::FormFu::ExtJS::Element::ItemSelector.
The elements in the HTML::FormFu::ExtJS::Element namespace are not
objects in the OO sense. They just provid
I prefer the Generic element as well.
A text field should stay a text field, no matter what you supply as
attributes.
Patches welcome, or ask Carl to get a subversion commit bits (requires
a google account).
moritz
Am 25.06.2009 um 11:29 schrieb Alexander Hartmaier:
Hi Mario!
Do we wa
Hi Mario!
Do we want to allow to overwrite the xtype?
I'm for a generic element that can be used for every Ext.ux.
Am Donnerstag, den 25.06.2009, 01:02 +0200 schrieb Mario Minati:
> Hello Alexander,
>
> you can write
> return { xtype => "textfield", %{$super} };
>
> This way you can overwrite t
Hello Alexander,
you can write
return { xtype => "textfield", %{$super} };
This way you can overwrite the xtype.
If time permits I'll upload to svn.
Greets,
Mario
Am Mittwoch 24 Juni 2009 14:09:38 schrieb Alexander Hartmaier:
> Am Montag, den 22.06.2009, 21:02 +0200 schrieb Moritz Onken:
> >
Am Montag, den 22.06.2009, 21:02 +0200 schrieb Moritz Onken:
> Hi Alex,
>
>
> did you try to just use a Text element?
>
> - elements:
> - type: Text
> attrs:
> xtype: itemselector
>
>
I've already tried this before making a custom element class. It doesn't
work becau
Hi Alex,
did you try to just use a Text element?
- elements:
- type: Text
attrs:
xtype: itemselector
This should do it. If you want to create a custom ExtJS element you
have to create both a HTML::FormFu::Element::ExtJS::ItemSelector and a
HTML::FormFu::ExtJS::Elemen