Re: File System Asset Factory help needed and petition wanted

2012-04-30 Thread bhorvat
Speak in English so that other can follow :) I dont really have any influence into inserting anything into tapestry. Do you? Also if you are interested in this maybe you can help me out. I couldn't make the images to work as they should. It is as if the mime file is not added correctly. If you w

Re: T5.3 Component with AJAX Form?

2012-04-30 Thread Arno Haase
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thanks! This looks like what I was looking for. Looking forward to playing around with it ;-) Am 01.05.2012 06:29, schrieb Lenny Primak: > http://code.google.com/p/flowlogix/source/browse/tapestry-services/src/main/resources/com/flowlogix/web/mixins/D

Re: T5.3 Component with AJAX Form?

2012-04-30 Thread Arno Haase
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have the same problem. Googling, the only thing I came up with was this: http://tapestry.1045711.n5.nabble.com/Tapestry-5-3-rc3-Page-must-be-specified-before-initializing-for-partial-page-render-td4966505.html It mentions creating an "AjaxLink" co

Re: T5.3 Component with AJAX Form?

2012-04-30 Thread Lenny Primak
http://code.google.com/p/flowlogix/source/browse/tapestry-services/src/main/resources/com/flowlogix/web/mixins/DisableAfterSubmit.js search for setSubmittingElement Perhaps you are missing that, if that's not the case, debugging Tap JS code might help On Apr 30, 2012, at 4:52 PM, Norman Franke

Hooking a custom InjectionProvider into the IoC container

2012-04-30 Thread Pavel Vodenski
Tapestry Users, I'd like to contribute an InjectionProvider2 into the chain that processes @Inject annotations. The cookbook example that illustrates the chain of command pattern

Re: Exception report Tapestry + Hibernate HTTP 500

2012-04-30 Thread Thiago H. de Paula Figueiredo
On Mon, 30 Apr 2012 21:58:59 -0300, TechniciuM wrote: Hi Thiago. Hi! Suprisingly I have been left with some old Hibernate libs in my stack, so I had to delete them manually as they haven't been seen by my IDE. I have done it, but the issue persists, but I have got a couple of issues he

Re: Tynamo's tapestry-jdo and JDOEntityValueEncoder not getting registered

2012-04-30 Thread Alex Kotchnev
Paulo, I'll have a look at the logs and see if I can reproduce it using the high level approach you mention. Do let me know if you are able to create a sample project w/ this problem or if you figure out anything else that might be relevant. Cheers, Alex K On Sat, Apr 28, 2012 at 10:32 AM, Pau

Re: Exception report Tapestry + Hibernate HTTP 500

2012-04-30 Thread TechniciuM
Hi Thiago. Suprisingly I have been left with some old Hibernate libs in my stack, so I had to delete them manually as they haven't been seen by my IDE. I have done it, but the issue persists, but I have got a couple of issues here that I wanted to share with you, and I think are the main reason wh

Re: Tapestry and inline Handlebars.js

2012-04-30 Thread Howard Lewis Ship
Ah ... kind of looks like you figured this out a couple of hours ago. Long day for me. On Mon, Apr 30, 2012 at 5:33 PM, Howard Lewis Ship wrote: > The issue here is that Tapestry uses an off-the-shelf XML parser for > the templates.  That affects how HTML-ish content is going to be > parsed and i

Re: Tapestry and inline Handlebars.js

2012-04-30 Thread Howard Lewis Ship
The issue here is that Tapestry uses an off-the-shelf XML parser for the templates. That affects how HTML-ish content is going to be parsed and interpreted, and also affects who content that looks like a Tapestry expansion (${ }) will be interpreted. I can see adding a new special Tapestry e

Re: Configuring pom to use .properties from root.

2012-04-30 Thread Chris Mylonas
Dear Tap List [ Attn: George], Just to put my 2cents into the [OT] subject. This book from Packt publishing will get you going with maven well enough http://www.packtpub.com/apache-maven-2-effective-implementation/book The author(s) is from the Apache Archiva project (http://archiva.apache.org)-

Re: Exception report Tapestry + Hibernate HTTP 500

2012-04-30 Thread Thiago H. de Paula Figueiredo
On Mon, 30 Apr 2012 18:58:57 -0300, TechniciuM wrote: This is what I wanted at first to post : http://shrib.com/902LeAu6 java.lang.IncompatibleClassChangeError: org/hibernate/cfg/ExtendedMappings at org.hibernate.cfg.AnnotationConfiguration.createExtendedMappings(AnnotationConfiguration.ja

Re: Exception report Tapestry + Hibernate HTTP 500

2012-04-30 Thread TechniciuM
This is what I wanted at first to post : http://shrib.com/902LeAu6 This is my issue. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Exception-report-Tapestry-Hibernate-HTTP-500-tp5674051p5677101.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: Exception report Tapestry + Hibernate HTTP 500

2012-04-30 Thread TechniciuM
Lol :) I couldn't see I didn't close the listener tag. :D -- View this message in context: http://tapestry.1045711.n5.nabble.com/Exception-report-Tapestry-Hibernate-HTTP-500-tp5674051p5677078.html Sent from the Tapestry - User mailing list archive at Nabble.com. -

Re: Exception report Tapestry + Hibernate HTTP 500

2012-04-30 Thread Kalle Korhonen
And from the same log: Caused by: org.dom4j.DocumentException: Error on line 32 of document : Element type "listener" must be followed by either attribute specifications, ">" or "/>". Nested exception: Element type "listener" must be followed by either attribute specifications, ">" or "/>".

Re: Exception report Tapestry + Hibernate HTTP 500

2012-04-30 Thread TechniciuM
But why is that? Do I have to make my own service in order that to work? So far my xml was parsing just fine, but when I implemented the entities like I did, it throws me that exception. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Exception-report-Tapestry-Hibernate-HTT

Re: Tapestry and inline Handlebars.js

2012-04-30 Thread yazdog8
So DUHuser error! I was passing in a p:script and it was looking for p:template. Thanks for the help! -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-and-inline-Handlebars-js-tp5660756p5677055.html Sent from the Tapestry - User mailing list archive at Nabble.co

Re: Tapestry and inline Handlebars.js

2012-04-30 Thread yazdog8
Here's what I'm trying to pass in: -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-and-inline-Handlebars-js-tp5660756p5677026.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: Exception report Tapestry + Hibernate HTTP 500

2012-04-30 Thread Thiago H. de Paula Figueiredo
On Mon, 30 Apr 2012 18:10:10 -0300, TechniciuM wrote: This is the log of my Tomcat server, Thiago, http://shrib.com/45eMiypR . It's quite obvious what the problem is in the log: Caused by: java.lang.RuntimeException: Exception constructing service 'HibernateSessionSource': Error invoking s

Re: Tapestry and inline Handlebars.js

2012-04-30 Thread yazdog8
trsvax, Trying to implement this, but I'm getting an error along the lines of: Parameter(s) 'template' are required for com.beckon.app.components.widgets.script.ClientHtmlTemplate, but have not been bound. My java is limited, but it looks like it's expecting us to pass in a template? Should this

Re: Exception report Tapestry + Hibernate HTTP 500

2012-04-30 Thread TechniciuM
This is the log of my Tomcat server, Thiago, http://shrib.com/45eMiypR . -- View this message in context: http://tapestry.1045711.n5.nabble.com/Exception-report-Tapestry-Hibernate-HTTP-500-tp5674051p5677005.html Sent from the Tapestry - User mailing list archive at Nabble.com.

T5.3 Component with AJAX Form?

2012-04-30 Thread Norman Franke
I'm trying to make a lookup dialog that lets users lookup accounts by name. It obviously has a form where the user can enter a partial name. The form has a t:zone and the onSuccess handler either tries to return the zone or use AjaxResponseRenderer to return the content of the zone. which has th

Re: Apache Tapestry, Welcome to CodeMaps!

2012-04-30 Thread Abhishek Rakshit
Thanks for pointing it out. We are looking into why tap hibernate was not included in the setup. I'll notify you guys as soon as the issue is resolved. Thanks - CodeMaps Team On Sun, Apr 29, 2012 at 11:30 AM, TechniciuM wrote: > Great news, however I can't see it's fully accomplished, since tap

Re: Exception report Tapestry + Hibernate HTTP 500

2012-04-30 Thread Thiago H. de Paula Figueiredo
On Mon, 30 Apr 2012 15:29:24 -0300, TechniciuM wrote: I run it using NetBeans IDE. Apache Tomcat is added to the server list. When I start the project, it is automatically built. So the Tomcat log is probably sent to the NetBeans console. You should take a look there. -- Thiago H. de Pau

Re: Issues in a page having multiple forms in tapestry 4

2012-04-30 Thread Howard Lewis Ship
This is normal for forms (at least, w/o Ajax). You upload a file, and the response to the HTTP reaquest is a new rendering of the entire page, so the data in the other form is lost. Merge them into a single form if you want them to coordinate. On Mon, Apr 30, 2012 at 12:12 AM, nazarhussain_s wr

Re: Exception report Tapestry + Hibernate HTTP 500

2012-04-30 Thread TechniciuM
I run it using NetBeans IDE. Apache Tomcat is added to the server list. When I start the project, it is automatically built. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Exception-report-Tapestry-Hibernate-HTTP-500-tp5674051p5676579.html Sent from the Tapestry - User ma

Re: Exception report Tapestry + Hibernate HTTP 500

2012-04-30 Thread Thiago H. de Paula Figueiredo
On Mon, 30 Apr 2012 14:45:01 -0300, TechniciuM wrote: @Thiago I have 4 logs here from my Apache Tomcat server. Is that what you need? No. I want the console or log, but just the part containing the full stack trace of the problem and nothing more. How do you run your Tomcat while developi

Re: Exception report Tapestry + Hibernate HTTP 500

2012-04-30 Thread TechniciuM
It all goes fine untill I implemented that Fruits extends Article. That's where it stopped and shows me that kind of exception. I am using Tap 5.2.( all taps liba ) and Hibernate 3.6.0 (Hibernate core 3.6.0, Hibernate JPA 2.0 Final, Hibernate c3p0 3.6.0, Hibernate annotations 3.2.0 ). @Thiago I

Re: Configuring pom to use .properties from root.

2012-04-30 Thread Thiago H. de Paula Figueiredo
On Mon, 30 Apr 2012 14:29:54 -0300, George Christman wrote: If you could point me to something in regards to using tapestry without maven, it would be greatly appreciated. Thanks Thiago. There is no difference between Tapestry with Maven and Tapestry without Maven. Again, Maven is a buil

Re: Configuring pom to use .properties from root.

2012-04-30 Thread George Christman
All set, If you could point me to something in regards to using tapestry without maven, it would be greatly appreciated. Thanks Thiago. On Mon, Apr 30, 2012 at 1:06 PM, Thiago H de Paula Figueiredo [via Tapestry] wrote: > On Mon, 30 Apr 2012 13:58:17 -0300, George Christman > <[hidden email] <

Re: Exception report Tapestry + Hibernate HTTP 500

2012-04-30 Thread Kalle Korhonen
On Mon, Apr 30, 2012 at 9:33 AM, TechniciuM wrote: > The thing is I don't think JARs are mixed. Main reason for this behavior Which versions of T5 and Hibernate are you using? I don't think it has anything to do with your entities but the IncompatibleClassChangeError you see in the trace. Kalle

Re: PerThread service unique?

2012-04-30 Thread Manuel Sugawara
On Mon, Apr 30, 2012 at 11:32 AM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > > One per thread (maybe zero, if it ends up not being used in a given >> thread). If you take a look at them in a debugger, the injected service >> object may look like there's a single shared instance,

Re: Configuring pom to use .properties from root.

2012-04-30 Thread Thiago H. de Paula Figueiredo
On Mon, 30 Apr 2012 13:58:17 -0300, George Christman wrote: If you wouldn't mind answering this question, I moved the .properties to the resources as you and lance both suggested. Should the application automatically pick this up? or would I need to configure it in the pom using include? Than

Re: Exception report Tapestry + Hibernate HTTP 500

2012-04-30 Thread Thiago H. de Paula Figueiredo
On Mon, 30 Apr 2012 13:33:36 -0300, TechniciuM wrote: So the main reason is I think the inheritance, ie I am not using extended mapping. What do you think, Thiago? Without the full stack trace from the console or log, I can't say anything. ;) -- Thiago H. de Paula Figueiredo Independent J

Re: Configuring pom to use .properties from root.

2012-04-30 Thread George Christman
This is where the Tap training would come in real handy. Is there any good setup tutorials using the new method? If you wouldn't mind answering this question, I moved the .properties to the resources as you and lance both suggested. Should the application automatically pick this up? or would I nee

Re: Exception report Tapestry + Hibernate HTTP 500

2012-04-30 Thread TechniciuM
The thing is I don't think JARs are mixed. Main reason for this behavior could be possibly find in the following scenario: When I implemented this like inheritance: @Entity @Table(name = "Article") @Inheritance(strategy = InheritanceType.TABLE_PER_CLASS) public class Articleimplements Serializable

Re: PerThread service unique?

2012-04-30 Thread Thiago H. de Paula Figueiredo
On Mon, 30 Apr 2012 13:15:22 -0300, Manuel Sugawara wrote: Hi all, Hi! I have a service that is marked with @Scope(ScopeConstants.PERTHREAD). Can I assume that there will be just *one* instance of this service per thread or there may be multiple instances?. One per thread (maybe zero

Re: Configuring pom to use .properties from root.

2012-04-30 Thread Thiago H. de Paula Figueiredo
On Mon, 30 Apr 2012 12:53:09 -0300, George Christman wrote: I just assumed it was part of the Tapestry's configuration Tapestry isn't built on Maven. By the way, since some months ago, Tapestry isn't built using Maven anymore (but this won't make any difference for anyone who doesn't us

PerThread service unique?

2012-04-30 Thread Manuel Sugawara
Hi all, I have a service that is marked with @Scope(ScopeConstants.PERTHREAD). Can I assume that there will be just *one* instance of this service per thread or there may be multiple instances?. I was under the impression that this service will be unique per thread but am facing a problem that mig

Re: Configuring pom to use .properties from root.

2012-04-30 Thread George Christman
I just assumed it was part of the Tapestry's configuration and felt adding Tapestry to the question would of just been redundant on a Tapestry mailing list. Just FYI, up until about 6 months ago, I've only ever really did front end development, so back end is pretty new. I was recently handed this

Re: Configuring pom to use .properties from root.

2012-04-30 Thread Thiago H. de Paula Figueiredo
On Mon, 30 Apr 2012 12:07:55 -0300, George Christman wrote: Sorry Thiago, I didn't realize this was a pure maven issue. I really need Howards Tap class to better understand the workings of tap so I can define what is tap related and what's not. In your e-mail, you haven't mentioned the wo

Re: Configuring pom to use .properties from root.

2012-04-30 Thread George Christman
Sorry Thiago, I didn't realize this was a pure maven issue. I really need Howards Tap class to better understand the workings of tap so I can define what is tap related and what's not. I didn't feel java was the right spot for this, but was directed to place it there by a non tapestry developer,

Re: Configuring pom to use .properties from root.

2012-04-30 Thread Lance Java
I'm a bit of a maven purist and I think that src/main/java is for java files only and any resource files should go in src/main/resources If you still want to do this, instead of whitelisting property files, you should blacklist *.java instead. Also, you don't need to include **/* in your second

Re: Configuring pom to use .properties from root.

2012-04-30 Thread Thiago H. de Paula Figueiredo
On Mon, 30 Apr 2012 11:41:42 -0300, George Christman wrote: Hello, Hi! This is a pure Maven question. Please avoid asking non-Tapestry related questions in the Tapestry mailing lists. I'm trying to get my project to use a login.properties file that has been placed in the java package

Configuring pom to use .properties from root.

2012-04-30 Thread George Christman
Hello, I'm trying to get my project to use a login.properties file that has been placed in the java package. "I'm not entirely sure this is where it should be placed". In order to get it to work, I needed to had the following build code to my pom src/main/ja

Re: Validators of field

2012-04-30 Thread Thiago H. de Paula Figueiredo
On Sun, 29 Apr 2012 17:52:48 -0300, Dimitris Zenios wrote: Nobody else want to do such kind of things?I dont think what i am trying to achieve is something special.There must be a way I don't think there's a direct way of doing what you want, as each validator has a hook for adding attrib

Re: Exception report Tapestry + Hibernate HTTP 500

2012-04-30 Thread Thiago H. de Paula Figueiredo
Hi! Please get the stack trace from the console or log instead of the Tapestry page error. In addition, it looks like you have mixed Hibernate JAR versions. Error invoking service builder method org.apache.tapestry5.hibernate.HibernateCoreModule.buildHibernateSessionSource(Logger, List, R

Re: Validators of field

2012-04-30 Thread Lance Java
All fields in tapestry have a FieldValidator property @Parameter(defaultPrefix = BindingConstants.VALIDATE) private FieldValidator validate; This will either be an instance of FieldValidatorImpl for a single validator or CompositeFieldValidator if there is more than one validator on a fie

Issues in a page having multiple forms in tapestry 4

2012-04-30 Thread nazarhussain_s
Hi , Currently I am using Tapestry 4 and I have a EditDetails page wherein I have two forms, One having all details related to data fields and another form having an Upload Document Component. If I upload a document in the second form and click on add document button,the doc gets added and