Re: Dynamic Template vs t:container

2013-04-11 Thread Barry Books
It is an exact copy and here is the page. If I change container to span I get a span tag. http://tapestry.apache.org/schema/tapestry_5_3.xsd"; xmlns:p="tapestry:parameter"> test content test content On Thu, Apr 11, 2013 at 10:55 AM, Howard Lewis Ship wrote: > Seems odd; is

Re: how to run tapestry5 app from Intellij 12

2013-04-11 Thread Yunhua Sang
Or you can create a class as following which you can found in the Tapestry source code, then create a run/debug configuration on it. It's very handy when you're working on multiple Maven modules in a project. import org.apache.tapestry5.test.Jetty7Runner; public class RunJetty { public static

Re: how to run tapestry5 app from Intellij 12

2013-04-11 Thread Jon Williams
I'm working in Idea 11, but I doubt this has changed in 12... Using this method, you will NOT need to execute maven from the command line. It's all in Idea. Does your application have a pom.xml? If so you can 1. Create a new project, then create a new module by importing your maven config (pom.xml

Re: AjaxFormLoop problem

2013-04-11 Thread Lenny Primak
Basically, you are using Ajax to trigger an action. AjaxFormLoop expects certain things (context) to be in the Tapestry environment (see @Environmental) and it isn't. This is why you get the exception. I haven't used AjaxFormLoop myself, and don't know how to help you further, but perhaps somebo

Re: Dynamic Template vs t:container

2013-04-11 Thread Howard Lewis Ship
Seems odd; is that an exact copy of your template? Could the tag be coming from the containing page or component instead? On Thu, Apr 11, 2013 at 5:47 AM, Barry Books wrote: > I'm trying to create a dynamic template with something like this > > http://tapestry.apache.org/schema/tapestry_5_3.x

Re: Dynamic Template vs t:container

2013-04-11 Thread Barry Books
Yes I'm using dynamic and I did try without it and that results in an invalid XML document. I'll create a jira. On Apr 11, 2013, at 8:40 AM, "Thiago H de Paula Figueiredo" wrote: > On Thu, 11 Apr 2013 09:47:20 -0300, Barry Books wrote: > >> I'm trying to create a dynamic template with somet

Re: Dynamic Template vs t:container

2013-04-11 Thread Thiago H de Paula Figueiredo
On Thu, 11 Apr 2013 09:47:20 -0300, Barry Books wrote: I'm trying to create a dynamic template with something like this As in using the Dynamic component? xmlns:t="http://tapestry.apache.org/schema/tapestry_5_3.xsd";> but I end up with a container tag wrapping my content. Is ther

Dynamic Template vs t:container

2013-04-11 Thread Barry Books
I'm trying to create a dynamic template with something like this http://tapestry.apache.org/schema/tapestry_5_3.xsd";> but I end up with a container tag wrapping my content. Is there a way to wrap a dynamic template and have the outer tag ignored?

Re: Tapestry 5 and Java EE6/CDI

2013-04-11 Thread Geoff Callender
I'm pleased to hear you've found it helpful. Cheers, Geoff On 11/04/2013, at 7:11 PM, hantsy wrote: > Thanks provides the tapestry jumpstart showcase...I was benefited from > these source codes in the early tapestry experience.. > > Hantsy > On 4/9/2013 19:33, Thiago H de Paula Figueiredo wrot

Re: how to run tapestry5 app from Intellij 12

2013-04-11 Thread Taha Hafeez Siddiqi
I use mvn jetty:run or ./gradlew jettyRun for running a jetty instance and then do a Cmd + F9 in Intellij Idea to refresh changes. It works well for me. (Thanks Josh! for suggesting this) On 11-Apr-2013, at 12:16 PM, Angelo Chen wrote: > Hi, > > how to run Tapestry5 app from Intellij IDEA 12

Re: BIRT integration

2013-04-11 Thread Thiago H de Paula Figueiredo
On Thu, 11 Apr 2013 06:18:41 -0300, Dmitry Gusev wrote: Hi, There's nothing tapestry-specific in integrating BIRT. http://www.eclipse.org/birt/deploy/ The same applies for almost everything which isn't web-specific. For example, JFreeChart: you use it in the same way you would without

Re: Custom Validation in a FormBean

2013-04-11 Thread Thiago H de Paula Figueiredo
On Thu, 11 Apr 2013 04:54:18 -0300, mateen dar wrote: Hi, Hi! My Tapestry page contains a form bean. What do you mean by form bean? 'Bean' is not a word we commonly use in Tapestry stuff. the FormBean contain a select box. now the field validation of a textbox depends on the value in

Re: how to run tapestry5 app from Intellij 12

2013-04-11 Thread Thiago H de Paula Figueiredo
On Thu, 11 Apr 2013 03:46:33 -0300, Angelo Chen wrote: Hi, Hi! how to run Tapestry5 app from Intellij IDEA 12? thanks, In the exact same way you'd run any other Java Servlet API-based webapp, but now that's something off-topic. -- Thiago H. de Paula Figueiredo -

Re: how to run tapestry5 app from Intellij 12

2013-04-11 Thread Stephan Windmüller
On 11.04.2013 08:46, Angelo Chen wrote: > how to run Tapestry5 app from Intellij IDEA 12? thanks, You have to setup a web container, e.g. Apache Tomcat or Jetty. Then select the artifacts you want to deploy and start the container with IDEA. http://www.jetbrains.com/idea/webhelp/run-debug-config

Re: BIRT integration

2013-04-11 Thread Dmitry Gusev
I have a blog post about deploying BIRT to tomcat, maybe this will also help: http://dmitrygusev.blogspot.ru/2011/09/running-birt-reports-in-tomcat.html On Thu, Apr 11, 2013 at 2:05 PM, Peter Courcoux wrote: > Hi, > > Birt is a substantial codebase and report generation is often very > resource

Re: BIRT integration

2013-04-11 Thread Peter Courcoux
Hi, Birt is a substantial codebase and report generation is often very resource hungry. I did have Birt embedded in a tapestry application but many reports took longer to generate than I wanted my users to wait, so have pushed it out into a separate cluster, using web services, (CXF) to interface

Re: BIRT integration

2013-04-11 Thread Dmitry Gusev
Hi, There's nothing tapestry-specific in integrating BIRT. http://www.eclipse.org/birt/deploy/ On Thu, Apr 11, 2013 at 10:51 AM, Ken in Nashua wrote: > Folks, > > Is there a doc or tech help on how to integrate BIRT into my tapestry app? > > Thanks in advance. > > I havent found anything. > >

Re: Tapestry 5 and Java EE6/CDI

2013-04-11 Thread hantsy
Thanks provides the tapestry jumpstart showcase...I was benefited from these source codes in the early tapestry experience.. Hantsy On 4/9/2013 19:33, Thiago H de Paula Figueiredo wrote: > On Tue, 09 Apr 2013 03:26:08 -0300, Geoff Callender > wrote: > >> You just drop the Conversations and Conver

Custom Validation in a FormBean

2013-04-11 Thread mateen dar
Hi, My Tapestry page contains a form bean. the FormBean contain a select box. now the field validation of a textbox depends on the value in the form bean. For a certain field, the input from the user is not required, but for another value in the select box the field is required. How can i add my c