Re: T5: Spring init problem in Jetty

2009-02-16 Thread Inge Solvoll
Just to wrap this up, in case anyone needs this information: I "solved" the issue by making my own copy of the spring listener and context loader and added logging instead of exception when this happens. It turns out that Jetty calls the spring context loader twice, the second time crashing. See

Re: [T5.0.18] client exception processing response: syntaxError: missiong; before statement

2009-02-16 Thread dhning
What about downgrading prototype from 1.6.0.3 (tapestry5.0.18) to 1.6.0.1 and have a try. Last week I also face some strange error message in prototype.js and I replace with 1.6.0.1 and everything is ok. In my ajax case, I don't involve Block but only Zone with , so I don't know whether it is c

Re: [T5.0.18] client exception processing response: syntaxError: missiong; before statement

2009-02-16 Thread Tan cyb...@n
hi DH, Yes, All browser having a some problem. IE is come out Invalid Object. FF3 is come out "missiong ; before statement" I noticed a lot of ajax effect unable to work in zone and block even mixin. Thank you. Regards, Tan On Tue, Feb 17, 2009 at 1:57 PM, dhning wrote: > Mine: T5.0.18 & T5C

Re: [T5.0.18] client exception processing response: syntaxError: missiong; before statement

2009-02-16 Thread dhning
Mine: T5.0.18 & T5Common 0.5.18. When using Window, my problem happens only in firefox3.0 because of @IncludeStylesheet(value = {"${commons.scripts}/window/themes/default.css"}) and other stylesheet in AbstractWindow. My error msg is 'Client exception processing response: TypeError: existing is

Re: [T5.0.18] client exception processing response: syntaxError: missiong; before statement

2009-02-16 Thread Tan cyb...@n
hi, I just upgraded from 5.0.13 to 5.0.18 T5Components also facing the same problem. I have use zone and block when it returned/refreshed it will come out this error. is it crash with Block and window.java? Thank you. Regards, Tan On Tue, Feb 17, 2009 at 12:12 PM, dhning wrote: > well, what

Re: [T5.0.18] client exception processing response: syntaxError: missiong; before statement

2009-02-16 Thread dhning
well, what's your t5component version? I am using 0.5.18 Window, no issue on IE6&7, firefox2, but have issue on firefox 3.0 which is caused by stylesheet insertion in ajax response. Thanks! DH - Original Message - From: "Tan cyb...@n" To: "Tapestry users" Sent: Tuesday, February 17

Re: [T5.0.18] client exception processing response: syntaxError: missiong; before statement

2009-02-16 Thread Tan cyb...@n
The error might come out from Window.java in T5Component. Because when i remark the component. and stop using it. the error didn't come out anymore. May I know how to solve? I need to use this component. On Tue, Feb 17, 2009 at 9:29 AM, Tan cyb...@n wrote: > hi all, > > I'm new in tapestry. > A

Re: IntelliJ 8.1 + jetty-plugin, make it work

2009-02-16 Thread Angelo Chen
Hi Aldana, That tips works, but got a new problem, when adding a Jetty server(6.1.15.rc3) in IDEA, I got this error : Warning: Class 'javax.servlet.jsp.JspPage' not found in application server, any idea how to fix it? Thanks, Angelo aldana wrote: > > Just in case one of you also had the probl

Re: rendering hibernate objects

2009-02-16 Thread Thiago H. de Paula Figueiredo
Em Mon, 16 Feb 2009 22:25:14 -0300, Luther Baker escreveu: I want to pass something like this into a BeanEditForm and have the it invoke school.toString() or possibly, school.getName(). Is not that simple. Besides the label, you need to map from object to value (option HTML tag) and value

[T5.0.18] client exception processing response: syntaxError: missiong; before statement

2009-02-16 Thread Tan cyb...@n
hi all, I'm new in tapestry. After the page is loaded completed. I click on the "Add Button" it show me the error: client exception processing response: syntaxError: missing; before statement I didn't insert any Javascript. but how am i going to debug or check which line are having this error?

rendering hibernate objects

2009-02-16 Thread Luther Baker
Given two hibernate objects and a many-to-one relationship school { name } student { firstname @ManyToOne school } I want to pass something like this into a BeanEditForm and have the it invoke school.toString() or possibly, school.getName(). I know I can add a t:Parameter to t:BeanEdi

beandisplay vs beanformedit

2009-02-16 Thread Luther Baker
Why does the following create a LEFT HAND cell that says "Edit:" and puts this t:Parameter on the right hand side edit while this entry leaves the entire additional row blank - no label or anything is displayed automatically. Delete Are they not both based

RE: InPlaceEditor validation

2009-02-16 Thread MustLoveXF
I've read this topic http://n2.nabble.com/T5:-Component-Suggestion-Question-td2192648.html (yours, right).. I'll figure something out.. James Sherwood wrote: > > Hello, > > I believe the answer lies in the return value from the server. I could > not > get it to work but there is a way you can

Re: Render children inside specific parent-id

2009-02-16 Thread Thiago H. de Paula Figueiredo
Em Mon, 16 Feb 2009 18:49:02 -0300, Piero Sartini escreveu: My problem is that the portlet has to be able to decide at runtime where it will render (in which column). Is there an easy way to do s.th. like this? I didn't understand much of the problem you're tring to solve, but the @Inj

Render children inside specific parent-id

2009-02-16 Thread Piero Sartini
I am trying to make something like this: my components are looking like this: some portlet text some portlet text My problem is that the portlet has to be able to decide at runtime where it will render (in which column). Is the

RE: InPlaceEditor validation

2009-02-16 Thread James Sherwood
Hello, I believe the answer lies in the return value from the server. I could not get it to work but there is a way you can run javascript I believe from the return value. --James -Original Message- From: MustLoveXF [mailto:neven...@gmail.com] Sent: February-16-09 5:27 PM To: users@tap

Re: InPlaceEditor validation

2009-02-16 Thread MustLoveXF
I'm wondering the same thing :confused:.. If I run into something I get back to you :-D Cheers James Sherwood wrote: > > Hello, > > > > The t5components inplaceeditor is what I am referring to: > > http://87.193.218.134:8080/t5c-demo/inplaceeditorpage > > > > Does anyone know a way to

Re: IntelliJ 8.1 + jetty-plugin, make it work

2009-02-16 Thread Piero Sartini
Thanks! Now I am able to use 8.1 :-) Am Montag 16 Februar 2009 20:56:56 schrieb manuel aldana: > Just in case one of you also had the problem upgrading to IntelliJ 8.1 > and not having the smooth Jetty-integration working: > > http://www.jetbrains.net/devnet/message/5232219#5232219 -

Re: Using Tapestry 5 IOC in tapestry 4 pages.

2009-02-16 Thread Travis Romney
I think that could work. Thanks for the tip On Mon, Feb 16, 2009 at 3:36 AM, Jonathan O'Connor wrote: > Travis, > I don't know Tap 4, so, I don't know if the approach I will describe can > work. > > I was able to integrate Tapestry 5 with Struts 1. I followed the approach > described by Kent Tong

IntelliJ 8.1 + jetty-plugin, make it work

2009-02-16 Thread manuel aldana
Just in case one of you also had the problem upgrading to IntelliJ 8.1 and not having the smooth Jetty-integration working: http://www.jetbrains.net/devnet/message/5232219#5232219 -- manuel aldana ald...@gmx.de software-engineering blog: http://www.aldana-online.de ---

Re: Security / Authentication extension for Tapestry 5

2009-02-16 Thread Howard Lewis Ship
When it's ready, be sure to add a JIRA issue to create a link to it from Tapestry 5's home page. On Wed, Feb 11, 2009 at 12:47 PM, Stephan Schwab wrote: > > > Kalle Korhonen-2 wrote: >> >> Anything came out of this or any other jsecurity integration with T5? I >> see >> tapestry-sesame project ha

Re: Zone broken in 15 February 2009 5.1.0.0-SNAPSHOT changes

2009-02-16 Thread Dragan Djuric
Howard Lewis Ship wrote: > > Yes, a lot of code has changed there. Can you create a JIRA issue, > preferably with a sample app to demonstrate the problem? > I thought about opening an issue, but I decided to wait a few days to see if there will be some simple solution. I am not sure how easy

Re: T5 : naming of subcomponents ...

2009-02-16 Thread Howard Lewis Ship
Build the JavaScript around the actual ids that Tapestry generates: use @InjectComponent on the sub-components, and invoke getClientId(). Then build dynamic JavaScript that ties it all together on the client side from the ids. i.e. renderSupport.addInit("new BirthdayController('%s', '%s', '%s');"

Re: Zone broken in 15 February 2009 5.1.0.0-SNAPSHOT changes

2009-02-16 Thread Howard Lewis Ship
Yes, a lot of code has changed there. Can you create a JIRA issue, preferably with a sample app to demonstrate the problem? On Mon, Feb 16, 2009 at 7:17 AM, Dragan Djuric wrote: > > I have some pretty straightforward Ajax code in my project. I do not use any > custom JavaScript or anything extern

Zone broken in 15 February 2009 5.1.0.0-SNAPSHOT changes

2009-02-16 Thread Dragan Djuric
I have some pretty straightforward Ajax code in my project. I do not use any custom JavaScript or anything external to tapestry - just zones and blocks. I'm using Tapestry 5.1.0.0-SNAPSHOT. Everything worked fine until 15. February 2009, when Tapestry started complaining about the BlockImpl return

T5 : naming of subcomponents ...

2009-02-16 Thread Stephane Decleire
Hi all, I would like to have your opinion on the following case : I want to create a Tapestry component as an assembly of several components and javascript functions (in a .js file) and those functions need to have access to the components' values. This component could be, for example a "birthdat

Re: T5: Equanda feature request

2009-02-16 Thread Inge Solvoll
I just went ahead and created the mixin based on the equanda TextField component, as far as I can see, it works nicely. The mixin lets any event on any component update a zone. The only requirement is that the HTML element has a "value" attribute. This limitation could easily be erased as well, I g

T5: Equanda feature request

2009-02-16 Thread Inge Solvoll
Don't know if this is a bad thing to ask about here, you just tell me if I should take this business elsewhere... :) In equanda-tapestry5 I discovered a very nice and useful component, TextField, which updates a zone through the onchange event of a regular textfield. This is excactly what I've bee

Re: Problem with annotationProvider in ObjectProvider

2009-02-16 Thread foror
Forget add to annotation RetentionPolicy.RUNTIME. Now is worked. If annotation added in tapestry service it not worked: - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h.

Re: Using Tapestry 5 IOC in tapestry 4 pages.

2009-02-16 Thread Jonathan O'Connor
Travis, I don't know Tap 4, so, I don't know if the approach I will describe can work. I was able to integrate Tapestry 5 with Struts 1. I followed the approach described by Kent Tong in his E-Book on Tapestry 4. 1. The main problem is setting up the session. As struts is a thin layer on top

Problem with annotationProvider in ObjectProvider

2009-02-16 Thread foror
If annotation added in tapestry page it worked: public class SomePage { @Inject @SomeAnnot private TypeNotRegisteredInModuleAsService field; } annotationProvider.getAnnotation(SomeAnnot.class) != null If annotation added in tapestry service it not worked: public class SomeService { //

Re: application module problem in 5.1.0

2009-02-16 Thread Joachim Van der Auwera
Howard Lewis Ship wrote: LinkFactoryListener has been made public, as LinkCreationListener. Good, the next version will use that. PersistentFieldManager ... I'd want to see a use case for why it needs to be public. The more hidden behind the "internal" curtain, the easier it is to morph th

AW: [T5.0.18] Bug? : Null property problem with the custom component inside a grid

2009-02-16 Thread Iren Tuna
OK, thanks for the alternative solution hints. They can be always implemented. However, the question is, whether it should work or not (and why), the way I have done it. It seemed to me that it should have worked so, but did not. Any other ideas? -- iren -Ursprüngliche Nachricht- Von

Re: [T5] Struggling With Concepts

2009-02-16 Thread Peter Stavrinides
Hi, It just so happens I had a similar use case, and it is actually blindingly easy to emulate a virtual site (a portlet style site if you prefer). To begin avoid using context parameters, that could get very messy as already mentioned, rather prefer a Restful style URL to map your path. Of cou

[ANN] equanda 0.9.3 released, equanda-t5navigation

2009-02-16 Thread Joachim Van der Auwera
There is only one significant change in this version, the release of the equanda-t5navigation module. When this module is included in your project, there is easy navigation support (which could also be considered mini-conversations). When this navigation is applied, you can easily create bread

Re: T5: Spring init problem in Jetty

2009-02-16 Thread Inge Solvoll
I also tried removing all links to tapestry 5, with the spring filter being the only thing left in web.xml. Still same error in Jetty, still working in Tomcat. I'll stop posting about this here now, because this obviously has nothing to do with Tapestry. It is probably due to something weird happe

Re: T5: Spring init problem in Jetty

2009-02-16 Thread Inge Solvoll
Removed everything except the very essental stuff. Still getting the error. Stripped down web.xml listed below: http://java.sun.com/dtd/web-app_2_3.dtd";> tapestry.app-package no.dossier.moby.frontend.tapestry5 contextConfigLocation /WEB-INF/backend-api.xml