Is it possible te 'replace' ClientDataEncoder

2011-06-20 Thread martijn.list
I would like to use my own implementation of ClientDataEncoder. Is it possible to replace the existing ClientDataEncoder with my own implementation? Kind regards, Martijn Brinkers - To unsubscribe, e-mail: users-unsubscr...@tape

Maven Checksum Failure with Tynamo JPA / Security

2011-06-20 Thread Lenny Primak
I am using Maven 3. Does anybody else have this error? Tried to send this to u...@tynamo.codehaus.org (linked from the tynamo home page) to no avail, so I am trying here. -- [WARNING] Checksum validation failed, expected b114605d9b3c03c833417430851022a5d2a349bd but is 6cc8648515f6

Re: [ANN] JumpStart 5.3.5 released

2011-06-20 Thread Geoff Callender
On 21/06/2011, at 11:22 AM, Bob Harner wrote: > Geoff, > > JumpStart is the most valuable resource I know of for learning to use > Tapestry. Thanks so much for providing it! Thanks! > One thing I would suggest -- and I know this is a lot to ask -- would > be to (eventually, some day) move away

Select OnValueChanged event not triggered

2011-06-20 Thread RuralHunter
I wrote a component which contains several selects. I want to track the value change event of one select so I can update other fields in the comp. But the onValueChanged method I put in the comp is never called. I put the code below. Can someone guide me what I can check and how to fix it? tml cod

Error while building 5.3

2011-06-20 Thread Taha Hafeez
Hi I got stuck with this error while using gradle javadoc. java.lang.NullPointerException at com.sun.tools.javadoc.TypeMaker.getType(TypeMaker.java:67) at com.sun.tools.javadoc.TypeMaker.getType(TypeMaker.java:29) at com.sun.tools.javadoc.ClassDocImpl.superclassType(ClassDocImpl.java:441) at com.

Re: Using environment to access object in component from calling page

2011-06-20 Thread Josh Canfield
> I wouldn't that Environment is purely top-down. Of course, most of the time > it is. Sometimes information goes both ways. The Form component adds a > FormSupport object to the Environment and the form field components add > validation, event triggering, etc commands for Form to execute while > h

Re: [ANN] JumpStart 5.3.5 released

2011-06-20 Thread Bob Harner
Geoff, JumpStart is the most valuable resource I know of for learning to use Tapestry. Thanks so much for providing it! One thing I would suggest -- and I know this is a lot to ask -- would be to (eventually, some day) move away from the use of leading underscores in the private variables. I reme

Re: [ANN] JumpStart 5.3.5 released

2011-06-20 Thread ael
Hi Geoff, My suggestion How about some examples of: tapestry-security I think it can help a lot :) -- View this message in context: http://tapestry.1045711.n5.nabble.com/ANN-JumpStart-5-3-5-released-tp4506440p4508551.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Trigger component event context

2011-06-20 Thread Matias Blasi
Hi all! I am using the trigger component to fire an event. Is there any way to pass a context for that event? As far as I understand, the trigger component should have a 'context' parameter, is that correct? Regards, Matias.

Re: Can you dynamically select which page template to return?

2011-06-20 Thread dkeenan
Hi. I just gave that a go, using localization to serve a different TML template. Started by adding following lines to AppModule: public static void contributeApplicationDefaults( MappedConfiguration configuration) { configuration.add("tapestry.supported-local

Tapestry5-JQuery Integration and tapestry-beanvalidator

2011-06-20 Thread Matias Blasi
Hi all I recently integrated my tapestry5 (5.2.5) application with the latest got5-jquery library (2.1.1) And I have the following error just entering to an empty page: Tapestry.Validator is undefined ---> Tapestry.Validator.notnull = function(field, message, spec) (tapestry-validator.js line 15

Re: Can you dynamically select which page template to return?

2011-06-20 Thread dkeenan
Sounds great. I'll take that approach in that case. Thanks for your help. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Can-you-dynamically-select-which-page-template-to-return-tp4505668p4508195.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: Can you dynamically select which page template to return?

2011-06-20 Thread Thiago H. de Paula Figueiredo
On Mon, 20 Jun 2011 18:03:33 -0300, dkeenan wrote: Thanks Thiago. Yeah I see what you mean also. Ideally the HTML should be the content, and be completely separate from styling (that's CSS's job). This is exactly how it should be done as you say, but I'm also keen to reuse existing HTML t

Re: Can you dynamically select which page template to return?

2011-06-20 Thread Howard Lewis Ship
On Mon, Jun 20, 2011 at 2:03 PM, dkeenan wrote: > Thanks Thiago. Yeah I see what you mean also. Ideally the HTML should be the > content, and be completely separate from styling (that's CSS's job). This is > exactly how it should be done as you say, but I'm also keen to reuse > existing HTML templ

Re: Can you dynamically select which page template to return?

2011-06-20 Thread dkeenan
Thanks Thiago. Yeah I see what you mean also. Ideally the HTML should be the content, and be completely separate from styling (that's CSS's job). This is exactly how it should be done as you say, but I'm also keen to reuse existing HTML templates without having to re-factor too much (some changes w

Re: Can you dynamically select which page template to return?

2011-06-20 Thread Thiago H. de Paula Figueiredo
On Mon, 20 Jun 2011 16:17:21 -0300, dkeenan wrote: This way, I am hoping to work on 2 separate TML files in design mode, and the can be served based on which type of user is logged in. For example... a funky design versus a more mature design based on the age of the user. Sounds weird :-

Re: Can you dynamically select which page template to return?

2011-06-20 Thread dkeenan
Thanks Lewis. I can see what you mean. It does sound like I'm trying to do something action-oriented/Struts-like. I'm a big fan of the way Tapestry doesn't force you to think in this way and is more intuitive. The reason I ask actually, is more to do with wanting to re-skin pages based on a user. I

Re: Can you dynamically select which page template to return?

2011-06-20 Thread dkeenan
Thanks Lewis. I can see what you mean. It does sound like I'm trying to do something action-oriented/Struts-like. I'm a big fan of the way Tapestry doesn't force you to think in this way and is more intuitive. The reason I ask actually, is more to do with wanting to re-skin pages based on a user

Re: Can you dynamically select which page template to return?

2011-06-20 Thread Howard Lewis Ship
On Mon, Jun 20, 2011 at 2:26 AM, dkeenan wrote: > Not sure if that makes any sense but here goes... For each page in Tapestry, > I know that I need to specify a page class, and a corresponding TML templage > file for that page. > It's easy to make a single page dynamic, or to choose one of a numb

Re: filtering Ajax requests

2011-06-20 Thread Thiago H. de Paula Figueiredo
On Mon, 20 Jun 2011 13:54:29 -0300, aniro wrote: Hi everyone, Hi! I'm working on some small application, and I need to register every user action into a proprietary module. I need to record the total time consumed by a request, the action that triggered the event and some http para

Re: filtering Ajax requests

2011-06-20 Thread LLTYK
The TimingFilter is part of the tapestry quickstart project. Here's mine: public RequestFilter buildTimingFilter(final Logger log) { return new RequestFilter() { @Override public boolean service(Request request, Response response, RequestHandler handler) throws IOException {

Re: Can you dynamically select which page template to return?

2011-06-20 Thread Thiago H. de Paula Figueiredo
On Mon, 20 Jun 2011 06:32:02 -0300, dkeenan wrote: Ah. Maybe this is what I need to dynamically use a different template for a page... http://tapestry.apache.org/localization.html You can also use a combination of page class subclassing and URL rewriting (LinkTransformer API) for that i

Re: Using environment to access object in component from calling page

2011-06-20 Thread Rizwan
Thanks Taha, Could you provide me with a short example on how to do it the parameter way as well. Not sure I fully understand this method you described? Many thanks Rizwan -- View this message in context: http://tapestry.1045711.n5.nabble.com/Using-environment-to-access-object-in-component-

Re: Can you dynamically select which page template to return?

2011-06-20 Thread Robert Zeigler
The localization happens automatically according to the user's locale (although I suppose you could hijack that override it to suite your purposes). However, in trunk (5.3.0/5.3.1-SNAPSHOT), the concept is currently being generalized to support skinning, etc. Robert On Jun 20, 2011, at 6/204:

Re: Can you dynamically select which page template to return?

2011-06-20 Thread dkeenan
Ah. Maybe this is what I need to dynamically use a different template for a page... http://tapestry.apache.org/localization.html -- View this message in context: http://tapestry.1045711.n5.nabble.com/Can-you-dynamically-select-which-page-template-to-return-tp4505668p4505678.html Sent from the

filtering Ajax requests

2011-06-20 Thread aniro
Hi everyone, I'm working on some small application, and I need to register every user action into a proprietary module. I need to record the total time consumed by a request, the action that triggered the event and some http parameters. The Tapestry version is 5.0.18, under Jboss 4.0.5. To avo

Can you dynamically select which page template to return?

2011-06-20 Thread dkeenan
Not sure if that makes any sense but here goes... For each page in Tapestry, I know that I need to specify a page class, and a corresponding TML templage file for that page. I was wondering if I can have more than one possible TML file for a page... and programatically decide which one to use? Ho

Re: Which tapx version?

2011-06-20 Thread Nicolas Barrera
Ok, I assume thats the latest non-snapshot release :) and that it works with 5.1.x and 5.2.x thanks fran Nicolás.- 2011/6/18 françois facon > Hi Nicolas, > > Tapx 1.0.0 is available at > > http://tapestry.formos.com/maven-repository/com/howardlewisship/tapx-project/1.0.0/ > > source code http

Re: Using environment to access object in component from calling page

2011-06-20 Thread Taha Tapestry
Sorry @InjectCompoment not @inject Regards Taha On Jun 20, 2011, at 8:32 PM, Taha Tapestry wrote: > There are two ways of doing this > One way is to use parameters. Create a parameter display in the component > which will be readonly for the page and to which the component assigns a > value

Re: Using environment to access object in component from calling page

2011-06-20 Thread Taha Tapestry
There are two ways of doing this One way is to use parameters. Create a parameter display in the component which will be readonly for the page and to which the component assigns a value like the index parameter of the loop Second is to create an interface Displayable having a method getDisplay()

Re: Using environment to access object in component from calling page

2011-06-20 Thread Rizwan
I have to push the object in the component as the information I need passed back to the page is only in the component not the page. >From reading the tapestry API it seems that it is more cleaner to push and pop the objects in the same component rather than popping and pushing in different compone

Re: Using environment to access object in component from calling page

2011-06-20 Thread Taha Tapestry
I agree that information can be passed both ways but the object is pushed on to the environment by the parent/enclosing component Regards Taha On Jun 20, 2011, at 7:16 PM, "Thiago H. de Paula Figueiredo" wrote: > On Mon, 20 Jun 2011 09:49:34 -0300, Taha Hafeez > wrote: > >> Hi Rizwan, >

Re: Select component and Ajax (Tapestry version < 5.2.0)

2011-06-20 Thread Thiago H. de Paula Figueiredo
On Sun, 19 Jun 2011 18:05:19 -0300, Luciano wrote: Hi everyone, Hi! my case is quite simple : somewhere on the website I'm working on, I need to trigger an Ajax request each time the internaut selects a new manipulating a regular HTML Select component. I'm thinking about this : - is it

[ANN] JumpStart 5.3.5 released

2011-06-20 Thread Geoff Callender
Hi all, JumpStart 5.3.5 is ready, featuring JavaScript examples. And in case you missed it, Web Services examples were added last week. Here's the demo: http://jumpstart.doublenegative.com.au/jumpstart/ No doubt there's room for improvement, so please let me know your thoughts! Chee

Re: Using environment to access object in component from calling page

2011-06-20 Thread Thiago H. de Paula Figueiredo
On Mon, 20 Jun 2011 09:49:34 -0300, Taha Hafeez wrote: Hi Rizwan, Hi, guys! Environment is used when a component wants to pass an object to the child/embedded component not other way around because of the reasons already mentioned by Thiago. If you describe the use case may be we can

Re: Migrating to 5.3

2011-06-20 Thread Taha Hafeez
Thanks for the suggestions. Will work on the posts this week end regards Taha On Mon, Jun 20, 2011 at 5:52 AM, Angelo C. wrote: > might be more helpful by writing some new features in 5.3, example: > skinning > and theme support? this feature will get some users (I am one of them) goes > into

Re: Unit testing mixins

2011-06-20 Thread Taha Hafeez
Hi The best way to learn testing tapestry is by reading the tests present in the source code. Also, I learned a lot from the test written in chenillekit. Hope it helps regards Taha On Mon, Jun 20, 2011 at 5:22 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > On Mon, 20 Jun 2011

Re: Using environment to access object in component from calling page

2011-06-20 Thread Taha Hafeez
Hi Rizwan, Environment is used when a component wants to pass an object to the child/embedded component not other way around because of the reasons already mentioned by Thiago. If you describe the use case may be we can suggest you a better way. regards Taha On Mon, Jun 20, 2011 at 5:17 PM, Thia

Re: Unit testing mixins

2011-06-20 Thread Thiago H. de Paula Figueiredo
On Mon, 20 Jun 2011 04:22:27 -0300, wrote: Hi Inge, Thiago, Hi! Firstly, Thanks guys for your replies! I was aware of Jasmine, but not JsTestDriver... together they look very promising (powerful) for unit tests. I think I will give them a go. You're welcome! As for Selenium, we had use

Re: Using environment to access object in component from calling page

2011-06-20 Thread Thiago H. de Paula Figueiredo
On Mon, 20 Jun 2011 07:49:01 -0300, Rizwan wrote: Hi Hi! I am trying to access a environment variable in a page. The variable is pushed onto the environment from the enclosed component. public class PageComponent { @Inject private Environment environment; @Begin

Using environment to access object in component from calling page

2011-06-20 Thread Rizwan
Hi I am trying to access a environment variable in a page. The variable is pushed onto the environment from the enclosed component. The code for the component is something like the following public class PageComponent { @Inject private Environment environment; @BeginRen

AUTO: Guletsky, Peter is out of the office. (returning 07/04/2011)

2011-06-20 Thread Peter.Guletsky
I am out of the office until 07/04/2011. In case of urgency please contact Parvez Zariwala (x.5910) or Praveen Makhija (x.5962) Note: This is an automated response to your message "Re: Unit testing mixins" sent on 6/20/2011 3:22:27 AM. This is the only notification you will receive while this

Re: Unit testing mixins

2011-06-20 Thread P . Stavrinides
Hi Inge, Thiago, Firstly, Thanks guys for your replies! I was aware of Jasmine, but not JsTestDriver... together they look very promising (powerful) for unit tests. I think I will give them a go. As for Selenium, we had used it in the past for integration testing, but we wrote only one large