Yes, I'm pretty sure. In fact, I even tried moving the
On Thu, 04 Feb 2010 21:37:26 -0200, Benny Law
wrote:
I am still wondering why Tapestry strips away all
On Thu, 04 Feb 2010 21:33:03 -0200, Christoph Jäger
wrote:
Hi,
Hi!
It would be a great help, if t:Label would first search for a property
like "name-label", and, if none is found, for "name" (without the
trailing "-label").
This logic is implemented in the ComponentDefaultProvider se
Thanks Thiago. Norman's solution is working fine for me, so I will leave it
like that. (I like keeping my JavaScript to the .tml file as much as
possible to maintain a cleaner separation between the page template and the
page class.) But thanks again for your suggestion. Your approach may come in
h
Hi,
I have a multi-language Tapestry5 application. I have several
properties files containing the translations, with quite a few entries
already, and still growing.
Now, each time I use a t:Label on some form, I need to add a property
like "name-label" or "address-label" to these translat
Hi
2010/2/5 Christoph Jäger
> Hi,
>
> I use org.apache.tapestry5.ioc.Messages to get the translated strings for
> my web application from the property files for my pages. This works great.
>
> Now, I want to use the same mechanism in two different places in my
> application:
>
> 1. A user can cl
Hi,
I use org.apache.tapestry5.ioc.Messages to get the translated strings
for my web application from the property files for my pages. This
works great.
Now, I want to use the same mechanism in two different places in my
application:
1. A user can click a button to generate some graphic
.
2010/2/4 Thiago H. de Paula Figueiredo
> On Thu, 04 Feb 2010 15:07:44 -0200, cordenier christophe <
> christophe.corden...@gmail.com> wrote:
>
> I have also thought about this solution, but it requires to instantiate
>> objects for simple lists of String.
>>
>
> IMHO, it's way better to insta
On Thu, 04 Feb 2010 21:01:39 -0200, Benny Law
wrote:
Thiago, I don't see your comments (except your friendly "Hi"). Could you
respond again please? Thanks.
Hi! :D
I tripped over my keyboard and accidentally sent the message before
finishing it. :P
from the zone when it renders. I als
Thanks Norman, I'll try your suggestion.
Thiago, I don't see your comments (except your friendly "Hi"). Could you
respond again please? Thanks.
Regards,
Benny
On Thu, Feb 4, 2010 at 5:50 PM, Thiago H. de Paula Figueiredo <
thiag...@gmail.com> wrote:
> On Thu, 04 Feb 2010 20:46:53 -0200, Benny La
On Thu, 04 Feb 2010 20:46:53 -0200, Benny Law
wrote:
Hi everyone,
Hi!
from the zone when it renders. I also tried to use
RenderSupport.addScript()
in the action link event handler that updates the zone, but got the error
"No object of type org.apache.tapestry5.RenderSupport is available
I have the zone render a block (using t:delegate), which contains a
script block. This works for me, at least. I use it to re-initialize a
drag & drop sortable list.
Norman Franke
Answering Service for Directors, Inc.
www.myasd.com
On Feb 4, 2010, at 5:46 PM, Benny Law wrote:
Hi everyone
On Thu, 04 Feb 2010 16:06:08 -0200, Vangel V. Ajanovski
wrote:
For example in 100% of cases we have source of the grid as
List, where Employee is an Entity (via Hibernate).
And in 90% the cells we have something like this
${employee.person.firstName}
${employee.person.lastName}
You could, f
Hi everyone,
I have a zone that contains some *dynamic* JavaScript that sets a global
JavaScript object. However, Tapestry seems to be dropping the
On Thu, 04 Feb 2010 15:11:07 -0200, cordenier christophe
wrote:
I don't think CheckBox handles validation in its processSubmission
method, AbstractTextField does but not the CheckBox component.
Oops, you're right. I would implement a simple component to do that.
--
Thiago H. de Paula Figu
On Thu, 04 Feb 2010 15:07:44 -0200, cordenier christophe
wrote:
I have also thought about this solution, but it requires to instantiate
objects for simple lists of String.
IMHO, it's way better to instantiate one or two dozens of objects and keep
the configuration simple than complicate t
Congratulation Howard! And a big thank you to you and everybody, who
is developing this great framework and supporting in this maillist!
Mit freundlichen Grüßen
Alexander Muthmann
On 04.02.2010, at 19:39, Howard wrote:
I recently realized that the first prototype of Tapestry was written
t
Do Tapestry components throw defined *client*-side events?
I'm thinking of combining AjaxFormLoop with Scriptaculous' Sortable, so that
I can let my users sort the rows with drag and drop. One obvious gap is
that whenever a new row is added, I'll have to intervene to decorate the
rows as Sortable
I recently realized that the first prototype of Tapestry was written
ten years ago! It all started as a home project in my living room, with
the original inspiration coming from some brief exposure to WebObjects.
Even the "new" codebase, Tapestry 5, is well over three years old at
this point.
How l
I meant i have chosen to implement your second solution that is effectively
better in separation of concerns but requires more declarations in my Module
class (if i have understood it well)
2010/2/4 Howard Lewis Ship
> Sometimes it codes better, too ... separation of concerns.
>
> On Thu, Feb 4,
On 26.01.2010 20:00, Michael Prescott wrote:
> How do you go about making a computed column in a Grid sortable? The docs
> on Grid are great, but in the example the computed column is non-sortable.
> Can I do it by providing a PropertyConduit through the grid's BeanModel
> model?
>
> Michael
>
>
Sometimes it codes better, too ... separation of concerns.
On Thu, Feb 4, 2010 at 9:43 AM, cordenier christophe
wrote:
> Hi
>
> I have chosen the second solution. It works fine.
>
> Regards,
> Christophe
>
> 2010/2/4 Howard Lewis Ship
>
>> Contribute a map of instead.
>>
>> Or have two services
Hi
I have chosen the second solution. It works fine.
Regards,
Christophe
2010/2/4 Howard Lewis Ship
> Contribute a map of instead.
>
> Or have two services to manage the list and a third service that makes
> use of the first two services (& their configurations).
>
> On Thu, Feb 4, 2010 at 5:
Contribute a map of instead.
Or have two services to manage the list and a third service that makes
use of the first two services (& their configurations).
On Thu, Feb 4, 2010 at 5:34 AM, cordenier christophe
wrote:
> Hi,
>
> I have a use case where i want to provide to my service a white list
I don't think CheckBox handles validation in its processSubmission method,
AbstractTextField does but not the CheckBox component.
2010/2/4 Thiago H. de Paula Figueiredo
> On Thu, 04 Feb 2010 13:21:23 -0200, cordenier christophe <
> christophe.corden...@gmail.com> wrote:
>
> Well, sorry i though
I have also thought about this solution, but it requires to instantiate
objects for simple lists of String.
2010/2/4 Thiago H. de Paula Figueiredo
> On Thu, 04 Feb 2010 14:47:17 -0200, cordenier christophe <
> christophe.corden...@gmail.com> wrote:
>
> The problem is that i need to build dedic
On Thu, 04 Feb 2010 14:47:17 -0200, cordenier christophe
wrote:
The problem is that i need to build dedicated service to handle
whiteList and blackList for each service that requires different
configuration if i
don't want to manipulate Map, it will create 2*n + n instance of services
fo
Hi
I have used the third locale parameter : variant associated to an
identification filter.
Regards,
Christophe.
Developer of wooki @wookicentral.com
2010/2/4 Thomas Cucchietti
> Ok, it could be what I needed.
>
> Thanks for the information Thiago, I'll give it a try and make a feedback
> in
The problem is that i need to build dedicated service to handle whiteList
and blackList for each service that requires different configuration if i
don't want to manipulate Map, it will create 2*n + n instance of services
for services that requires a WhiteListManager and a BlackListManager. By
ext
Wow, that was fast, thanks a lot!
getAllClassMetadata() was what I was looking for!
On 04.02.2010 17:41, Thiago H. de Paula Figueiredo wrote:
On Thu, 04 Feb 2010 14:25:44 -0200, Alexander Muthmann
wrote:
Hi there,
Hi!
i have an abstract class which is extended by several classes. Those
On Thu, 04 Feb 2010 13:21:23 -0200, cordenier christophe
wrote:
Well, sorry i thought you had a problem submit button identification
because
of "onSelectFrom is called to late".
Then to your problem i have no solution, because as you said it the
checkBox is not validated.
There's a solu
On Thu, 04 Feb 2010 14:25:44 -0200, Alexander Muthmann
wrote:
Hi there,
Hi!
i have an abstract class which is extended by several classes. Those
classes are entities for my database, connected with hibernate.
Now I'm looking for a possibility, to list all classes, which extend my
abstr
Ok, it could be what I needed.
Thanks for the information Thiago, I'll give it a try and make a feedback in
case.
2010/2/4 Thiago H. de Paula Figueiredo
> On Thu, 04 Feb 2010 13:41:48 -0200, Thomas Cucchietti <
> thomas.cucchie...@gmail.com> wrote:
>
> Hello everybody,
>>
>
> Hi!
>
>
> is the
On Thu, 04 Feb 2010 13:20:04 -0200, Kristian Marinkovic
wrote:
as with the activation context i think it would be very
error prone (from my exprience). what if you really
swap the parameter positions, consider more than
two parameters. i think the chance to create bugs that
cannot be detected
On Thu, 04 Feb 2010 13:41:48 -0200, Thomas Cucchietti
wrote:
Hello everybody,
Hi!
is there a mean to have several different templates for a single page?
Not directly.
A bit like it's the case for localization (with templates suffixed like
myPage_de.tml, myPage_fr.tml), but depending o
Hi there,
i'm currently looking for a solution for the following problem:
i have an abstract class which is extended by several classes. Those
classes are entities for my database, connected with hibernate.
Now I'm looking for a possibility, to list all classes, which extend my
abstract class.
Just for those who are interested in, i used the solution suggested by
Kristian. Module code looks like :
public static void bind(ServiceBinder binder) {
binder.bind(AuthorizedQueryStringParameterManager.class,
AuthorizedQueryStringParameterManagerImpl.class);
addWhiteAndBlackLists
Of course, I can understand.
So i come back to your first proposal and will vote for it if you post a
JIRA ;)
2010/2/4 Stephan Windmüller
> Am 04.02.2010 16:21, cordenier christophe wrote:
>
> I have only a design suggestion if you don't mind :) Why not simply put an
>> intermediate screen to a
Am 04.02.2010 16:21, cordenier christophe wrote:
I have only a design suggestion if you don't mind :) Why not simply put an
intermediate screen to alert that no email will be send to these user
because of the lack of information.
This would break the default validation workflow of my other pag
Hello everybody,
is there a mean to have several different templates for a single page?
A bit like it's the case for localization (with templates suffixed like
myPage_de.tml, myPage_fr.tml), but depending on other parameters.
Thanks in advance.
Thomas.
Out of interest - any of you Tapestry experts fancy a two month contract in
Germany?
Please let me know your interest
Regards,
-Original Message-
From: cordenier christophe [mailto:christophe.corden...@gmail.com]
Sent: 04 February 2010 15:21
To: Tapestry users
Subject: Re: onSelectedF
2010/2/4 Kristian Marinkovic
> as with the activation context i think it would be very
> error prone (from my exprience). what if you really
> swap the parameter positions, consider more than
> two parameters. i think the chance to create bugs that
> cannot be detected by unit tests increases. ex
Well, sorry i thought you had a problem submit button identification because
of "onSelectFrom is called to late".
Then to your problem i have no solution, because as you said it the checkBox
is not validated.
I have only a design suggestion if you don't mind :) Why not simply put an
intermediate s
as with the activation context i think it would be very
error prone (from my exprience). what if you really
swap the parameter positions, consider more than
two parameters. i think the chance to create bugs that
cannot be detected by unit tests increases. except you
have very good integration
Am 04.02.2010 15:59, schrieb cordenier christophe:
No i meant onValidateForm, i may be wrong but if your checkboxes are mapped
to value, you have access all to those values.
Yes, I have the values, but I need the component to display a the
validation error next to the checkbox by using Form.r
On Thu, 04 Feb 2010 11:37:05 -0200, Jan Jirout wrote:
Hi,
Hi!
I'll try change implementation of ComponentEventLinkEncoderMethodAdvice,
it seems to me that it could help. I don't fully understand T5 so I
don't know if it's bug or not. What do you think?
This is a bug. Please file a JIRA
No i meant onValidateForm, i may be wrong but if your checkboxes are mapped
to value, you have access all to those values.
Also you should have a look at volatile parameter of the Grid component,
used when enclosed by a form.
2010/2/4 Stephan Windmüller
> Am 04.02.2010 15:39, cordenier christoph
Am 04.02.2010 15:39, cordenier christophe wrote:
Why do you not simply intercept onSelectEvent and check user with email
address in onValidateForm ?
You mean onSelectFromSubmitButton, right?
In onValidateForm I do not have access to the single checkbox components
of my Grid.
- Stephan
---
Why do you not simply intercept onSelectEvent and check user with email
address in onValidateForm ?
2010/2/4 Stephan Windmüller
> Am 04.02.2010 15:28, schrieb cordenier christophe:
>
>
> Just to be sure this does not work can you try also by moving your button
>> at
>> the top of the form ?
>>
Am 04.02.2010 15:28, schrieb cordenier christophe:
Just to be sure this does not work can you try also by moving your button at
the top of the form ?
It is, actually. ;)
- Stephan
-
To unsubscribe, e-mail: users-unsubscr...@
Just to be sure this does not work can you try also by moving your button at
the top of the form ?
2010/2/4 Stephan Windmüller
> Am 04.02.2010 14:47, cordenier christophe wrote :
>
>
> Have you tried by setting the 'defer' attribute of your submit button to
>> false ?
>>
>
> Good idea, but it d
Am 04.02.2010 14:47, cordenier christophe wrote :
Have you tried by setting the 'defer' attribute of your submit button to
false ?
Good idea, but it did not work. :(
Regards
Stephan
-
To unsubscribe, e-mail: users-unsubscr.
2010/2/4 Kristian Marinkovic
> hi,
>
> i guess it is so because it is difficult to distinguish the
> contributions if they are of the same type:
>
> Filter(Collection whitelist, Collection blacklist>)
>
> contribute(Configuration blacklist, Configuration
> whitelist)
>
Also i think ordering shou
Hi
Thanks for your quick answer, the thing is that i have multiple security
filters with their own list of whiteList and blackList.
Then i will have a lot of indirection contribution methods. I will try to
find a better design approach to my filters.
I should have a global filter chain and use a
hi,
i guess it is so because it is difficult to distinguish the
contributions if they are of the same type:
Filter(Collection whitelist, Collection blacklist>)
contribute(Configuration blacklist, Configuration
whitelist)
i solve these type of problems by creating two seperate services either
Have you tried by setting the 'defer' attribute of your submit button to
false ?
2010/2/4 Stephan Windmüller
> Am 04.02.2010 14:37, schrieb cordenier christophe:
>
>
> Sorry but I don't get your case, is it the user that have to check the row
>> on which the action will be applied. Or must all
Am 04.02.2010 14:37, schrieb cordenier christophe:
Sorry but I don't get your case, is it the user that have to check the row
on which the action will be applied. Or must all the checkboxes been checked
to allow the submission ?
One possible action is "Send e-mail to user", but this action is
Sorry but I don't get your case, is it the user that have to check the row
on which the action will be applied. Or must all the checkboxes been checked
to allow the submission ?
Regards,
Christophe.
Developer of wooki @wookicentral.com
2010/2/4 Stephan Windmüller
> Am 04.02.2010 14:27, cordeni
Hi,
thanks for looking at this, it really helps me. I think that I found
place where is forForm changed to wrong value, let me describe it:
It seems that LinkImpl is correctly created in
ComponentEventLinkEncoderImpl at 194 with forForm=true. Next is
ComponentEventLinkEncoderMethodAdvice#adv
Hi,
I have a use case where i want to provide to my service a white list + a
black list of patterns.This list must be extensible by the service user via
a contributeXxx method.
The DefaultModelDef does not allow this.
I guess this is a design choice, but is it reasonnable to say that the
contribut
Am 04.02.2010 14:27, cordenier christophe wrote:
On a page a Grid is displayed inside a form which contains a checkbox for
each row (similar to [0]). When I submit the form using *one of the submit
buttons* below, I want to check for each row if the action of the submit
button is possible.
Have
Hi
2010/2/3 Stephan Windmüller
> Hello!
>
> I have the following problem:
>
> On a page a Grid is displayed inside a form which contains a checkbox for
> each row (similar to [0]). When I submit the form using *one of the submit
> buttons* below, I want to check for each row if the action of the
Am 04.02.2010 11:40, Stephan Windmüller wrote:
Of course, I could remember the control names of each Field. But how do
I restore the Field instance based on the control name? Is there a
service for this?
Okay, here is my solution for now:
I created a class SimpleField which implements the Fie
Am 03.02.2010 17:13, Stephan Windmüller wrote:
To achieve this, I extended the Checkbox component to allow validation
for checkbox fields. This works, but it happens too early: At first all
checkboxes are validated, _then_ the onSelectedFromSubmitButton is
called and I do not know which action I
Paul,
thanks for the help on this. I'll try it out soon.
On why I'm using the page class : I guess this goes back to using POJOs
for unit testing. What I mean is that in my tapestry page class I have a
couple of methods (e.g. like setupRender , event handlers) which mean
something special fo
65 matches
Mail list logo