[html-formfu] FormFu::ExtJS

Mario Minati mario.minati at googlemail.com
Sun May 10 14:25:27 GMT 2009


Hi Moritz,

I looked at the label element and found out, that there is no ExtJS 
representation for that element yet.

Do you plan to ignore elements for which we cannot find a ExtJS element class 
or do you still want to implement a class for label?

Greets,

Mario Minati


Am Montag 04 Mai 2009 09:50:51 schrieb Moritz Onken:
> Hi Mario,
>
> I was working on a Label element. It is currently avaiable from the
> formfu repository.
> I think it does exactly what you want.
>
> Carl didn't like the implementation much but this could be fixed. I'd
> rather
> see that Label makes it to FormFu than NotAField to ExtJS :-)
>
> moritz
>
> Am 04.05.2009 um 01:31 schrieb Mario Minati:
> > Hi Moritz,
> >
> > sorry for answering so late. I'm on a very intense training last and
> > this week
> > and have only less time.
> >
> > Nice to hear that the test problem got solved, so I'll go one and
> > write tests.
> >
> > I use the NotAField to send values, e.g. the id (primary key) of
> > rows to the
> > form, and other data that shall not be edited (I know, we have a
> > read_only
> > flag).
> > You are right, this is not suitable for repeatable counter as it
> > needs to send
> > back it's value. When implementing the ExtJS Repeatable panel I plan
> > to
> > integrate that hiddenfield directly into that panel, so it won't mix
> > up the
> > rendering.
> >
> > Actually I'm sending the complete row data to the gui, as I'm
> > implementing a
> > cache (mirror) of the database (and even something like DBIC) to
> > speed up the
> > gui and avoid round trips.
> > On the other hand I don't want to give anyone the chance to inject
> > data into
> > my database, so oneway.
> >
> > Greets,
> >
> > Mario Minati
> >
> > Am Donnerstag 30 April 2009 12:28:05 schrieb Moritz Onken:
> >> Hi Mario,
> >>
> >> I figured out that the failing test was my fault. It seems like one
> >> of
> >> my modules
> >> was not up to date. The ->previous call is now gone and it works ok
> >> on
> >> my machine.
> >>
> >> If NotAField sends the value in one direction only, how do you
> >> submit it
> >> again to the server? I think this is about the counter field which is
> >> needed
> >> by repeatable.
> >>
> >> cheers,
> >>
> >> moritz
> >>
> >> Am 30.04.2009 um 09:29 schrieb Mario Minati:
> >>> Hi Moritz,
> >>>
> >>> sorry for adding no test yet. I was still waiting that you answer my
> >>> last mail
> >>> according the unsolved problem with different behaviour of the tests
> >>> on your
> >>> and on my computer. I wanted to solve that issue first before
> >>> creating more
> >>> tests.
> >>>
> >>> The NotAField field can be used to transport values (form_data)
> >>> which
> >>> are not rendered as fields. This gets important in ExtJS as a Hidden
> >>> element
> >>> will be rendered as a field in ExtJS, too. But when nesting ExtJS
> >>> Panels, a
> >>> hidden element in the items collection will mix up the layout, so I
> >>> created
> >>> an element which only sends it's value (one way).
> >>>
> >>> If you would like me to remove it from FF::ExtJS, that won't be a
> >>> problem.
> >>>
> >>> The render_value has to be removed, in the beginning I didn't
> >>> recognize the
> >>> form_data method and uploaded that accidently.
> >>>
> >>> Greets,
> >>>
> >>> Mario Minati
> >>>
> >>> Am Sonntag 26 April 2009 13:52:09 schrieb Moritz Onken:
> >>>> Hi Mario,
> >>>>
> >>>> you added a new field NotAField to FF::ExtJS, but no tests. What is
> >>>> the purpose of that field? it sound like a pretty bad hack to me
> >>>> and I
> >>>> don't see a reason why we need that in ExtJS?
> >>>>
> >>>> You also added a new method render_values. What is the output of
> >>>> that
> >>>> field? Isn't form_data doing the same? Again no tests :-)
> >>>>
> >>>> cheers,
> >>>>
> >>>> moritz
> >>>>
> >>>> _______________________________________________
> >>>> HTML-FormFu mailing list
> >>>> HTML-FormFu at lists.scsys.co.uk
> >>>> http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu
> >>>
> >>> _______________________________________________
> >>> HTML-FormFu mailing list
> >>> HTML-FormFu at lists.scsys.co.uk
> >>> http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu
> >>
> >> _______________________________________________
> >> HTML-FormFu mailing list
> >> HTML-FormFu at lists.scsys.co.uk
> >> http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu
> >
> > _______________________________________________
> > HTML-FormFu mailing list
> > HTML-FormFu at lists.scsys.co.uk
> > http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu
>
> _______________________________________________
> HTML-FormFu mailing list
> HTML-FormFu at lists.scsys.co.uk
> http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu





More information about the HTML-FormFu mailing list