Recommended Validation Method

2011-11-16 Thread Josh Kamau
Hi There; Which is the recommended validation method JSR or @Validate ? I am using 5.3 . Josh

Tapestry 5.1 + Spring 2.06 + Oracle 11g has problem on handling non english encoding

2011-11-16 Thread wesleywj2
hi, currently my development are using T5.1 integrate with Spring 2.06 and using spring's StoredProcedure to perform db operations in Oracle. the container is Tomcat 6.0.29. I set the meta tag to UTF-8 for all .tml pages, the chinese character rendered correctly. On the database test, created

Re: Jetty Restarts every time i save

2011-11-16 Thread Dragan Sahpaski
Hi, If you are using 5.3. than live class realoading is turned off in production mode [1]. Please check if SymbolConstants.PRODUCTION_MODE is false in your contributeApplicationDefaults method in your IOC Module (AppModule by default). something like public static void contributeApplicationDefau

Re: Jetty Restarts every time i save

2011-11-16 Thread Josh Kamau
Trsvax, I when i turned off scanning or set interval to a very high number, tapestry live classloading didnt work. Josh. On Wed, Nov 16, 2011 at 11:10 PM, trsvax wrote: > The latest version of runJettyrun has an option to scan the project for > changes and restart. I think the default is 5 sec

Re: Jetty Restarts every time i save

2011-11-16 Thread trsvax
The latest version of runJettyrun has an option to scan the project for changes and restart. I think the default is 5 seconds. For Tapestry you want to turn it off. I think it's on the Jetty table after you pick run configurations. -- View this message in context: http://tapestry.1045711.n5.nabb

Re: Jetty Restarts every time i save

2011-11-16 Thread Josh Kamau
Thanks guys. I ended up using mvn jetty:run and making neccesary changes to eclipse. Everything is working fine. Josh. On Wed, Nov 16, 2011 at 9:32 PM, Juan Alba wrote: > If you are using maven you can try something like this in the application > pom: > > > > > org.mortbay.jetty > jetty-mave

Re: Tapestry / Obfuscation / Service Alias recursion

2011-11-16 Thread Nicolas Barrera
Thanks Chris for your feedback! I rembembered about tapestry.app-package... but not about the MANIFEST! so your answer was of great help, anyway I 've decided to merge the tapestry custom library/module with the application module... and then started working all the same I was also missing the p

Re: Jetty Restarts every time i save

2011-11-16 Thread Juan Alba
If you are using maven you can try something like this in the application pom: org.mortbay.jetty jetty-maven-plugin manual On Wed, Nov 16, 2011 at 3:29 PM, Josh Kamau wrote: > May be its because am using eclipse 3.7(Indigo). I can al

Re: Jetty Restarts every time i save

2011-11-16 Thread Thiago H. de Paula Figueiredo
On Wed, 16 Nov 2011 16:08:40 -0200, derkoe wrote: I think live reloading doesn't work when starting with "mvn jetty:run" It does, but you need to change the project configuration in Eclipse to not exclude /src/main/resources/** from being copied to the classpath when a file is changed.

Re: Jetty Restarts every time i save

2011-11-16 Thread Josh Kamau
May be its because am using eclipse 3.7(Indigo). I can also remember making it work months ago. On Wed, Nov 16, 2011 at 9:26 PM, Michael Gentry wrote: > On Wed, Nov 16, 2011 at 1:08 PM, derkoe > wrote: > > I think live reloading doesn't work when starting with "mvn jetty:run" > > That's almost a

Re: Jetty Restarts every time i save

2011-11-16 Thread Michael Gentry
On Wed, Nov 16, 2011 at 1:08 PM, derkoe wrote: > I think live reloading doesn't work when starting with "mvn jetty:run" That's almost always how I start Jetty (with T5) and it works fine, including live class-reloading. mrg - T

Re: Jetty Restarts every time i save

2011-11-16 Thread Josh Kamau
I start it from 'Run Configurations' screen. On Wed, Nov 16, 2011 at 9:08 PM, derkoe < tapestry.christian.koeb...@gmail.com> wrote: > > Josh Kamau wrote: > > > > Hi there, > > > > I am learning tapestry using eclipse/jetty/maven. I have followed the > > instructions on the tapestry page. However,

Re: Jetty Restarts every time i save

2011-11-16 Thread derkoe
Josh Kamau wrote: > > Hi there, > > I am learning tapestry using eclipse/jetty/maven. I have followed the > instructions on the tapestry page. However, every time i save on eclipse, > jetty automatically restarts. Is this the ways it is supposed to be? when > i > disable 'scanning' in jetty run

Re: Tapestry / Obfuscation / Service Alias recursion

2011-11-16 Thread derkoe
I guess you did forget to change the "tapestry.app-package" context parameter or/and change the module classes in MANIFEST.MF. Chris Nicolas Barrera wrote: > > Hi all, > > I wanted to share my strange use case and the errors I 'm facing in my way > to accomplish it, either way if none can help

Re: Conditional CSS

2011-11-16 Thread Josh Kamau
Thanks Sven, Exactly what i was looking for. Regards. Josh. On Wed, Nov 16, 2011 at 8:47 PM, Sven Homburg wrote: > as sample > >void afterRender() >{ >javaScriptSupport.importStylesheet(new > StylesheetLink(ie7Css, new > StylesheetOptions("screen").withCondition(

Re: Conditional CSS

2011-11-16 Thread Sven Homburg
as sample void afterRender() { javaScriptSupport.importStylesheet(new StylesheetLink(ie7Css, new StylesheetOptions("screen").withCondition("IE"))); } with regards Sven Homburg Founder of the Chenille Kit Project http://chenillekit.codehaus.org 2011/11

Conditional CSS

2011-11-16 Thread Josh Kamau
Hi T5 users, How do i include conditional CSS in the layout file ? Something like this. Regards. Josh

Tapestry / Obfuscation / Service Alias recursion

2011-11-16 Thread Nicolas Barrera
Hi all, I wanted to share my strange use case and the errors I 'm facing in my way to accomplish it, either way if none can help me this serves as a kind of therapy don't you think? The problem appears only after obfuscating the webapp do you think this can araise problems with tapestry IoC? (I '

Jetty Restarts every time i save

2011-11-16 Thread Josh Kamau
Hi there, I am learning tapestry using eclipse/jetty/maven. I have followed the instructions on the tapestry page. However, every time i save on eclipse, jetty automatically restarts. Is this the ways it is supposed to be? when i disable 'scanning' in jetty run configurations, my changes are not r

Re: How to create a war from Eclipse

2011-11-16 Thread Vangel V. Ajanovski
On 12.11.2011 15:13, robnangle wrote: Just wondering if any of you know the best way to host your project? I have java hosting that runs a tomcat server. How do I get the project to display and work correctly on it? I do "mvn package" which produces a war file and then I put it in webapps. If

Re: Which IDE for Tapestry?? [short and medium term]

2011-11-16 Thread Stephan Windmüller
On 15.11.2011 16:20, Julien Martin wrote: > I have tried to use IntelliJ for my beginnings with tapestry and I am > somewhat frustrated with my experience. I have to redeploy everything each > time I make a change. In my setup I only have to redeploy on changes on the class files. Chaning TML fil

Re: JQueryDateField is not popuping up

2011-11-16 Thread Dusko Jovanovski
The annotations @IncludeJavaScriptLibrary and @IncludeStylesheet are deprecated. Use @Import instead. That's not the cause of your problems though, most likely you haven't released the $ symbol, which both Protot

Re: JQueryDateField is not popuping up

2011-11-16 Thread ramakanthreddy.t
I have added JQuery.js to the list and now I am getting Uncaught TypeError: Object [object Object] has no method 'attachEvent' Uncaught TypeError: Object [object Object] has no method 'dispatchEvent' -- View this message in context: http://tapestry.1045711.n5.nabble.com/JQueryDateField-is-no

JQueryDateField is not popuping up

2011-11-16 Thread ramakanthreddy.t
I have used JQueryDateField in my code and added the required liberies to the it is like this @IncludeJavaScriptLibrary({"context:js/jquery.ui.core.js","context:js/jquery.ui.datepicker.js"}) @IncludeStylesheet({"context:css/jquery-ui.css"}) public class CreatePatient extends PatientWorkflowSec