Re: Live reload in production?

2011-04-21 Thread Michal Gruca
my $0.02. If it was enabled till today then we should leave it that way. In documentation there should be note that it is possible to speed up significantly application by doing something and with cost of no live class reloads in production. Regards, Michal -- View this message in context: htt

Re: Quickstart for a IOC type project?

2011-03-08 Thread Michal Gruca
Hi Angelo, if you will run your app, could you share it (some early revision, without business logic), or write something about standalone T5 application? I never had enough of time to do the research, and I always was curious how T5 IOC looks in standalone app in comparison to e.g. Pico container

Re: Exception starting filter test

2011-03-07 Thread Michal Gruca
yes you may give it any name, but contract in web.xml is: in provided package root (in your case tapDemo) it will search for package services and in it there should be a class App1.java so please check if you have following class tapDemo.services.App1.java -- View this message in context: http:/

Re: [T5] Removing project name and port number from URL

2010-12-31 Thread Michal Gruca
http://wiki.eclipse.org/Jetty/Howto/Deploy_Web_Applications If the webapp is called root.war or the directory is called root/ then it will be deployed at the / context. So yes, it should help. As for port, changing that in jetty also will help, but take a look into secure port number. By default

Re: error when trying to use the components tapx

2010-12-29 Thread Michal Gruca
I do believe that it is on github available https://github.com/hlship/tapx so if there is no other way, you can always download sources and run gradle build BTW Howard will Tapestry, as a project, start using gradle instead of maven (or as an alternative)? -- View this message in context: http

Re: A more general approach to configuring for compatibility

2010-12-23 Thread Michal Gruca
There are three that I know of that may be used to achieve that First is Wookie (Apache licence) Second one is jumpstart (also open source, don't know what licence though) Third is hotel bookmarking application I know that two of those are made as a demo apps, but they contain a lot of T5 featur

Re: A more general approach to configuring for compatibility

2010-12-22 Thread Michal Gruca
I'm not familiar with Tapestry code but that sounds like a lot of if's and checking for version. If i'm not mistaken then it will pollute the code and maybe slow down applications (as every action will need to be checked) If it is possible then additional modules sounds as much better idea. If som

Re: It's payback time!

2010-12-22 Thread Michal Gruca
Tapestry don't have best press int the world. In SS comments there is starting another flame war. http://www.theserverside.com/news/thread.tss?thread_id=61537 Michał Gruca -- View this message in context: http://tapestry-users.832.n2.nabble.com/It-s-payback-time-tp5847075p5856555.html Sent fr

Re: @Transactional needed in tapestry-hibernate?

2010-12-15 Thread Michal Gruca
for sake of backward compatibility imho @commitAfter should not be modified to work as @Transactional. Additional annotation is safer choice. Regards Michał Gruca -- View this message in context: http://tapestry-users.832.n2.nabble.com/Transactional-needed-in-tapestry-hibernate-tp5826487p583811

Re: First Tapestry app with Hibernate

2010-12-01 Thread Michal Gruca
That is probably not the answer that you would excpect but please review that small app of mine. I created that for JUG and it has working hibernate support for T5 with in memory h2 db running. It's not cleanest, but should be easy to understand. http://bitbucket.org/mgruca/tjug_tapestry_30.09.10/

Re: First Tapestry app with Hibernate

2010-11-30 Thread Michal Gruca
Hi, are you using eclipse for that project? I had some issues due to .m2 plugin. If it is the case then try to take out pom.xml and create new project using mvn command line. Then import project to eclipse and check if it will start working. I was doing a lot of this kind of magic tricks to get ec

Re: [ANN] Polish blog about Tapestry 5

2010-11-24 Thread Michal Gruca
Don't worry to much about exception page, it's important for me that it gives me information, I don't need to like colors ;) Besides while translating, I guess that most of context data may be lost. My blog posts won't be 100% serious, it's just not my style. I'm big fan of T5, else I wouldn't fol

[ANN] Polish blog about Tapestry 5

2010-11-23 Thread Michal Gruca
Hi all, I started writing blog about tapestry some time ago. Today I announced that in public. Till I'll get comfortable with writing on regular basis I'm planning to stick to my mothers tongue and that is polish. Later on I plan to do couple screen casts in English, maybe switch language totally

Re: Should Tapestry phone home?

2010-10-12 Thread Michal Gruca
One more idea from my side. This could be done as extension (similar to hibernate support) that would provide statistic's for page owner with checkbox: send my anonymized data to tapestry.apache.org and separate page on which user could configure what is send -- View this message in context: htt

Re: Should Tapestry phone home?

2010-10-12 Thread Michal Gruca
+1 for not do it by default. But I give +1 if it could be additional library added if someone wishes to contribute. As for how it could work my proposal is to put some public page on tapestry project where anyone could check site some aggregated stats. In library service module there should be o

Re: [T5.2] Constructor issue

2010-10-06 Thread Michal Gruca
Howard Lewis Ship wrote: > > Remember that you can place @Inject on the constructor that should be > used if there's any ambiguity. > That is what I was looking for. Thanks :) and +1 for adding that to FAQ :) -- View this message in context: http://tapestry-users.832.n2.nabble.com/T5-2-Const

Re: [T5.2] Constructor issue

2010-10-05 Thread Michal Gruca
I must disagree. But first to clarify. I described two cases. 1. BeanEditForm that cannot instantiate my object 2. Same issue for SSO creating java.util.Date AD 1. Quote from BeanEditForm doc: "Often, the BeanEditForm can create the object as needed (assuming a public, no arguments constructor).

[T5.2] Constructor issue

2010-10-05 Thread Michal Gruca
Hi all. While preparing small showcase app, odd problem came out. When I created domain object with two constructors (first was default NOOP, second one had two parameters string and enum, it was meant for manual initialization only) and tried to use it with beaneditform I received exception that

Re: Early steps getting Tapestry and Hibernate working via DAO

2010-10-04 Thread Michal Gruca
https://bitbucket.org/mgruca/tjug_tapestry_30.09.10/downloads That should run in eclipse with m2 plugin. Check it out, maybe it will help to find solution. In case if revision 9 wouldn't work, try previous one. Rev 9 are changes that I made during presentation, they should not affect anything, bu

RE: Early steps getting Tapestry and Hibernate working via DAO

2010-10-01 Thread Michal Gruca
I gave presentation about Tapestry yesterday. In it I included hibernate integration example, I will share that after weekend. >From my observation: make sure that You have both hibernate libraries in Your classpath. Double check did You annotated AppModule with @Submodule(HibernateModule.class).

Re: IntelliJIDEA vs Eclipse

2010-08-19 Thread Michal Gruca
Ok, thtat was easy :) Thanks, it was one of most annoying things for me. I have a keymap on wall behind monitor, but it figures that i was using wrong alt :P My guess is probably after couple of months i will get used to differences. Intellij is ok. I'm slowly getting used to new keymap and way in

Re: repo?.maven.org/.../tapestry*/5.2.0 ?!?!

2010-08-19 Thread Michal Gruca
That helped. Thanks :) Anyway I still stick to my opinion that archetype should be fixed Andreas Andreou-2 wrote: > > Michal, edit the last few lines of pom.xml so that it sets > tapestry-release-version to 5.2.0 > and then rerun mcn jetty:run > -- View this message in context: http://tapes

Re: IntelliJIDEA vs Eclipse

2010-08-18 Thread Michal Gruca
Sven Homburg wrote: > > And, i hope that i dont lie, IntelliJ's refactoring is unbeatable. > And that's the reason why i love eclipse. I prefere it refactoring and code generation features. Also I'm used to using keyboard and in Intellij i had to use mouse. Could any one tell me is there a keyb

Re: repo?.maven.org/.../tapestry*/5.2.0 ?!?!

2010-08-18 Thread Michal Gruca
I got clean mvn due to recent hdd failure :/ Maybe to be more specyfic: I go same way as You with archetype but after that when I try to run it with mvn jetty:run I get following (part of log) [ERROR] BUILD ERROR [INFO] [IN

Re: IntelliJIDEA vs Eclipse

2010-08-18 Thread Michal Gruca
The best IDE will be the one that fits You best. After couple of years when I was working with Eclipse, now I have to use Intellij at work and I hate it. I really can't get used to it. IMHO try both and pick one You like better. Both will do the job -- View this message in context: http://tapest

Re: repo?.maven.org/.../tapestry*/5.2.0 ?!?!

2010-08-18 Thread Michal Gruca
Hi all, I got bit other problem, as there is some problem with maven repo. I can't create tapestry project using 5.2 archetypes. I tried both 5.2.0 and snapshot. Could anyone check is everything ok with them? Regards Michał Gruca -- View this message in context: http://tapestry-users.832.n2.nab

Re: Another IllegalAccessError in 5.2 alpha [bug?]

2010-08-15 Thread Michal Gruca
I'm not everyday Tapestry user but I try to 'evangelize' in my neighborhood. In April I given presentation about Tapestry on tricity JUG and in next couple of weeks I'm planning to do another one. During first presentation I told that T5 won't change in a way that will affect existing code and wit

Re: Validation in component using onValidate method

2010-07-20 Thread Michal Gruca
Issue created: https://issues.apache.org/jira/browse/TAP5-1212 -- View this message in context: http://tapestry-users.832.n2.nabble.com/Validation-in-component-using-onValidate-method-tp5315887p5317888.html Sent from the Tapestry Users mailing list archive at Nabble.com. ---

Re: Validation in component using onValidate method

2010-07-20 Thread Michal Gruca
Thiago H. de Paula Figueiredo wrote: > >> But one suggestion. Maybe tapestry should log on warn level if someone >> creates onValidate method with no parameters, else someone may be as >> confused as I was. I don't see any purpose of onValidate without >> parameters. > > That's a very good id

Re: Validation in component using onValidate method

2010-07-20 Thread Michal Gruca
Thiago H. de Paula Figueiredo wrote: > > Hi! > This way, the developer can prevent the setter method of being invoked > with an invalid value. > Ok, I get it now. First I wanted to ask how are You supposed to get that value, but example I wanted to use (from bottom of this page http://tapestr

Validation in component using onValidate method

2010-07-20 Thread Michal Gruca
Hi all, I'm using tapestry for some time but for first time I cannot find correct solution by myself. My problem is with validation in onValidate method. I get that onValidate is called for every component inside form and onValidateForm is called after all other onValidates but I don't get why fir