Passing ApplicationObject to BuilderFactory - Tap 4.1.2

2008-02-12 Thread [EMAIL PROTECTED]
Im trying to create one instance of my ServiceManager to be initialized once and used throughout my pages. The initialization of both my FooFactory and the ServiceManager are hairy so I need to pass them through a Wrapper that initializes everything. What Im trying to do is pass the ASO from the

Re: T5: How to create an external URL to a Tapestry page?

2008-02-12 Thread Howard Lewis Ship
The URLs are very predictable. The biggest issue is with the hostname, it is often easier for your application to provide the correct URL than Tapestry, as the information about server name that it gets from the Servlet API is often wrong, referring instead to the internal server forwarded to by t

Re: T5: How to create an external URL to a Tapestry page?

2008-02-12 Thread SergeEby
Hey, Just return a URL object http://tapestry.apache.org/tapestry5/tapestry-core/guide/pagenav.html /Serge Travis McLeskey wrote: > > For example, if one wanted to generate a complete URL (including > protocol, server name, and port) and send it in an email. > > I tried ComponentResources

Re: [Hint] Pages in subpackages not loaded, if page and subpackage have the same name

2008-02-12 Thread nillehammer
Hi Guys, I agree with Howard. I think tapestry's behaviour of mapping URLs to page classes is good enough to be left as is. It is pretictable and easy to use... at least looking back from now. The day I had the problem I was a little confused not having totally understood everything. A hint in

Re: Ivy dependency problem for Selenium

2008-02-12 Thread Howard Lewis Ship
... and for the second time I've given up on the upgrade. Maybe Selenium is simply not the right tool. http://jira.openqa.org/browse/SEL-523 On Feb 12, 2008 10:10 AM, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > I'm in the process of upgrading to Selenium 0.9.2, since it adds some > features t

Re: Ivy dependency problem for Selenium

2008-02-12 Thread Howard Lewis Ship
I'm in the process of upgrading to Selenium 0.9.2, since it adds some features that will help with some Ajax testing (I hope). I'm sorry but it will NOT go smoothly, Selenium is a cranky piece of junk (and still the best tool for the job I've found so far). It looks like xpath support changed bet

T5: How to create an external URL to a Tapestry page?

2008-02-12 Thread Travis McLeskey
For example, if one wanted to generate a complete URL (including protocol, server name, and port) and send it in an email. I tried ComponentResources.createActionLink() and Component.createPageLink(), but the Link objects returned by those methods do not include the server name, etc. In T

Re: i18n in javascript

2008-02-12 Thread Christian Haselbach
Quoting learner <[EMAIL PROTECTED]>: onclick="javascript:return confirm('${message:key_in_my_property_file}');" i try to use key in javascript like above but failed. how to use key in javascript? There are several thing to consider here. 1) You cannot use the message service directly from Jav

Re: i18n in javascript

2008-02-12 Thread Michael Courcy
Do you use onclick on a component or on a simple html element ? learner a écrit : onclick="javascript:return confirm('${message:key_in_my_property_file}');" i try to use key in javascript like above but failed. how to use key in javascript? --

T4.1.2 CrossTabs problem

2008-02-12 Thread VitalyA
My report uses scripted data set. I want to add Cross Tab component to the report. I define Data Cube, which uses scripted data set. I have following exception when I run my application: - /olap/cube_HistoryCube doesnt exist /olap/cube_HistoryCube doesn't exist ( 1 time(s) ) detail : org.eclipse.b

i18n in javascript

2008-02-12 Thread learner
onclick="javascript:return confirm('${message:key_in_my_property_file}');" i try to use key in javascript like above but failed. how to use key in javascript? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: T5: Hibernate and threaded service

2008-02-12 Thread Davor Hrg
it works without workarround if you call any service that does not use ThreadCleanupHub namely almost any service other than Session and HibernateSessionManager. On Feb 12, 2008 3:04 PM, Angelo Chen <[EMAIL PROTECTED]> wrote: > > that's good, i have been using ur work around for the 5.09 version.

Re: T5: Hibernate and threaded service

2008-02-12 Thread Angelo Chen
that's good, i have been using ur work around for the 5.09 version. the strange thing about this bug is, sometimes it works even without that work around, but just to be sure, I use the work around all the time, will try that 5.0.11 when it is released. thanks. Davor Hrg wrote: > > this is now

Transformation exceptions

2008-02-12 Thread Peter Stavrinides
Hi all, I am running into the occasional transformation exception, which is easy enough to correct with some minor refactoring... but just for interest sake take a look at this code snippet: /** My data object used in a beanform */ @Persist private BeanFormData myBeanFormObj_ = new Bean

Re: T5: Email Validator

2008-02-12 Thread Marcus
Hi Renat, We can use validation inside properties, on the client side. But we still can use: void onValidateFromMyEmailField(String cliente) throws ValidationException on the server side. Marcus

Re: Alias or AliasOverrides?

2008-02-12 Thread Hugo Palma
I think the description here is very good http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry/services/Alias.html It's pretty much the same concept as ApplicationDefaults and FactoryDefaults, being that in this case the Alias service would be the FactoryDefaults and the AliasOverrides

Alias or AliasOverrides?

2008-02-12 Thread Robin Helgelin
Hi, Can someone, Howard?, explain to difference between contributing a service to Alias or AliasOverrides? -- regards, Robin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PR

Re: T5: Email Validator

2008-02-12 Thread Hugo Palma
I agree. That's why i created this issue https://issues.apache.org/jira/browse/TAPESTRY-2143 Renat Zubairov wrote: > Thank you, Hugo for the help. I was also checking the T5 documentation and > found that default (recommended) way for email validation > is roll-your-own validation based on the reg

Re: T5: Hibernate and threaded service

2008-02-12 Thread Davor Hrg
this is now fixed for T5.0.11 I've updated wiki to reflect the change. Davor Hrg On Feb 8, 2008 2:55 PM, Davor Hrg <[EMAIL PROTECTED]> wrote: > uh, > oh, > > it seems I've found a small workarround, > not a definitive fix, but the TreadSource works with it.. > > the wiki is updated > > http://wik

ThreadCleanupHub removed in T 5.0.11-SNAPSHOT

2008-02-12 Thread Davor Hrg
In case anyone is using ThreadCleanupHub, it is removed in favor of PerthreadManager this was done while fixing problems that bug in java's ThreadLocal caused. Davor Hrg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional