Re: [TW] Re: a new widget

0 views
Skip to first unread message

alexbod...@gmail.com

unread,
Jul 2, 2009, 8:52:29 AM7/2/09
to toscawidge...@googlegroups.com

On Sun, Jun 21, 2009 at 17:06, Diez B. Roggisch<de...@web.de> wrote:
>
> alexbod...@gmail.com schrieb:
>>
>> hello friends,
>>
>> i have made a set of widgets that render as plain text.
>>
>> their intended usage is in forms, where you have data from some data
>> source, but you only want to show it, with no user input option.
>>
>> please enjoy.
>>
>> it's called tw.output.
>>
>> http://www.resheteva.org.il/packages
>
> Do they buffer the passed values as hidden input-fields? That would be
> interesting then, because it could be used to have "confirm"-screens
> that still pass the form-data without residing to session-based data.
>
> Diez
>
what would you think about making all disabled textareas?
it would avoid data duplication for the text and it's hidden field, and would allow direct markup.

alex
>
>
> --~--~---------~--~----~------------~-------~--~----~
> You received this message because you are subscribed to the Google Groups "ToscaWidgets-discuss" group.
> To post to this group, send email to toscawidge...@googlegroups.com
> To unsubscribe from this group, send email to toscawidgets-dis...@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/toscawidgets-discuss?hl=en
> -~----------~----~----~----~------~----~------~--~---
>
>

--
alex

Diez B. Roggisch

unread,
Jul 6, 2009, 6:51:29 AM7/6/09
to toscawidge...@googlegroups.com
On Thursday 02 July 2009 14:52:29 alexbod...@gmail.com wrote:
> On Sun, Jun 21, 2009 at 17:06, Diez B. Roggisch<de...@web.de> wrote:
> > alexbod...@gmail.com schrieb:
> >> hello friends,
> >>
> >> i have made a set of widgets that render as plain text.
> >>
> >> their intended usage is in forms, where you have data from some data
> >> source, but you only want to show it, with no user input option.
> >>
> >> please enjoy.
> >>
> >> it's called tw.output.
> >>
> >> http://www.resheteva.org.il/packages
> >
> > Do they buffer the passed values as hidden input-fields? That would be
> > interesting then, because it could be used to have "confirm"-screens
> > that still pass the form-data without residing to session-based data.
> >
> > Diez
>
> what would you think about making all disabled textareas?
> it would avoid data duplication for the text and it's hidden field, and
> would allow direct markup.

I'm not sure what exactly you mean - but I'd say that textareas are far less
stylable than "normal" html-text - and frankly, the data-duplication can be
safely ignored IMHO. We are talking user-entered content here - to how many
kilobytes can that sum up?

Diez

Reply all
Reply to author
Forward
0 new messages