You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by Roger Laenen <ro...@telenet.be> on 2009/06/18 09:44:05 UTC
JSF 'blockinput' component
Hello,
I've made a custom facelets component that simulates 'cell/block based' input like you find on official input forms.
This type of input field can be useful in some specific situations.
We use it for a bankaccount field with specific formatting and validation.
You can find binaries and svn-trunk on http://code.google.com/p/blockinput
An example app is also included.
I thought it would maybe be interesting for inclusion in tomahawk.
If there is any interest, let me know.
grtz,
Roger.
Re: JSF 'blockinput' component
Posted by Leonardo Uribe <lu...@gmail.com>.
Hi
Checking the code, the component does not have any facelets-specific, like a
custom tag handler or something like that. With our builder plugin we can
generate the tag class to use it in jsp.
regards
Leonardo Uribe
2009/6/19 Bruno Aranda <br...@gmail.com>
> The problem though is that this is a custom facelets component and
> Tomahawk only contains "pure" JSF components, right?
>
> Bruno
>
> 2009/6/18 Roger Laenen <ro...@gmail.com>:
> > Ok, no problem.
> >
> > Created jira issue :
> >
> > https://issues.apache.org/jira/browse/TOMAHAWK-1432
> >
> >
> > Leonardo Uribe wrote:
> >>
> >> Hi
> >>
> >> I think it is a good idea to put it on tomahawk sandbox. If you like the
> >> idea and you want, create an issue on:
> >>
> >> https://issues.apache.org/jira/browse/TOMAHAWK
> >>
> >> then, I'll review it and commit it on sandbox for you.
> >>
> >> regards
> >>
> >> Leonardo Uribe
> >>
> >> 2009/6/18 Roger Laenen <roger.laenen@gmail.com
> >> <ma...@gmail.com>>
> >>
> >> No, currently it's one char per cell. This was sufficient for our
> >> requirements.
> >>
> >>
> >>
> >> jankeesvanandel@gmail.com <ma...@gmail.com> wrote:
> >>
> >> It sure looks nice!
> >>
> >> Does it also support multiple characters in a single cell?
> >> Like [1234]-[5678]-[9012]-[3456]? I have a requirement like
> >> that in my current project (has to do with a Dutch payment
> >> method).
> >>
> >> I think it would fit in Tomahawk nicely. Would need some
> >> enhancements (like JSP support) though, but it for sure is a
> >> good start!!
> >>
> >> /Jan-Kees
> >>
> >>
> >> On Jun 18, 2009 3:53pm, Manfred Geiler
> >> <manfred.geiler@gmail.com <ma...@gmail.com>>
> >> wrote:
> >> > Yep, GPL might be a problem. Easiest think might be to switch
> to
> >> >
> >> > ASF-license prior to donating this bit.
> >> >
> >> > Thanks,
> >> >
> >> > Manfred
> >> >
> >> >
> >> >
> >> > On Thu, Jun 18, 2009 at 15:46, Cagatay
> >> Civicicagatay.civici@gmail.com
> >> <ma...@gmail.com>> wrote:
> >> >
> >> > > Looks nice but not sure about the license.
> >> >
> >> > >
> >> >
> >> > > On Thu, Jun 18, 2009 at 8:44 AM, Roger Laenen
> >> roger.laenen@telenet.be <ma...@telenet.be>>
> >> >
> >> > > wrote:
> >> >
> >> > >>
> >> >
> >> > >> Hello,
> >> >
> >> > >>
> >> >
> >> > >> I've made a custom facelets component that simulates
> >> 'cell/block based'
> >> >
> >> > >> input like you find on official input forms.
> >> >
> >> > >> This type of input field can be useful in some specific
> >> situations. We use
> >> >
> >> > >> it for a bankaccount field with specific formatting and
> >> validation.
> >> >
> >> > >> You can find binaries and svn-trunk on
> >> http://code.google.com/p/blockinput
> >> >
> >> > >> An example app is also included.
> >> >
> >> > >>
> >> >
> >> > >> I thought it would maybe be interesting for inclusion in
> >> tomahawk.
> >> >
> >> > >> If there is any interest, let me know.
> >> >
> >> > >>
> >> >
> >> > >> grtz,
> >> >
> >> > >>
> >> >
> >> > >> Roger.
> >> >
> >> > >>
> >> >
> >> > >
> >> >
> >> > >
> >> >
> >>
> >>
> >>
> >
> >
>
Re: JSF 'blockinput' component
Posted by Bruno Aranda <br...@gmail.com>.
The problem though is that this is a custom facelets component and
Tomahawk only contains "pure" JSF components, right?
Bruno
2009/6/18 Roger Laenen <ro...@gmail.com>:
> Ok, no problem.
>
> Created jira issue :
>
> https://issues.apache.org/jira/browse/TOMAHAWK-1432
>
>
> Leonardo Uribe wrote:
>>
>> Hi
>>
>> I think it is a good idea to put it on tomahawk sandbox. If you like the
>> idea and you want, create an issue on:
>>
>> https://issues.apache.org/jira/browse/TOMAHAWK
>>
>> then, I'll review it and commit it on sandbox for you.
>>
>> regards
>>
>> Leonardo Uribe
>>
>> 2009/6/18 Roger Laenen <roger.laenen@gmail.com
>> <ma...@gmail.com>>
>>
>> No, currently it's one char per cell. This was sufficient for our
>> requirements.
>>
>>
>>
>> jankeesvanandel@gmail.com <ma...@gmail.com> wrote:
>>
>> It sure looks nice!
>>
>> Does it also support multiple characters in a single cell?
>> Like [1234]-[5678]-[9012]-[3456]? I have a requirement like
>> that in my current project (has to do with a Dutch payment
>> method).
>>
>> I think it would fit in Tomahawk nicely. Would need some
>> enhancements (like JSP support) though, but it for sure is a
>> good start!!
>>
>> /Jan-Kees
>>
>>
>> On Jun 18, 2009 3:53pm, Manfred Geiler
>> <manfred.geiler@gmail.com <ma...@gmail.com>>
>> wrote:
>> > Yep, GPL might be a problem. Easiest think might be to switch to
>> >
>> > ASF-license prior to donating this bit.
>> >
>> > Thanks,
>> >
>> > Manfred
>> >
>> >
>> >
>> > On Thu, Jun 18, 2009 at 15:46, Cagatay
>> Civicicagatay.civici@gmail.com
>> <ma...@gmail.com>> wrote:
>> >
>> > > Looks nice but not sure about the license.
>> >
>> > >
>> >
>> > > On Thu, Jun 18, 2009 at 8:44 AM, Roger Laenen
>> roger.laenen@telenet.be <ma...@telenet.be>>
>> >
>> > > wrote:
>> >
>> > >>
>> >
>> > >> Hello,
>> >
>> > >>
>> >
>> > >> I've made a custom facelets component that simulates
>> 'cell/block based'
>> >
>> > >> input like you find on official input forms.
>> >
>> > >> This type of input field can be useful in some specific
>> situations. We use
>> >
>> > >> it for a bankaccount field with specific formatting and
>> validation.
>> >
>> > >> You can find binaries and svn-trunk on
>> http://code.google.com/p/blockinput
>> >
>> > >> An example app is also included.
>> >
>> > >>
>> >
>> > >> I thought it would maybe be interesting for inclusion in
>> tomahawk.
>> >
>> > >> If there is any interest, let me know.
>> >
>> > >>
>> >
>> > >> grtz,
>> >
>> > >>
>> >
>> > >> Roger.
>> >
>> > >>
>> >
>> > >
>> >
>> > >
>> >
>>
>>
>>
>
>
Re: JSF 'blockinput' component
Posted by Roger Laenen <ro...@gmail.com>.
Ok, no problem.
Created jira issue :
https://issues.apache.org/jira/browse/TOMAHAWK-1432
Leonardo Uribe wrote:
> Hi
>
> I think it is a good idea to put it on tomahawk sandbox. If you like
> the idea and you want, create an issue on:
>
> https://issues.apache.org/jira/browse/TOMAHAWK
>
> then, I'll review it and commit it on sandbox for you.
>
> regards
>
> Leonardo Uribe
>
> 2009/6/18 Roger Laenen <roger.laenen@gmail.com
> <ma...@gmail.com>>
>
> No, currently it's one char per cell. This was sufficient for our
> requirements.
>
>
>
> jankeesvanandel@gmail.com <ma...@gmail.com> wrote:
>
> It sure looks nice!
>
> Does it also support multiple characters in a single cell?
> Like [1234]-[5678]-[9012]-[3456]? I have a requirement like
> that in my current project (has to do with a Dutch payment
> method).
>
> I think it would fit in Tomahawk nicely. Would need some
> enhancements (like JSP support) though, but it for sure is a
> good start!!
>
> /Jan-Kees
>
>
> On Jun 18, 2009 3:53pm, Manfred Geiler
> <manfred.geiler@gmail.com <ma...@gmail.com>>
> wrote:
> > Yep, GPL might be a problem. Easiest think might be to switch to
> >
> > ASF-license prior to donating this bit.
> >
> > Thanks,
> >
> > Manfred
> >
> >
> >
> > On Thu, Jun 18, 2009 at 15:46, Cagatay
> Civicicagatay.civici@gmail.com
> <ma...@gmail.com>> wrote:
> >
> > > Looks nice but not sure about the license.
> >
> > >
> >
> > > On Thu, Jun 18, 2009 at 8:44 AM, Roger Laenen
> roger.laenen@telenet.be <ma...@telenet.be>>
> >
> > > wrote:
> >
> > >>
> >
> > >> Hello,
> >
> > >>
> >
> > >> I've made a custom facelets component that simulates
> 'cell/block based'
> >
> > >> input like you find on official input forms.
> >
> > >> This type of input field can be useful in some specific
> situations. We use
> >
> > >> it for a bankaccount field with specific formatting and
> validation.
> >
> > >> You can find binaries and svn-trunk on
> http://code.google.com/p/blockinput
> >
> > >> An example app is also included.
> >
> > >>
> >
> > >> I thought it would maybe be interesting for inclusion in
> tomahawk.
> >
> > >> If there is any interest, let me know.
> >
> > >>
> >
> > >> grtz,
> >
> > >>
> >
> > >> Roger.
> >
> > >>
> >
> > >
> >
> > >
> >
>
>
>
Re: JSF 'blockinput' component
Posted by Leonardo Uribe <lu...@gmail.com>.
Hi
I think it is a good idea to put it on tomahawk sandbox. If you like the
idea and you want, create an issue on:
https://issues.apache.org/jira/browse/TOMAHAWK
then, I'll review it and commit it on sandbox for you.
regards
Leonardo Uribe
2009/6/18 Roger Laenen <ro...@gmail.com>
> No, currently it's one char per cell. This was sufficient for our
> requirements.
>
>
>
> jankeesvanandel@gmail.com wrote:
>
>> It sure looks nice!
>>
>> Does it also support multiple characters in a single cell? Like
>> [1234]-[5678]-[9012]-[3456]? I have a requirement like that in my current
>> project (has to do with a Dutch payment method).
>>
>> I think it would fit in Tomahawk nicely. Would need some enhancements
>> (like JSP support) though, but it for sure is a good start!!
>>
>> /Jan-Kees
>>
>>
>> On Jun 18, 2009 3:53pm, Manfred Geiler <ma...@gmail.com> wrote:
>> > Yep, GPL might be a problem. Easiest think might be to switch to
>> >
>> > ASF-license prior to donating this bit.
>> >
>> > Thanks,
>> >
>> > Manfred
>> >
>> >
>> >
>> > On Thu, Jun 18, 2009 at 15:46, Cagatay Civicicagatay.civici@gmail.com>
>> wrote:
>> >
>> > > Looks nice but not sure about the license.
>> >
>> > >
>> >
>> > > On Thu, Jun 18, 2009 at 8:44 AM, Roger Laenen roger.laenen@telenet.be
>> >
>> >
>> > > wrote:
>> >
>> > >>
>> >
>> > >> Hello,
>> >
>> > >>
>> >
>> > >> I've made a custom facelets component that simulates 'cell/block
>> based'
>> >
>> > >> input like you find on official input forms.
>> >
>> > >> This type of input field can be useful in some specific situations.
>> We use
>> >
>> > >> it for a bankaccount field with specific formatting and validation.
>> >
>> > >> You can find binaries and svn-trunk on
>> http://code.google.com/p/blockinput
>> >
>> > >> An example app is also included.
>> >
>> > >>
>> >
>> > >> I thought it would maybe be interesting for inclusion in tomahawk.
>> >
>> > >> If there is any interest, let me know.
>> >
>> > >>
>> >
>> > >> grtz,
>> >
>> > >>
>> >
>> > >> Roger.
>> >
>> > >>
>> >
>> > >
>> >
>> > >
>> >
>>
>
>
Re: JSF 'blockinput' component
Posted by Roger Laenen <ro...@gmail.com>.
No, currently it's one char per cell. This was sufficient for our
requirements.
jankeesvanandel@gmail.com wrote:
> It sure looks nice!
>
> Does it also support multiple characters in a single cell? Like
> [1234]-[5678]-[9012]-[3456]? I have a requirement like that in my
> current project (has to do with a Dutch payment method).
>
> I think it would fit in Tomahawk nicely. Would need some enhancements
> (like JSP support) though, but it for sure is a good start!!
>
> /Jan-Kees
>
>
> On Jun 18, 2009 3:53pm, Manfred Geiler <ma...@gmail.com> wrote:
> > Yep, GPL might be a problem. Easiest think might be to switch to
> >
> > ASF-license prior to donating this bit.
> >
> > Thanks,
> >
> > Manfred
> >
> >
> >
> > On Thu, Jun 18, 2009 at 15:46, Cagatay
> Civicicagatay.civici@gmail.com> wrote:
> >
> > > Looks nice but not sure about the license.
> >
> > >
> >
> > > On Thu, Jun 18, 2009 at 8:44 AM, Roger Laenen roger.laenen@telenet.be>
> >
> > > wrote:
> >
> > >>
> >
> > >> Hello,
> >
> > >>
> >
> > >> I've made a custom facelets component that simulates 'cell/block
> based'
> >
> > >> input like you find on official input forms.
> >
> > >> This type of input field can be useful in some specific
> situations. We use
> >
> > >> it for a bankaccount field with specific formatting and validation.
> >
> > >> You can find binaries and svn-trunk on
> http://code.google.com/p/blockinput
> >
> > >> An example app is also included.
> >
> > >>
> >
> > >> I thought it would maybe be interesting for inclusion in tomahawk.
> >
> > >> If there is any interest, let me know.
> >
> > >>
> >
> > >> grtz,
> >
> > >>
> >
> > >> Roger.
> >
> > >>
> >
> > >
> >
> > >
> >
Re: Re: JSF 'blockinput' component
Posted by ja...@gmail.com.
It sure looks nice!
Does it also support multiple characters in a single cell? Like
[1234]-[5678]-[9012]-[3456]? I have a requirement like that in my current
project (has to do with a Dutch payment method).
I think it would fit in Tomahawk nicely. Would need some enhancements (like
JSP support) though, but it for sure is a good start!!
/Jan-Kees
On Jun 18, 2009 3:53pm, Manfred Geiler <ma...@gmail.com> wrote:
> Yep, GPL might be a problem. Easiest think might be to switch to
> ASF-license prior to donating this bit.
> Thanks,
> Manfred
> On Thu, Jun 18, 2009 at 15:46, Cagatay Civicicagatay.civici@gmail.com>
> wrote:
> > Looks nice but not sure about the license.
> >
> > On Thu, Jun 18, 2009 at 8:44 AM, Roger Laenen roger.laenen@telenet.be>
> > wrote:
> >>
> >> Hello,
> >>
> >> I've made a custom facelets component that simulates 'cell/block based'
> >> input like you find on official input forms.
> >> This type of input field can be useful in some specific situations. We
> use
> >> it for a bankaccount field with specific formatting and validation.
> >> You can find binaries and svn-trunk on
> http://code.google.com/p/blockinput
> >> An example app is also included.
> >>
> >> I thought it would maybe be interesting for inclusion in tomahawk.
> >> If there is any interest, let me know.
> >>
> >> grtz,
> >>
> >> Roger.
> >>
> >
> >
Re: JSF 'blockinput' component
Posted by Manfred Geiler <ma...@gmail.com>.
Yep, GPL might be a problem. Easiest think might be to switch to
ASF-license prior to donating this bit.
Thanks,
Manfred
On Thu, Jun 18, 2009 at 15:46, Cagatay Civici<ca...@gmail.com> wrote:
> Looks nice but not sure about the license.
>
> On Thu, Jun 18, 2009 at 8:44 AM, Roger Laenen <ro...@telenet.be>
> wrote:
>>
>> Hello,
>>
>> I've made a custom facelets component that simulates 'cell/block based'
>> input like you find on official input forms.
>> This type of input field can be useful in some specific situations. We use
>> it for a bankaccount field with specific formatting and validation.
>> You can find binaries and svn-trunk on http://code.google.com/p/blockinput
>> An example app is also included.
>>
>> I thought it would maybe be interesting for inclusion in tomahawk.
>> If there is any interest, let me know.
>>
>> grtz,
>>
>> Roger.
>>
>
>
Re: JSF 'blockinput' component
Posted by Roger Laenen <ro...@gmail.com>.
License can be changed. I just took LGPL but Apache license is no problem.
Cagatay Civici wrote:
> Looks nice but not sure about the license.
>
> On Thu, Jun 18, 2009 at 8:44 AM, Roger Laenen <roger.laenen@telenet.be
> <ma...@telenet.be>> wrote:
>
> Hello,
>
> I've made a custom facelets component that simulates 'cell/block
> based' input like you find on official input forms.
> This type of input field can be useful in some specific
> situations. We use it for a bankaccount field with specific
> formatting and validation.
> You can find binaries and svn-trunk on
> http://code.google.com/p/blockinput
> An example app is also included.
>
> I thought it would maybe be interesting for inclusion in tomahawk.
> If there is any interest, let me know.
>
> grtz,
>
> Roger.
>
>
Re: JSF 'blockinput' component
Posted by Cagatay Civici <ca...@gmail.com>.
Looks nice but not sure about the license.
On Thu, Jun 18, 2009 at 8:44 AM, Roger Laenen <ro...@telenet.be>wrote:
> Hello,
>
> I've made a custom facelets component that simulates 'cell/block based'
> input like you find on official input forms.
> This type of input field can be useful in some specific situations. We use
> it for a bankaccount field with specific formatting and validation.
> You can find binaries and svn-trunk on http://code.google.com/p/blockinput
> An example app is also included.
>
> I thought it would maybe be interesting for inclusion in tomahawk.
> If there is any interest, let me know.
>
> grtz,
>
> Roger.
>
>