Re: T5: Generic page classes with beaneditform
wish Jesse to fix the bug in T5. Jun Tsai 2007/6/26, Jesse Kuhnert [EMAIL PROTECTED]: I don't know if this helps or not, but I got generics working in a very limited way with 4.1.x in that I do all the type lookup work manually...(this probably won't work for this use case but thought I'd throw it out just in case it does, even this breaks down in many places) http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/enhance/GenericsMethodSignatureImpl.java?view=markup http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/enhance/GenericsClassInspectorImpl.java?view=markup On 6/26/07, Francois Armand [EMAIL PROTECTED] wrote: Francois Armand wrote: Actually, it's not really an acceptable solution, but the sole workaround I know (if somebody as another idea, I would be glad to use it). Well, this sentence is not true. You may ask users to implement a factory interface for Class they intend to use as parameter type for the bean component source object. The interface should be like that : 8-- interface FactoryT { T create(); } 8-- And then you just call the create() implementation. The problem is that that solution is very error prone : the interface base implementation has to be overridden by each subclass or you will end with the same type problem. So, it seems to be a wore solution than the other one... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Jesse Kuhnert Tapestry/Dojo team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com -- Welcome to China Java Users Group(CNJUG). http://cnjug.dev.java.net
4.1.1 (or 4.1.2) Dojo Dialog escaping pageBeginRender
Hi all, Currently I've got a couple of dialogs within a page. Each time a dialog is shown or hidden (via @EventLister annotation) the page's pageBeginRender method is called and this is more work than is necessary just do display a simple dialog. Is there a way to detect that the call is being made by the dialog request and in that case, not execute exhaustive code? Thanks, Paul. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tapestry make me feel happy !
Eko S.W. a écrit : I just want to ask one question, but why not T5? I just try Tap too, and I do straight coding in T5 (to my opinion, because it is the latest, and it should be the only choice) Is the current T5 can not do the same ? Of course, T5 is better, but not finished ... I've try T5.0.5 and it was great. But some of my needs were not implemented, some bugs persists and documentation is on the road. Shure if I was more experimented with Java, I choice T5. May be in few months. Cheers cyrille Thank you in advance! 2007/7/4, #Cyrille37# [EMAIL PROTECTED]: Hi, I spent a lot of time for discovering the Java World. After used Php, C++ and C# for years, this new learning adventure need a lot of energy. But today Tapestry make my feel really Happy ! Yesterday I started a fresh project with Tapestry 4.1.2, Acegi, Hibernate3, Spring2, Tomcat6, Eclipse3.3, and tonight I've just finished a Hivemind service to server Json-RPC calls (http://oss.metaparadigm.com/jsonrpc/) to give access to the application from some Java Applet and other stuff. Great, it's working ! Thank you very much to the Tapestry Team and other people from this mailing list. Thanks you all ! Best regards, Cyrille. PS: in 1 month I will have to hard test all of that in a cluster environment, I think the adventure will restart ;-) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: T5 tutorial
Read again Olasoji Ajayi's mail : I am new to T5, can anyone point me to some tutorial on T5 that I can download, I know there is documentation online but I don't have regular internet access for the moment. He need some Off-Line doc. Perhaps he can make a book with htmldoc tool. cyrille - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Select Component can't work in TP-5.0.5
Hi All, I use select component in html template like this select t:type=select model=graphicModel value=shop.currTemplate.backgroundImage size=1 disabled=false/ The generated result is like this select id=select name=select size=1 option disabled=disabled value=bug.jpgbug option disabled=disabled value=pet.pngpet /select img alt=[Error] class=t-error-icon t-invisible id=select:icon src=/bogo/assets/tapestry/field-error-marker.png I used the latest TP5.0.5(not snapshot). It's really very strange. Can anyone give me a help? Thank you in advance Allen Guo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: 4.1.1 (or 4.1.2) Dojo Dialog escaping pageBeginRender
Hi You can show or hide dialog not from the Tapestry (read server-side) but directly with Javascript. It's pretty simple, you just need to call method show or hide on the DoJo dialog: script type=text/javascript function closeDialog() { dojo.widget.byId('DialogContent').hide(); } /script Renat On 04/07/07, Paul Stanton [EMAIL PROTECTED] wrote: Hi all, Currently I've got a couple of dialogs within a page. Each time a dialog is shown or hidden (via @EventLister annotation) the page's pageBeginRender method is called and this is more work than is necessary just do display a simple dialog. Is there a way to detect that the call is being made by the dialog request and in that case, not execute exhaustive code? Thanks, Paul. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Best regards, Renat Zubairov - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problem in mvn package (can not include all the required jars)
Hi Could you please post your pom.xml here it would be much simpler to see what's going on. Renat On 04/07/07, Eko S.W. [EMAIL PROTECTED] wrote: Dear community, I use jetty as the mean to achieve hot development in Maven. And it works very fine. But, when I try to package it into WAR and have it deployed to Tomcat, it doesn't works. And when I try to understand what happen, I realize that in the WAR there are required JAR missing. Such as tapestry-ioc.jar, and other. And then, I try to declare the required JARS (who already included automatically in using mvn jetty:run), e.g. dependency artifactIdtapestry-ioc/artifactId ... /dependency Of course this is not the right way (and not easy anyway, because I have to predict, what dependency needed) What am I doing wrong? Thanks in advance! * FYI : I am using Maven 2.0.7 -- Best wishes, Eko SW http://swdev.blogs.friendster.com/my_blog/ -- Best regards, Renat Zubairov - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Select Component can't work in TP-5.0.5
What happens if you omit the disabled attribute? Cheers, Nick. Allen Guo wrote: Hi All, I use select component in html template like this select t:type=select model=graphicModel value=shop.currTemplate.backgroundImage size=1 disabled=false/ The generated result is like this select id=select name=select size=1 option disabled=disabled value=bug.jpgbug option disabled=disabled value=pet.pngpet /select img alt=[Error] class=t-error-icon t-invisible id=select:icon src=/bogo/assets/tapestry/field-error-marker.png I used the latest TP5.0.5(not snapshot). It's really very strange. Can anyone give me a help? Thank you in advance Allen Guo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Select Component can't work in TP-5.0.5
The same error 2007/7/4, Nick Westgate [EMAIL PROTECTED]: What happens if you omit the disabled attribute? Cheers, Nick. Allen Guo wrote: Hi All, I use select component in html template like this select t:type=select model=graphicModel value= shop.currTemplate.backgroundImage size=1 disabled=false/ The generated result is like this select id=select name=select size=1 option disabled=disabled value=bug.jpgbug option disabled=disabled value=pet.pngpet /select img alt=[Error] class=t-error-icon t-invisible id=select:icon src=/bogo/assets/tapestry/field-error-marker.png I used the latest TP5.0.5(not snapshot). It's really very strange. Can anyone give me a help? Thank you in advance Allen Guo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
4.1.1 Dialog disappears without request
Hi all. I can't test this under 4.1.2 because of my other issues (post - 4.1.1 upgrade to 4.1.2 async listener no longer works). I'm having another issue with my dialogs. This one is totally perplexing. What happens is this: 1. I click my add button, the dialog appears. 2. I click my cancel button, the dialog disappears. 3. I click my add button, the dialog appears for a second or two, then disappears of it's own accord. My debugging output: showDialog cancelDialog showDialog cancelDialog .. so the 2nd 'cancelDialog' shouldn't be called and is not triggered by user input, maybe dojo is calling it? why? My Java: @EventListener(targets = {myShowButton}, events = onclick, async = true) public void showDialog() { System.out.println(showDialog); ..do work .. setDialogHidden(false); getRequestCycle().getResponseBuilder().updateComponent(addDialog); } @EventListener(targets = myCancelButton, events = onclick, async = true) public void cancelDialog() { System.out.println(cancelDialog); ..do work .. setDialogHidden(true); getRequestCycle().getResponseBuilder().updateComponent(addDialog); } My Html: form jwcid=[EMAIL PROTECTED] listener=ognl:page.listeners.formSubmit input type=button jwcid=[EMAIL PROTECTED] label=Show Dialog/ /form div jwcid=[EMAIL PROTECTED] hidden=ognl:dialogHidden form jwcid=[EMAIL PROTECTED] success=listener:mySaveListener input type=button jwcid=[EMAIL PROTECTED] label=Cancel/ /form /div - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Select Component can't work in TP-5.0.5
Then please show the source usage of your model. Cheers, Nick. 蝈蝈龙 wrote: The same error 2007/7/4, Nick Westgate [EMAIL PROTECTED]: What happens if you omit the disabled attribute? Cheers, Nick. Allen Guo wrote: Hi All, I use select component in html template like this select t:type=select model=graphicModel value= shop.currTemplate.backgroundImage size=1 disabled=false/ The generated result is like this select id=select name=select size=1 option disabled=disabled value=bug.jpgbug option disabled=disabled value=pet.pngpet /select img alt=[Error] class=t-error-icon t-invisible id=select:icon src=/bogo/assets/tapestry/field-error-marker.png I used the latest TP5.0.5(not snapshot). It's really very strange. Can anyone give me a help? Thank you in advance Allen Guo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Select Component can't work in TP-5.0.5
I meet the same problem.There is not any error tip. 2007/7/4, Allen Guo [EMAIL PROTECTED]: Hi All, I use select component in html template like this select t:type=select model=graphicModel value=shop.currTemplate.backgroundImage size=1 disabled=false/ The generated result is like this select id=select name=select size=1 option disabled=disabled value=bug.jpgbug option disabled=disabled value=pet.pngpet /select img alt=[Error] class=t-error-icon t-invisible id=select:icon src=/bogo/assets/tapestry/field-error-marker.png I used the latest TP5.0.5(not snapshot). It's really very strange. Can anyone give me a help? Thank you in advance Allen Guo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- 得与失都是生活
Re: 4.1.1 Dialog disappears without request
Hi Paul, just guessing: the might be some bug in @EventListener You could try to replace your Buttons by Submit and call your listener methods via action parameter: input type=submit jwcid=@Submit action=listener:showDialog/ Why do you prefer the combination of buttons + @EventListener? Your listener methods is triggered by clicking on a button, so you don't need the event listener? On 7/4/07, Paul Stanton [EMAIL PROTECTED] wrote: Hi all. I can't test this under 4.1.2 because of my other issues (post - 4.1.1 upgrade to 4.1.2 async listener no longer works). I'm having another issue with my dialogs. This one is totally perplexing. What happens is this: 1. I click my add button, the dialog appears. 2. I click my cancel button, the dialog disappears. 3. I click my add button, the dialog appears for a second or two, then disappears of it's own accord. My debugging output: showDialog cancelDialog showDialog cancelDialog .. so the 2nd 'cancelDialog' shouldn't be called and is not triggered by user input, maybe dojo is calling it? why? My Java: @EventListener(targets = {myShowButton}, events = onclick, async = true) public void showDialog() { System.out.println(showDialog); ..do work .. setDialogHidden(false); getRequestCycle().getResponseBuilder().updateComponent(addDialog); } @EventListener(targets = myCancelButton, events = onclick, async = true) public void cancelDialog() { System.out.println(cancelDialog); ..do work .. setDialogHidden(true); getRequestCycle().getResponseBuilder().updateComponent(addDialog); } My Html: form jwcid=[EMAIL PROTECTED] listener=ognl:page.listeners.formSubmit input type=button jwcid=[EMAIL PROTECTED] label=Show Dialog/ /form div jwcid=[EMAIL PROTECTED] hidden=ognl:dialogHidden form jwcid=[EMAIL PROTECTED] success=listener:mySaveListener input type=button jwcid=[EMAIL PROTECTED] label=Cancel/ /form /div - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
BaseEngine and org.apache.tapestry.request-decoder
How do you inject the Engine into org.apache.tapestry.request-decoder ? In the workbench example there is: extension name=org.apache.tapestry.request-decoder class=org.apache.tapestry.workbench.RequestDecoder/ I am trying to set the locale inside RequestDecoder dependent on the domain name. In order to set the Locale, BaseEngine is necessary Thanks! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Feature of Inheritance in Tapestry Template (not only Java)
Hi All, I just use Tapestry feature of inheritance in web pages. For example, I could have a BasePage.java which contain single field, @ApplicationState User _userLogged; So all pages will know who logged to the application I setup all the base page class to be of Abstract type, all field to be private, with public getter/setter. Actual page (that is, page that will have HTML template), of course, will not be abstract. They will have HTML templates. But my question is, how do you achieve the same feature, that is inheritance, in HTML templates? Maybe I am talking about decorating like we have in Sitemesh. How do you do it in Tapestry? (Currently I just paste all the HTML Code to new HTML Templates) * I hope my question is clear Thanks in advance! -- Best wishes, Eko SW http://swdev.blogs.friendster.com/my_blog/
Re: Problem in mvn package (can not include all the required jars)
Thanks! Because it is quite large, I opt to just attach it, not paste it. I have it is okay with you. 2007/7/4, Renat Zubairov [EMAIL PROTECTED]: Hi Could you please post your pom.xml here it would be much simpler to see what's going on. Renat On 04/07/07, Eko S.W. [EMAIL PROTECTED] wrote: Dear community, I use jetty as the mean to achieve hot development in Maven. And it works very fine. But, when I try to package it into WAR and have it deployed to Tomcat, it doesn't works. And when I try to understand what happen, I realize that in the WAR there are required JAR missing. Such as tapestry-ioc.jar, and other. And then, I try to declare the required JARS (who already included automatically in using mvn jetty:run), e.g. dependency artifactIdtapestry-ioc/artifactId ... /dependency Of course this is not the right way (and not easy anyway, because I have to predict, what dependency needed) What am I doing wrong? Thanks in advance! * FYI : I am using Maven 2.0.7 -- Best wishes, Eko SW http://swdev.blogs.friendster.com/my_blog/ -- Best regards, Renat Zubairov - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Best wishes, Eko SW http://swdev.blogs.friendster.com/my_blog/ ?xml version=1.0 encoding=UTF-8? project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; modelVersion4.0.0/modelVersion groupIdorg.swdev/groupId artifactIdProject/artifactId packagingwar/packaging version1.0-SNAPSHOT/version nameProject Lukman, Abdul Muiz dan Eko SW/name urlhttp://en.wikipedia.org/wiki/Tabligh_Jamaat/url dependencies !-- From Tapestry Quick Start Archetype -- dependency groupIdorg.apache.tapestry/groupId artifactIdtapestry-core/artifactId version${tapestry-release-version}/version /dependency dependency groupIdorg.apache.tapestry/groupId artifactIdtapestry-ioc/artifactId version${tapestry-release-version}/version /dependency dependency groupIdorg.apache.tapestry/groupId artifactIdtapestry-spring/artifactId version${tapestry-release-version}/version /dependency !--dependency groupIdjavassist/groupId artifactIdjavassist/artifactId version3.0/version /dependency -- !-- dependency groupIdorg.apache.tapestry/groupId artifactIdtapestry-hibernate/artifactId version${tapestry-release-version}/version /dependency -- dependency groupIdorg.apache.tapestry/groupId artifactIdtapestry-test/artifactId version${tapestry-release-version}/version /dependency dependency groupIdorg.testng/groupId artifactIdtestng/artifactId version5.5/version classifierjdk15/classifier scopecompile/scope /dependency dependency groupIdlog4j/groupId artifactIdlog4j/artifactId version1.2.9/version /dependency !-- Spiking Hibernate -- dependency groupIdorg.hibernate/groupId artifactIdhibernate/artifactId version3.2.1.ga/version /dependency dependency groupIdorg.hibernate/groupId artifactIdhibernate-annotations/artifactId version3.2.0.ga/version /dependency dependency groupIdjavax.persistence/groupId artifactIdpersistence-api/artifactId version1.0/version /dependency !-- From Tapestry Quick Start Archetype -- dependency groupIdjunit/groupId artifactIdjunit/artifactId version3.8.1/version scopetest/scope /dependency dependency groupIdorg.springframework/groupId artifactIdspring/artifactId version2.0.4/version /dependency dependency groupIdorg.springframework/groupId artifactIdspring-mock/artifactId version2.0.4/version /dependency dependency groupIdcommons-dbcp/groupId artifactIdcommons-dbcp/artifactId version1.2.1/version /dependency dependency groupIdcommons-pool/groupId artifactIdcommons-pool/artifactId version1.2/version /dependency dependency groupIdjetty/groupId artifactIdorg.mortbay.jetty/artifactId version5.1.10/version scopeprovided/scope /dependency dependency groupIdmysql/groupId artifactIdmysql-connector-java/artifactId version5.0.3/version /dependency /dependencies build finalNameskripsi/finalName plugins plugin artifactIdmaven-compiler-plugin/artifactId!--set ke JDK 1.5 u/ Generic awalnya -- version2.0.2/version configuration source1.5/source target1.5/target!-- u/ keperluan annotasi
Re: Feature of Inheritance in Tapestry Template (not only Java)
You can define your own components, i.e. take the code that is common to several templates and turn it into a tapestry component. You can than compose your templates from your components. Also, you might want to look at the Border component. hth, Lutz On 7/4/07, Eko S.W. [EMAIL PROTECTED] wrote: Hi All, I just use Tapestry feature of inheritance in web pages. For example, I could have a BasePage.java which contain single field, @ApplicationState User _userLogged; So all pages will know who logged to the application I setup all the base page class to be of Abstract type, all field to be private, with public getter/setter. Actual page (that is, page that will have HTML template), of course, will not be abstract. They will have HTML templates. But my question is, how do you achieve the same feature, that is inheritance, in HTML templates? Maybe I am talking about decorating like we have in Sitemesh. How do you do it in Tapestry? (Currently I just paste all the HTML Code to new HTML Templates) * I hope my question is clear Thanks in advance! -- Best wishes, Eko SW http://swdev.blogs.friendster.com/my_blog/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
service method in BaseEngine
Has anyone an idea why the following code will not work? public void service(WebRequest webRequest, WebResponse webResponse) throws IOException { if (webRequest.getServerName().startsWith(en.)){ this._locale=new Locale(en,); } else { this._locale=new Locale(de,); } ... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
T4.1.2 Survey: Is Selenium working for you?
A question for everyone using Selenium who has upgraded from Tapestry 4.1.1 to 4.1.2: - Is Selenium TestRunner still working for you? - Does it get through client validation errors OK? I've found that Selenium IDE is fine but Selenium TestRunner stops at client validation errors. Is that your experience too? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tapestry 5 XML tag(s)
Hello, With Tapestry 5 - where can I find information on how the new xml tags work - like t:pagelink / etc? I have done quite a bit of work with 4 and am a little disoriented without the jwcids etc. Not sure what I can put instead of 'pagelink'. I interpret entries on the component reference as attributes on the 't' tag? Thanks, -Ryan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tapestry 5 XML tag(s)
It's all here http://tapestry.apache.org/tapestry5/tapestry-core/guide/templates.html On 7/4/07, Ryan Cuprak [EMAIL PROTECTED] wrote: Hello, With Tapestry 5 - where can I find information on how the new xml tags work - like t:pagelink / etc? I have done quite a bit of work with 4 and am a little disoriented without the jwcids etc. Not sure what I can put instead of 'pagelink'. I interpret entries on the component reference as attributes on the 't' tag? Thanks, -Ryan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: T5 tutorial
There are also a number of decent HTML Mirroring tools; which I've used at various times to grab local copies of web sites. On windows WinHTTrack (sp?), on Linux WGet works ok. #Cyrille37# wrote: Read again Olasoji Ajayi's mail : I am new to T5, can anyone point me to some tutorial on T5 that I can download, I know there is documentation online but I don't have regular internet access for the moment. He need some Off-Line doc. Perhaps he can make a book with htmldoc tool. cyrille - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [T5] How create sub component
Regarding helping the web designers get around the templates, i have found in the past that providing a master HTML file with server side includes to include the component templates that you want them to edit worked fine. It was actually a web designer that suggested this, I think they used Dreamweaver to edit the templates which works fine with SSI. This way they only see it as one template when in fact they are editing all the component templates. On 7/4/07, David Avenante [EMAIL PROTECTED] wrote: Yes I can understand but this approach is a big constraint, with big implication for my web designer who need to play in templates and need to have a good understanding of my templates hierarchy For me it's an issue with lot of limitation. A simple exemple : I want to create a component who can generate a complex layout for my page. I want something like : div t:type=myLayout div t:type=contentPanel name=north content a div div t:type=contentPanel name=south content b div /div So as you can see I can have many contentPanel (like east west center...) And each contentPanel can content a new layout. It's crazy for me to let play a web designer in a hierarchy of template. I need to have a flat view a this type of complex component. So I don't see the origins of this technical limitation. Cheers, David - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [T5] How create sub component
Yes there is always workaround but what I liked in the definition of tapestry is : Tapestry is organized around four key principles: * Simplicity * Consistency * Efficiency * Feedback And I like the first term ;) I like to have SIMPLE file, easy readable and understandable. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: T5 Templates In src/main/resources Might Interfere With Resource Filtering
Hi. You /can/ set up any folders you want to declare as resources; and per-folder, turn filtering on or off. Each folder can have includes and excludes. Filtering is disabled by default. You could move all your message bundles out of this directory and into some new one, and enable filtering; which is really a strange thought. A more logical thought is to invent a new such directory for the templates. Would Tap have any issue with that? And, would src/main/html make any sense? Or is there some other language name to use for Tap instead of html? I.e.: src/main/tapestry?. The truly wrong way is to redundantly declare the overlapping resource directory; since filtering is per-directory: resources resource directorysrc/main/resources/directory filteringtrue/filtering excludes exclude**/*.html/exclude /excludes /resource resource directorysrc/main/resources/directory filteringfalse/filtering includes include**/*.html/include /includes /resource /resources Which does work, but just puts development where administration should go. My personal observation: A Tapestry-specific resource directory sounds reasonable. And in fact, how do you get assets in T5? Is there any need for them to appear in src/main/webapp? If not, they might be perfectly at home also in that Tapestry resource directory, which might make them sort of neatly arranged: it might get odd if some had to appear in webapp/ and others in resources/. And I'm still not completely settled with locating templates inside WEB-INF: it has become a sort of dumping ground -- the simple case of seeing app.properties next to templates makes it disconcerting! Plus they are separated from the component templates. One strange aspect is that technically, a T5 app is probably not a WebApp. So the webapp archetype is putting needless constraints around things. Or, T5 is just now up a layer on top of the webapp, and implementation artifacts are being exposed to us, where they should no longer be. Do you have any suggestions? --- I can guarantee you they're better than mine... Thanks for replying. Ciao! -Steev Coco. On Tue July 3 2007 4:23:03 pm you wrote: Can't you set up multiple resource folders, some filtered, some not? On 7/2/07, Steven Coco [EMAIL PROTECTED] wrote: Hi. Has there been discussion about the fact that Maven can filter resources, located in src/main/resources, and if templates are placed there, then Maven may munge expansions intended for Tapestry, or maybe also vice-versa? The tutorial says templates should be placed here. I have been using WEB-INF, mainly because application reloading during development is instant this way, but when they are in the resources directory, it doesn't pick up changes. And other than that there seems to be no difference. But I can easily see a problem with resource filtering. In light of this comment, what then is the fate for component templates? I think they currently are required to appear in src/main/resources, so there may be real problems. You can configure excludes in Maven's resource plugin; but that may not be a guaranteed solution: you may have properties bundles for components that do need to be filtered by Maven, and the task of configuring those excludes is not straightforward, and things may get too onerous to be practical. The potential for clashes should be a pretty big concern I'd think; since resource filtering is common, and once a project scales up with many pages and components, the odds of a Tapestry expansion matching a Maven one will be high. Any comments on this? Ciao! Steev Coco. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[ANNOUNCE] Tapestry 5.0.5
The Apache Tapestry project has releases Tapestry 5.0.5. Tapestry is a component-based framework for creating highly dynamic, scalable, and robust web applications using the Java programming language. Tapestry focuses on making it easy to create new components using a very simple programming model. Yet another preview (alpha) release, Tapestry 5.0.5 adds many new components, including a file upload component and the Palette component (for multiple selection). Release 5.0.5 improves the power and flexibility of the BeanEditForm and Grid component, adds a new HTML tutorial, adds client-side field persistence, fixes some problems with the quickstart Maven archetype, and allows expansions inside attributes (rather than just inside body text), as well as many other fixes. Tapestry may be downloaded from http://tapestry.apache.org/download.html and is also available via the central Maven repository. The Tapestry 5 home page is http://tapestry.apache.org/tapestry5/ -- Howard M. Lewis Ship TWD Consulting, Inc. Independent J2EE / Open-Source Java Consultant Creator and PMC Chair, Apache Tapestry Creator, Apache HiveMind Professional Tapestry training, mentoring, support and project work. http://howardlewisship.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ANNOUNCE] Tapestry 5.0.5
Great!! Thanks for the release. I was reading in the description of the new features and it says: ...adds client-side field persistence Can you explain this a little more or point me somewhere where I can read about it? Thanks in advance. Gabriel H. Lozano M. 2007/7/4, Howard Lewis Ship [EMAIL PROTECTED]: The Apache Tapestry project has releases Tapestry 5.0.5. Tapestry is a component-based framework for creating highly dynamic, scalable, and robust web applications using the Java programming language. Tapestry focuses on making it easy to create new components using a very simple programming model. Yet another preview (alpha) release, Tapestry 5.0.5 adds many new components, including a file upload component and the Palette component (for multiple selection). Release 5.0.5 improves the power and flexibility of the BeanEditForm and Grid component, adds a new HTML tutorial, adds client-side field persistence, fixes some problems with the quickstart Maven archetype, and allows expansions inside attributes (rather than just inside body text), as well as many other fixes. Tapestry may be downloaded from http://tapestry.apache.org/download.html and is also available via the central Maven repository. The Tapestry 5 home page is http://tapestry.apache.org/tapestry5/ -- Howard M. Lewis Ship TWD Consulting, Inc. Independent J2EE / Open-Source Java Consultant Creator and PMC Chair, Apache Tapestry Creator, Apache HiveMind Professional Tapestry training, mentoring, support and project work. http://howardlewisship.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [T5] How create sub component
Well, i think the only way you could achieve that would be to use the Block component. You could create a master page where your component blocks are declared. That would be the only page your web designer would edit. In the other pages where you use the components you would would the RenderBlock component and reference the blocks on the master page. I think this might work. On 7/4/07, David Avenante [EMAIL PROTECTED] wrote: Yes there is always workaround but what I liked in the definition of tapestry is : Tapestry is organized around four key principles: * Simplicity * Consistency * Efficiency * Feedback And I like the first term ;) I like to have SIMPLE file, easy readable and understandable. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [T5] How create sub component
Thank you Hugo, I'll explore this way. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ANNOUNCE] Tapestry 5.0.5
Hi Gabriel, u can see more about client side persistence here: http://tapestry.apache.org/tapestry5/tapestry-core/guide/persist.html On 7/4/07, Gabriel Lozano [EMAIL PROTECTED] wrote: Great!! Thanks for the release. I was reading in the description of the new features and it says: ...adds client-side field persistence Can you explain this a little more or point me somewhere where I can read about it? Thanks in advance. Gabriel H. Lozano M. 2007/7/4, Howard Lewis Ship [EMAIL PROTECTED]: The Apache Tapestry project has releases Tapestry 5.0.5. Tapestry is a component-based framework for creating highly dynamic, scalable, and robust web applications using the Java programming language. Tapestry focuses on making it easy to create new components using a very simple programming model. Yet another preview (alpha) release, Tapestry 5.0.5 adds many new components, including a file upload component and the Palette component (for multiple selection). Release 5.0.5 improves the power and flexibility of the BeanEditForm and Grid component, adds a new HTML tutorial, adds client-side field persistence, fixes some problems with the quickstart Maven archetype, and allows expansions inside attributes (rather than just inside body text), as well as many other fixes. Tapestry may be downloaded from http://tapestry.apache.org/download.html and is also available via the central Maven repository. The Tapestry 5 home page is http://tapestry.apache.org/tapestry5/ -- Howard M. Lewis Ship TWD Consulting, Inc. Independent J2EE / Open-Source Java Consultant Creator and PMC Chair, Apache Tapestry Creator, Apache HiveMind Professional Tapestry training, mentoring, support and project work. http://howardlewisship.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [T5] DataSqueezer
Not currently. Part of the reasoning in T5 is that, with easy injection, it's much less necessary for the framework to do certain things. In T2 (where DataSqueezer started) this was not the case, and the only way to get a lot of common, desirable behavior was for the framework to do it automatically. In the case of DataSqueezer, this caused as many problems as it solved: - Long URLs - Wierd URLs (is that an 'l' or '1' ?) - Horrifically long URLs (oops, just serialized my database) - Incomprehensible exceptions (huh? something about an adapter?) With T5, injection is really easy, so if you find yourself in the position of having to encode a really large object into a URL, then you can design and inject a service to do that work. The framework can just get out of the way, which is ultimately a better solution for everyone. Most of the time, we just rely on the TypeCoercer to convert objects to strings and then back again. By design, more of T5 is slanted towards you encoding the ids of large objects, rather than the large objects themselves. This, too, leads to shorter, more mneumonic, more bookmarkable URLs, which is a reasonable target goal. On 7/4/07, Norbert Sándor [EMAIL PROTECTED] wrote: Hello, Is there a service equivalent to T4's DataSqueezer? Thanks: Norbi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Howard M. Lewis Ship TWD Consulting, Inc. Independent J2EE / Open-Source Java Consultant Creator and PMC Chair, Apache Tapestry Creator, Apache HiveMind Professional Tapestry training, mentoring, support and project work. http://howardlewisship.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Select Component can't work in TP-5.0.5
It looks like the bug, if any, is that disabled=false should set the Select component's disabled parameter to false (which is the default), but it appears it may be set to true. Generally, when the TypeCoercer coverts a string to a boolean, any non-blank string is converted to true, even the string false. However, the disabled parameter should have a default parameter prefix of prop:, which interprets the string false specially. Other than that, the rest looks reasonable to me. The img/ tag is normal; it's much easier on the client side to hide or reveal an existing DOM element than it is to create it and remove it. That's what Tapestry does ... it puts the img in place just in case the client side decides to display it. The t-invisible ensures that, initially, the red icon does not appear to the user. On 7/4/07, Allen Guo [EMAIL PROTECTED] wrote: Hi All, I use select component in html template like this select t:type=select model=graphicModel value=shop.currTemplate.backgroundImage size=1 disabled=false/ The generated result is like this select id=select name=select size=1 option disabled=disabled value=bug.jpgbug option disabled=disabled value=pet.pngpet /select img alt=[Error] class=t-error-icon t-invisible id=select:icon src=/bogo/assets/tapestry/field-error-marker.png I used the latest TP5.0.5(not snapshot). It's really very strange. Can anyone give me a help? Thank you in advance Allen Guo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Howard M. Lewis Ship TWD Consulting, Inc. Independent J2EE / Open-Source Java Consultant Creator and PMC Chair, Apache Tapestry Creator, Apache HiveMind Professional Tapestry training, mentoring, support and project work. http://howardlewisship.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problem in mvn package (can not include all the required jars)
Hm... strange, I can't see anything abnormal there. Sorry. On 04/07/07, Eko S.W. [EMAIL PROTECTED] wrote: Thanks! Because it is quite large, I opt to just attach it, not paste it. I have it is okay with you. 2007/7/4, Renat Zubairov [EMAIL PROTECTED] : Hi Could you please post your pom.xml here it would be much simpler to see what's going on. Renat On 04/07/07, Eko S.W. [EMAIL PROTECTED] wrote: Dear community, I use jetty as the mean to achieve hot development in Maven. And it works very fine. But, when I try to package it into WAR and have it deployed to Tomcat, it doesn't works. And when I try to understand what happen, I realize that in the WAR there are required JAR missing. Such as tapestry-ioc.jar, and other. And then, I try to declare the required JARS (who already included automatically in using mvn jetty:run), e.g. dependency artifactIdtapestry-ioc/artifactId ... /dependency Of course this is not the right way (and not easy anyway, because I have to predict, what dependency needed) What am I doing wrong? Thanks in advance! * FYI : I am using Maven 2.0.7 -- Best wishes, Eko SW http://swdev.blogs.friendster.com/my_blog/ -- Best regards, Renat Zubairov - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Best wishes, Eko SW http://swdev.blogs.friendster.com/my_blog/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Best regards, Renat Zubairov - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ANNOUNCE] Tapestry 5.0.5
On 7/4/07, Howard Lewis Ship [EMAIL PROTECTED] wrote: with the quickstart Maven archetype, and allows expansions inside attributes (rather than just inside body text), as well as many other ;) I hope this will not bite us ... anyway T5 is gaining day after day... Thanks you so much. -- Massimo http://meridio.blogspot.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Select Component can't work in TP-5.0.5
For img/ , As I use complicated CSS, I found the page can't display correctly in IE but it's fine in Firefox. I prefer the generated html code is more simple. 2007/7/5, Howard Lewis Ship [EMAIL PROTECTED]: It looks like the bug, if any, is that disabled=false should set the Select component's disabled parameter to false (which is the default), but it appears it may be set to true. Generally, when the TypeCoercer coverts a string to a boolean, any non-blank string is converted to true, even the string false. However, the disabled parameter should have a default parameter prefix of prop:, which interprets the string false specially. Other than that, the rest looks reasonable to me. The img/ tag is normal; it's much easier on the client side to hide or reveal an existing DOM element than it is to create it and remove it. That's what Tapestry does ... it puts the img in place just in case the client side decides to display it. The t-invisible ensures that, initially, the red icon does not appear to the user. On 7/4/07, Allen Guo [EMAIL PROTECTED] wrote: Hi All, I use select component in html template like this select t:type=select model=graphicModel value= shop.currTemplate.backgroundImage size=1 disabled=false/ The generated result is like this select id=select name=select size=1 option disabled=disabled value=bug.jpgbug option disabled=disabled value=pet.pngpet /select img alt=[Error] class=t-error-icon t-invisible id=select:icon src=/bogo/assets/tapestry/field-error-marker.png I used the latest TP5.0.5(not snapshot). It's really very strange. Can anyone give me a help? Thank you in advance Allen Guo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Howard M. Lewis Ship TWD Consulting, Inc. Independent J2EE / Open-Source Java Consultant Creator and PMC Chair, Apache Tapestry Creator, Apache HiveMind Professional Tapestry training, mentoring, support and project work. http://howardlewisship.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ANNOUNCE] Tapestry 5.0.5
On 7/5/07, Howard Lewis Ship [EMAIL PROTECTED] wrote: Yet another preview (alpha) release, Tapestry 5.0.5 adds many new components, including a file upload component and the Palette component (for multiple selection). Howard, Will the datepicker component be available on the next release? Thanks in advance -- Let's create a highly maintainable and efficient code YM!: thejavafreak Blog: http://www.nagasakti.or.id/roller/joshua/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: 4.1.1 Dialog disappears without request
Turns out this is fixed in 4.1.2. I had to do some funky stuff to get 4.1.2 working and it's not 100% yet, but I can't reproduce this particular issue in 4.1.2. So thanks for the suggestion, it did help me figure out another problem ;) Igor Drobiazko wrote: Hi Paul, just guessing: the might be some bug in @EventListener You could try to replace your Buttons by Submit and call your listener methods via action parameter: input type=submit jwcid=@Submit action=listener:showDialog/ Why do you prefer the combination of buttons + @EventListener? Your listener methods is triggered by clicking on a button, so you don't need the event listener? On 7/4/07, Paul Stanton [EMAIL PROTECTED] wrote: Hi all. I can't test this under 4.1.2 because of my other issues (post - 4.1.1 upgrade to 4.1.2 async listener no longer works). I'm having another issue with my dialogs. This one is totally perplexing. What happens is this: 1. I click my add button, the dialog appears. 2. I click my cancel button, the dialog disappears. 3. I click my add button, the dialog appears for a second or two, then disappears of it's own accord. My debugging output: showDialog cancelDialog showDialog cancelDialog .. so the 2nd 'cancelDialog' shouldn't be called and is not triggered by user input, maybe dojo is calling it? why? My Java: @EventListener(targets = {myShowButton}, events = onclick, async = true) public void showDialog() { System.out.println(showDialog); ..do work .. setDialogHidden(false); getRequestCycle().getResponseBuilder().updateComponent(addDialog); } @EventListener(targets = myCancelButton, events = onclick, async = true) public void cancelDialog() { System.out.println(cancelDialog); ..do work .. setDialogHidden(true); getRequestCycle().getResponseBuilder().updateComponent(addDialog); } My Html: form jwcid=[EMAIL PROTECTED] listener=ognl:page.listeners.formSubmit input type=button jwcid=[EMAIL PROTECTED] label=Show Dialog/ /form div jwcid=[EMAIL PROTECTED] hidden=ognl:dialogHidden form jwcid=[EMAIL PROTECTED] success=listener:mySaveListener input type=button jwcid=[EMAIL PROTECTED] label=Cancel/ /form /div - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: 4.1.1 upgrade to 4.1.2 async listener no longer works
I've figured out why the exception is being thrown: my formSubmit method requires the submission control (Submit or LinkSubmit) to have set the tag and selected attributes/parameters. Now, my async button comes in without those set and the null pointer is thrown. So I've added an if null return block and the dialog appears as required, but ... ... that still doesn't explain why the autoSubmit parameter in the Annotation isn't stopping formSubmit from being called. I've also tried with a Submit component and a LinkSubmit using attributes in the markup to define the listener etc, still the form submit listener is called. So, could the issue be that autoSubmit attribute does not work? Seems like my only option (besides living with it for now) is to use a DirectLink which works fine as it's not associated with a form .. so I'll have to figure out how to style that like a button, or emulate it's behaviour in a button. Jesse, I've logged an issue in Jira for you. https://issues.apache.org/jira/browse/TAPESTRY-1630 Thanks, Paul. Paul Stanton wrote: Should I log this in Jira Jesse? Paul Stanton wrote: Thanks Jesse, I've changed it to @EventListener(targets = {myButton}, events = onclick, async = true, autoSubmit = false) public void showMyDialog() and the same exception is thrown. Any more info? Paul. Jesse Kuhnert wrote: Components implementing IFormComponent that are targeted with an @EventListener do now have their surrounding forms submitted automatically as part of the async request. If there is something in your logic that doesn't need/want this to happen you can set the autoSubmit = false parameter in the annotation and it will do the pure async request only without the form submission. http://tapestry.apache.org/tapestry4.1/tapestry-annotations/index.html#EventListener On 7/3/07, Paul Stanton [EMAIL PROTECTED] wrote: Hi, I've upgraded to 4.1.2 from 4.1.1 and am getting the following when I try to load one of my Dojo Dialogs (async). It seems tapestry is trying to call getPage with a null page name, but I'm not sure why formSubmit is being called at all (unless it's part of a rewind?) The trigger is being defined like so: input type=button jwcid=[EMAIL PROTECTED] label=show dialog/ The listener being called is defined like so: @EventListener(targets = {myButton}, events = onclick, async = true) public void showMyDialog() If i click my button i get the following exception wrapped in a error dialog (async): Failure invoking listener method 'public org.apache.tapestry.IPage MyPage.formSubmit()' on [EMAIL PROTECTED]: Parameter name must not be null. org.apache.hivemind.ApplicationRuntimeException Failure invoking listener method 'public org.apache.tapestry.IPage com.pds.pdsv3.tapestry.pages.veridical.VeridicalPage.formSubmit()' on [EMAIL PROTECTED]/Comparables]: Parameter name must not be null. component: [EMAIL PROTECTED]/Comparables] location: context:/WEB-INF/veridical/Comparables.page, line 5, column 81 1 ?xml version=1.0 encoding=UTF-8? 2 !DOCTYPE page-specification PUBLIC -//Apache Software Foundation//Tapestry Specification 4.0//EN 3 http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd; 4 5 page-specification class=com.pds.pdsv3.tapestry.pages.veridical.Comparables/ [ +/- ] Exception: http://localhost:8080/PDS/app Parameter name must not be null. java.lang.NullPointerException Parameter name must not be null. Stack Trace: * org.apache.hivemind.util.Defense.notNull(Defense.java:41) * org.apache.tapestry.engine.RequestCycle.getPage(RequestCycle.java :217) * $IRequestCycle_1138a7ba350.getPage($IRequestCycle_1138a7ba350.java) * $IRequestCycle_1138a7ba25a.getPage($IRequestCycle_1138a7ba25a.java) * MyPage.formSubmit(VeridicalPage.java:65) * sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) * sun.reflect.NativeMethodAccessorImpl.invoke( NativeMethodAccessorImpl.java:39) * sun.reflect.DelegatingMethodAccessorImpl.invoke( DelegatingMethodAccessorImpl.java:25) * java.lang.reflect.Method.invoke(Method.java:597) * org.apache.tapestry.listener.ListenerMethodInvokerImpl.invokeTargetMethod( ListenerMethodInvokerImpl.java:276) * org.apache.tapestry.listener.ListenerMethodInvokerImpl.invokeListenerMethod (ListenerMethodInvokerImpl.java:221) * org.apache.tapestry.listener.ListenerMethodInvokerImpl.searchAndInvoke( ListenerMethodInvokerImpl.java:157) * org.apache.tapestry.listener.ListenerMethodInvokerImpl.invokeListenerMethod (ListenerMethodInvokerImpl.java:80) * org.apache.tapestry.listener.SyntheticListener.actionTriggered( SyntheticListener.java:52) * org.apache.tapestry.listener.ListenerInvokerTerminator.invokeListener( ListenerInvokerTerminator.java:50) * $ListenerInvoker_1138a7ba23c.invokeListener($ListenerInvoker_1138a7ba23c.java) *
Re: Select Component can't work in TP-5.0.5
Is this the problem you are trying to fix, or the disabled options? If the latter, I think there is a problem with your model. Cheers, Nick. 蝈蝈龙 wrote: For img/ , As I use complicated CSS, I found the page can't display correctly in IE but it's fine in Firefox. I prefer the generated html code is more simple. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problem in mvn package (can not include all the required jars)
ok. thanks. Maybe I should post this issue on maven mailing list. thank you 2007/7/5, Renat Zubairov [EMAIL PROTECTED]: Hm... strange, I can't see anything abnormal there. Sorry. On 04/07/07, Eko S.W. [EMAIL PROTECTED] wrote: Thanks! Because it is quite large, I opt to just attach it, not paste it. I have it is okay with you. 2007/7/4, Renat Zubairov [EMAIL PROTECTED] : Hi Could you please post your pom.xml here it would be much simpler to see what's going on. Renat On 04/07/07, Eko S.W. [EMAIL PROTECTED] wrote: Dear community, I use jetty as the mean to achieve hot development in Maven. And it works very fine. But, when I try to package it into WAR and have it deployed to Tomcat, it doesn't works. And when I try to understand what happen, I realize that in the WAR there are required JAR missing. Such as tapestry-ioc.jar, and other. And then, I try to declare the required JARS (who already included automatically in using mvn jetty:run), e.g. dependency artifactIdtapestry-ioc/artifactId ... /dependency Of course this is not the right way (and not easy anyway, because I have to predict, what dependency needed) What am I doing wrong? Thanks in advance! * FYI : I am using Maven 2.0.7 -- Best wishes, Eko SW http://swdev.blogs.friendster.com/my_blog/ -- Best regards, Renat Zubairov - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Best wishes, Eko SW http://swdev.blogs.friendster.com/my_blog/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Best regards, Renat Zubairov - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Best wishes, Eko SW http://swdev.blogs.friendster.com/my_blog/