Re: Error obtaining injected value for field

2008-10-08 Thread Andy Pahne
this: @InjectPage(path/to/XMLBuilder) private XMLBuilder xmlBuilder; Is XMLBuilder a page (complete document) or does it produce some XML rendererd inside pages? For the latter, I would have made it a component. Andy bob_k wrote: Hi folks. It seems to be a simple problem but I cannot

RE: T5: Validation message defaults

2008-10-07 Thread Blower, Andy
Okay, I've raised a JIRA TAP5-253 for this. -Original Message- From: Blower, Andy Sent: 01 October 2008 15:04 To: 'Tapestry users' Subject: T5: Validation message defaults I'm trying to set up validation for our forms and I need to customise the default validation messages

[T5] application hangs regularly (windows, maven jetty:run)

2008-10-07 Thread Andy Pahne
? By the way: I first thought it's the known windows file locking problem described here: http://docs.codehaus.org/display/JETTY/Files+locked+on+Windows Anyway, the proposed fix did not change anything. Andy - To unsubscribe, e-mail

Re: T5 blueprints application?

2008-10-06 Thread Andy Huhn
aspect of Tapestry, but I think it would be advantegous to have a more complex example with usual things a web application has to provide. Is there something like this? Thanks a lot Janos -- Andy - To unsubscribe, e

[T5] loading parts of page after initial page load

2008-10-02 Thread Andy Pahne
something very similar (dynamcly reloading parts, triggered automaticly) already exists. But I don't know where I read about it (mailing list, wiki, other sources) and cannot find it again. Does anybody now what component I am talking about or has any pointers how I can achieve my goal? Andy

Re: [T5] loading parts of page after initial page load

2008-10-02 Thread Andy Pahne
loading? My suggestion would be something like renderSupport.addInit( ??? ); Thanks, Andy @SupportsInformalParameters public class AfterLoadContent { @Mixin private DiscardBody discardBody; @Inject private Request request; @Environmental private RenderSupport

[T5] force a Zone update after page rendering?

2008-10-02 Thread Andy Pahne
I'd like to force a Zone update after page rendering without clicking any links or submitting any forms. I have the Zone ID, but have no idea how to execute the update or how to connect the update with a listener (like I would if I used an ActionLink). Andy

[T5] question about render phases

2008-10-01 Thread Andy Pahne
is not initialized. My solution looks very much like the pattern that used to work with T4. What am I missing here? How do I set the property properly? Andy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

T5: Validation message defaults

2008-10-01 Thread Blower, Andy
package but this doesn't work in every environment so it's not really a good solution. Can anyone help with this or is there a JIRA or something? Thanks, Andy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: [T5] question about render phases

2008-10-01 Thread Andy Pahne
No, it was not. I simply put a @Property on it. @Persist did it, thanks. Andy Ulrich Stärk schrieb: Is your accomodationType @Persisted? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

RE: Available locales

2008-09-30 Thread Blower, Andy
I think that you need to inject the symbol as an argument to your service's constructor using a build method in your module. -Original Message- From: José Paumard [mailto:[EMAIL PROTECTED] Sent: 30 September 2008 10:10 To: users@tapestry.apache.org Subject: Available locales Hello

Re: T5: t:select how to disable and re-enable

2008-09-30 Thread Andy Pahne
Maybe it's possible that you disable your select only clientside? If you do so there won't be any problems if you later on enable it again. Andy Russell Brown schrieb: Hi, I am using a T5 select component. When the form renders I wish the select to be disabled so I use disabled=true

RE: [ANN] JumpStart 3.15 for Tapestry 5.0.15

2008-09-29 Thread Blower, Andy
I have some feedback for you Geoff... I refer to your site a lot and it's very helpful, I applaud you for keeping the updates flowing! -Original Message- From: Geoff Callender [mailto:[EMAIL PROTECTED] Sent: 29 September 2008 05:31 To: Tapestry users Subject: [ANN] JumpStart 3.15

Re: [T5] Select component: howto create a SelectModel out of ListString

2008-09-26 Thread Andy Pahne
page class. Uli That's the easier way I thought of, thanks. I was tricked by the component reference, which states that the type of the parameter is SelectModel. Andy - To unsubscribe, e-mail: [EMAIL PROTECTED

RE: Upgrade issues with 5.0.15

2008-09-25 Thread Blower, Andy
:[EMAIL PROTECTED] Sent: 24 September 2008 15:25 To: Tapestry users Subject: Re: Upgrade issues with 5.0.15 On Wed, Sep 24, 2008 at 6:21 AM, Blower, Andy [EMAIL PROTECTED] wrote: We've just tried to upgrade our project from 5.0.14 to the new 5.0.15 release of Tapestry and have discovered

Upgrade issues with 5.0.15

2008-09-24 Thread Blower, Andy
We've just tried to upgrade our project from 5.0.14 to the new 5.0.15 release of Tapestry and have discovered a couple of problems. 1) Our custom binding 'fmtmessage' stops working with .15, the 'fmt' part is ignored and the standard 'message' prefix is used with the output prefixed with

[T5] adding javascript with symbol expansion

2008-09-24 Thread Andy Pahne
() { renderSupport.addClasspathScriptLink(calendar_init.js); } but I don't know how to get my values into it. Neither symbolSource nor symbolProvider have methods to set symbols. Andy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [T5] adding javascript with symbol expansion

2008-09-24 Thread Andy Pahne
Forget about the question. It's so easy, see: http://wiki.apache.org/tapestry/Tapestry5HowToIncludeJavaScript Basicly I don't have to set those properties explicitly, as I can simply use properties. Andy Andy Pahne schrieb: How do I add a javascript with symbol expansion? I tried

[T5] - XHtml - wiki info outdated

2008-09-23 Thread Andy Pahne
How do I make T 5.0.15 emit XHTML? The Howto at http://wiki.apache.org/tapestry/Tapestry5HowToXhtml is outdated, because MarkupWriterFactory now has another method that is not mentioned in the wiki: public MarkupWriter newMarkupWriter(String pageName); I tried the very same

Re: [T5] - XHtml - wiki info outdated

2008-09-23 Thread Andy Pahne
Which page do you mean? A search for xhtml only produces the link I mentioned in my first post. And that page was edited the last time four months ago... Luther Baker schrieb: I've posted a solution based on the wiki last week sometime (based on 5.0.14). Did 5.0.15 obviate that solution?

RE: Problem with getPage of ComponentSource(5.0.15-SNAPSHOT)

2008-09-23 Thread Blower, Andy
Looks like TAP5-132 was raised and fixed in .16-SNAPSHOT, my team had this issue today when we tried going from .14 - .15 -Original Message- From: faramos [mailto:[EMAIL PROTECTED] Sent: 23 September 2008 05:57 To: users@tapestry.apache.org Subject: Problem with getPage of

RE: Overriding a render phase method

2008-09-23 Thread Blower, Andy
Sorry to 'bump' this, but I'd really like some guidance/opinions. -Original Message- From: Blower, Andy Sent: 17 September 2008 11:30 To: 'Tapestry users' Subject: Overriding a render phase method From the T5 documentation: When a sub-class overrides an render phase method

RE: Overriding a render phase method

2008-09-23 Thread Blower, Andy
, or is this an unusual need? Thanks, Andy. -Original Message- From: Jonathan Barker [mailto:[EMAIL PROTECTED] Sent: 23 September 2008 18:29 To: 'Tapestry users' Subject: RE: Overriding a render phase method First, have a look at: https://issues.apache.org/jira/browse/TAP5-173

RE: Overriding a render phase method

2008-09-23 Thread Blower, Andy
PROTECTED] Sent: 23 September 2008 20:34 To: Tapestry users Subject: Re: Overriding a render phase method Hi Andy, I totally agree on first and last parameters. As it is now, I'm using if-else components pretty much everywhere. =/ You'd have my vote on a JIRA issue. -Filip On 2008-09

Overriding a render phase method

2008-09-17 Thread Blower, Andy
this? The only thing I can think is asking Howard to make the render phase methods public or protected so they can be overridden. Either that or I copy the entire loop component code into my own - ugh. Thanks, Andy

[T 4.1.6] maven warning: tapestry-annotations pom invalid

2008-09-12 Thread Andy Pahne
at C:\Dokumente und Einstellungen\poops\.m2\repository\org\apache\tapestry\tapestry-annotations\4.1.6\tapestry-annotations-4.1.6.pom Did anybody else see this? Andy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

T5: Event bubbling

2008-09-09 Thread Blower, Andy
I'm trying to handle an event in a parent component of one that fires the event and it doesn't seem to work unless it's a generic catch all event handler like onAction(). If I specify the component id like onActionFromThing() or specifying component=thing in an OnEvent annotation it doesn't

RE: T5: Event bubbling

2008-09-09 Thread Blower, Andy
an obvious reason this can't be done that'll make me feel silly... lol Andy. -Original Message- From: Blower, Andy Sent: 09 September 2008 11:08 To: 'Tapestry users' Subject: T5: Event bubbling I'm trying to handle an event in a parent component of one that fires the event

RE: T5: Event bubbling

2008-09-09 Thread Blower, Andy
/tapestry5/apidocs/org/apache/tapestry5/Compo nentResourcesCommon.html triggerEvent or triggerContextEvent Josh On Tue, Sep 9, 2008 at 3:32 AM, Blower, Andy [EMAIL PROTECTED]wrote: I found the answer by searching the list (see: http://markmail.org/message/fjev6gt76fpc6akq) but I think

Re: 5.0.15 date / application lockups with IE6

2008-09-06 Thread Andy Huhn
Howard, I have a core dump...I zipped it, and it's still 30Mb. It's too big to post as an attachment to the JIRA (10Mb limit), and it's too big to send to your gmail account (google bounced the message back). What's the best way to get this to you? Thanks, Andy On Thu, 2008-09-04 at 13:36

5.0.15 date / application lockups with IE6

2008-09-04 Thread Andy Huhn
is IE6. When IE6 hits that page, the application locks up (for all users, not just the one client), and I have to restart Jetty. Thanks in advance, Andy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: 5.0.15 date / application lockups with IE6

2008-09-04 Thread Andy Huhn
Howard, Forgive me, I think I should know how to do what you're talking about, but I don't. I'm running on Linux with Jetty...are you talking about a core dump at the OS level, or at the Java level? Thanks, Andy On Thu, 2008-09-04 at 13:36 -0700, Howard Lewis Ship wrote: A thread core dump

Re: 5.0.15-SNAPSHOT: something wrong with it?

2008-08-29 Thread Andy Pahne
and 5.0.15-SNAPSHOT jars were on the classpath? On Thu, Aug 28, 2008 at 3:18 AM, Andy Pahne [EMAIL PROTECTED] wrote: After having upgraded to 5.0.15-SNAPSHOT our existing application crashes with OutOfMemory Exceptions (heap) space occassionally. It happens sometimes when I view a page containing a simple

RE: Event handlers with multiple parameters

2008-08-29 Thread Blower, Andy
Thanks for the reply Thiago, I missed EventContext in the docs. Looks to me like using EventContext to parse the context params myself is the best solution here. Unless anyone can suggest a better way? Thanks, Andy -Original Message- From: Thiago H. de Paula Figueiredo [mailto

[T5]: using a mixin on a form prevents correct submission

2008-08-29 Thread Andy Pahne
. The mixin doesn't do very much but render some html before and some after the form, so I don't understand this odd behaviour. I tested this with 5.0.14 and 5.0.15-SNAPSHOT on Windows XP with Jetty 6 and FF3. Andy -- * page class

Re: [T5]: using a mixin on a form prevents correct submission

2008-08-29 Thread Andy Pahne
The same happens if I wrap another component around the form. In this example t5c/ContentBox is nothing more than a component wrapping a table around it's body and including some CSS. somePageProperty will not be updated with the ContentBox component. ... span t:type=t5c/ContentBox

Re: [T5]: using a mixin on a form prevents correct submission

2008-08-29 Thread Andy Pahne
some ,ore testing revealed that BeanEditForm works very well with the FormLayoutMixin, but Form does not. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

5.0.15-SNAPSHOT: something wrong with it?

2008-08-28 Thread Andy Pahne
. Switching back to 5.0.14 resolves this problem totally. Does anybody else experience this? Andy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Event handlers with multiple parameters

2008-08-28 Thread Blower, Andy
to distinguish between that method signature and this mark(boolean checked, String itemId) which does tie up with the documentation I suppose, but this is why I was trying the String... way. Anyway I can use two different events to get round this. Thanks, Andy.

Event handlers with multiple parameters

2008-08-28 Thread Blower, Andy
the array of Id's is not output correctly. Thanks, Andy. (Hope this makes more sense than the last message)

[T5] my form does not update page properties

2008-08-27 Thread Andy Pahne
=summaryHeaderResult/h3 Land: ${searchOptions.searchTermCountry} /t:block /t:zone } The property searchOptions.searchTermCountry is not updated when the form is submitted. What am I missing here? Andy

Re: [T5] syntax of list in t:context

2008-08-22 Thread Andy Pahne
found the workaround: see Notes onm page http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry/corelib/components/ActionLink.html Andy Pahne schrieb: What's the correct syntax (in a tml template) to pass more than one object in an ActionLink's t:context parameter

Re: [t5] Use messages from app.properties in java classes

2008-08-21 Thread Andy Pahne
. Andy Daniel Alonso Sanchez schrieb: Hi again to everybody, sorry for dsiturbing again, but i have spent at least two hours reading the docs, wiki, Tapestry in Action book, but... i can't solve my actual problem. The thing is that i'm trying to create a MessagesComponent: a component that let's

[T5] integrating Dojo

2008-08-17 Thread Andy Pahne
, lazyload: true }); menuToBuild.render(); dojo.parser.parse(dojo.byId(theBody)); }); // -- /script /body /html I am no JavaScript expert. Can anybody see what's going wrong? Andy - To unsubscribe, e-mail: [EMAIL

Re: Beanedit problem - book example

2008-08-17 Thread Andy Pahne
a DTO. Or just building a regular form and not using BeanEditForm at all. Andy Howard Lewis Ship wrote: This is some behavior that changes since the writing of the book. When the BeanEditForm instantiates a new Celeberty instance, it now uses the same code that instantiates service

T5 Components site down.

2008-08-15 Thread Blower, Andy
The T5 components site has been down for a couple of days now, any chance of it coming back up.

Re: t5: forwarding page but no change in the url?

2008-08-15 Thread Andy Huhn
Hi Angelo, You can accomplish this by using Delegates. Put a Delegate on your index page, and in your Index.java, put a getter for that delegate. The delegate may return a block from one of any number of other pages. See http://wiki.apache.org/tapestry/Tapestry5HowToCreateATabPanel . Andy

[T5] global messages

2008-08-14 Thread Andy Pahne
For localization I could use a global message catalogue, because there are some terms to translate that appear on many pages and inside many components. Is such a global message catalogue available? Andy

[T5] shouldn't MarkupWriter close the img-tag?

2008-08-14 Thread Andy Pahne
); writer.end(); } The result is: img alt=Hello border=0 src=/x/y/z/image.gif (border is an informal parameter!) Shouldn't it render more like: img alt=Hello border=0 src=/x/y/z/image.gif / Andy

Re: [T5] setup logging

2008-08-12 Thread Andy Pahne
Lutz Hühnken schrieb: Hm... I had the same problem once, and I figured it was because Tapestry doesn't use the log level configured for the org.apache.tapestry5 category, but the level you define for your components. ... That is something I find quite annoying and don't see much use in, by

[T5]: Change in asset location?

2008-08-12 Thread Andy Huhn
/hen_styles.css) private Asset _henStyleSheet; And here is the location of my .css file: src/main/webapp/assets/styles/hen_styles.css Is there a configuration parameter I need to tweak? Thanks, Andy - To unsubscribe, e-mail

Re: [T5]: Change in asset location?

2008-08-12 Thread Andy Huhn
Thanks, Filip Sven. I'll start digging around in Jetty. Thanks, Andy On Tue, 12 Aug 2008 12:43:21 +0200, Sven Homburg [EMAIL PROTECTED] wrote: its look like taht you IDE dont move the resources in your war file or servlet container directory at compile time 2008/8/12 Andy Huhn [EMAIL

[T5] setup logging

2008-08-11 Thread Andy Pahne
, as all other settings in there are applied. Andy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [T5] setup logging

2008-08-11 Thread Andy Pahne
No, that's not the case if you use log4j XML configuration file format. Still no idea... Do I have to configure SLF4J or is it sufficient to configure log4j? Andy Filip S. Adamsen schrieb: Hi, You need to prefix the logger name with log4j.category. or it won't work. Or, at least that's

Re: T5: Kudos!

2008-08-06 Thread Andy Pahne
Inge Solvoll schrieb: ... In particular I really like how simple it is to create new components/pages. This has been the biggest drag about T4, that it was so much hassle creating a new component and getting it to work that I almost always ended up writing monolithic pages with few custom

Re: Tapestry 5.0.14-SNAPSHOT

2008-08-02 Thread Andy Huhn
Hi Angelo, What is this bug? Does it only affect debugging, or might it also affect production? Is there a JIRA for it? Thanks, Andy (on 5.0.13 in production, and worried) On Fri, 2008-08-01 at 18:37 -0700, Angelo Chen wrote: I strongly recommend to release this 5.0.14-SNAPSHOT as soon

RE: What if Tapestry's I18N was just UTF-8?

2008-07-29 Thread Blower, Andy
as much as possible as UTF-8 is highly desirable. IIRC Java uses UTF-16 internally which does have 2 bytes for each char, but UTF-8 only uses 2 bytes for unusual chars which is why it's the ideal external charset. Andy. -Original Message- From: Thiago H. de Paula Figueiredo [mailto:[EMAIL

[T5] where is the component reference of Block

2008-07-18 Thread Andy Pahne
I looked for the component refernece of Block at: http://tapestry.apache.org/tapestry5/tapestry-core/ref/index.html It's not there, but in T5 there still is a Block component (at least I expect one, as the component reference of Grid references Blocks) Andy

[T5] crating component libraries

2008-07-17 Thread Andy Pahne
Is there a description somewhere on how to create component libraries in tapestry5? I had a look at the users guide an the into the wiki but did not find a suitable description. Thnaks, Andy - To unsubscribe, e-mail

Re: [T5] crating component libraries

2008-07-17 Thread Andy Pahne
yes, that worked, now that you helped me out, I found a wiki page: http://wiki.apache.org/tapestry/Tapestry5HowToCreateYourOwnComponentLibrary - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

[T5] BeanEditForm: Howto include complex properties?

2008-07-16 Thread Andy Pahne
component include the properties of Address? Andy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: AW: Strange behavior of special characters

2008-07-15 Thread Blower, Andy
This is not the case for Java 6 any more: Note: PropertyResourceBundle can be constructed either from an InputStream or a Reader, which represents a property file. Constructing a PropertyResourceBundle instance from an InputStream requires that the input stream be encoded in ISO-8859-1. In

Re: Using the Autocompleter

2008-07-08 Thread Andy Pahne
Found the solution: Use the Suggest component instead. http://tapestry.apache.org/tapestry4.1/components/scriptaculous/suggest.html The Autocompleter has issues anyway: http://issues.apache.org/jira/browse/TAPESTRY-1244 Andy Pahne schrieb: I am trying to implement a form that uses

Re: T5: Working with BeanModel

2008-07-08 Thread Andy Huhn
at 03:34 -0400, Andy Huhn wrote: Hello, I have a class defined (MyClass) that has a String property pstlCode, with a getter and a setter. If I use BeanModelSource to create a BeanModel for MyClass, the BeanModel has a property pstlCode that can be used to access the pstlCode. However

Using the Autocompleter

2008-07-04 Thread Andy Pahne
(locationDescription); } but that return an identifier. The problem is: I don't need an identifier for my call into the DAO layer, but the raw user's input... Another question: I want my autocompleter to start async request only when the user entered three or more chars. Is that possible? Andy

T5: Working with BeanModel

2008-07-02 Thread Andy Huhn
, and then attempt to add it back in with myBeanModel.exclude( pstlCode ); myBeanModel.add( pstlCode ); it doesn't seem to pick up the data type of the property. Help? Thanks, Andy - To unsubscribe, e-mail: [EMAIL PROTECTED

T5: Clearing BeanModel properties and adding them back

2008-07-01 Thread Andy Huhn
service for this type. Any ideas? I'm on T5.0.13. Thanks, Andy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

checkout T4 sources as Eclipse project(s)

2008-07-01 Thread Andy Pahne
I woul like to checkout T4 and use Eclipse to have a look at the sources. Unfortunatly I haven't ever worked with maven and modularized projects. How can I get started quickly? Thanks, Andy - To unsubscribe, e-mail: [EMAIL

T5: clearing BeanModel properties

2008-06-24 Thread Andy Huhn
Hello, It seems that if I create a BeanModel using BeanModel toReturn = _beanModelSrc.create( MyObject.class, false, _cmpntRsrcs ); Things work as they should - I can then use the properties in the BeanModel, as I expect to. But, if I first clear all properties from the BeanModel, and

RE: Putting templates together with the java

2008-06-20 Thread Blower, Andy
the better alternative is simply to filter out the java files as we copy the project to them? On 20/06/2008, at 12:27 AM, Blower, Andy wrote: I've always assumed (apart from being more correct in some vague way) that the main practical reason is to keep the web designers away from Java

RE: Putting templates together with the java

2008-06-19 Thread Blower, Andy
I've always assumed (apart from being more correct in some vague way) that the main practical reason is to keep the web designers away from Java code - so they only see the templates, properties, javascript css. Pure assumption on my part though. -Original Message- From: Geoff

RE: T5 ajax zones example

2008-06-10 Thread Blower, Andy
Yeah, this is all fixed now in 5.0.13. Plus the AjaxFormLoop and issue I was having with the select box doing a resort and updating a zone! I'm pretty happy, except I'm stuck in meetings in the US all week and not doing Tapestry dev... ho hum. Good work Howard. Andy -Original Message

Re: REpost: T3: Stop back button view after form submits.

2008-06-03 Thread Andy Pahne
google Redirect After Post Gutemberg A. Da Silva schrieb: I'm having the same problem too. I would like any ideas for stopping back button of browser. Thanks. 2008/6/2 James Sherwood [EMAIL PROTECTED]: disregard, im an idiot and sent it from the wrong account and didn't think it would go

[T4.1.6]: Template Parsing problem?

2008-06-03 Thread Andy Pahne
I have a page called Details which contains a form component (id = reservationForm). Whenever I enter the page's URL in the browser, the page displays correctly. But whenever I try to invoke a listener on another page that returns a Details page instance, there is an exception:

Re: [T4.1.6]: Template Parsing problem? -- SOLVED

2008-06-03 Thread Andy Pahne
Found it myself: the name of the page that was defined in PAGE_INTERHOME_DETAILS had a leading slash. It works without the slash! Andy Andy Pahne schrieb: I have a page called Details which contains a form component (id = reservationForm). Whenever I enter the page's URL

RE: Newbie

2008-06-03 Thread Blower, Andy
anything else, and not if some other framework is more suited to you and your needs. Cheers, Andy. (new to Tapestry myself - 2 months now) -Original Message- From: Menno Kok [mailto:[EMAIL PROTECTED] Sent: 03 June 2008 15:11 To: Tapestry users Subject: Re: Newbie I search tapestry inside

RE: T5: Components initialising derived variables for action requests?

2008-05-27 Thread Blower, Andy
in this case without session usage or a redundant parameter in the parent component. I do hope this makes sense to someone out there on the list... rather than sounding like the babblings of a crazy man. ;-) Thanks, Andy -Original Message- From: Blower, Andy Sent: 27 May 2008 17:20

RE: T5: Components initialising derived variables for action requests?

2008-05-27 Thread Blower, Andy
concept, specific situations/ details are helpful; I suggest more specifics on your use case. Robert On May 27, 2008, at 5/2711:48 AM , Blower, Andy wrote: Replying to myself so quickly - not a good sign. ;-) Anyway, I found another solution which is to let the event bubble up

Updating a zone as a result of a form submission

2008-05-22 Thread Blower, Andy
Is it possible to update a zone as a result of a form submission, rather than having the entire page refresh? I have a form with a select box and submit button to change the sorting of a list of search results, and when I return a zone from the event handler method onSubmit() the entire page

RE: Updating a zone as a result of a form submission

2008-05-22 Thread Blower, Andy
can't figure this out. -Original Message- From: Filip S. Adamsen [mailto:[EMAIL PROTECTED] Sent: 22 May 2008 10:52 To: Tapestry users Subject: Re: Updating a zone as a result of a form submission Hi Andy, Form has a zone parameter, if you bind it the zone will be updated when

Re: Instability in Tapestry 5.0.12-SNAPSHOT

2008-05-21 Thread Andy Pahne
was interested in the new T5 tools to make sharing data [...] easier. I am very interested how you will integrate T4 and T5 apps. Having such an integration would be a viable upgrade path. Could you please share your thoughts on the integration tools? Thanks, Andy

RE: T5: Calling method with parameter in prop

2008-05-14 Thread Blower, Andy
I said, just one user's opinion! Toby - Original Message From: Josh Canfield [EMAIL PROTECTED] To: Tapestry users users@tapestry.apache.org Sent: Tuesday, 13 May, 2008 5:55:26 PM Subject: Re: T5: Calling method with parameter in prop On Tue, May 13, 2008 at 2:21 AM, Blower, Andy

RE: T5: Calling method with parameter in prop

2008-05-13 Thread Blower, Andy
This should be done with care though IMO. To me, one big advantage of T5 over JSP's with EL or OGNL is that you are forced to keep the logic out of the templates for the most part. Simple comparisons and single parameter accessors seem okay, but I've always been surprised when seeing people on

What happened to Tapestry 5 Layout component blog article

2008-05-13 Thread Blower, Andy
This blog seems to have vanished: http://courcy-en.blogspot.com/2008/01/tapestry-5-create-layout-component.html As linked to from the wiki. Anyone know what's happened or have an archive of this? I found it very useful. - To

RE: overwrite first element in select

2008-05-08 Thread Blower, Andy
Look at the blankLabel and blankOption attributes for the select component. (http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry/corelib/components/Select.html) There are good examples in the Tapestry 5 jumpstart. (http://files.doublenegative.com.au/jumpstart/)

AjaxFormLoop

2008-05-07 Thread Blower, Andy
, but it doesn't seem to have been checked in yet. Am I missing it, or can you give a rough idea when we might see this component in the nightlies? Thanks, Andy. P.S. Also, I asked a question on the list about whether there was an easy way to get hold of the integration test apps rather than one file

[T5]: Persistent bean for BeanEditForm?

2008-05-02 Thread Andy Huhn
/t:beaneditform /t:layout Thanks, Andy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Dynamic list of strings in a form

2008-05-02 Thread Blower, Andy
I've not seen these demos before and although they look like integration tests, they also look really informative and very useful starting points for experimentation. There doesn't seem to be any release or package with them in and I can't figure out how to retrieve them en masse from the svn

RE: Dynamic list of strings in a form

2008-05-02 Thread Blower, Andy
I've been trying to use FormInjector to create a dynamic form and not getting very far. I've taken the demo that Igor gave links to and simply taken it out of the border element. It works fine unless I add the t:label component in the block. It seems to me that as soon as there is more than one

RE: Dynamic list of strings in a form

2008-05-02 Thread Blower, Andy
(Apologies - I sent the wrong tml file - please ignore my last email) I've been trying to use FormInjector to create a dynamic form and not getting very far. I've taken the demo that Igor gave links to and simply taken it out of the border element. It works fine unless I add the t:label

RE: page activation + components

2008-04-30 Thread Blower, Andy
just for services that are not thread safe and cannot be singletons. Have I got the wrong end of the stick here? -Original Message- From: Andy Huhn [mailto:[EMAIL PROTECTED] Sent: 29 April 2008 17:34 To: Tapestry users Subject: Re: page activation + components Hello, You can define

Re: page activation + components

2008-04-29 Thread Andy Huhn
Hello, You can define the scope of each service...you can set that particular service to be tied to only one session. See http://tapestry.apache.org/tapestry5/tapestry-ioc/service.html, and search for perthread. Thanks, Andy On Tue, 29 Apr 2008 18:02:52 +0200, János Jarecsni [EMAIL PROTECTED

RE: AW: Automatic class reloading on Tomcat 6 not working for me

2008-04-24 Thread Blower, Andy
is instant whereas under Tomcat it degrades significantly as it grows. Blower, Andy wrote: Tomcat 5.5 live reloading works for me with Eclipse. I followed the setup process from the Tapestry 5 - Building Web Applications book and it works fine. I've not really got into figuring out how a real

[T5]: javax.mail from Tapestry

2008-04-23 Thread Andy Huhn
: dependency groupIdjavax.mail/groupId artifactIdmail/artifactId version1.4.1/version /dependency Help? Perhaps the first step is to try to get logging working. Thanks, Andy - To unsubscribe, e-mail: [EMAIL

Re: [T5]: javax.mail from Tapestry

2008-04-23 Thread Andy Huhn
in the log file (although, like I mentioned, it's possible that my logging is broken). Heading off to work now...I'll check in on this again tonight/tomorrow morning. Thanks again for all your help (in advance), Andy On Wed, 2008-04-23 at 12:37 +0200, Chris Lewis wrote: Hi Andy, If exceptions

RE: AW: Automatic class reloading on Tomcat 6 not working for me

2008-04-23 Thread Blower, Andy
Tomcat 5.5 live reloading works for me with Eclipse. I followed the setup process from the Tapestry 5 - Building Web Applications book and it works fine. I've not really got into figuring out how a real dev environment should be set up yet - I'm just evaluating/prototyping so far. I've not

RE: Problem with select and beanEditForm

2008-04-22 Thread Blower, Andy
It's already mentioned in this page: http://wiki.apache.org/tapestry/Tapestry5UsefulConfigurationsForDevelopment -Original Message- From: Tomasz Dziurko [mailto:[EMAIL PROTECTED] Sent: 22 April 2008 14:50 To: Tapestry users Subject: Re: Problem with select and beanEditForm Yea,

RE: T5 actionlink, ajax zone and user onclick handler

2008-04-21 Thread Blower, Andy
Chris, Just wanted to say that's a very well written wiki page which seems to pull together all relevant points without being too verbose. Bravo. Hope you get the urge to write more. Andy. -Original Message- From: Luca Fossato [mailto:[EMAIL PROTECTED] Sent: 19 April 2008 22:30

[4.1.5] IExternalPage not implemented?

2008-04-18 Thread Andy Pahne
a clue what's going on here? Andy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [4.1.5] IExternalPage not implemented?

2008-04-18 Thread Andy Pahne
class has been found correctly. It's not working anymore since that little change... A. Andy Pahne schrieb: I get the error message: Page /booking/Details does not implement the org.apache.tapestry.IExternalPage interface. The root cause is: java.lang.ClassCastException: $BasePage_0

<    1   2   3   4   5   6   >