You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by daniel alonso <al...@gmail.com> on 2008/05/26 11:48:54 UTC
Is there any way to represent this?
Hi everybody. Firstly, thanks in advance for reading this thread.
I'm working on a brand new project here and we are trying to use tapestry.
At this moment, we found it very nice but we have a little problem: we have
to represent the following situation.
In our application we have a form with a table, which has five rows. Each
row has five input text fields with same names: name, surname, address,
phone and customerID. The question is... there is a tapestry components,such
as Table or something like this, that allows to represent this and avoid the
using of a unique big component with name_1,surname_1,address_1... do you
know what i mean?
col1 col2
col3 col4 col5
row1 name_1 surnname_1
address_1 phone_1 customerID_1
row2 name_2 surnname_2
address_2 phone_2 customerID_2
Thanks in advance for everything to all.
Re: Is there any way to represent this?
Posted by daniel alonso <al...@gmail.com>.
Thanks a lot Filips, It's worked very nice!. Thanks for your kind words.
2008/5/28 Filip S. Adamsen <fs...@fsadev.com>:
> Hi,
>
> You're not disturbing - this is a mailing list, if you can't post to it,
> what good is it? :)
>
> Anyhow, YourGridRowClassType is User in your case. So if you want to
> disable sorting on the username property, you would do it like this:
>
> @Inject
> private BeanModelSource beanModelSource;
>
> @Inject
> private ComponentResources componentResources;
>
> private BeanModel<User> model;
>
> void onActivate() {
> model = beanModelSource.create(User.class, false, componentResources);
> model.get("username").sortable(false);
> }
>
> Hope that helps.
>
> -Filip
>
> daniel alonso skrev:
>
> Sorry for disturbing again, but I'm a bit newbie in tapestry. At this
>> moment
>> i have a Pojo called User, with several properties. The type of the list
>> is
>> User class. I don't understand very good the GridRowClass... is a Pojo
>> too?
>> which fields it has?
>>
>> Sorry again for all this stuff...
>>
>> 2008/5/28 Adam Zimowski <zi...@gmail.com>:
>>
>> You could do something like this (in your page class):
>>>
>>> @Inject
>>> private BeanModelSource _beanModelSource;
>>>
>>> @Inject
>>> private ComponentResources _componentResources;
>>>
>>> private BeanModel<YourGridRowClassType> _model;
>>>
>>> @OnEvent("activate")
>>> void setupGrid() {
>>> _model = _beanModelSource.create(YourGridRowClassType.class, false,
>>> _componentResources);
>>> _model.get("ColumnYouWantToChangeSortFor").sortable(false);
>>> }
>>>
>>> On Tue, May 27, 2008 at 7:15 AM, daniel alonso <alonsosanchezd@gmail.com
>>> >
>>> wrote:
>>>
>>>> Oh, I don't know anything about that change. Just as you said, that was
>>>>
>>> the
>>>
>>>> problem. Now It works ok. About the other thing... do you have any clues
>>>> about how to hide or erase the sort control of each column?
>>>>
>>>> Thanks a lot for your response
>>>>
>>>> 2008/5/27 Filip S. Adamsen <fs...@fsadev.com>:
>>>>
>>>> Regarding "remove", it was changed to "exclude" a while ago when
>>>>>
>>>> "include"
>>>
>>>> was added. That could be why it doesn't work for you.
>>>>>
>>>>> -Filip
>>>>>
>>>>> daniel alonso skrev:
>>>>>
>>>>> Hi again! It works perfect for me, but i wondering if is posibble to
>>>>>
>>>> erase
>>>
>>>> or hide the sort controls of each column. by the way, I'm trying to
>>>>>>
>>>>> hide a
>>>
>>>> whole column just like the API says, but it doesn't work ("remove"
>>>>>> property).
>>>>>>
>>>>>> May anyone have an idea? Thanks a lot for the support :D
>>>>>>
>>>>>> 2008/5/26 daniel alonso <al...@gmail.com>:
>>>>>>
>>>>>> Wow! Lot of info in that link. I'm checking it at this moment :D.
>>>>>>
>>>>> Thanks
>>>
>>>> a
>>>>>>> lot for the support, Kris. I will follow up as soon as i can ;D
>>>>>>>
>>>>>>>
>>>>>>> 2008/5/26 Kristian Marinkovic <kr...@porsche.co.at>:
>>>>>>>
>>>>>>> never done it before myself but it should work
>>>>>>>
>>>>>>>> the following thread explains how to replace a gridcell with a
>>>>>>>> custom
>>>>>>>> block
>>>>>>>> containing checkboxes, and links... should also work with input
>>>>>>>>
>>>>>>> fields:
>>>
>>>>
>>>>>>>>
>>>>>>>>
>>> http://tapestry-user.markmail.org/message/6ic34efesfbrjmhv?q=t5+input+in+grid+order:date-backward&page=3#query:t5%20input%20in%20grid%20order%3Adate-backward+page:3+mid:6ic34efesfbrjmhv+state:results
>>>
>>>> hope this helps
>>>>>>>>
>>>>>>>> g,
>>>>>>>> kris
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> "daniel alonso" <al...@gmail.com>
>>>>>>>> 26.05.2008 12:22
>>>>>>>> Bitte antworten an
>>>>>>>> "Tapestry users" <us...@tapestry.apache.org>
>>>>>>>>
>>>>>>>>
>>>>>>>> An
>>>>>>>> "Tapestry users" <us...@tapestry.apache.org>
>>>>>>>> Kopie
>>>>>>>>
>>>>>>>> Thema
>>>>>>>> Re: Is there any way to represent this?
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Yes, in fact i was wandering if i can use input fields inside just
>>>>>>>>
>>>>>>> like
>>>
>>>> i
>>>>>>>> need . May i use them?
>>>>>>>>
>>>>>>>> 2008/5/26 Kristian Marinkovic <kr...@porsche.co.at>:
>>>>>>>>
>>>>>>>> have you looked at the Grid component
>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>> http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry/corelib/components/Grid.html
>>>
>>>> g,
>>>>>>>>
>>>>>>>>> kris
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> "daniel alonso" <al...@gmail.com>
>>>>>>>>> 26.05.2008 11:48
>>>>>>>>> Bitte antworten an
>>>>>>>>> "Tapestry users" <us...@tapestry.apache.org>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> An
>>>>>>>>> users@tapestry.apache.org
>>>>>>>>> Kopie
>>>>>>>>>
>>>>>>>>> Thema
>>>>>>>>> Is there any way to represent this?
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Hi everybody. Firstly, thanks in advance for reading this thread.
>>>>>>>>>
>>>>>>>>> I'm working on a brand new project here and we are trying to use
>>>>>>>>>
>>>>>>>>> tapestry.
>>>>>>>>
>>>>>>>> At this moment, we found it very nice but we have a little problem:
>>>>>>>>>
>>>>>>>> we
>>>
>>>> have
>>>>>>>>> to represent the following situation.
>>>>>>>>>
>>>>>>>>> In our application we have a form with a table, which has five
>>>>>>>>> rows.
>>>>>>>>>
>>>>>>>>> Each
>>>>>>>>
>>>>>>>> row has five input text fields with same names: name, surname,
>>>>>>>>>
>>>>>>>> address,
>>>
>>>> phone and customerID. The question is... there is a tapestry
>>>>>>>>> components,such
>>>>>>>>> as Table or something like this, that allows to represent this and
>>>>>>>>> avoid
>>>>>>>>> the
>>>>>>>>> using of a unique big component with name_1,surname_1,address_1...
>>>>>>>>>
>>>>>>>> do
>>>
>>>> you
>>>>>>>>
>>>>>>>> know what i mean?
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> col1 col2
>>>>>>>>> col3 col4 col5
>>>>>>>>>
>>>>>>>>> row1 name_1 surnname_1
>>>>>>>>> address_1 phone_1 customerID_1
>>>>>>>>>
>>>>>>>>> row2 name_2 surnname_2
>>>>>>>>> address_2 phone_2 customerID_2
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Thanks in advance for everything to all.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>>>>> For additional commands, e-mail: users-help@tapestry.apache.org
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>>> For additional commands, e-mail: users-help@tapestry.apache.org
>>>
>>>
>>>
>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
Re: Is there any way to represent this?
Posted by Adam Zimowski <zi...@gmail.com>.
Also make sure you either have a public getter on your model or you
attach a property annotation:
@Property(write=false)
private BeanModel<User> model;
And of course, in your *.tml you need to pass reference to model from
your class:
<t:grid model="model" ...
-adam
On Wed, May 28, 2008 at 3:12 AM, Filip S. Adamsen <fs...@fsadev.com> wrote:
> Hi,
>
> You're not disturbing - this is a mailing list, if you can't post to it,
> what good is it? :)
>
> Anyhow, YourGridRowClassType is User in your case. So if you want to disable
> sorting on the username property, you would do it like this:
>
> @Inject
> private BeanModelSource beanModelSource;
>
> @Inject
> private ComponentResources componentResources;
>
> private BeanModel<User> model;
>
> void onActivate() {
> model = beanModelSource.create(User.class, false, componentResources);
> model.get("username").sortable(false);
> }
>
> Hope that helps.
>
> -Filip
>
> daniel alonso skrev:
>>
>> Sorry for disturbing again, but I'm a bit newbie in tapestry. At this
>> moment
>> i have a Pojo called User, with several properties. The type of the list
>> is
>> User class. I don't understand very good the GridRowClass... is a Pojo
>> too?
>> which fields it has?
>>
>> Sorry again for all this stuff...
>>
>> 2008/5/28 Adam Zimowski <zi...@gmail.com>:
>>
>>> You could do something like this (in your page class):
>>>
>>> @Inject
>>> private BeanModelSource _beanModelSource;
>>>
>>> @Inject
>>> private ComponentResources _componentResources;
>>>
>>> private BeanModel<YourGridRowClassType> _model;
>>>
>>> @OnEvent("activate")
>>> void setupGrid() {
>>> _model = _beanModelSource.create(YourGridRowClassType.class, false,
>>> _componentResources);
>>> _model.get("ColumnYouWantToChangeSortFor").sortable(false);
>>> }
>>>
>>> On Tue, May 27, 2008 at 7:15 AM, daniel alonso <al...@gmail.com>
>>> wrote:
>>>>
>>>> Oh, I don't know anything about that change. Just as you said, that was
>>>
>>> the
>>>>
>>>> problem. Now It works ok. About the other thing... do you have any clues
>>>> about how to hide or erase the sort control of each column?
>>>>
>>>> Thanks a lot for your response
>>>>
>>>> 2008/5/27 Filip S. Adamsen <fs...@fsadev.com>:
>>>>
>>>>> Regarding "remove", it was changed to "exclude" a while ago when
>>>
>>> "include"
>>>>>
>>>>> was added. That could be why it doesn't work for you.
>>>>>
>>>>> -Filip
>>>>>
>>>>> daniel alonso skrev:
>>>>>
>>>>> Hi again! It works perfect for me, but i wondering if is posibble to
>>>
>>> erase
>>>>>>
>>>>>> or hide the sort controls of each column. by the way, I'm trying to
>>>
>>> hide a
>>>>>>
>>>>>> whole column just like the API says, but it doesn't work ("remove"
>>>>>> property).
>>>>>>
>>>>>> May anyone have an idea? Thanks a lot for the support :D
>>>>>>
>>>>>> 2008/5/26 daniel alonso <al...@gmail.com>:
>>>>>>
>>>>>> Wow! Lot of info in that link. I'm checking it at this moment :D.
>>>
>>> Thanks
>>>>>>>
>>>>>>> a
>>>>>>> lot for the support, Kris. I will follow up as soon as i can ;D
>>>>>>>
>>>>>>>
>>>>>>> 2008/5/26 Kristian Marinkovic <kr...@porsche.co.at>:
>>>>>>>
>>>>>>> never done it before myself but it should work
>>>>>>>>
>>>>>>>> the following thread explains how to replace a gridcell with a
>>>>>>>> custom
>>>>>>>> block
>>>>>>>> containing checkboxes, and links... should also work with input
>>>
>>> fields:
>>>>>>>>
>>>>>>>>
>>>
>>> http://tapestry-user.markmail.org/message/6ic34efesfbrjmhv?q=t5+input+in+grid+order:date-backward&page=3#query:t5%20input%20in%20grid%20order%3Adate-backward+page:3+mid:6ic34efesfbrjmhv+state:results
>>>>>>>>
>>>>>>>> hope this helps
>>>>>>>>
>>>>>>>> g,
>>>>>>>> kris
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> "daniel alonso" <al...@gmail.com>
>>>>>>>> 26.05.2008 12:22
>>>>>>>> Bitte antworten an
>>>>>>>> "Tapestry users" <us...@tapestry.apache.org>
>>>>>>>>
>>>>>>>>
>>>>>>>> An
>>>>>>>> "Tapestry users" <us...@tapestry.apache.org>
>>>>>>>> Kopie
>>>>>>>>
>>>>>>>> Thema
>>>>>>>> Re: Is there any way to represent this?
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Yes, in fact i was wandering if i can use input fields inside just
>>>
>>> like
>>>>>>>>
>>>>>>>> i
>>>>>>>> need . May i use them?
>>>>>>>>
>>>>>>>> 2008/5/26 Kristian Marinkovic <kr...@porsche.co.at>:
>>>>>>>>
>>>>>>>> have you looked at the Grid component
>>>>>>>>>
>>>>>>>>>
>>>
>>> http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry/corelib/components/Grid.html
>>>>>>>>
>>>>>>>> g,
>>>>>>>>>
>>>>>>>>> kris
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> "daniel alonso" <al...@gmail.com>
>>>>>>>>> 26.05.2008 11:48
>>>>>>>>> Bitte antworten an
>>>>>>>>> "Tapestry users" <us...@tapestry.apache.org>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> An
>>>>>>>>> users@tapestry.apache.org
>>>>>>>>> Kopie
>>>>>>>>>
>>>>>>>>> Thema
>>>>>>>>> Is there any way to represent this?
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Hi everybody. Firstly, thanks in advance for reading this thread.
>>>>>>>>>
>>>>>>>>> I'm working on a brand new project here and we are trying to use
>>>>>>>>>
>>>>>>>> tapestry.
>>>>>>>>
>>>>>>>>> At this moment, we found it very nice but we have a little problem:
>>>
>>> we
>>>>>>>>>
>>>>>>>>> have
>>>>>>>>> to represent the following situation.
>>>>>>>>>
>>>>>>>>> In our application we have a form with a table, which has five
>>>>>>>>> rows.
>>>>>>>>>
>>>>>>>> Each
>>>>>>>>
>>>>>>>>> row has five input text fields with same names: name, surname,
>>>
>>> address,
>>>>>>>>>
>>>>>>>>> phone and customerID. The question is... there is a tapestry
>>>>>>>>> components,such
>>>>>>>>> as Table or something like this, that allows to represent this and
>>>>>>>>> avoid
>>>>>>>>> the
>>>>>>>>> using of a unique big component with name_1,surname_1,address_1...
>>>
>>> do
>>>>>>>>
>>>>>>>> you
>>>>>>>>
>>>>>>>>> know what i mean?
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> col1 col2
>>>>>>>>> col3 col4 col5
>>>>>>>>>
>>>>>>>>> row1 name_1 surnname_1
>>>>>>>>> address_1 phone_1 customerID_1
>>>>>>>>>
>>>>>>>>> row2 name_2 surnname_2
>>>>>>>>> address_2 phone_2 customerID_2
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Thanks in advance for everything to all.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>>>>> For additional commands, e-mail: users-help@tapestry.apache.org
>>>>>
>>>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>>> For additional commands, e-mail: users-help@tapestry.apache.org
>>>
>>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Is there any way to represent this?
Posted by "Filip S. Adamsen" <fs...@fsadev.com>.
Hi,
You're not disturbing - this is a mailing list, if you can't post to it,
what good is it? :)
Anyhow, YourGridRowClassType is User in your case. So if you want to
disable sorting on the username property, you would do it like this:
@Inject
private BeanModelSource beanModelSource;
@Inject
private ComponentResources componentResources;
private BeanModel<User> model;
void onActivate() {
model = beanModelSource.create(User.class, false, componentResources);
model.get("username").sortable(false);
}
Hope that helps.
-Filip
daniel alonso skrev:
> Sorry for disturbing again, but I'm a bit newbie in tapestry. At this moment
> i have a Pojo called User, with several properties. The type of the list is
> User class. I don't understand very good the GridRowClass... is a Pojo too?
> which fields it has?
>
> Sorry again for all this stuff...
>
> 2008/5/28 Adam Zimowski <zi...@gmail.com>:
>
>> You could do something like this (in your page class):
>>
>> @Inject
>> private BeanModelSource _beanModelSource;
>>
>> @Inject
>> private ComponentResources _componentResources;
>>
>> private BeanModel<YourGridRowClassType> _model;
>>
>> @OnEvent("activate")
>> void setupGrid() {
>> _model = _beanModelSource.create(YourGridRowClassType.class, false,
>> _componentResources);
>> _model.get("ColumnYouWantToChangeSortFor").sortable(false);
>> }
>>
>> On Tue, May 27, 2008 at 7:15 AM, daniel alonso <al...@gmail.com>
>> wrote:
>>> Oh, I don't know anything about that change. Just as you said, that was
>> the
>>> problem. Now It works ok. About the other thing... do you have any clues
>>> about how to hide or erase the sort control of each column?
>>>
>>> Thanks a lot for your response
>>>
>>> 2008/5/27 Filip S. Adamsen <fs...@fsadev.com>:
>>>
>>>> Regarding "remove", it was changed to "exclude" a while ago when
>> "include"
>>>> was added. That could be why it doesn't work for you.
>>>>
>>>> -Filip
>>>>
>>>> daniel alonso skrev:
>>>>
>>>> Hi again! It works perfect for me, but i wondering if is posibble to
>> erase
>>>>> or hide the sort controls of each column. by the way, I'm trying to
>> hide a
>>>>> whole column just like the API says, but it doesn't work ("remove"
>>>>> property).
>>>>>
>>>>> May anyone have an idea? Thanks a lot for the support :D
>>>>>
>>>>> 2008/5/26 daniel alonso <al...@gmail.com>:
>>>>>
>>>>> Wow! Lot of info in that link. I'm checking it at this moment :D.
>> Thanks
>>>>>> a
>>>>>> lot for the support, Kris. I will follow up as soon as i can ;D
>>>>>>
>>>>>>
>>>>>> 2008/5/26 Kristian Marinkovic <kr...@porsche.co.at>:
>>>>>>
>>>>>> never done it before myself but it should work
>>>>>>> the following thread explains how to replace a gridcell with a custom
>>>>>>> block
>>>>>>> containing checkboxes, and links... should also work with input
>> fields:
>>>>>>>
>>>>>>>
>> http://tapestry-user.markmail.org/message/6ic34efesfbrjmhv?q=t5+input+in+grid+order:date-backward&page=3#query:t5%20input%20in%20grid%20order%3Adate-backward+page:3+mid:6ic34efesfbrjmhv+state:results
>>>>>>> hope this helps
>>>>>>>
>>>>>>> g,
>>>>>>> kris
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> "daniel alonso" <al...@gmail.com>
>>>>>>> 26.05.2008 12:22
>>>>>>> Bitte antworten an
>>>>>>> "Tapestry users" <us...@tapestry.apache.org>
>>>>>>>
>>>>>>>
>>>>>>> An
>>>>>>> "Tapestry users" <us...@tapestry.apache.org>
>>>>>>> Kopie
>>>>>>>
>>>>>>> Thema
>>>>>>> Re: Is there any way to represent this?
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Yes, in fact i was wandering if i can use input fields inside just
>> like
>>>>>>> i
>>>>>>> need . May i use them?
>>>>>>>
>>>>>>> 2008/5/26 Kristian Marinkovic <kr...@porsche.co.at>:
>>>>>>>
>>>>>>> have you looked at the Grid component
>>>>>>>>
>>>>>>>>
>> http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry/corelib/components/Grid.html
>>>>>>> g,
>>>>>>>> kris
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> "daniel alonso" <al...@gmail.com>
>>>>>>>> 26.05.2008 11:48
>>>>>>>> Bitte antworten an
>>>>>>>> "Tapestry users" <us...@tapestry.apache.org>
>>>>>>>>
>>>>>>>>
>>>>>>>> An
>>>>>>>> users@tapestry.apache.org
>>>>>>>> Kopie
>>>>>>>>
>>>>>>>> Thema
>>>>>>>> Is there any way to represent this?
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Hi everybody. Firstly, thanks in advance for reading this thread.
>>>>>>>>
>>>>>>>> I'm working on a brand new project here and we are trying to use
>>>>>>>>
>>>>>>> tapestry.
>>>>>>>
>>>>>>>> At this moment, we found it very nice but we have a little problem:
>> we
>>>>>>>> have
>>>>>>>> to represent the following situation.
>>>>>>>>
>>>>>>>> In our application we have a form with a table, which has five rows.
>>>>>>>>
>>>>>>> Each
>>>>>>>
>>>>>>>> row has five input text fields with same names: name, surname,
>> address,
>>>>>>>> phone and customerID. The question is... there is a tapestry
>>>>>>>> components,such
>>>>>>>> as Table or something like this, that allows to represent this and
>>>>>>>> avoid
>>>>>>>> the
>>>>>>>> using of a unique big component with name_1,surname_1,address_1...
>> do
>>>>>>> you
>>>>>>>
>>>>>>>> know what i mean?
>>>>>>>>
>>>>>>>>
>>>>>>>> col1 col2
>>>>>>>> col3 col4 col5
>>>>>>>>
>>>>>>>> row1 name_1 surnname_1
>>>>>>>> address_1 phone_1 customerID_1
>>>>>>>>
>>>>>>>> row2 name_2 surnname_2
>>>>>>>> address_2 phone_2 customerID_2
>>>>>>>>
>>>>>>>>
>>>>>>>> Thanks in advance for everything to all.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>>>> For additional commands, e-mail: users-help@tapestry.apache.org
>>>>
>>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Is there any way to represent this?
Posted by daniel alonso <al...@gmail.com>.
Sorry for disturbing again, but I'm a bit newbie in tapestry. At this moment
i have a Pojo called User, with several properties. The type of the list is
User class. I don't understand very good the GridRowClass... is a Pojo too?
which fields it has?
Sorry again for all this stuff...
2008/5/28 Adam Zimowski <zi...@gmail.com>:
> You could do something like this (in your page class):
>
> @Inject
> private BeanModelSource _beanModelSource;
>
> @Inject
> private ComponentResources _componentResources;
>
> private BeanModel<YourGridRowClassType> _model;
>
> @OnEvent("activate")
> void setupGrid() {
> _model = _beanModelSource.create(YourGridRowClassType.class, false,
> _componentResources);
> _model.get("ColumnYouWantToChangeSortFor").sortable(false);
> }
>
> On Tue, May 27, 2008 at 7:15 AM, daniel alonso <al...@gmail.com>
> wrote:
> > Oh, I don't know anything about that change. Just as you said, that was
> the
> > problem. Now It works ok. About the other thing... do you have any clues
> > about how to hide or erase the sort control of each column?
> >
> > Thanks a lot for your response
> >
> > 2008/5/27 Filip S. Adamsen <fs...@fsadev.com>:
> >
> >> Regarding "remove", it was changed to "exclude" a while ago when
> "include"
> >> was added. That could be why it doesn't work for you.
> >>
> >> -Filip
> >>
> >> daniel alonso skrev:
> >>
> >> Hi again! It works perfect for me, but i wondering if is posibble to
> erase
> >>> or hide the sort controls of each column. by the way, I'm trying to
> hide a
> >>> whole column just like the API says, but it doesn't work ("remove"
> >>> property).
> >>>
> >>> May anyone have an idea? Thanks a lot for the support :D
> >>>
> >>> 2008/5/26 daniel alonso <al...@gmail.com>:
> >>>
> >>> Wow! Lot of info in that link. I'm checking it at this moment :D.
> Thanks
> >>>> a
> >>>> lot for the support, Kris. I will follow up as soon as i can ;D
> >>>>
> >>>>
> >>>> 2008/5/26 Kristian Marinkovic <kr...@porsche.co.at>:
> >>>>
> >>>> never done it before myself but it should work
> >>>>>
> >>>>> the following thread explains how to replace a gridcell with a custom
> >>>>> block
> >>>>> containing checkboxes, and links... should also work with input
> fields:
> >>>>>
> >>>>>
> >>>>>
> http://tapestry-user.markmail.org/message/6ic34efesfbrjmhv?q=t5+input+in+grid+order:date-backward&page=3#query:t5%20input%20in%20grid%20order%3Adate-backward+page:3+mid:6ic34efesfbrjmhv+state:results
> >>>>>
> >>>>> hope this helps
> >>>>>
> >>>>> g,
> >>>>> kris
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>> "daniel alonso" <al...@gmail.com>
> >>>>> 26.05.2008 12:22
> >>>>> Bitte antworten an
> >>>>> "Tapestry users" <us...@tapestry.apache.org>
> >>>>>
> >>>>>
> >>>>> An
> >>>>> "Tapestry users" <us...@tapestry.apache.org>
> >>>>> Kopie
> >>>>>
> >>>>> Thema
> >>>>> Re: Is there any way to represent this?
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>> Yes, in fact i was wandering if i can use input fields inside just
> like
> >>>>> i
> >>>>> need . May i use them?
> >>>>>
> >>>>> 2008/5/26 Kristian Marinkovic <kr...@porsche.co.at>:
> >>>>>
> >>>>> have you looked at the Grid component
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>
> http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry/corelib/components/Grid.html
> >>>>>
> >>>>> g,
> >>>>>> kris
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>> "daniel alonso" <al...@gmail.com>
> >>>>>> 26.05.2008 11:48
> >>>>>> Bitte antworten an
> >>>>>> "Tapestry users" <us...@tapestry.apache.org>
> >>>>>>
> >>>>>>
> >>>>>> An
> >>>>>> users@tapestry.apache.org
> >>>>>> Kopie
> >>>>>>
> >>>>>> Thema
> >>>>>> Is there any way to represent this?
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>> Hi everybody. Firstly, thanks in advance for reading this thread.
> >>>>>>
> >>>>>> I'm working on a brand new project here and we are trying to use
> >>>>>>
> >>>>> tapestry.
> >>>>>
> >>>>>> At this moment, we found it very nice but we have a little problem:
> we
> >>>>>> have
> >>>>>> to represent the following situation.
> >>>>>>
> >>>>>> In our application we have a form with a table, which has five rows.
> >>>>>>
> >>>>> Each
> >>>>>
> >>>>>> row has five input text fields with same names: name, surname,
> address,
> >>>>>> phone and customerID. The question is... there is a tapestry
> >>>>>> components,such
> >>>>>> as Table or something like this, that allows to represent this and
> >>>>>> avoid
> >>>>>> the
> >>>>>> using of a unique big component with name_1,surname_1,address_1...
> do
> >>>>>>
> >>>>> you
> >>>>>
> >>>>>> know what i mean?
> >>>>>>
> >>>>>>
> >>>>>> col1 col2
> >>>>>> col3 col4 col5
> >>>>>>
> >>>>>> row1 name_1 surnname_1
> >>>>>> address_1 phone_1 customerID_1
> >>>>>>
> >>>>>> row2 name_2 surnname_2
> >>>>>> address_2 phone_2 customerID_2
> >>>>>>
> >>>>>>
> >>>>>> Thanks in advance for everything to all.
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>
> >>>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> >> For additional commands, e-mail: users-help@tapestry.apache.org
> >>
> >>
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
Re: Is there any way to represent this?
Posted by Adam Zimowski <zi...@gmail.com>.
You could do something like this (in your page class):
@Inject
private BeanModelSource _beanModelSource;
@Inject
private ComponentResources _componentResources;
private BeanModel<YourGridRowClassType> _model;
@OnEvent("activate")
void setupGrid() {
_model = _beanModelSource.create(YourGridRowClassType.class, false,
_componentResources);
_model.get("ColumnYouWantToChangeSortFor").sortable(false);
}
On Tue, May 27, 2008 at 7:15 AM, daniel alonso <al...@gmail.com> wrote:
> Oh, I don't know anything about that change. Just as you said, that was the
> problem. Now It works ok. About the other thing... do you have any clues
> about how to hide or erase the sort control of each column?
>
> Thanks a lot for your response
>
> 2008/5/27 Filip S. Adamsen <fs...@fsadev.com>:
>
>> Regarding "remove", it was changed to "exclude" a while ago when "include"
>> was added. That could be why it doesn't work for you.
>>
>> -Filip
>>
>> daniel alonso skrev:
>>
>> Hi again! It works perfect for me, but i wondering if is posibble to erase
>>> or hide the sort controls of each column. by the way, I'm trying to hide a
>>> whole column just like the API says, but it doesn't work ("remove"
>>> property).
>>>
>>> May anyone have an idea? Thanks a lot for the support :D
>>>
>>> 2008/5/26 daniel alonso <al...@gmail.com>:
>>>
>>> Wow! Lot of info in that link. I'm checking it at this moment :D. Thanks
>>>> a
>>>> lot for the support, Kris. I will follow up as soon as i can ;D
>>>>
>>>>
>>>> 2008/5/26 Kristian Marinkovic <kr...@porsche.co.at>:
>>>>
>>>> never done it before myself but it should work
>>>>>
>>>>> the following thread explains how to replace a gridcell with a custom
>>>>> block
>>>>> containing checkboxes, and links... should also work with input fields:
>>>>>
>>>>>
>>>>> http://tapestry-user.markmail.org/message/6ic34efesfbrjmhv?q=t5+input+in+grid+order:date-backward&page=3#query:t5%20input%20in%20grid%20order%3Adate-backward+page:3+mid:6ic34efesfbrjmhv+state:results
>>>>>
>>>>> hope this helps
>>>>>
>>>>> g,
>>>>> kris
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> "daniel alonso" <al...@gmail.com>
>>>>> 26.05.2008 12:22
>>>>> Bitte antworten an
>>>>> "Tapestry users" <us...@tapestry.apache.org>
>>>>>
>>>>>
>>>>> An
>>>>> "Tapestry users" <us...@tapestry.apache.org>
>>>>> Kopie
>>>>>
>>>>> Thema
>>>>> Re: Is there any way to represent this?
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Yes, in fact i was wandering if i can use input fields inside just like
>>>>> i
>>>>> need . May i use them?
>>>>>
>>>>> 2008/5/26 Kristian Marinkovic <kr...@porsche.co.at>:
>>>>>
>>>>> have you looked at the Grid component
>>>>>>
>>>>>>
>>>>>>
>>>>> http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry/corelib/components/Grid.html
>>>>>
>>>>> g,
>>>>>> kris
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> "daniel alonso" <al...@gmail.com>
>>>>>> 26.05.2008 11:48
>>>>>> Bitte antworten an
>>>>>> "Tapestry users" <us...@tapestry.apache.org>
>>>>>>
>>>>>>
>>>>>> An
>>>>>> users@tapestry.apache.org
>>>>>> Kopie
>>>>>>
>>>>>> Thema
>>>>>> Is there any way to represent this?
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> Hi everybody. Firstly, thanks in advance for reading this thread.
>>>>>>
>>>>>> I'm working on a brand new project here and we are trying to use
>>>>>>
>>>>> tapestry.
>>>>>
>>>>>> At this moment, we found it very nice but we have a little problem: we
>>>>>> have
>>>>>> to represent the following situation.
>>>>>>
>>>>>> In our application we have a form with a table, which has five rows.
>>>>>>
>>>>> Each
>>>>>
>>>>>> row has five input text fields with same names: name, surname, address,
>>>>>> phone and customerID. The question is... there is a tapestry
>>>>>> components,such
>>>>>> as Table or something like this, that allows to represent this and
>>>>>> avoid
>>>>>> the
>>>>>> using of a unique big component with name_1,surname_1,address_1... do
>>>>>>
>>>>> you
>>>>>
>>>>>> know what i mean?
>>>>>>
>>>>>>
>>>>>> col1 col2
>>>>>> col3 col4 col5
>>>>>>
>>>>>> row1 name_1 surnname_1
>>>>>> address_1 phone_1 customerID_1
>>>>>>
>>>>>> row2 name_2 surnname_2
>>>>>> address_2 phone_2 customerID_2
>>>>>>
>>>>>>
>>>>>> Thanks in advance for everything to all.
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Is there any way to represent this?
Posted by daniel alonso <al...@gmail.com>.
Oh, I don't know anything about that change. Just as you said, that was the
problem. Now It works ok. About the other thing... do you have any clues
about how to hide or erase the sort control of each column?
Thanks a lot for your response
2008/5/27 Filip S. Adamsen <fs...@fsadev.com>:
> Regarding "remove", it was changed to "exclude" a while ago when "include"
> was added. That could be why it doesn't work for you.
>
> -Filip
>
> daniel alonso skrev:
>
> Hi again! It works perfect for me, but i wondering if is posibble to erase
>> or hide the sort controls of each column. by the way, I'm trying to hide a
>> whole column just like the API says, but it doesn't work ("remove"
>> property).
>>
>> May anyone have an idea? Thanks a lot for the support :D
>>
>> 2008/5/26 daniel alonso <al...@gmail.com>:
>>
>> Wow! Lot of info in that link. I'm checking it at this moment :D. Thanks
>>> a
>>> lot for the support, Kris. I will follow up as soon as i can ;D
>>>
>>>
>>> 2008/5/26 Kristian Marinkovic <kr...@porsche.co.at>:
>>>
>>> never done it before myself but it should work
>>>>
>>>> the following thread explains how to replace a gridcell with a custom
>>>> block
>>>> containing checkboxes, and links... should also work with input fields:
>>>>
>>>>
>>>> http://tapestry-user.markmail.org/message/6ic34efesfbrjmhv?q=t5+input+in+grid+order:date-backward&page=3#query:t5%20input%20in%20grid%20order%3Adate-backward+page:3+mid:6ic34efesfbrjmhv+state:results
>>>>
>>>> hope this helps
>>>>
>>>> g,
>>>> kris
>>>>
>>>>
>>>>
>>>>
>>>> "daniel alonso" <al...@gmail.com>
>>>> 26.05.2008 12:22
>>>> Bitte antworten an
>>>> "Tapestry users" <us...@tapestry.apache.org>
>>>>
>>>>
>>>> An
>>>> "Tapestry users" <us...@tapestry.apache.org>
>>>> Kopie
>>>>
>>>> Thema
>>>> Re: Is there any way to represent this?
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Yes, in fact i was wandering if i can use input fields inside just like
>>>> i
>>>> need . May i use them?
>>>>
>>>> 2008/5/26 Kristian Marinkovic <kr...@porsche.co.at>:
>>>>
>>>> have you looked at the Grid component
>>>>>
>>>>>
>>>>>
>>>> http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry/corelib/components/Grid.html
>>>>
>>>> g,
>>>>> kris
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> "daniel alonso" <al...@gmail.com>
>>>>> 26.05.2008 11:48
>>>>> Bitte antworten an
>>>>> "Tapestry users" <us...@tapestry.apache.org>
>>>>>
>>>>>
>>>>> An
>>>>> users@tapestry.apache.org
>>>>> Kopie
>>>>>
>>>>> Thema
>>>>> Is there any way to represent this?
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Hi everybody. Firstly, thanks in advance for reading this thread.
>>>>>
>>>>> I'm working on a brand new project here and we are trying to use
>>>>>
>>>> tapestry.
>>>>
>>>>> At this moment, we found it very nice but we have a little problem: we
>>>>> have
>>>>> to represent the following situation.
>>>>>
>>>>> In our application we have a form with a table, which has five rows.
>>>>>
>>>> Each
>>>>
>>>>> row has five input text fields with same names: name, surname, address,
>>>>> phone and customerID. The question is... there is a tapestry
>>>>> components,such
>>>>> as Table or something like this, that allows to represent this and
>>>>> avoid
>>>>> the
>>>>> using of a unique big component with name_1,surname_1,address_1... do
>>>>>
>>>> you
>>>>
>>>>> know what i mean?
>>>>>
>>>>>
>>>>> col1 col2
>>>>> col3 col4 col5
>>>>>
>>>>> row1 name_1 surnname_1
>>>>> address_1 phone_1 customerID_1
>>>>>
>>>>> row2 name_2 surnname_2
>>>>> address_2 phone_2 customerID_2
>>>>>
>>>>>
>>>>> Thanks in advance for everything to all.
>>>>>
>>>>>
>>>>>
>>>>
>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
Re: Is there any way to represent this?
Posted by "Filip S. Adamsen" <fs...@fsadev.com>.
Regarding "remove", it was changed to "exclude" a while ago when
"include" was added. That could be why it doesn't work for you.
-Filip
daniel alonso skrev:
> Hi again! It works perfect for me, but i wondering if is posibble to erase
> or hide the sort controls of each column. by the way, I'm trying to hide a
> whole column just like the API says, but it doesn't work ("remove"
> property).
>
> May anyone have an idea? Thanks a lot for the support :D
>
> 2008/5/26 daniel alonso <al...@gmail.com>:
>
>> Wow! Lot of info in that link. I'm checking it at this moment :D. Thanks a
>> lot for the support, Kris. I will follow up as soon as i can ;D
>>
>>
>> 2008/5/26 Kristian Marinkovic <kr...@porsche.co.at>:
>>
>>> never done it before myself but it should work
>>>
>>> the following thread explains how to replace a gridcell with a custom
>>> block
>>> containing checkboxes, and links... should also work with input fields:
>>>
>>> http://tapestry-user.markmail.org/message/6ic34efesfbrjmhv?q=t5+input+in+grid+order:date-backward&page=3#query:t5%20input%20in%20grid%20order%3Adate-backward+page:3+mid:6ic34efesfbrjmhv+state:results
>>>
>>> hope this helps
>>>
>>> g,
>>> kris
>>>
>>>
>>>
>>>
>>> "daniel alonso" <al...@gmail.com>
>>> 26.05.2008 12:22
>>> Bitte antworten an
>>> "Tapestry users" <us...@tapestry.apache.org>
>>>
>>>
>>> An
>>> "Tapestry users" <us...@tapestry.apache.org>
>>> Kopie
>>>
>>> Thema
>>> Re: Is there any way to represent this?
>>>
>>>
>>>
>>>
>>>
>>>
>>> Yes, in fact i was wandering if i can use input fields inside just like i
>>> need . May i use them?
>>>
>>> 2008/5/26 Kristian Marinkovic <kr...@porsche.co.at>:
>>>
>>>> have you looked at the Grid component
>>>>
>>>>
>>> http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry/corelib/components/Grid.html
>>>
>>>> g,
>>>> kris
>>>>
>>>>
>>>>
>>>>
>>>> "daniel alonso" <al...@gmail.com>
>>>> 26.05.2008 11:48
>>>> Bitte antworten an
>>>> "Tapestry users" <us...@tapestry.apache.org>
>>>>
>>>>
>>>> An
>>>> users@tapestry.apache.org
>>>> Kopie
>>>>
>>>> Thema
>>>> Is there any way to represent this?
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Hi everybody. Firstly, thanks in advance for reading this thread.
>>>>
>>>> I'm working on a brand new project here and we are trying to use
>>> tapestry.
>>>> At this moment, we found it very nice but we have a little problem: we
>>>> have
>>>> to represent the following situation.
>>>>
>>>> In our application we have a form with a table, which has five rows.
>>> Each
>>>> row has five input text fields with same names: name, surname, address,
>>>> phone and customerID. The question is... there is a tapestry
>>>> components,such
>>>> as Table or something like this, that allows to represent this and avoid
>>>> the
>>>> using of a unique big component with name_1,surname_1,address_1... do
>>> you
>>>> know what i mean?
>>>>
>>>>
>>>> col1 col2
>>>> col3 col4 col5
>>>>
>>>> row1 name_1 surnname_1
>>>> address_1 phone_1 customerID_1
>>>>
>>>> row2 name_2 surnname_2
>>>> address_2 phone_2 customerID_2
>>>>
>>>>
>>>> Thanks in advance for everything to all.
>>>>
>>>>
>>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Is there any way to represent this?
Posted by daniel alonso <al...@gmail.com>.
Hi again! It works perfect for me, but i wondering if is posibble to erase
or hide the sort controls of each column. by the way, I'm trying to hide a
whole column just like the API says, but it doesn't work ("remove"
property).
May anyone have an idea? Thanks a lot for the support :D
2008/5/26 daniel alonso <al...@gmail.com>:
> Wow! Lot of info in that link. I'm checking it at this moment :D. Thanks a
> lot for the support, Kris. I will follow up as soon as i can ;D
>
>
> 2008/5/26 Kristian Marinkovic <kr...@porsche.co.at>:
>
>> never done it before myself but it should work
>>
>> the following thread explains how to replace a gridcell with a custom
>> block
>> containing checkboxes, and links... should also work with input fields:
>>
>> http://tapestry-user.markmail.org/message/6ic34efesfbrjmhv?q=t5+input+in+grid+order:date-backward&page=3#query:t5%20input%20in%20grid%20order%3Adate-backward+page:3+mid:6ic34efesfbrjmhv+state:results
>>
>> hope this helps
>>
>> g,
>> kris
>>
>>
>>
>>
>> "daniel alonso" <al...@gmail.com>
>> 26.05.2008 12:22
>> Bitte antworten an
>> "Tapestry users" <us...@tapestry.apache.org>
>>
>>
>> An
>> "Tapestry users" <us...@tapestry.apache.org>
>> Kopie
>>
>> Thema
>> Re: Is there any way to represent this?
>>
>>
>>
>>
>>
>>
>> Yes, in fact i was wandering if i can use input fields inside just like i
>> need . May i use them?
>>
>> 2008/5/26 Kristian Marinkovic <kr...@porsche.co.at>:
>>
>> > have you looked at the Grid component
>> >
>> >
>>
>> http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry/corelib/components/Grid.html
>>
>> >
>> > g,
>> > kris
>> >
>> >
>> >
>> >
>> > "daniel alonso" <al...@gmail.com>
>> > 26.05.2008 11:48
>> > Bitte antworten an
>> > "Tapestry users" <us...@tapestry.apache.org>
>> >
>> >
>> > An
>> > users@tapestry.apache.org
>> > Kopie
>> >
>> > Thema
>> > Is there any way to represent this?
>> >
>> >
>> >
>> >
>> >
>> >
>> > Hi everybody. Firstly, thanks in advance for reading this thread.
>> >
>> > I'm working on a brand new project here and we are trying to use
>> tapestry.
>> > At this moment, we found it very nice but we have a little problem: we
>> > have
>> > to represent the following situation.
>> >
>> > In our application we have a form with a table, which has five rows.
>> Each
>> > row has five input text fields with same names: name, surname, address,
>> > phone and customerID. The question is... there is a tapestry
>> > components,such
>> > as Table or something like this, that allows to represent this and avoid
>> > the
>> > using of a unique big component with name_1,surname_1,address_1... do
>> you
>> > know what i mean?
>> >
>> >
>> > col1 col2
>> > col3 col4 col5
>> >
>> > row1 name_1 surnname_1
>> > address_1 phone_1 customerID_1
>> >
>> > row2 name_2 surnname_2
>> > address_2 phone_2 customerID_2
>> >
>> >
>> > Thanks in advance for everything to all.
>> >
>> >
>>
>>
>
Re: Is there any way to represent this?
Posted by daniel alonso <al...@gmail.com>.
Wow! Lot of info in that link. I'm checking it at this moment :D. Thanks a
lot for the support, Kris. I will follow up as soon as i can ;D
2008/5/26 Kristian Marinkovic <kr...@porsche.co.at>:
> never done it before myself but it should work
>
> the following thread explains how to replace a gridcell with a custom
> block
> containing checkboxes, and links... should also work with input fields:
>
> http://tapestry-user.markmail.org/message/6ic34efesfbrjmhv?q=t5+input+in+grid+order:date-backward&page=3#query:t5%20input%20in%20grid%20order%3Adate-backward+page:3+mid:6ic34efesfbrjmhv+state:results
>
> hope this helps
>
> g,
> kris
>
>
>
>
> "daniel alonso" <al...@gmail.com>
> 26.05.2008 12:22
> Bitte antworten an
> "Tapestry users" <us...@tapestry.apache.org>
>
>
> An
> "Tapestry users" <us...@tapestry.apache.org>
> Kopie
>
> Thema
> Re: Is there any way to represent this?
>
>
>
>
>
>
> Yes, in fact i was wandering if i can use input fields inside just like i
> need . May i use them?
>
> 2008/5/26 Kristian Marinkovic <kr...@porsche.co.at>:
>
> > have you looked at the Grid component
> >
> >
>
> http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry/corelib/components/Grid.html
>
> >
> > g,
> > kris
> >
> >
> >
> >
> > "daniel alonso" <al...@gmail.com>
> > 26.05.2008 11:48
> > Bitte antworten an
> > "Tapestry users" <us...@tapestry.apache.org>
> >
> >
> > An
> > users@tapestry.apache.org
> > Kopie
> >
> > Thema
> > Is there any way to represent this?
> >
> >
> >
> >
> >
> >
> > Hi everybody. Firstly, thanks in advance for reading this thread.
> >
> > I'm working on a brand new project here and we are trying to use
> tapestry.
> > At this moment, we found it very nice but we have a little problem: we
> > have
> > to represent the following situation.
> >
> > In our application we have a form with a table, which has five rows.
> Each
> > row has five input text fields with same names: name, surname, address,
> > phone and customerID. The question is... there is a tapestry
> > components,such
> > as Table or something like this, that allows to represent this and avoid
> > the
> > using of a unique big component with name_1,surname_1,address_1... do
> you
> > know what i mean?
> >
> >
> > col1 col2
> > col3 col4 col5
> >
> > row1 name_1 surnname_1
> > address_1 phone_1 customerID_1
> >
> > row2 name_2 surnname_2
> > address_2 phone_2 customerID_2
> >
> >
> > Thanks in advance for everything to all.
> >
> >
>
>
Re: Is there any way to represent this?
Posted by Kristian Marinkovic <kr...@porsche.co.at>.
never done it before myself but it should work
the following thread explains how to replace a gridcell with a custom
block
containing checkboxes, and links... should also work with input fields:
http://tapestry-user.markmail.org/message/6ic34efesfbrjmhv?q=t5+input+in+grid+order:date-backward&page=3#query:t5%20input%20in%20grid%20order%3Adate-backward+page:3+mid:6ic34efesfbrjmhv+state:results
hope this helps
g,
kris
"daniel alonso" <al...@gmail.com>
26.05.2008 12:22
Bitte antworten an
"Tapestry users" <us...@tapestry.apache.org>
An
"Tapestry users" <us...@tapestry.apache.org>
Kopie
Thema
Re: Is there any way to represent this?
Yes, in fact i was wandering if i can use input fields inside just like i
need . May i use them?
2008/5/26 Kristian Marinkovic <kr...@porsche.co.at>:
> have you looked at the Grid component
>
>
http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry/corelib/components/Grid.html
>
> g,
> kris
>
>
>
>
> "daniel alonso" <al...@gmail.com>
> 26.05.2008 11:48
> Bitte antworten an
> "Tapestry users" <us...@tapestry.apache.org>
>
>
> An
> users@tapestry.apache.org
> Kopie
>
> Thema
> Is there any way to represent this?
>
>
>
>
>
>
> Hi everybody. Firstly, thanks in advance for reading this thread.
>
> I'm working on a brand new project here and we are trying to use
tapestry.
> At this moment, we found it very nice but we have a little problem: we
> have
> to represent the following situation.
>
> In our application we have a form with a table, which has five rows.
Each
> row has five input text fields with same names: name, surname, address,
> phone and customerID. The question is... there is a tapestry
> components,such
> as Table or something like this, that allows to represent this and avoid
> the
> using of a unique big component with name_1,surname_1,address_1... do
you
> know what i mean?
>
>
> col1 col2
> col3 col4 col5
>
> row1 name_1 surnname_1
> address_1 phone_1 customerID_1
>
> row2 name_2 surnname_2
> address_2 phone_2 customerID_2
>
>
> Thanks in advance for everything to all.
>
>
Re: Is there any way to represent this?
Posted by daniel alonso <al...@gmail.com>.
Yes, in fact i was wandering if i can use input fields inside just like i
need . May i use them?
2008/5/26 Kristian Marinkovic <kr...@porsche.co.at>:
> have you looked at the Grid component
>
> http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry/corelib/components/Grid.html
>
> g,
> kris
>
>
>
>
> "daniel alonso" <al...@gmail.com>
> 26.05.2008 11:48
> Bitte antworten an
> "Tapestry users" <us...@tapestry.apache.org>
>
>
> An
> users@tapestry.apache.org
> Kopie
>
> Thema
> Is there any way to represent this?
>
>
>
>
>
>
> Hi everybody. Firstly, thanks in advance for reading this thread.
>
> I'm working on a brand new project here and we are trying to use tapestry.
> At this moment, we found it very nice but we have a little problem: we
> have
> to represent the following situation.
>
> In our application we have a form with a table, which has five rows. Each
> row has five input text fields with same names: name, surname, address,
> phone and customerID. The question is... there is a tapestry
> components,such
> as Table or something like this, that allows to represent this and avoid
> the
> using of a unique big component with name_1,surname_1,address_1... do you
> know what i mean?
>
>
> col1 col2
> col3 col4 col5
>
> row1 name_1 surnname_1
> address_1 phone_1 customerID_1
>
> row2 name_2 surnname_2
> address_2 phone_2 customerID_2
>
>
> Thanks in advance for everything to all.
>
>
Antwort: Is there any way to represent this?
Posted by Kristian Marinkovic <kr...@porsche.co.at>.
have you looked at the Grid component
http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry/corelib/components/Grid.html
g,
kris
"daniel alonso" <al...@gmail.com>
26.05.2008 11:48
Bitte antworten an
"Tapestry users" <us...@tapestry.apache.org>
An
users@tapestry.apache.org
Kopie
Thema
Is there any way to represent this?
Hi everybody. Firstly, thanks in advance for reading this thread.
I'm working on a brand new project here and we are trying to use tapestry.
At this moment, we found it very nice but we have a little problem: we
have
to represent the following situation.
In our application we have a form with a table, which has five rows. Each
row has five input text fields with same names: name, surname, address,
phone and customerID. The question is... there is a tapestry
components,such
as Table or something like this, that allows to represent this and avoid
the
using of a unique big component with name_1,surname_1,address_1... do you
know what i mean?
col1 col2
col3 col4 col5
row1 name_1 surnname_1
address_1 phone_1 customerID_1
row2 name_2 surnname_2
address_2 phone_2 customerID_2
Thanks in advance for everything to all.