[T5.1] Running on Glassfish?

2009-02-20 Thread xfile80303
Hello all, I've been developing locally on Tomcat, but will have to ultimately deploy onto https://glassfish.dev.java.net/ Glassfish . My app works as expected while on Tomcat, but once deployed to Glassfish I get an exception: java.lang.RuntimeException: Exception constructing service 'Templa

5.1.0.0 upgrade issues.

2009-02-20 Thread alex_yt_cheung
Yes baby, 5.1.0.0, fresh off the press and already running.. mostly:-) Just want to share my experience and ask how best to resolve some issues. * Some refactoring for new interface adaptations: LinkFactory, use of ValueEncoder instead of PrimaryKeyEncoder...etc. nothing too serious to get the

t5: properties file under WEB-INF as app.properties

2009-02-20 Thread Angelo Chen
Hi, I have a .properties file now under resources, using following code works: InputStream is = this.getClass().getResourceAsStream(fileName); problem is, .properties file always included in the final .jar file, making live update impossible. I now put it under WEB-INF, same as app.properties, but

Re: T5 Bean editor model override

2009-02-20 Thread zack1403
My unsureness with overriding a property model betrayed me. I was trying to add "project" to the beaneditor when it was set up to override automatically. I removed t:add="project" from one of my bean editors and it worked fine. Zack zack1403 wrote: > > When following the instructions at: > h

T5 : weird "required" behavior ...

2009-02-20 Thread Stephane Decleire
I've been trying to use the "required" validator on a select which options may be updated using Ajax. When the options are not updated, everything is ok and the "required" validator do its job. But when the options are updated using an Ajax call, the value is correctly updated but the "required" ex

T5 Bean editor model override

2009-02-20 Thread zack1403
When following the instructions at: http://tapestry.apache.org/tapestry5/guide/beaneditform.html to contribute a property editor, I am getting this error: Bean editor model for com.inavero.pulse.entities.Report already contains a property model for property 'project'. How can I tell tapestry to

RE: [T5-OSGi] Javassist

2009-02-20 Thread Robert, Brice
Thanks for Javassist explanation. I do use the Felix maven bundle plugin generated by the command: mvn archetype:generate 32: internal -> spring-osgi-bundle-archetype (Spring-OSGi archetype) It would be great if you can load your T5 bundle to the spring Repo http://www.springsource.com/repository

Re: [T5-OSGi] Javassist

2009-02-20 Thread Igor Drobiazko
Well, I never tried to run a Tapestry 4.1.5 app in an OSGi environment. We use T5 and OSGi. T5 needs Javassist 3.0.9ga, so please use this version. Furthermore I encourage you to generate you Manifest with Felix BND Maven Plugin. http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.ht

RE: [T5-OSGi] Javassist

2009-02-20 Thread Robert, Brice
Igor, Thanks for your answer. I looked at the Tapestry 4.1.5 bundle created and posted by Jessie kuhnert on the Spring DM Server repository http://www.springsource.com/repository and I must say that the Manifest I created is just a big bag of everything. I have some Spring Cleaning to do. But w

Re: [T5-OSGi] Javassist

2009-02-20 Thread Igor Drobiazko
First of all you need the version 3.9.0.ga. It looks like your Tapestry bundle cannot resolve import of javassist packages. Without any look at your Manifest it is almost impossible to give you any advice. On Fri, Feb 20, 2009 at 6:33 PM, Robert, Brice < brice.rob...@alliancebernstein.com> wrote:

Re: [T5.0.18] AjaxFormLoop for editing list of beans without a self-contained id ?

2009-02-20 Thread Francois Armand
Francois Armand wrote: Hello T5 user, I would like to use the AjaxFormLoop component to edit list of simple values, or more precisely a least of object whitout an "id" property. I thought I could use their position in the list as identifier, but I'm stuck with the definition of the PrimaryKe

[T5-OSGi] Javassist

2009-02-20 Thread Robert, Brice
Hi, I was able to run T5 under SpringSource DM Server but I am running into problems. I just wanted to know if someone has gone further than where I am. The stack trace is below [2009-02-20 12:13:22.578] server-tomcat-thread-25 apestry5.services.TapestryModule.RequestExceptionHandler.unknown E P

Re: How to get current page class inside Layout?

2009-02-20 Thread superoverdrive
Ok, thanks! Original-Nachricht > Datum: Fri, 20 Feb 2009 14:18:22 -0300 > Von: "Thiago H. de Paula Figueiredo" > An: "Tapestry users" > Betreff: Re: How to get current page class inside Layout? > Em Fri, 20 Feb 2009 13:59:43 -0300, escreveu: > > > How can you find out what

Re: How to get current page class inside Layout?

2009-02-20 Thread Thiago H. de Paula Figueiredo
Em Fri, 20 Feb 2009 13:59:43 -0300, escreveu: How can you find out what page is currently being used inside of the Layout class ? @Inject private ComponentResources resources; Object page = resources.getPage(); -- Thiago H. de Paula Figueiredo Independent Java consultant, developer, a

How to get current page class inside Layout?

2009-02-20 Thread superoverdrive
How can you find out what page is currently being used inside of the Layout class ? I need to include additional files in the header on specific pages...but I only want to use a single layout class. http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";> // some additional css files here for t

Re: t5: index pages

2009-02-20 Thread Howard Lewis Ship
If the other files actually exist, they take precedence over the Tapestry page. On Fri, Feb 20, 2009 at 1:07 AM, Angelo Chen wrote: > > Hi, > > http://localhost:8080/index > http://localhost:8080/index.html > http://localhost:8080/index.php > > all goes to Index.java page, is there a way to limit

Re: [OT] By boss decided

2009-02-20 Thread Stephane Decleire
With no offense, doesn't that show a lack of "marketing" actions on the Tapestry website ? A marketing part in the website, aimed at the managers (no technical details, just facts : speed / support / customers / ...) , would probably be a great tool for Tapestry ... Stephane Borut Bolčina a écri

Re: T5: DWR Integration

2009-02-20 Thread Stephane Decleire
I've come up with this idea : String context = request.getContextPath(); renderSupport.addScriptLink(context + "/dwr/engine.js"); and the DWR servlet mapping could be passed as a parameter to my component to be fully customized ... What do you think about it ? Stephane Andy Pahne a écrit : >

[T5.0.18] AjaxFormLoop for editing list of beans without a self-contained id ?

2009-02-20 Thread Francois Armand
Hello T5 user, I would like to use the AjaxFormLoop component to edit list of simple values, or more precisely a least of object whitout an "id" property. I thought I could use their position in the list as identifier, but I'm stuck with the definition of the PrimaryKeyEncoder : how can I cod

T5: Exposing logged in user info as a Spring/IoC service

2009-02-20 Thread Inge Solvoll
Hi! We are looking for a good pattern in order to avoid sending info about the logged in user as parameters from the client layer to the business layer. Our application is running on jetty or tomcat as frontend, and jboss as backend, using spring and ejb. This is a large application with both str

t5: index pages

2009-02-20 Thread Angelo Chen
Hi, http://localhost:8080/index http://localhost:8080/index.html http://localhost:8080/index.php all goes to Index.java page, is there a way to limit only the first one? thanks. Angelo -- View this message in context: http://www.nabble.com/t5%3A-index-pages-tp22117216p22117216.html Sent from

Re: [OT] By boss decided

2009-02-20 Thread Otho
Now it would be interesting to know, which scope and size your project has. 2009/2/19 Borut Bolčina > Today the official winner was announced. The corporate mind decided we will > use PHP Zend. The deciding factor was > http://www.zend.com/en/products/platform/customers > > Nonetheless, I hope