Re: Problem with Tapestry.onDOMLoaded when generating java script

2009-07-30 Thread Juan E. Maya
Ignacio that's nothing related with tapestry. U should understand what u r trying to achieve with ur javascript and do it. do u know what does the $ symbol means before a function and why should that be used? The problem is not related tapestry. 2009/7/30 Ignacio González Arboleya

Re: Problem with Tapestry.onDOMLoaded when generating java script

2009-07-30 Thread Ciaran Wood
I think the problem here is that the javascript that FLOT is expecting is clashing with the prototype javascript library that tapestry imports. When you use prototype, $ evaluates to a function that expects either a DOM element or the id of a DOM element. Does FLOT use jquery prehaps? If so, you

Re: Problem with Tapestry.onDOMLoaded when generating java script

2009-07-30 Thread Juan E. Maya
yep, i just checked and FLOT uses jQuery so that's the problem for sure. On Thu, Jul 30, 2009 at 10:53 AM, Ciaran Woodciar...@gamesys.co.uk wrote: I think the problem here is that the javascript that FLOT is expecting is clashing with the prototype javascript library that tapestry imports. When

No service implements the interface org.springframework.context.ApplicationContext. when trying tutorial #1

2009-07-30 Thread 潘军彪
Hi, When I try the tutorial #1 from the tapestry website, I get an error about the ApplicationContext. Could you please help me resolve the problem? Thanks a lot! With Best Regards, James Pan The log file: tutorial1# mvn jetty:run [INFO] Scanning for

combine-scripts issue

2009-07-30 Thread Henning Petersen
Hi everybody, I am experiencing seemingly random problems when I use combined scripts under IE7 and IE8. It seems that sometimes, these browsers are unable to fully load the combined script. In IE8, I see a permanent loading spinner, and the page remains completely unresponsive to user input due

ClassCastException after upgrading to 5.1.0.5

2009-07-30 Thread raucha
After upgrading from 5.0.18 to 5.1.0.5 my application fails to start when deployed on a weblogic server. I think this has to do with the usage of Stax in the TemplateParser. I have tried to override the implementation in my weblogic-application.xml with application-param

How to start with Tapestry5

2009-07-30 Thread Prajesh Kacha
Hello Friends, I Have used Tapestry4 for web development, it works fine with apache-tomcat5. I want to use Tapestry5 but not getting how to start, I can't find document that tells me how to configure tapestry5 with tomcat5. can any one help me to solve these problem. -- Regards, Prajesh J.

Re: How to start with Tapestry5

2009-07-30 Thread Thiago H. de Paula Figueiredo
Em Thu, 30 Jul 2009 10:36:42 -0300, Prajesh Kacha prajesh.ka...@coriolis.co.in escreveu: Hello Friends, Hi! I want to use Tapestry5 but not getting how to start, I can't find document that tells me how to configure tapestry5 with tomcat5. can any one help me to solve these problem.

t5: putting a text in the same line as grid's pager

2009-07-30 Thread Angelo Chen
Hi, I have a t:grid that has a pager, I'd like to move the display of pager to the right, then in the left I'd put a text: here is my text 1 2 3 4 5 to move the display of pager to the right, I use: .t-data-grid-pager {font-size:1.2em; text-align:right;} but now

Re: t5: putting a text in the same line as grid's pager

2009-07-30 Thread Thiago H. de Paula Figueiredo
Em Thu, 30 Jul 2009 11:33:34 -0300, Angelo Chen angelochen...@yahoo.com.hk escreveu: Hi, Hi! One good way is to do it is to write a mixin and rewrite the DOM generated by Grid. You can find examples in the mailing list archives. -- Thiago H. de Paula Figueiredo Independent Java

Spring contextConfigLocation versus ApplicationContextCustomizer : barrier to Tapestry way (... where things Just Work)

2009-07-30 Thread Komiwes Robin
Dear Tapestry and Spring users, I'm currently coding a lot of libraries/JARs using Spring stuff. With Tapestry Spring module, I found a very nice feature which is ApplicationContextCustomizer. I used that feature to automatically add a Spring context configuration XML from the classpath of

[T5] Create audit annotation

2009-07-30 Thread jose luis sanchez
Hi all. I'm trying to create an annotation for auditing methods in my application, in order to log to a file who is doing what. The use of the annotation should be like this ... @Audit(user=user, what=method) private void storingAccount(.) where user and method should be parameters ...

Re: [T5] Create audit annotation

2009-07-30 Thread Thiago H. de Paula Figueiredo
Em Thu, 30 Jul 2009 14:01:05 -0300, jose luis sanchez joseluis.sanc...@m-centric.com escreveu: Hi all. Hi! But i can't find any info on how to make an annotation .. any idea ? The first Google result for 'java annotation tutorial' is

Re: [T5] Create audit annotation

2009-07-30 Thread jose luis sanchez
Yeah,sure .. i was looking for Tapestry annotations howto .. and realized that are java5 related, not 5. Lately, T5 is solving so many problems i'm start to think everything is related to it :-) Em Thu, 30 Jul 2009 14:01:05 -0300, jose luis sanchez joseluis.sanc...@m-centric.com escreveu:

Autocomplete provide list of completions onfocus

2009-07-30 Thread Jesse Wells
Hi all, I am using the ajax autocomplete mixin for Tapestry 5.1.0.5. I have it working so that when text is typed into the input it provides completions. Does anyone know of an easy way provide a list of completions as soon as the user puts focus on the text input and before anything is typed?

Re: [T5] Create audit annotation

2009-07-30 Thread Thiago H. de Paula Figueiredo
Em Thu, 30 Jul 2009 15:34:33 -0300, jose luis sanchez joseluis.sanc...@m-centric.com escreveu: Is there any way i can send dynamic parameters to an annotation ? You just can't. They're computed at compiling time. -- Thiago H. de Paula Figueiredo Independent Java consultant, developer, and

Re: Tapestry 4.1 How to protect from malicious change on parameters?

2009-07-30 Thread Adriana B
Hi Jonathan, Thanks for talking the time! Yes, an application error page is displayed on most of the attacks. I'm thinking on implement an input validation, where I can catch and filter the malicious values that trigger the error. I don't know if there is a generic way that Tapestry 4.1 can do

Re: Live class reloading and annotations in page classes

2009-07-30 Thread Robert Zeigler
On Jul 29, 2009, at 7/297:00 PM , Thiago H. de Paula Figueiredo wrote: Hi! I'm working on a security package for Tapestry (to be open-sourced soon) and I'm following the typical Dispatcher-based approach. Now I need to check if the requested page has a given annotation and read its

t5: using Messages in a service

2009-07-30 Thread Angelo Chen
Hi, I try use constructor injection to inject the Messages into my service, but I always get a error that: Caused by: java.lang.RuntimeException: No service implements the interface org.apache.tapestry5.ioc.Messages. at

t5: determine page's locale?

2009-07-30 Thread Angelo Chen
Hi, I'd like to determine locale of a page, using the following code, it always returns 'en' even I have use different URLS like: http://localhost:8080/en http://localhost:8080/zh any ideas? Angelo @Inject private RequestGlobals

GridSortModel

2009-07-30 Thread ppetrou
I am using a Grid component to display the fields of a User and when clicking on the USERNAME column header the default behavior is to sort a the users by name(case sensitive). However, I want the sorting to take place in a non-case sensitive manner. I tried to do this with the GridSortModel but

How to fetch Form from within afterSubmit handler?

2009-07-30 Thread Vjeran Marcinko
Hello, I have created multi-form-field component (eg, DateRangeEditor component that has two DatePickers inside that are used to set start and end dates for DateRange domain class). When Form that contains this DateRangeEditor component submits, the component gets notified about this via

RE : t5: determine page's locale?

2009-07-30 Thread Komiwes Robin
Try using the ThreadLocale service. http://tapestry.apache.org/tapestry5.1/apidocs/org/apache/tapestry5/ioc/services/ThreadLocale.html Regards, Robin K, -- Atos Worldline De : Angelo Chen [angelochen...@yahoo.com.hk] Date d'envoi : vendredi 31 juillet