Re: Retrieve ActivationRequestParameters in custom PageResponseRenderer

2010-09-09 Thread Christophe Cordenier
Weird, does you Index page extends a base class ? 2010/9/8 Markus Feindler markus.feind...@gmx.de Sorry to bother you, but Im stuck with a DuplicateMemberException: Caused by: java.lang.RuntimeException: javassist.bytecode.DuplicateMemberException: duplicate method: extractRequestParameters

Re: Deal with URL as a parameter and redirect

2010-09-09 Thread Katia Aresti Gonzalez
I don't understand what do you mean about reverse solution. What exactly are you trying to do ? Why do you need to pass the URL as an url parameter ? 2010/9/9 t5.0 t...@kochira.com Thanks but I'm looking for the reverse solution: handle a URL provided to the page. I tried with a

Re: Retrieve ActivationRequestParameters in custom PageResponseRenderer

2010-09-09 Thread Markus Feindler
No, I get the exception for all pages, also the ExpcetionReportPage for example. Original-Nachricht Datum: Thu, 9 Sep 2010 08:26:05 +0200 Von: Christophe Cordenier christophe.corden...@gmail.com An: Tapestry users users@tapestry.apache.org Betreff: Re:

Re: Integrating with 3rd Party

2010-09-09 Thread jack
Thanks Everyone. I have done it at my own Tapestry 4 does NOT give any liberty/API/mechanism to integrate the web site with third party. However, I have been able to do it by writing my custom components Anybody who needs to know the solution, please PM me. -- View this message in context:

[T5.2] Name property doesn't match id or is missing

2010-09-09 Thread Blower, Andy
We're upgrading from tapestry 5.1 to 5.2 and have spotted some strange things with the name property of various components. Tapestry forms no longer include the name property at all. Other elements such as the tapestry select component used to have matching id and name properties and now they

override the default message!!

2010-09-09 Thread Fanzhen
hey friends, tapestry5 return me You must correct the following errors before you may continue.xx are there some methods to override it with my own custom message? I have search it via Google . what I got is : should to create two files in my project with the same package as Tapestry.

Re: override the default message!!

2010-09-09 Thread Borut BolĨina
Did you contribute to the ApplicationDefaults? public static void contributeApplicationDefaults(MappedConfigurationString, String configuration) { configuration.add(SymbolConstants.SUPPORTED_LOCALES, zh_cn,en); ... -bob 2010/9/9 Fanzhen fanzhen.m...@hotmail.com hey friends,

Re: Deal with URL as a parameter and redirect

2010-09-09 Thread Josh Canfield
How about using a query parameter? -- Josh On Sep 8, 2010, at 10:20 PM, t5.0 t...@kochira.com wrote: Thanks but I'm looking for the reverse solution: handle a URL provided to the page. I tried with a onActivate(url) based page but it seems Tapestry prevents the URL to be passed as a

Re: form field validation

2010-09-09 Thread Sven Homburg
hmm, if i use the validation like this: void onValidateFromCount(Integer value) throws ValidationException { if (value.equals(13)) throw new ValidationException(Thirteen is an unlucky number.); } the Errors-Component of Tapestry displays two errors: first:

Name property doesn't match id or is missing

2010-09-09 Thread matt.f...@proquest.co.uk
We're just upgrading from tapestry 5.1 to 5.2 and have spotted some strange things with the name property of various components. Firstly tapestry forms no longer include the name property at all. Other elements such as the tapestry select component used to have matching id and name properties and

Re: Upcoming Tapestry 5 training: London, Oct 5 - 8

2010-09-09 Thread Howard Lewis Ship
I have a lot of client commitments right now ... I won't be at J1 very long; flying in Sunday, flying out Tuesday night. My BOF is monday night. On Thu, Sep 9, 2010 at 1:41 AM, Werner Keil werner.k...@gmail.com wrote: Should you do this in Prague some day, maybe my colleagues at O2 would be

Re: override the default message!!

2010-09-09 Thread Fanzhen
thank you for your reply. yes,I did. When I change org.apache.tapestry5.corelib.components.Errors_zh_cn.properties org.apache.tapestry5.internal.ValidationMessages_zh_cn.properties to org.apache.tapestry5.corelib.components.Errors.properties

Re: Display Objects of BeanClass in Grid

2010-09-09 Thread cobse
Thanks! It works :) But how do i implement the same thing for Enums. I have a Enum Class and i want to display the enums in a grid form. 5.2 works fine in displaying enums but 5.1.0.5 is not displaying enums name. -- View this message in context:

FileUpload Problem / MultipartDecoder

2010-09-09 Thread Moritz Gmelin
Hi, I want to intercept a special form submission to a url that contains an uploaded file. However I don't know how this file is called. Therefore I have created a filter that is configured in the contributeRequestHandler method in my AppModule. The MultipartDecoder seems to give me that file

Re: [T5.2] Name property doesn't match id or is missing

2010-09-09 Thread Howard Lewis Ship
Just answered this in a separate thread. On Thu, Sep 9, 2010 at 2:39 AM, Blower, Andy andy.blo...@proquest.co.uk wrote: We're upgrading from tapestry 5.1 to 5.2 and have spotted some strange things with the name property of various components. Tapestry forms no longer include the name

Re: Versioned assets

2010-09-09 Thread Howard Lewis Ship
So you start with two files: style.css: BODY { background: url(dizzydots.gif); } These start in the same folder (perhaps src/main/webapp). Now, these two files, under the scheme you propose, end up looking with the following URLs: /assets/25ea1900f125e2e136d4/style.css

jQuery Integration for 5.2

2010-09-09 Thread Markus Feindler
Hi, is there already jQuery Integration for Tapestry 5.2? Regards Markus - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Re: FileUpload Problem / MultipartDecoder

2010-09-09 Thread Moritz Gmelin
Got it, the uploaded file is still known as a parameter. You just need to cycle through all the parameters of the HTTPServletRequest and check whether the MultipartDecoder service has a file with that name. M. Am 09.09.2010 um 18:08 schrieb Moritz Gmelin: Hi, I want to intercept a

[T5.2] Issues with Assets and Stylesheets

2010-09-09 Thread Andrey Larionov
Today i migrated my application to T5.2-SNAPSHOT (i'm was obliged, because spring-3.0 was required by thirdparty library). And i have few notes about Asset handling. First of all, when i found what i cannot reference Assets by static urls (they was hardcoded in templates) i start thinking about

Problem with components TML files

2010-09-09 Thread Elin
I created a simple project with Maven archetype (the 4.2.0 version from the tapestry.apache.org catalog) . I open it on Netbans 6.9.1 as a maven project, everything is ok, i create a custom component at the components package adding the java and the .tml file. After adding this component to my

Re: Problem with components TML files

2010-09-09 Thread Howard Lewis Ship
Sounds like the .tml file is not being copied over to the output directory. Generally, the .tml doesn't go (under src/main/java) with the .java file, but under a parallel package under src/main/resources. I don't use NetBeans but that's a start: make sure the resource files are being copied into

what time T5.2x would support Spring web flow integration

2010-09-09 Thread cleverpig
hi,all! I saw the T5.2 roadmap: The goal is to produce new releases on a regular schedule, every 4 - 6 months. High priorities for 5.2 include Spring Web Flow integration, and support for developing Tapestry applications as Portlets. So what time T5.2x would support Spring web flow integration?

Tapestry5 Form submit Encoding (Chinese)!!

2010-09-09 Thread Fanzhen
hey,friends what I code in T5 page class: Link onSuccess() { return putSearchCriteriaInALink(_searchFields); } Link putSearchCriteriaInALink(MmsLibrarySearchFields search) { Link link = _pageRenderLinkSource.createPageRenderLink(this.getClass()); link.addParameter(searchParam_title,

Re: Tapestry5 Form submit Encoding (Chinese)!!

2010-09-09 Thread cleverpig
Hi,man! I never meet this problem in chinese,and I've not add utf-8 encoding feature in service module yet. I mean there would be a trick in your code putSearchCriteriaInALink. you can inspect seach.getTitle value before call link.addParameter(searchParam_title, search.getTitle(); On Fri, Sep