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 > An: Tapestry users > Betreff: Re: Retrieve ActivationRequestParameters in custom > PageRe

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 se

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(MappedConfiguration configuration) { configuration.add(SymbolConstants.SUPPORTED_LOCALES, "zh_cn,en"); ... -bob 2010/9/9 Fanzhen > > hey friends, > > tapestry5 return me "You must correct

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" 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 parameter,

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: org.apache.tapestry5.ValidationEx

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 wrote: > Should you do this in Prague some day, maybe my colleagues at O2 would be > interested or paid by

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 org.apache.tapestry5.internal.ValidationMessages.p

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: http://tapestry.1045711.n5.nabble.com/Display-

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 in

Re: Name property doesn't match id or is missing

2010-09-09 Thread Howard Lewis Ship
There were a number of bugs in Tapestry where the generated names of client-side elements matched the names of JavaScript functions attached to the Form object (an unwanted "convenience" of the DOM is that elements inside the Form become named properties of the Form ... just got to love JavaScript)

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 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 property at all. Other element

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 /assets/0aa5f29fc5f8

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 spec

[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 sol

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 I

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 t

Re: Problem with components TML files

2010-09-09 Thread Elin
Thx a lot howard. U are always the man making the things easier for the people whos starting with tapestry. I have seen the 2 different paths u are talking about so i will try to configure my IDE with the different outputs. Thx again ;) -- View this message in context: http://tapestry.1045711.n5

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? T

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

2010-09-09 Thread Howard Lewis Ship
We really didn't meet those goals at all; I haven't had the couple of days it would take to do the SWF integration properly and we've gone way off target on the release schedule (though to good end, 5.2 has turned from being a minor improvement release on 5.1 to being a pretty radical set of improv

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", searc

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 1

Re: Tapestry5 Form submit Encoding (Chinese)!!

2010-09-09 Thread Donyee
T5, I don't use the UTF8 filter. and my tml page is GBK,eclipse project encoding is GBK, works fine! what is your page charset??? -- Yet Another Java EE Developer!

Re: How to serve "nearly static" resources

2010-09-09 Thread Jochen Berger
Hi again, so at least this use case does not seem to be trivial. ;-) But as the answers stay away, maybe it didn't become clear from my explanations. If you'd tell me, which parts were not understandable, I could try to rephrase them. Regards, Jochen