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 then

RE: Putting templates together with the java

2008-06-20 Thread Blower, Andy
ners, too, which is a > good reason. But perhaps 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 &

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 Ca

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 > -Ori

RE: Newbie

2008-06-03 Thread Blower, Andy
it suits your needs better than 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: Tapest

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&#x

[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: org.ap

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

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

2008-05-27 Thread Blower, Andy
Then your event handler would accept a parameter which is the > value of interest, and you're done. :) > > Sometimes, to understand the general concept, specific situations/ > details are helpful; I suggest more specifics on your use case. > > Robert > > On May 27, 200

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

2008-05-27 Thread Blower, Andy
t possible 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 > S

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

2008-05-22 Thread Blower, Andy
> I've seen this fail a couple of times lately, hence my suggestion to > check Request#isXHR. > > -Filip > > Blower, Andy skrev: > > Thanks for the reply Filip. I have bound the zone parameter on the > form like this: > > > > > >

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

2008-05-22 Thread Blower, Andy
s the resort, but refreshes the entire page. I just 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 > &g

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 is

RE: AjaxFormLoop

2008-05-22 Thread Blower, Andy
> for master/detail relationships. > > On Wed, May 7, 2008 at 3:06 AM, Blower, Andy > <[EMAIL PROTECTED]> wrote: > > Hi Howard, > > > > A couple of weeks ago you mentioned that you'd been developing and > AjaxFormLoop component when talking about not d

Re: Instability in Tapestry 5.0.12-SNAPSHOT

2008-05-21 Thread Andy Pahne
ong, but nobody 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 integra

RE: Instability in Tapestry 5.0.12-SNAPSHOT

2008-05-19 Thread Blower, Andy
I agree. > -Original Message- > From: Massimo Lusetti [mailto:[EMAIL PROTECTED] > Sent: 19 May 2008 16:02 > To: Tapestry users > Subject: Re: Instability in Tapestry 5.0.12-SNAPSHOT > > On Mon, May 19, 2008 at 4:57 PM, Howard Lewis Ship <[EMAIL PROTECTED]> > wrote: > > > The question is: w

RE: T5: Calling method with parameter in prop

2008-05-14 Thread Blower, Andy
ent: 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 > <[EMAIL PROTECTED]> wrote: > > This should be done with care though IMO. To me, one big advantage of > T5 over JSP's with &

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 un

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 t

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/) > -Or

AjaxFormLoop

2008-05-07 Thread Blower, Andy
nt, 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 t

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 componen

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

[T5]: Persistent bean for BeanEditForm?

2008-05-02 Thread Andy Huhn
Id; } public void setOrgnztnId( Integer prmOrgnztnId ) { _orgnztnId = prmOrgnztnId; } } And my template is similar to this: http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"; > Thanks, Andy --

RE: page activation + components

2008-04-30 Thread Blower, Andy
ions, it's 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 + c

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 Ja

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

2008-04-24 Thread Blower, Andy
running the same app under jetty reloading > reloading 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

Re: [T5]: javax.mail from Tapestry

2008-04-23 Thread Andy Huhn
e together. I uninstalled the Debian package, and it seems to be working beautifully. Thanks again for your help! Andy On Wed, 2008-04-23 at 14:00 +0300, Peter Stavrinides wrote: > Sounds like an issue with the server configuration, I suggest you get > the logs to work first, then you mi

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 tried

Re: [T5]: javax.mail from Tapestry

2008-04-23 Thread Andy Huhn
een anything 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: >

[T5]: javax.mail from Tapestry

2008-04-23 Thread Andy Huhn
ere is the relevant line from my pom.xml: javax.mail mail 1.4.1 Help? Perhaps the first step is to try to get logging working. Thanks, Andy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

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

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 Ap

RE: Could not find a coercion from type java.lang.String to type com.****.lighting.guidecontrol.view.BreadcrumbBean

2008-04-18 Thread Blower, Andy
Me too Jan, thank you. I was also passing a list via the template loop component attribute 'source' as well, and I was also wrapping it with ${} - I've obviously spent too long using the JSP EL! This would be a good gotcha to add to the wiki or even possibly the T5 documentation...? Anyway it

RE: Could not find a coercion from type java.lang.String to type com.****.lighting.guidecontrol.view.BreadcrumbBean

2008-04-18 Thread Blower, Andy
ew to Tapestry so I might be getting this all wrong. Does that make sense? Andy. > -Original Message- > From: Jan Vissers [mailto:[EMAIL PROTECTED] > Sent: 18 April 2008 13:28 > To: Tapestry users > Subject: Could not find a coercion from

Re: [4.1.5] IExternalPage not implemented?

2008-04-18 Thread Andy Pahne
Issue solved. After creatuing a page specification and specifiying the class to be used, it works. But it's really strange, because the correct class has been found for quite a long time without the specification, just by following the conventions... --

RE: T5: How do I access a page property in my component

2008-04-18 Thread Blower, Andy
Add the @Property annotation to dummy in component class to provide getter+setter? > -Original Message- > From: Jan Vissers [mailto:[EMAIL PROTECTED] > Sent: 18 April 2008 11:59 > To: nicholas Krul > Cc: Tapestry users > Subject: Re: T5: How do I access a page property in my component > >

Re: [4.1.5] IExternalPage not implemented?

2008-04-18 Thread Andy Pahne
tly. 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

[4.1.5] IExternalPage not implemented?

2008-04-18 Thread Andy Pahne
]); } } That's the link that I am trying to use in order to activate the exernal page: I restarted the server, cleaned working directories, rebuidl the app from scratch, but still... Does anybody have a clue what's going on he

Re: @EventListener Issue

2008-04-17 Thread Andy Pahne
Try instead of Because you use the parameter "targets" in your @EventListener, you have to use a component id. Andy abhilash schrieb: Hi all, i am using tapestry4.1.5 My eventListener is not getting called.This is my code.

Re: Trolls (Rob Smeets, Emmanuel Sowah, you know)

2008-04-16 Thread Andy Pahne
Chris Lewis schrieb: ... I will agree with you that he should be free to do so - but with _his_ resources, not ours. > ... Yeah, you (and Christian) convinced me about this "his megaphone" and "our megaphone" thing. Time to get out my dung fork and start the hunting. BTW: Tapestry rul

Re: Trolls (Rob Smeets, Emmanuel Sowah, you know)

2008-04-16 Thread Andy Pahne
to google mail and others seems to me like overreaction. Go with your own advice and ignore the trolls. Spare your energy for the really important things. Andy Chris Lewis schrieb: I'm sorry, but have you read his messages? He intentionally writes inflammatory messages, does not respond t

Re: Trolls (Rob Smeets, Emmanuel Sowah, you know)

2008-04-16 Thread Andy Pahne
Don't you think you are getting carried away with it? Chris Lewis schrieb: Dear list, Today I published a simple article on the dealing of trolls on the list, and I specifically targeted our friend currently operating under the alias "Rob Smeets." Instead of responding to him, please check ou

RE: AW: Getting Answers on the User List

2008-04-15 Thread Blower, Andy
Blimey, they really are out to get you Rob! Run, run like the wind... > -Original Message- > From: Rob Smeets [mailto:[EMAIL PROTECTED] > Sent: 15 April 2008 11:27 > To: Tapestry users > Subject: Re: AW: Getting Answers on the User List > > Oh, Jesse help me here. You wrote that you tend

RE: RequestGlobals in a PersistentFieldStrategy

2008-04-14 Thread Blower, Andy
misery and pain. When are you due to announce it? I've got a great name for you to use, you could call it 'Second Coming'. Yours friendliest, Andy. > -Original Message- > From: Rob Smeets [mailto:[EMAIL PROTECTED] > Sent: 14 April 2008 17:10 > To: Tapestr

Re: Component reloading is not working

2008-04-12 Thread Andy Huhn
'm dealing with the same issue you are. :o) Perhaps one of the other folks on the list might have some better ideas. Andy On Sat, 2008-04-12 at 19:26 +0200, Jakob Keres wrote: > Am Samstag, den 12.04.2008, 11:28 -0400 schrieb Andy Huhn: > > Hi Jakob, > > > > Also,

Re: [T5] enum/BeanEditForm issue

2008-04-12 Thread Andy Huhn
Well, fortunately and unfortunately, that was it. Thanks again, Peter, for finding my mistake. And sorry again for cluttering up the list with my poor proofreading skills. Andy On Fri, 2008-04-11 at 12:41 -0400, Andy Huhn wrote: > Oh, brother. If that's it, take my keyboard away from

Re: Component reloading is not working

2008-04-12 Thread Andy Huhn
Hi Jakob, Also, which version of Jetty are you using? I don't believe there's a way to get component reloading working yet with Eclipse + Jetty6, although there is with Eclipse + Jetty5. Andy On Sat, 2008-04-12 at 13:46 +0200, Jakob Keres wrote: > Hi. > > I'm quite

RE: Getting Answers on the User List

2008-04-11 Thread Blower, Andy
Great post Onno! +1 Like Jan, I also find Rob pretty amusing. You never know, maybe one day his messages about the version incompatibilities will help someone who has somehow managed to miss the statements on the Tapestry site, however unlikely that might be. > > Take for example Kent Tong, th

Re: [T5] enum/BeanEditForm issue

2008-04-11 Thread Andy Huhn
Oh, brother. If that's it, take my keyboard away from me. :o) I'll check as soon as I get on tonight. If that's it, sorry for troubling the list. Andy On Fri, 11 Apr 2008 11:20:43 -0400, "Peter Beshai" <[EMAIL PROTECTED]> wrote: > Unless there'

[T5] enum/BeanEditForm issue

2008-04-11 Thread Andy Huhn
all relevant, I used Gavin King's GenericEnumUserType to get Hibernate to persist the enum (http://www.hibernate.org/272.html). But I can't see how my Hibernate configuration would affect Tapestry's ability to encode/decode

RE: T5: beta?

2008-04-10 Thread Blower, Andy
The fact that you're using T5 in the real world at this beta stage is very good news for the upcoming release IMO, even if it delays the RC a bit. (not too much though I hope ;-) > -Original Message- > From: Howard Lewis Ship [mailto:[EMAIL PROTECTED] > Sent: 09 April 2008 19:32 > To: Ta

RE: T5: AJAX Zone updating doesn't work correctly in IE

2008-04-09 Thread Blower, Andy
Has anyone tried my demo page of the problem? I've simplified it as much as I can to show just the issue at hand. Should this go into JIRA now? Class: public class BasicAJAX { @Property @Persist private int count = 0; @Component private Zone aZone; Object onActionFromOu

RE: T5: AJAX Zone updating doesn't work correctly in IE

2008-04-08 Thread Blower, Andy
o management at 2pm today as well. That's life I guess, anyway here's my example pages again. Hopefully it'll be clearer what the problem is. Andy. - BasicAJAX.java - package com.proquest.Tap5ProtoIMPA.pages; import org.apache.tapestry

T5: AJAX Zone updating doesn't work correctly in IE

2008-04-07 Thread Andy Blower
Rather than explain (probably badly) exactly what the problem is, I'll provide a small example page called BasicAJAX. This page demonstrates that if an actionlink that causes a zone refresh via AJAX is part of the refreshed zone itself, it only works on alternate clicks in IE. Each time it's rende

Re: T5: TransformationException

2008-04-07 Thread Andy Blower
I just ran into this issue myself, and switching to a 1.5 jre fixed it. (although now I get a "Java compiler level does not match the version of the installed Java project facet." error reported by Eclipse... which means nothing to me) I thought that reporting what was causing the problem may hel

Re: [T5]: CSS question? But having to do with default.css (Tapestry CSS)

2008-04-05 Thread Andy Huhn
I think I solved my own question. For the sake of anyone else facing this same issue, I added this to my stylesheet: DIV.t-beandisplay DIV.t-beandisplay-value { display: block; float: left; clear: right; } Thanks, Andy On Sat, 2008-04-05 at 22:27 -0400, Andy Huhn wrote: >

[T5]: CSS question? But having to do with default.css (Tapestry CSS)

2008-04-05 Thread Andy Huhn
ne. Has anyone else faced this? Any help? I have tried using display: inline instead of display: block, I've tried setting div.t-beandisplay-value:after { clear:both; } I've tried pretty much everything I can think of.

RE: [T5]: Default TextField size?

2008-04-05 Thread Andy Huhn
Sorry, Kristian. I think I was looking at something else while I was typing. :o) Thank you, Kristian! On Sat, 2008-04-05 at 22:20 -0400, Andy Huhn wrote: > Thank you, Kevin! That was the direction I needed. > > On Fri, 2008-04-04 at 11:11 +0200, Kristian Marinkovic wrote: > &g

RE: [T5]: Default TextField size?

2008-04-05 Thread Andy Huhn
Thank you, Kevin! That was the direction I needed. On Fri, 2008-04-04 at 11:11 +0200, Kristian Marinkovic wrote: > i use CSS to set the VISUAL size of my input fields :) > > g, > kris > > > > Andy Huhn <[EMAIL PROTECTED]> > 04.04.2008 11:03 >

RE: Zone and block : xmlns problem

2008-04-04 Thread Andy Blower
ot ol tag in my block. Also not having render vars not being useful in these partial renders is irritating. e.g. "Component XYZ is not rendering, so render variable 'foo' may not be updated." Would this be easy to enable does anyone know? Thanks, Andy. Cordenier Christophe

RE: [T5]: Default TextField size?

2008-04-04 Thread Andy Huhn
y small...and I don't want to have to add an annotation to every field. Is there any facility built in like this? Or do most developers simply add the annotation to every field? Surely there's a more reusable solution? Thanks, Andy On Fri, 2008-04-04 at 10:35 +0200, Kristian Ma

[T5]: Default TextField size?

2008-04-04 Thread Andy Huhn
Hello, Is there a way to configure the default size parameter that will be generated for TextFields? Thanks, Andy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [T5]: label in properties file

2008-04-03 Thread Andy Huhn
FindCoops.tml FindCoops.properties Andy On Thu, 2008-04-03 at 14:25 +0200, Filip S. Adamsen wrote: > Hi, > > Try putting it in src/main/resources/com/companyname/pages/coops. > > -Filip > > On 2008-04-03 14:23, Andy Huhn wrote: > > Thanks

Re: T5: Strategy for pages that edit beans

2008-04-03 Thread Andy Blower
I have encountered a similar issue, and the use of onPrepare() doesn't make sense to me. Surely there's no point persisting any fields and then resetting in onPrepare() is there? May as well just remove the @Persist. There must be something I'm missing here.. can anyone fill me in? Howard Lewis

Re: [T5]: label in properties file

2008-04-03 Thread Andy Huhn
have not had any issues to date with the directory structure; Tapestry finds all the pages just fine, it finds the hibernate.cfg.xml, it finds my assets, etc. But for some reason, I can't get this properties file to work. Am I missing something obvious? Thanks, Andy On Thu, 2008-04-03 at

Re: T5: Expansions & prefixes

2008-04-03 Thread Andy Blower
;ve missed? Andy Blower wrote: > > Filip - that looks really good work. > > I didn't realise new bindings can be created. I'm surprised that you're > using %d, %s etc rather than the standard {0} {1} ResourceBundle > parameters. To me it would be nicer express

Re: [T5]: label in properties file

2008-04-03 Thread Andy Blower
ile to be next to > your .tml file and not the .java file. > > Petros > > > Andy Huhn-2 wrote: >> >> OK, this is driving me crazy. >> >> I have a .tml named FindCoops.tml that contains the following fragment: >> >> >> > t:valu

Re: T5: Expansions & prefixes

2008-04-03 Thread Andy Blower
inding" would mean or how it would help, sorry if it's obvious but I'm very new to Tapestry. I'll certainly not be doing it myself any time soon, I'm just evaluating the framework at the moment. Thanks, Andy. Filip S. Adamsen-2 wrote: > > I've been thinking ab

Re: T5: Expansions & prefixes

2008-04-03 Thread Andy Blower
nd having it take a parameter. It's not possible to do ${messagePrefix('product-name')} and have it call setMessagePrefix('product-name') or anything is it? Thanks, Andy. Imants Firsts wrote: > > 2) Use your property like this in the template > ${prop:my

[T5]: label in properties file

2008-04-02 Thread Andy Huhn
, it is rendered with a label of "User Pstl Code Field". Shouldn't it be rendered as ZIP? I'm on T5.0.11. Thanks! Andy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

T5: Expansions & prefixes

2008-04-02 Thread Andy Blower
sion? e.g. (this doesn't work obviously, but getProductVariant() is implemented in the page class and its output forms the last segment of the message key) ${message:product-name-${productVariant}} 3) Also how can you pass arguments to the messages to replace {0}, {1} etc? Thanks, Andy

Re: updateComponent doesn't work if component contains HTML BR tag (4.1.2)

2008-04-02 Thread Andy Pahne
I had the same problem. It's not only unclosed tags, but also and others. It works with an unclossed tag. Don't know why, but it's not specified anywhere. Igor Drobiazko schrieb: please close the tag: On Wed, Apr 2, 2008 at 11:13 AM, caarney <[EMAIL PROTECTED]> wrote: --

Re: [T5] Tapestry evaluation + questions

2008-03-31 Thread Andy Blower
me to look into them early this week. Andy. Rob Smeets wrote: > > Hi Andy, > > Be wise and dig around the Internet to find answers to your questions and > don't turn to this list since they won't offer you a non-biased answers. > For > a starter go to theserv

[T5] Tapestry evaluation + questions

2008-03-29 Thread Andy Blower
Hi there, I'm evaluating Tapestry (among others) for the web framework we'll use at my company for the next 5 years or so. We've used Struts 1 for the last 5-6 years and it's served us well, even if it was higher maintenance than was first apparent. I have spent over two days reading about Tapestr

Re: T5: OutputRaw filtering?

2008-03-24 Thread Andy Huhn
Thank you, Filip! That was exactly what I needed! Andy On Sun, 2008-03-23 at 01:42 +0100, Filip S. Adamsen wrote: > You need to have an (X)HTML DOCTYPE somewhere in your page. > > See "Template Doctypes" at > http://tapestry.formos.com/nightly/tapestry5/tapestry-cor

T5: OutputRaw filtering?

2008-03-22 Thread Andy Huhn
sspath:com/homeed/components/Layout.tml: The entity "copy" was referenced, but not declared. I'm on Tap 5.0.11. Help? Thanks, Andy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[T4.1] Setting the value of a DatePicker clientside

2008-03-20 Thread Andy Pahne
ePicker.js and found the funtion Calendar.prototype.setCurrentDate = function(date) { ... } That one seems to be a good candidate for my task, but I don't have any idea, how to invoke it. (My knowledge about JavaScript is almost non exi

Re: T5: How to configure T5 not to display unwanted log

2008-03-13 Thread Andy Pahne
deprecated, and will likely be removed in a later release. Consult its documentation to find a replacement component. Configuring log4j does not help. Andy Joshua Jackson schrieb: Dear all, Currently I am using T 5.0.11 and it displays a helluva message in the logs. Is there any way to config

Re: Problem while using @PropertySelection Component.

2008-03-11 Thread Andy Pahne
I am not sure if I understood your question, but maybe you discovered this well known IE feature (bug?): http://www.thescripts.com/forum/thread289171.html Andy sasidhar schrieb: Hi, In a web page,when a menu is displayed over a dropdown, the menu should overlap the dropdown. But it is not

Re: File generation

2008-02-29 Thread Andy Huhn
Joel, I ran across this component that wraps a template engine: http://213.160.23.119:8080/t5components/t5c-contrib/howto_freemarkerservice.html Andy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

[4.1.5] FieldLabel buggy

2008-02-28 Thread Andy Pahne
ng here or is that a bug? Andy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Tapestry + Problem with @contrib:AjaxStatus

2008-02-28 Thread Andy Pahne
For me it works in Firefox and IE7. But the behaviour in IE7 is somehow delayed, it takes a few seconds, but not in FF2. Andy [EMAIL PROTECTED] schrieb: Hi, In order to prevent user interruption, Used "@contrib:AjaxStatus" component to display hour glass when AJAX request ha

Re: [4.1.5] @EventListener and dynamic responses

2008-02-28 Thread Andy Pahne
only works, when the HTML is well formed. So no unclosed tags, no unclosed tags! Andy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [4.1.5] @EventListener and dynamic responses

2008-02-27 Thread Andy Pahne
... Andy Andy Pahne schrieb: Sorry, but I cannot confirm that. I tried it and the debugging output changed to: DEBUG: 1:05:54 PM: tapestry.load() Response received. WARNING: 1:05:54 PM: No ajax-response elements received. But the hidden part does not render. I also tried

Re: [4.1.5] @EventListener and dynamic responses

2008-02-27 Thread Andy Pahne
("formComponent"); and responseBuilder.updateComponent("conditionalBlock"); but none of them did the trick. Andy Ulrich Stärk schrieb: Your placeHolder hast to be a Tapestry component not just a div container. Just replace id="placeHolder" with jwcid="[EMAIL PRO

[4.1.5] @EventListener and dynamic responses

2008-02-27 Thread Andy Pahne
java:90) - field 1 has changed INFO (AjaxTest2.java:91) - new value is 'uztuzz' INFO (AjaxTest2.java:96) - updating field3 and showing it... The Debug Output after changing field1 DEBUG: 12:01:45 PM: tapestry.load() Response received. Andy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [T5]: Issues deploying in jetty

2008-02-23 Thread Andy Huhn
/components false src/main/java/com/homeed/components *.tml false src/main/java/com/homeed/pages **/*.tml Thanks again! Andy On Sat, 2008-02-23 at 20:40 +0100, Davor Hrg wrote: > the error represents missing templates for pages

[T5]: Issues deploying in jetty

2008-02-23 Thread Andy Huhn
'm using Jetty6, Tap 5.0.10. Thanks a bunch, Andy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [4.1.5] Suggest component

2008-02-21 Thread Andy Pahne
Damn, just found out that it works in IE 7, but not in FF 2. But that's not the case with with the demo which is available at http://opencomponentry.com:8080/timetracker/LocaleSuggest.html That demo wors nicely in both browsers...

Re: [4.1.5] Suggest component

2008-02-21 Thread Andy Pahne
t it is hidden (display: none;). My first thought was that the AJAX request does not work but a quick DOM inspection and a look into the logfile revealed that the AJAX part works perfectly. I have no idea... Andy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [4.1.5] Suggest component

2008-02-21 Thread Andy Pahne
Ulrich Stärk schrieb: > Almost no is not none :) > > Your code is absolutely correct and works perfectly. Please make sure > that you have a Shell and a Body component on your page. In your case > those would be included with your DemoBorder component, so have a look > at that template. Also make

Re: [4.1.5] Suggest component

2008-02-21 Thread Andy Pahne
Ulrich Stärk schrieb: > This is the rendered code, could you please provide the corresponding > template and page class code? > There's almost no difference beetwenn the source of the TimeTracker demo and mine: div.autocomplete { position:absolute; wid

[4.1.5] Suggest component

2008-02-21 Thread Andy Pahne
Hi, I try to imlement a suggest feature with the Suggest component. Unfortunatly the suggestions do not render properly. I had a look at the TimeTracker demo and copied all relevant parts into my test application, but the generated result looks different and the suggestions are not visible.

Re: What does "Render time" hidden in comment actually mean?

2008-02-20 Thread Andy Huhn
made to the web server. However, what I read was that not all proxies/web servers are able to handle this, and in my case, it ended up greatly increasing the amount of time needed to request/respond. I turned this off in Firefox, and my pages immediately became instantaneous again. Andy On Tue, 2008

Re: [4.1.5] @EventListener question

2008-02-20 Thread Andy Pahne
Bad luck. As I see you are the reporter of that bug. Did you find a workaround? A. Kevin Menard schrieb: autosubmit="false" is currently broken. You can track the following issue: https://issues.apache.org/jira/browse/TAPESTRY-2003 --

Re: [4.1.5] @EventListener question

2008-02-20 Thread Andy Pahne
Worked instantly. Thanks. But shouldn't "elements" work as well? Kevin Menard schrieb: -Original Message- From: Andy Pahne [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 20, 2008 10:41 AM To: Tapestry users Subject: [4.1.5] @EventListener quest

Re: [4.1.5] @EventListener question

2008-02-20 Thread Andy Pahne
d some time to get used to it... A. Kevin Menard schrieb: -----Original Message- From: Andy Pahne [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 20, 2008 10:41 AM To: Tapestry users Subject: [4.1.5] @EventListener question Page class: @EventListener(elements = "formField1",

[4.1.5] @EventListener question

2008-02-20 Thread Andy Pahne
ponent("formField3"); } The event listener is never fired at all. I tried variations of the event name liek "onchange", "onChange" etc., but no listener is fired... Is there something wrong with my code? Andy -

<    1   2   3   4   5   6   >