tapestryforums.com gone?

2007-03-20 Thread Urban Sombrero
Hi all...does anyone know the status of the tapestryforums.com website? The forums were somewhat active a few days ago, but the domain registration has now apparently expired. I tried emailing the prior domain name registrant, but no response. Travis -

Re: Tapestry 5 tutorial: classes don't exist on package

2007-03-20 Thread Peter Beshai
If the annotations were @Contribute("...ApplicationDefaults") and @Contribute("...ApplicationFilters") then the methods will work as expected (without the annotations). Instead of looking for configuration from the annotations, tapestry now determines that same configuration from the actual wordin

Re: Tapestry 5 tutorial: classes don't exist on package

2007-03-20 Thread Bogdan Calmac
So after removing the annotations what should we do with the two methods that were annotated: contributeApplicationDefaults() and contributeApplicationFilters? I would guess nobody will call them without the annotations. Thanks, Bogdan Calmac On 3/20/07, Robert Zeigler <[EMAIL PROTECTED]> wrote

Re: T5 vs T4 vs Community

2007-03-20 Thread Stephan Schwab
Thiago H de Paula Figueiredo wrote: > > On Tue, 20 Mar 2007 18:24:52 -0300, Renat Zubairov > <[EMAIL PROTECTED]> wrote: > >> Let me explain it from _my_ personal point of view. >> 1. Investments in T4 are lost. Application will not be portable to T5. > > i can't figure out why investment in

Re: T5 vs T4 vs Community

2007-03-20 Thread Thiago H de Paula Figueiredo
On Tue, 20 Mar 2007 18:24:52 -0300, Renat Zubairov <[EMAIL PROTECTED]> wrote: Let me explain it from _my_ personal point of view. 1. Investments in T4 are lost. Application will not be portable to T5. i can't figure out why investment in a framework will be lost when a new, incompatible ve

Re: T5,page template location ?

2007-03-20 Thread Jun Tsai
2007/3/21, Howard Lewis Ship <[EMAIL PROTECTED]>: /WEB-INF/test/TestForm.html I know this,but the dreamweaver developer how to design the page?because image directory in root directory. So I think T5 should read page template under root directory not WEB-INF directory. Jun Tsai -- Welcome

T5 Custom AssetFactory

2007-03-20 Thread Peter Beshai
I am trying to create my own AssetFactory to read assets from a filesystem, but I'm getting an exception. My AppModule ~has the following: public AssetFactory buildMyAssetFactory(@InjectService("ResourceCache") ResourceCache resourceCache) { return new MyAssetFactory(resourceCa

Re: T5 vs T4 vs Community

2007-03-20 Thread Jesse Kuhnert
Hi Renat, Sorry to hear about your frustrations. I will try to address each point inline below. On 3/20/07, Renat Zubairov <[EMAIL PROTECTED]> wrote: Hello, We are developing application based on T4.1. We have one T4 in production. And quite disappointed by the situation happening with Tapestr

Re: New OGNL version problem

2007-03-20 Thread Renat Zubairov
Thanks! On 20/03/07, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: Ok it's been filed - you can monitor progress via http://jira.opensymphony.com/browse/OGNL-17 On 3/20/07, Renat Zubairov <[EMAIL PROTECTED]> wrote: > Sorry for the wording, > > Under artificial property I ment a property that is not

Re: New OGNL version problem

2007-03-20 Thread Jesse Kuhnert
Ok it's been filed - you can monitor progress via http://jira.opensymphony.com/browse/OGNL-17 On 3/20/07, Renat Zubairov <[EMAIL PROTECTED]> wrote: Sorry for the wording, Under artificial property I ment a property that is not appearing in the component/page class as normal or abstract getter/

Re: New OGNL version problem

2007-03-20 Thread Renat Zubairov
Sorry for the wording, Under artificial property I ment a property that is not appearing in the component/page class as normal or abstract getter/setter. Artificial property - property declared in the .jwc or .page files. For example you might have a component called Basket You will have a Basket

Re: New OGNL version problem

2007-03-20 Thread Jesse Kuhnert
What does "artificial" mean in this instance? I'd love to help, but if you aren't willing to give me the information I need then I guess you're on your own...Sorry. On 3/20/07, Renat Zubairov <[EMAIL PROTECTED]> wrote: Hi Jesse, Sorry, I can't do that. We've already spent about 13 hours analyz

Re: New OGNL version problem

2007-03-20 Thread Renat Zubairov
Hi Jesse, Sorry, I can't do that. We've already spent about 13 hours analyzing this problem because it is quite critical for our project, however we can't create a component with artificial parameters (Tapestry testing package creating only those which abstract methods - which is quite ok for no

Re: New OGNL version problem

2007-03-20 Thread Jesse Kuhnert
Hi Renat, Do you think you could provide me with a sample expression string and corresponding description of what objects are involved in the expression and file the issue here? : http://jira.opensymphony.com/browse/OGNL On 3/20/07, Renat Zubairov <[EMAIL PROTECTED]> wrote: Hello We have a pr

Re: T5 ASO

2007-03-20 Thread Anjana Gopinath
Thanks Robert! Anjana Gopinath True North Technology 11465 John's Creek Parkway, Suite 300 Duluth, GA 30079 [EMAIL PROTECTED] On Mar 20, 2007, at 5:47 PM, Robert Zeigler wrote: Tapestry works its magic using runtime type information, and since generics in java were implemented using type

New OGNL version problem

2007-03-20 Thread Renat Zubairov
Hello We have a problem with latest 2.7 OGNL snapshot. It seems that OGNL is not capable to read properties that are purely artificial - only declared in the *.page or *.jwc files and has no abstract accessors in the java classes. The exceptions are very wired, sometimes it's simply javassist.co

Re: T5 ASO

2007-03-20 Thread Robert Zeigler
Tapestry works its magic using runtime type information, and since generics in java were implemented using type erasure, the two types will be the same at runtime. So you'll need to wrap the two lists in some type of enclosure, just like with the pricing information. Robert On Mar 20, 200

Re: T5 ASO

2007-03-20 Thread Anjana Gopinath
Thanks Howard for explaining. It makes sense. But what if i want to store a list of objects as a ASO? For example public ArrayList appList; public ArrayList networkList; Both the above are of type List, but list of two objects. Will this be an issue? Anjana Gopinath True North Technolog

Re: T5,page template location ?

2007-03-20 Thread Howard Lewis Ship
/WEB-INF/test/TestForm.html On 3/19/07, Jun Tsai <[EMAIL PROTECTED]> wrote: I had read http://tapestry.apache.org/tapestry5/tapestry-core/guide/templates.html,but my webapp structure is /images/xx.gif /test/TestForm.html /WEB-INF/web.xml How to do? ps:I think the structure is best for drea

Re: T5 ASO

2007-03-20 Thread Howard Lewis Ship
T4 allowed multiple ASOs of the same type, however each and every ASO had to be defined with a unique name, plus an XML snippet to identify how to instantiate it. This violated the Dont Repeat Yourself principle, since you had to know and repeat the ASO name on every use throughout the applicatio

Re: T5 ASO

2007-03-20 Thread Anjana Gopinath
Robert Thanks for explaining and i perfectly understand your point. But i still feel this is a restriction as i cant have ASOs of same type. Anyway, right now i can continue with the way you suggested. Thanks! Anjana Gopinath True North Technology 11465 John's Creek Parkway, Suite 300 Duluth,

T5 vs T4 vs Community

2007-03-20 Thread Renat Zubairov
Hello, We are developing application based on T4.1. We have one T4 in production. And quite disappointed by the situation happening with Tapestry right now. Let me explain it from _my_ personal point of view. 1. Investments in T4 are lost. Application will not be portable to T5. 2. Project lead

Re: T5 ASO

2007-03-20 Thread Robert Zeigler
I see it as simplification rather than a restriction. I guess I don't normally store application state in a bunch of separate strings; rather, I always store state in one or more POJO's, exactly analogous to the Pricing object. So, for me, less mess, because I don't have to have a bunch of e

Re: T5 ASO

2007-03-20 Thread Anjana Gopinath
Thanks Robert for responding. I can do that, but was wondering why there is a restriction like this? Anjana Gopinath True North Technology 11465 John's Creek Parkway, Suite 300 Duluth, GA 30079 [EMAIL PROTECTED] On Mar 20, 2007, at 4:29 PM, Robert Zeigler wrote: Correct. Why not create,

Re: downloading Tapestry 5

2007-03-20 Thread Howard Lewis Ship
Minor typo there about the version number; it is a work in progress and it's very hard to keep everything coordinated. You'll see the Tapestry JARs downloaded when you try to compile and run the application. On 3/20/07, acarrara <[EMAIL PROTECTED]> wrote: Hello. Is the package of Tapestry 5 co

Re: T5 ASO

2007-03-20 Thread Robert Zeigler
Correct. Why not create, say, a "Pricing" object with "enterprisePrice" and "clientPrice" properties? Then you could do: @ApplicationState private Pricing _pricing; Then you have one less injection to do/page that requires pricing information. :) Robert On Mar 20, 2007, at 3/203:26 PM ,

downloading Tapestry 5

2007-03-20 Thread acarrara
Hello. Is the package of Tapestry 5 consists only of the files: tapestry-core-5.0.3.jar tapestry-ioc-5.0.3.jar tapestry-test-5.0.3.jar ? If not, where can I download the rest of them? Despite the tutorial says "... Tapestry 5.0.2 You should not have to download this directly; as we'll see, Mav

T5 ASO

2007-03-20 Thread Anjana Gopinath
Hi I am trying to use few ASO's so share data across the pages. I have declared the following, but looks like if one gets a value, the second varaible also gets the same value. Is it not possible to define different ASO's of same type? @ApplicationState private String enterprisePrice;

Re: Tapestry 5 tutorial: classes don't exist on package

2007-03-20 Thread Robert Zeigler
Because the tutorial is currently out of date with respect to the code-base. tapestry-ioc switched to flat namespacing which resulted in not needing Contribute or Id. Robert On Mar 20, 2007, at 3/202:54 PM , acarrara wrote: Hello. On AppModule class of hilo application (Tapestry 5 tutoria

Tapestry 5 tutorial: classes don't exist on package

2007-03-20 Thread acarrara
Hello. On AppModule class of hilo application (Tapestry 5 tutorial) there are some imports: import org.apache.tapestry.ioc.annotations.Contribute; import org.apache.tapestry.ioc.annotations.Id; but these classes (Contribute and Id) aren't on the tapestry-ioc-5.0.3.jarpackage... Where are them?

Re: T5 - Changing Locale

2007-03-20 Thread alexvs
Hi Bogdan, Were you ever able to change the locale? Thanks! Alex Bogdan Calmac-4 wrote: > > Is it possible in Tapestry 5 to programatically change the locale for > a sesison similar to IEngine.setLocale() from Tapestry 4? > > In my case I want to set the locale after the login into the > app

maven problem following Tapestry 5 Turorial

2007-03-20 Thread Celia Mou
Hi everyone, i've encountered a problem trying to follow the Tapestry 5 Turorial. When executing mvn jetty:run there is a "BUILD ERROR" and it says: [INFO] The plugin 'org.apache.maven.plugins:maven-jetty-plugin' does not exist or no valid version could be found i wondered perhaps it's be

Re: compilation problem with Tapestry 5 tutorial files

2007-03-20 Thread Peter Beshai
In the current snapshot of Tapestry 5, Contribute and Id annotations have been removed in favour of convention. You can read about the way things work now on the following sites: http://tapestry.apache.org/tapestry5/tapestry-ioc/module.html -- read up until "Cacheing Services" for what to do abou

Re: Why is IE6 freezing? [Solution!]

2007-03-20 Thread baleksandar
Hi Andreas, we have almost the same problem (msie freezing, javascript errors) by using tomcat + tapestry 4.1 + MSIE. we hope maybe you could give us some hints how to solve this issue especially because i see that your web page http://www.fsbutiken.se doesn't work 100% well on msie, and i th

compilation problem with Tapestry 5 tutorial files

2007-03-20 Thread Celia Mou
Hi all, On attempting to build the hilo project in the Tapestry 5 tutorial, i got a compilation error from Maven with these lines: - D:\projects\hilo\src\main\java\org\example\hilo\services\AppModule.java:[8,43] cannot find symbol symbol : class Contribute location: package org.apach

Session

2007-03-20 Thread James Sherwood
Hello, We have an admin side with a user login etc. The problem is, the session times out after soo many minutes(we run under tomcat) of being idle and they user has to log back in. Is there any way to make this indefinate and if so, is there any impact on resources etc? Thanks, James

Re: Tap4 Obtaining assets dynamically

2007-03-20 Thread Miguel Angel Hernández
Hi, Well I solved this problem: I just needed to Inject tapestry's ContextAssetFactory, into my component, like this: @InjectObject("service:tapestry.asset.ContextAssetFactory") public abstract AssetFactory getAssetFactory(); Then I invoked the createAbsoluteAsset method on the factory like thi

Re: T5 - Context parameters and style sheets links

2007-03-20 Thread Jiri Mares
Hi all, this problem is very nice solved in c:url JSP tag. When the URL is absolute (starting with /) then the context is added before (request.getContextPath()) otherwise the URL is relative and leaved the same as it was. I think it shouldn't be problem to create component solving this proble

Re: Tapestry 5 - Jetty - ISO-8859-1 instead of UTF-8; deploying

2007-03-20 Thread Kovács István
Hi Igor, On 20/03/07, Igor E. Poteryaev <[EMAIL PROTECTED]> wrote: PrintWriter pw = response.getPrintWriter("text/html; charset=UTF-8"); instead of PrintWriter pw = response.getPrintWriter("text/html"); thanks for the suggestion. I had the same thing in mind but have not had time to find the c

Binding Loop parameters

2007-03-20 Thread Peter Dotchev
Hi, Excuse me if this is a silly question but I'm new to Tapestry. In order to use Loop's value (or index) inside its body, one has to bind it to some property. Usually this means creating a new property in the page class. Here is an example from T5 tutorial. ${index} and in the Java cod

Re: Tapestry 5 - Jetty - ISO-8859-1 instead of UTF-8; deploying

2007-03-20 Thread Igor E . Poteryaev
Kovács István gmail.com> writes: > > I've built an application using the quickstart Maven prototype. It all > works fine, but serves the output in ISO-8859-1 (Latin-1), not UTF-8. > Kent Tongs book on Tapestry 4 says "Tapestry always use UTF-8 to > encode the output, regardless the encoding of t

Re: Autocompleter probs

2007-03-20 Thread Andrea Chiumenti
Yiannis, thank you very much. kiuma On 3/20/07, Yiannis Mavroukakis <[EMAIL PROTECTED]> wrote: Andrea, I'll be sending you something as well so that you can submit it too. Y. On Tue, 2007-03-20 at 09:23 +0100, Andrea Chiumenti wrote: > Ok Jesse, > I'll try to prepare a sample.tar.gz and

Re: Autocompleter probs

2007-03-20 Thread Yiannis Mavroukakis
Andrea, I'll be sending you something as well so that you can submit it too. Y. On Tue, 2007-03-20 at 09:23 +0100, Andrea Chiumenti wrote: > Ok Jesse, > I'll try to prepare a sample.tar.gz and attach to jira this evening when > I'll be back home ;-p > > On 3/20/07, Jesse Kuhnert <[EMAIL PRO

Re: Autocompleter probs

2007-03-20 Thread Yiannis Mavroukakis
Aye Captain ;-) On Tue, 2007-03-20 at 00:37 -0400, Jesse Kuhnert wrote: > I can't follow any of this anymore . =p > > If someone attaches a very simple example (knowing that referencing > any objects / other things means I'll have to try manually creating > what you "probably" were doing in anyth

Re: T5 - radio input

2007-03-20 Thread [EMAIL PROTECTED]
Oh, industrious man! Thank you Howard. ?? Tue, 20 Mar 2007 13:19:11 +0800??Howard Lewis Ship <[EMAIL PROTECTED]> ?? ??: Certainly for 5.0.4, but I'm back on a Tapestry project full time, so things are going to slow down on T5 for a little bit, as I only have nights and weekends for T5 current

Re: Unable to parse OGNL expression

2007-03-20 Thread Borut Bolčina
Filed under http://jira.opensymphony.com/browse/OGNL-16 On 20.3.2007 5:45, Jesse Kuhnert wrote: If you file an issue in http://jira.opensymphony.com/browse/OGNL I should be able to fix it tomorrow. On 3/19/07, Borut Bolčina <[EMAIL PROTECTED]> wrote: I am trying to use Tacos 4.1

Re: Autocompleter probs

2007-03-20 Thread Andrea Chiumenti
Ok Jesse, I'll try to prepare a sample.tar.gz and attach to jira this evening when I'll be back home ;-p On 3/20/07, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: I can't follow any of this anymore . =p If someone attaches a very simple example (knowing that referencing any objects / other things m