RE: T5: onActivate called twice

2009-03-25 Thread Blower, Andy
Taken from http://tapestry.apache.org/tapestry5.1/guide/event.html and should answer your question I think. Multiple Method Matches In some cases, you may have multiple event methods match a single event. The order is as follows: * Base class methods before sub-class methods. * Matchi

RE: Executing javascript on ajax call return

2009-03-24 Thread Blower, Andy
From: Hugo Palma [mailto:hugo.m.pa...@gmail.com] > Sent: 24 March 2009 18:23 > To: Tapestry users > Subject: Re: Executing javascript on ajax call return > > I've just tried using renderSupport on a partial page render and it > worked > great. I'm using 5.1.0.2-SNASHOT. >

RE: Executing javascript on ajax call return

2009-03-24 Thread Blower, Andy
ering a zone/block, it will be executed when that zone is put into > the page. But I can't remember what version of tapestry this got > turned > on.. > > Blower, Andy wrote: > > I would like to be able to add javascript to the 'script' key section > that is re

RE: Executing javascript on ajax call return

2009-03-24 Thread Blower, Andy
I would like to be able to add javascript to the 'script' key section that is returned as a partial page render. Client side events are okay, but being able to return some JS that runs is more flexible. It's also partially there already and just needs exposing I think. At present we've resorted

RE: t5: profiling tool for t5 app?

2009-03-23 Thread Blower, Andy
I've always been very happy with jProfiler for Java profiling. Not used it with T5 yet though - I will do at some point. > -Original Message- > From: Angelo Chen [mailto:angelochen...@yahoo.com.hk] > Sent: 21 March 2009 01:44 > To: users@tapestry.apache.org > Subject: t5: profiling tool f

Re: Q : IF component in tapestry 5 ?

2009-03-18 Thread Andy Pahne
Ulrich Stärk schrieb: The test will be true if the provided test returns true or in case of an object return type that object is not null. Or a collection which is not empty. What about arrays? True, if array is not null, true, if array.size > 0? I am not sure... ---

Re: Partly OT: problems with Eclipse / T5

2009-03-17 Thread Andy Pahne
Sounds interesting somehow. Do you have some code to see? tapestryphoto schrieb: Hi, I'm using Jetty/T5/Eclipse. Earlier this-afternoon I made the mistake of doing a Maven "Update Project Configuration" and Maven anihilated my build setup. I have set the classpath back to what it was and

Re: Spring root context and Tap 5.1

2009-03-17 Thread Andy Pahne
I think the reason is: the context is iniitialized twice. Once by the filter you defined in your web.xml and once by tapestry-spring. If you prefer tapestry-spring NOT initializing your context, then add this to your web.xml tapestry.use-external-spring-context true

Re: [T5.1-SNAPSHOT] problem launching with ChenilleKit: URIAssetFactory' has already been defined

2009-03-17 Thread Andy Pahne
Oops, you are right. I had them (unintentionally) both on my classpath. Thank you, Andy Sven Homburg schrieb: its not recommended to run ChenilleKit against t5components 2009/3/17 Andy Pahne Since yesterday my current application won't start anymore. See stacktrace below.

[T5.1-SNAPSHOT] problem launching with ChenilleKit: URIAssetFactory' has already been defined

2009-03-17 Thread Andy Pahne
Since yesterday my current application won't start anymore. See stacktrace below. Can I workaround this somehow? Thanks, Andy SCHWERWIEGEND: Exception starting filter app java.lang.RuntimeException: Service id 'URIAssetFactory' has already

Re: T5: How to load image Asset from filesystem?

2009-03-12 Thread Andy Pahne
That one is really nice. Thanks. Daniel Jones schrieb: PAGE CLASS inject component resources so that you can create an action link @Inject private ComponentResources mComponentResources; when the path is requested by the template, create and return an action link public Li

Re: How to make link correctly

2009-03-11 Thread Andy Pahne
Thiago H. de Paula Figueiredo schrieb: On Wed, Mar 11, 2009 at 7:45 AM, Andy Pahne wrote: This is an exceptionally good question. Links will have to be created completly out of the web application context. Why? I'm not following you . . . I think this is going to be even

Re: Image Asset Help Needed

2009-03-11 Thread Andy Pahne
Peter Kanze schrieb: Hi Andy, Yes I read that thread, I started that thread as well. I will vote for the issue, but the problem is I need a solution now.. Maybe I add a good old servlet that returns the image Any other ideas? Yeah, that was my workaround. Regards, Peter On Wed

Re: Image Asset Help Needed

2009-03-11 Thread Andy Pahne
Did you read the thread "How to load image Asset from filesystem"? You might want to vote for the issue. Regards, Andy Peter Kanze schrieb: Here am I again. I am struggling for 2 days now to load an image from the filesystem into my webpage. The image needs to be loaded ba

Re: How to make link correctly

2009-03-11 Thread Andy Pahne
This is an exceptionally good question. Links will have to be created completly out of the web application context. I think this is going to be even more necessary, when the recent changes about URL i18n come into play... Andy Peter Stavrinides schrieb: I see... I am aware of

Re: 5.1 Parameter namespacePrefix was null

2009-03-10 Thread Andy Pahne
Nice catch. In deed my application is using woodstox, too. But I did not change anything about my dependencies. Andy Joachim Van der Auwera schrieb: I seem to have found the cause of the problem. This application is also using CXF, and this brought with it an older version of the

Re: T5: How to load image Asset from filesystem?

2009-03-10 Thread Andy Pahne
Anyway you are right: exposing the full path in the html source is certainly not a good idea. Peter Kanze schrieb: Hi Andy, Thanks for adding this to Jira. See below my code what I have produced so far. The problem is that I now see the complete filepath in my html source () I don't

Re: T5: How to load image Asset from filesystem?

2009-03-10 Thread Andy Pahne
The @ClasspathProvider is necessary, so that tapestry-ioc knows, which of the different implementations to inject. Maybe, in order to make your solution work, you need to give a hint like that, too? Andy Peter Kanze schrieb: Hi Andy, Thanks for adding this to Jira. See below my code w

Re: T5: How to load image Asset from filesystem?

2009-03-10 Thread Andy Pahne
The proposed solution in the issue is a bit different. Both is possible, I hope the developers pick up the issue and choose a nice solution. Andy Andy Pahne schrieb: https://issues.apache.org/jira/browse/TAP5-567 Thiago H. de Paula Figueiredo schrieb: On Tue, Mar 10, 2009 at 11:28 AM

Re: T5: How to load image Asset from filesystem?

2009-03-10 Thread Andy Pahne
https://issues.apache.org/jira/browse/TAP5-567 Thiago H. de Paula Figueiredo schrieb: On Tue, Mar 10, 2009 at 11:28 AM, Andy Pahne wrote: There is a ClasspathAssetFactory and a ContextAssetFactory. A useful addition to the framework would be a FilesystemAssetFactory. I am going to fill

Re: T5: How to load image Asset from filesystem?

2009-03-10 Thread Andy Pahne
There is a ClasspathAssetFactory and a ContextAssetFactory. A useful addition to the framework would be a FilesystemAssetFactory. I am going to fill an JIRA issue about it. The way I did it for classpath resources was very simple, see below. Only the first two lines of renderIcon() are rele

Re: 5.1 Parameter namespacePrefix was null

2009-03-10 Thread Andy Pahne
d the used exception page and things like that. Unfortunatly I don't think that this will help you much. Andy Joachim Van der Auwera schrieb: Does anybody know where the following "Parameter namespacePrefix was null" error comes from (and better, how to fix). I upgrading my app

Re: base64 + url encoded activation context parameter

2009-03-09 Thread Andy Pahne
compare this thread... http://tapestry.markmail.org/search/?q=list%3Aorg.apache.tapestry.users+url+#query:list%3Aorg.apache.tapestry.users%20url%20+page:1+mid:kbv6yrkcjmkaaoys+state:results Borut Bolčina schrieb: Hi, I wanted to send users an email with a confirmation link which includes ba

Re: Update a T5 zone componet from javascript.

2009-03-09 Thread Andy Pahne
Yes, there is a way. Search the list, it has been discussed just a few days ago. The thread was "about T5 javascript". Andy Michael Williamson schrieb: Is there a way of triggering a zone update from Javascript? I need to run server side data validation if the data match

Re: how to let actionlink to open another page like target="_blank"?

2009-03-08 Thread Andy Pahne
Yes please, would be nice to see... Andy Inge Solvoll schrieb: I created a mixin, PopupPageLink, that opens a new window containing a the link, with window.open() in javascript. It gives you more control over the opened window. Also, you can add the mixin to any element, not just a link

Re: Page navigation passed value not displayed (@InjectPage style)

2009-03-07 Thread Andy Pahne
ph is more complicated). I don't see the use case. In my opinion, it's not that often in real life that you have to provide your own type coercions. And this kind of "out of the box coercion for custom types" cries for too much problems. Andy Pahne schrieb: That'

Re: T5 ConcurrentBarrier / Deadlock

2009-03-07 Thread Andy Pahne
There have been issues with Sun JVMs <= 1.6.10. (or < 1.6.10, I don't recall it exactly). Andy Alex Kotchnev schrieb: I also recall the deadlock issues manifested themselves on particular JVM versions which were fixed in the latest updates. Which Java version are you runnin

Re: Page navigation passed value not displayed (@InjectPage style)

2009-03-06 Thread Andy Pahne
That's possible. Have a look at http://tapestry.formos.com/nightly/tapestry5/tapestry-ioc/coerce.html esp. the section "Contributing new Coercions" Example: I want to pass a User through activation context: class User { private String name; private String password;...} Registration{

Re: Page navigation passed value not displayed (@InjectPage style)

2009-03-05 Thread Andy Pahne
@Persist String emailAddress; Object startEdit(String emailAddress){ this.emailAddress = emailAddress; return this; } } Hope that helps, Andy manuel aldana schrieb: thanks, but same issue. Anyway I think with the InjectPage pattern and returning an

Re: Action Link In Parent Component

2009-03-03 Thread Andy Pahne
Or is Eventink what you are searching for? see http://tapestry.formos.com/nightly/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/EventLink.html Inge Solvoll wrote: Make sure that the parent listener has the correct visibility. If the listener is package private and the

Re: Multiple zone refresh

2009-03-02 Thread Andy Pahne
I think that this is not possible right now. But it should be. Did not look, but I bet there is a related JIRA issue. You might want to vote for it... Andy Julien Ruchaud wrote: Hi, I am trying to refresh two zones on the same time with one ajax action. Java, @Inject Block b1

Re: [5.1 SNAPSHOT]: ProgressiveDisplay component

2009-02-27 Thread Andy Pahne
better. The additional possibility to render it from the event listener: perfect! Andy - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Re: [5.1 SNAPSHOT]: ProgressiveDisplay component

2009-02-27 Thread Andy Pahne
Forget about my previous comment. I just had to persist some properties and it worked. Even in loops... Thanks Howard, nice addition! Andy Andy Pahne schrieb: Very recently a new component arrived: ProgressiveDisplay. Very nice and very useful. See http://tapestry.formos.com/nightly

[5.1 SNAPSHOT]: ProgressiveDisplay component

2009-02-27 Thread Andy Pahne
fails, because "property hotel is null within property expression hotel.id". What do I have to do in order to pass some kind of context? Thanks, Andy - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org

Re: T5: DWR Integration

2009-02-21 Thread Andy Pahne
the DWR servlet mapping could be passed as a parameter to my component to be fully customized ... I think you mean sth like: renderSupport.addScriptLink(context + "/${dwrServletMapping}/engine.js"); What do you think about it ? Stephane Andy Pahne a écrit : I don't know

Re: T5: DWR Integration

2009-02-18 Thread Andy Pahne
deScriptLibrary...) support your use case? I guess not. When I integrated dwr, I did not even think that far, because I did not have to bundle it as a component lib. So I ended up using the same script-tags that you used. Andy Stephane Decleire schrieb: Thanks Andy, But i've already

Re: [Tapestry Caffe] Three new bartenders to chat with

2009-02-17 Thread Andy Pahne
Do you have an URL? Google did not help me Thiago H. de Paula Figueiredo schrieb: On Tue, Feb 17, 2009 at 9:35 AM, Borut Bolčina wrote: Hi, Hi! JumpStart, ChenilleKit and Equanda has joined Tapestry Caffe. You can now post your ideas on any of them, make comments and vote

Re: T5: DWR Integration

2009-02-17 Thread Andy Pahne
documentation says. There's no more special setup needed than contributing the ignored path. Andy - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

T 5.1 Snapshot: error reporting

2009-02-11 Thread Andy Pahne
, see below. Anybody with the same problem? Or is it more likely that sth. is wrong with my environment? Andy java.lang.IllegalArgumentException: Parameter namespacePrefix was null. at org.apache.tapestry5.ioc.internal.util.Defense.notNull(Defense.java:37)

Re: T5: Type coercion from String to Enum

2009-02-09 Thread Andy Pahne
class into one of tapestry managed packages. Just create another package (xxx.util or so) and leave your class file there. Andy - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands,

RE: Localization in Services

2009-02-06 Thread Blower, Andy
ect as an > injectable value. > > On Fri, Feb 6, 2009 at 1:04 PM, Blower, Andy > wrote: > > I thought that it might be possible to use constructor injection to > inject the Messages resource just like you can with Logger. I take it > that this is not possible to prov

RE: Localization in Services

2009-02-06 Thread Blower, Andy
I thought that it might be possible to use constructor injection to inject the Messages resource just like you can with Logger. I take it that this is not possible to provide in T5 because of lifecycle/reloading issues then Howard? > -Original Message- > From: Howard Lewis Ship [mailto:h

RE: Problem wiring up two components on a page

2009-02-06 Thread Blower, Andy
e > > On Fri, Feb 6, 2009 at 10:05 AM, Blower, Andy > wrote: > > @Parameter(required=true, defaultPrefix=BindingConstants.COMPONENT) > > Try the principal attribute of @Parameter. Maybe it is the solution > for your problem: > @Parameter(required=true, principal = t

Problem wiring up two components on a page

2009-02-06 Thread Blower, Andy
"unused") private PagedBase pagedList; @Parameter @Property @SuppressWarnings("unused") private int itemsPerPage; Hope someone can help me before I go on holiday in five hours? Asking a lot I know. ;-) Thanks, Andy.

RE: T5: Problem with a loop in a form

2009-01-30 Thread Blower, Andy
I certainly could do it that way, but I expect there to be some markup go in around these elements so it's much easier for our UI design people to add it into the tml than have to ask us to change the Java. As I said it's not a problem I can't get around, but it doesn't seem right to me so eith

RE: T5: Problem with a loop in a form

2009-01-29 Thread Blower, Andy
nent Results:basicsearchbox is not > rendering, so render variable 'index' may not be updated. > > This is easily fixed by using an index property in the java class, but > I don't see why I can't use a render variable because this loop should > be ignored by the fo

Re: T5/Jetty: disabling jsessionid?

2009-01-27 Thread Andy Huhn
'll take a look at it. If I did want to strip the session id with a filter, do you have any pointers where I can look for more info? Thanks, Andy On Fri, 2009-01-02 at 15:52 +0100, Lutz Hühnken wrote: > Andy, > > you can strip the session id with filter, but you should also check

RE: [DISCUSS] Should the quickstart archetype include tapestry-hibernate?

2009-01-26 Thread Blower, Andy
I would say not to, create another quickstart if you feel there's an audience. I know that at the stage I found the QS Archetype useful, having to remove Hibernate would not have been a welcome or easy task. > -Original Message- > From: Howard Lewis Ship [mailto:hls...@gmail.com] > Sent:

Re: Weird bug

2009-01-24 Thread Andy Pahne
Hi, this is complety unrelate to Tapestry. Go and ask the Hibernate forums or read Hibernate docs (API of load() and get() would be a good starter). Cheers, Andy superoverdr...@gmx.de schrieb: The following code: public Object onActivate(int domainID) { domain = (Domain

Re: Tapestry With PostgreSQL

2009-01-15 Thread Andy Pahne
hint: maven repo search http://mvnrepository.com Andy - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Re: [T5] improve documentation

2009-01-13 Thread Andy Pahne
I'd prefer if it were more like jumpstart than petstore. Any chance jumpstart becoming part of the framework? Andy superoverdr...@gmx.de schrieb: An good old pet-shop application...with lots of Ajax would be nice...or something similiar. It could coves common questions on the Tap

Re: dynamic components in page

2009-01-12 Thread Andy Pahne
nd let your event handler return one of those blocks. The difference is: the block's content is not generated on the fly, it is completly defned when page rendering starts. Hope that helps, Andy - To unsubscribe, e-ma

Re: using prop: binding to evaluate an expression?

2009-01-08 Thread Andy Pahne
Ah, and you could also do it like this: public boolean isNextPageLinkDisabled{ return ! sth; } Andy Brian Long schrieb: Hi, in tapestry 4 you could use ognl to check a page property in a expression like disabled="ognl:!nextAvailable" or ognl:(nextAvailable == fa

Re: using prop: binding to evaluate an expression?

2009-01-08 Thread Andy Pahne
Hi, this is definetly not possible with T 5.0.x. I think Howard already checked in some changes in T 5.1 that make it possible. As a workaround you could use ognl as in T4. See http://www.chenillekit.org/chenillekit-tapestry/ognlbinding.html Andy Brian Long schrieb: Hi, in

T5/Jetty: disabling jsessionid?

2008-12-30 Thread Andy Huhn
ons? Or does anyone have any working T5 code I could plug in that would take care of this for me? Thanks, Andy

Re: Blog post about Tapestry 5 - Project Structure

2008-12-23 Thread Andy Pahne
Great post, again! Andy Borut Bolčina schrieb: I made another post at http://bbwebcraft.blogspot.com/ Task 2 – Explore the Tapestry 5 project structure and learn where to put your stuff I hope you don't consider this email as spam. Cheers,

Re: tapestry:parameter namespace

2008-12-19 Thread Andy Pahne
Oops. I am still on 5.0.18. But I really thought from the beginning that there might be something wrong with my setup. Andy Howard Lewis Ship schrieb: What version of Tapestry are you using? You need to be using 5.1.0.0-SNAPSHOT for this feature. On Thu, Dec 18, 2008 at 12:21 AM, Andy

Re: T5: Proper project layout?

2008-12-18 Thread Andy Pahne
Andy Jonathan O'Connor schrieb: Andy, thanks. I just joined up last night! Ciao, Jonathan On 18/12/2008 13:37, Andy Pahne wrote: This has been discussed a few days ago. Search for the thread "Advantages of various .tml storage locations?" Andy Jonathan O'Conno

Re: T5: Proper project layout?

2008-12-18 Thread Andy Pahne
This has been discussed a few days ago. Search for the thread "Advantages of various .tml storage locations?" Andy Jonathan O'Connor schrieb: Hi, I've just started working with Tapestry 5, and I have found 2 different project layouts. Howard (I presume) suggested t

Re: tapestry:parameter namespace

2008-12-18 Thread Andy Pahne
I think that it does not work for me, too. I tried the simple example that is given in the component docs for the If component (with an else block), but it diesn't seem to work. But I did not have time to investigate further. Andy James Hillyerd schrieb: I've tried using t

Re: [ANN] t5components 0.5.18 is now available for Tapestry 5.0.18

2008-12-15 Thread Andy Pahne
I get a 404 right now for address: http://www.chenillekit.org/mvnrepo/release Andy Sven Homburg schrieb: http://www.chenillekit.org/mvnrepo.html the latest snapshot compiled right now 2008/12/15 Christian Edward Gruber Thanks, Sven. This stuff is great. I just looked into

[T5] onException event

2008-12-15 Thread Andy Pahne
return onRequestOnly; } return null; } The method is never called. Is this feature currently broken? Andy - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mai

Re: [ANN] JumpStart 3.20.0 released - for T5.0.18

2008-12-15 Thread Andy Pahne
JBOSS stuff). Andy Geoff Callender schrieb: Hi all, JumpStart 3.20.0 is now available. It's built on the Tapestry 5.0 Final Release - 5.0.18 - which was released a couple of days ago. You can use it live: http://jumpstart.doublenegative.com.au:8080/jumpstart/ or download it:

Re: Ant sample project for Tapestry5 application

2008-12-14 Thread Andy Pahne
Yes, there is one. Have a look at jumpstart. You can find the link on the start page of the current T5 documentation. Andy HHB schrieb: Hey, Do you know any Tapestry 5 skeleton project that employs Apache Ant instead of Maven? Thanks

Re: Confirm("are you sure want to delete") in

2008-12-12 Thread Andy Pahne
This is sad. We cannot even fill a JIRA, because "Confirm" is not part of the framework. Andy zack1403 schrieb: I am using the confirm functionality as a component and am having similar problems. Confirm does not work with the linkSubmit component. It is currently a major bug

Re: Confirm("are you sure want to delete") in

2008-12-12 Thread Andy Pahne
e.org/tapestry/Tapestry5AndJavaScriptExplained full source code included. Andy - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

RE: [T5] 5.0.17 URLEncoderImpl.decode error

2008-12-11 Thread Blower, Andy
safe list, and I'm proposing that the others from the list above are all added as well. (except $ of course) The main reason for this is Tapestry's new encoding scheme makes some of my application's URL's incredibly ugly with its $00xx replacements everywhere. What do you

Re: To save the state of the session

2008-12-09 Thread Andy Pahne
http://tapestry.apache.org/tapestry4.1/usersguide/state.html kk4Nabble schrieb: Thanks for the reply, Problem is I am using Tapestry 4.1.1. So Any ways to do it in this version . Thank you Ulrich Stärk wrote: Use the @Persist annotation on your page properties (see http://tapestry.apach

Re: [T5.0.17] can't write parameter defined in base class [solved]

2008-12-08 Thread Andy Pahne
Forget about it. I was wrong, it works as expected... Andy Pahne schrieb: I have a base class which has a parameter defined. Trying to write the parameter results in an exeption (see below). I don't really understand why this is happening, because I expect a parameter to be wri

[T5.0.17] can't write parameter defined in base class

2008-12-08 Thread Andy Pahne
doing it wrong? Is it impossible to define parameters in base classes? Andy The base class: public class BaseSnippet { @Property @Parameter // also tried it without @Property, same result private String snippetType; } The component that extends BaseSnippet public class

RE: IoC registry survives between JUnit tests?

2008-12-05 Thread Blower, Andy
It's all in the subversion repository. http://tapestry.apache.org/tapestry5/source-repository.html > -Original Message- > From: Peter Stavrinides [mailto:[EMAIL PROTECTED] > Sent: 05 December 2008 16:09 > To: Tapestry users > Subject: Re: IoC registry survives between JUnit tests? > > Hi

RE: rendering unclosed tags - a petition to fix before 5.1

2008-12-04 Thread Blower, Andy
If you don't mind holding off a day, we'll be checking the fix for clustering ASO's tomorrow morning UK time. (today was just too full unfortunately) > -Original Message- > From: Howard Lewis Ship [mailto:[EMAIL PROTECTED] > Sent: 04 December 2008 17:12 > To: Tapestry users > Subject: Re:

Re: [T5] 5.0.16 Spanish special characters

2008-12-04 Thread Andy Pahne
That's whatI did as well, and it works here. Anyway: it also works, when the property files are ISO encoded (ASCII) and UTF-8 chars are properly escaped. Andy Jakub Vlasak schrieb: Hi, i've had similar problem with slovak character, and I've solved it ba adding the

Re: [T5] classes and templates don't reload anymore

2008-12-02 Thread Andy Pahne
Works here, too. I had the same problem a few weeks ago. It took me a while to find out that somehow the Eclpse "build automaticaly" option turned off. That was fun, sort of. Stephane Decleire schrieb: My app is built against Tap 5.0.17 I've tried using maven command "mvn jetty:run" or on

Re: [T5] Grid cell labels can't be overridden

2008-12-01 Thread Andy Pahne
https://issues.apache.org/jira/browse/TAP5-395 Howard Lewis Ship schrieb: BeanModel / BeanModelSource do not do this today, but there's no reason why they should not. Please add a JIRA "enhancement" issue. On Mon, Dec 1, 2008 at 1:52 PM, Andy Pahne <[EMAIL PROTECTED

[T5] Grid cell labels can't be overridden

2008-12-01 Thread Andy Pahne
ned in the properties file og my page are not used to label the cells. I searched JIRA but found no related issue. Does anybody have the same problem? Andy TaskList.properties: -- title-label=Titel TaskList.tml --

Re: t5.0.17 how to pass an email address from url

2008-11-28 Thread Andy Pahne
I have the same problem, except that the string I want to pass contains a space character. Andy Angelo Chen schrieb: Hi, public Object onActivate(String email); if i activate it with: http://localhost/mypage/[EMAIL PROTECTED] I got an error: Input string '[EMAIL PROTECTED]&#x

Re: [T5] - How to restore/re-attach to an ASO after user leave application?

2008-11-28 Thread Andy Pahne
don't understand the parameters thing. Please be a bit more specific. Andy Ovidiu Hurducas schrieb: Hi! I have a Tap 5 (5.0.15) application with the following scenario: User access a page and init ASO -> User than leave on a 3'rd party site (can save some params here) -> user

Re: t5.0.17 how to pass an email address from url

2008-11-28 Thread Andy Pahne
Space = $0020 '@' = $0040 Tobias Wehrum schrieb: Sorry, my bad: I forgot to update with the project I tested it. Andy Pahne schrieb: Tobias Wehrum schrieb: Hi, URL encoding works fine for me: [EMAIL PROTECTED]: abc%40abc.com two words: two%20words - Tobi

Re: t5.0.17 how to pass an email address from url

2008-11-28 Thread Andy Pahne
Tobias Wehrum schrieb: Hi, URL encoding works fine for me: [EMAIL PROTECTED]: abc%40abc.com two words: two%20words - Tobias http://localhost:8080/oos/administration/task/list/type/two%20words Response: But definetly not for me. I double checked that I use 5.0.17. * java.lang.Illegal

Re: t5.0.17 how to pass an email address from url

2008-11-28 Thread Andy Pahne
I have the same problem, except that my string contains a space character. Regular URL encoding does not seem to work. Andy Angelo Chen schrieb: Hi, public Object onActivate(String email); if i activate it with: http://localhost/mypage/[EMAIL PROTECTED] I got an error: Input string

[T5] using BigDecimal as values in TextField

2008-11-18 Thread Andy Pahne
What do I have to do in order to use BigDecimal values as the values of TextField components? I don't get it... Andy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Design Templete Changed When Transfor Into Tapestry WebApp

2008-11-16 Thread Andy Pahne
please send the contents of one of your templates and how it renders in the browser as plain text message. dwi ardi irawan wrote: Hi guys, i really need your help why my templete looks awful when i use firefoxbut it's looks fine in IE it looks fine when it still *.html. but it c

users@tapestry.apache.org

2008-11-13 Thread Andy Pahne
And what kind of class is it, where you use @Inject in? Is it a page? A component? A mixin? A base class? Whatever? Koka Kiknadze schrieb: Hi, I have the same problem with 5.0.15 when trying to inject spring bean. Did you find solution? I get the following message java.lang.ClassNotFoundExc

users@tapestry.apache.org

2008-11-13 Thread Andy Pahne
java.lang.ClassNotFoundException: caught an exception while obtaining a class file for... for what? Koka Kiknadze schrieb: Hi, I have the same problem with 5.0.15 when trying to inject spring bean. Did you find solution? I get the following message java.lang.ClassNotFoundException: caugh

Re: [T5] Passing values to component + page by URL

2008-11-12 Thread Andy Pahne
mple take a look at the generated submission url for a form component. That url adresses the form component directly. But I don't know why I should do so... Or is this requirement a bad pattern anway (components should only be accessed directly through its Page parent)? Andy Pahne-6

Re: [T5] Passing values to component + page by URL

2008-11-12 Thread Andy Pahne
ponent; public void onActivate(long someID){ this.someID = someID } } Haven't tested it, but it should work that way... Andy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [T5] Passing values to component + page by URL

2008-11-11 Thread Andy Pahne
sth like this: http://domain.com/Site/show/contact/217 where "217" is the activation context (some kind of primary key or other identifier). easy bookmarkable... Andy aldana wrote: Hi, would like to pass information by a link (URL) to a component and its relating Page, e.g. something like

TabSet inside a zone?

2008-11-11 Thread Andy Huhn
hey return. I don't believe the problem is within my page--it seems to be maintaining its state correctly. The problem seems to be that the client side can't modify the "display:none" style on the appropriate tab if the TabSet is inside a Zone. Does anyone have any suggestions? Thanks, Andy

Re: [T5] Auto-load / Auto-request start page on Tapestry startup

2008-11-07 Thread Andy Pahne
+1 Szemere Szemere schrieb: Is there an easy way to have Tapestry auto-load or auto-request the start page when the core Tapestry servlet loads up? The first page to load when we restart Tapestry takes over 10seconds (mostly because of Hibernate and number of linked pages), which we only get

Re: t5:make into a OR

2008-11-06 Thread Andy Pahne
I think you can't. You can write a method in your page (component) class public boolean isCondidtion(){ ... } and in your template: ... Another possibility is to use ognl binding. see t5components: http://87.193.218.134:8080/t5components/t5c-commons/howto_ognlbinding.html

Re: [T5] no more class and template reloading after JDK update

2008-11-03 Thread Andy Pahne
Took a few clean build, some Eclipse restarting, but now it works again... Andy Andy Pahne schrieb: Termplate and class reloading (using mvn jetty:run) does not work anymore since today. The only notable change that I can think of was a JDK update (from 1.6.3 to 1.6.10). Anybody else

[T5] no more class and template reloading after JDK update

2008-11-03 Thread Andy Pahne
Termplate and class reloading (using mvn jetty:run) does not work anymore since today. The only notable change that I can think of was a JDK update (from 1.6.3 to 1.6.10). Anybody else with this problem? Andy - To

Re: [T5] force a Zone update after page rendering?

2008-11-02 Thread Andy Pahne
t not very high priority. If I find the time and a solution, I am going to post it in the Wiki. Right now my knowledge of T5 is too limited to even point at the right direction. Andy thermus wrote: Were you able to solve this problem. I'm facing a similar issue. Can you or anyone

Re: [T5.0.16-SNAPSHOT] type coercion does not work like before

2008-10-30 Thread Andy Pahne
You are right. Thanks for the pointer. This specific string "img" should have made me suspicious, but it did not :( Andy Howard Lewis Ship wrote: I'd bet that there's something odd in your template, something like If z.gif doesn't exist, it will look like you

Re: [T5.0.16-SNAPSHOT] type coercion does not work like before

2008-10-30 Thread Andy Pahne
I need to add that this particular feature worked for weeks without any trouble. Andy Andy Pahne schrieb: In my page class I build a List like this: public List getNavigationParameters() { List result = new ArrayList(); result.add(hotel.getId()); result.add

[T5.0.16-SNAPSHOT] type coercion does not work like before

2008-10-30 Thread Andy Pahne
5-302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12642848#action_12642848 Thanks, Andy 2008-10-30 17:07:40,187 ERROR (DefaultRequestExceptionHandler.java:62) - Processing of request failed with uncaught exception: Exception in me

Re: T5: help required: Context and PageLink

2008-10-27 Thread Andy Pahne
ng.Long (via String --> Long) failed: For input string: "style.css" This occurs even when hard-coding the value thus: > So, what have I done wrong? p. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additio

Re: T5: help required: Context and PageLink

2008-10-27 Thread Andy Pahne
In your second example, "5" is interpreted as String. In your first example, I am not sure. What type is listItem.metadata.metadataId? Maybe it is not long? Andy tapestryphoto schrieb: I have a PageLink thus: > and code thus: public void onActivate(lo

Re: T5: Beaneditform and Date problem

2008-10-24 Thread Andy Pahne
You can also annotate the zero argument constructor with @Inject. Thiago H. de Paula Figueiredo wrote: One solution is to remove any constructor that takes arguments. Other is to write a method like @OnEvent(component = "celebrity", value = Form.PREPARE) { yourEditedObject = new Celebri

<    1   2   3   4   5   6   >