Re: T5: disable javascript

2007-11-05 Thread lasitha
On 11/5/07, Angelo Chen <[EMAIL PROTECTED]> wrote: > > Is there a way to disable or exclude those default javascripts(that's around > 200k in size)? I notice if there is form in a page T5 will include some > javascript files. Angelo, perhaps i'm missing something but couldn't you just set clientVa

Re: another tapestry 4.1.3 archetype

2007-11-05 Thread Henrik Schlanbusch
> > Uli - I would love to try this one out, but it seems that the link is dead. > Could you provide another one? Sorry, my fault. The dot in the end of the sentence containing the link was included in my link. The link is correct, but at least in thunderbird it is interpreted together with the d

Re: another tapestry 4.1.3 archetype

2007-11-05 Thread Henrik Schlanbusch
Ulrich Stärk spielviel.de> writes: > > Hi all, > > for the workshop I held with some students a month ago I created a maven archetype that uses > Tapestry, Hibernate and Spring. This one is very similar to the current tapestry-archetype but is > based on more recent Tapestry (4.1.3), Hibernat

Re: [Fwd: T5: basic CRUD pattern]

2007-11-05 Thread César Lesc
may be this post can help your hair. http://article.gmane.org/gmane.comp.java.tapestry.user/45921 Cesar. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[Fwd: T5: basic CRUD pattern]

2007-11-05 Thread Andy Huhn
Wanted to mention: 1) Thanks, Angelo and Davor, for the excellent Wiki page I referenced earlier. That definitely filled a few gaps for me. (Although I'm still looking for a page like I described below). 2) I've also seen Howard's reference on Page Navigation (http://tapestry.apache.org/tapestr

T5: basic CRUD pattern

2007-11-05 Thread Andy Huhn
Hello, I know I'm going to show myself as a newbie...but I've been pulling my hair out for hours (and I don't have a whole lot left to pull out!), and I need some help. Is there an example of a basic T5 CRUD app out there with Hibernate integration? I've seen the wiki page (http://wiki.apache.or

Re: source code for Screencast #5

2007-11-05 Thread Howard Lewis Ship
They are too subject to change, existing primarily for the purposes of testing not instruction. On Nov 5, 2007 11:35 AM, #Cyrille37# <[EMAIL PROTECTED]> wrote: > #Cyrille37# a écrit : > > Hello > > Is someone know where are source code from Screencast #5 ? > Ok, I've found it in source tree : > ta

Re: About Slf4j Error

2007-11-05 Thread Lococode
Yes , Log4j is 1.2.14. cmd mvn jetty:run , no errors. Howard Lewis Ship wrote: > > Make sure you are using Log4J 1.2.14. > > On Nov 5, 2007 9:09 AM, Lococode <[EMAIL PROTECTED]> wrote: >> >> Hi, new to Tapesty 5 here, using 5.0.6 >> >> I get the quickstart,and modify the Start.java >> packag

Re: tapestry-hibernate conflicts hibernate-search

2007-11-05 Thread Ted Steen
2007/11/4, T. Papke <[EMAIL PROTECTED]>: > Thank you for your answer. > > What is the difference between tapestry-hibernate module and an per > Thread session instanced by tapestry-ioc? Is there any disadvantage when > switching? A per thread session instance is just what you get with tapestry-hib

Re: T5.0.6: validaiton on select

2007-11-05 Thread Josh Canfield
Try passing an empty string as the value instead of null. Are other fields in the form validating correctly? Josh On Nov 4, 2007 9:12 AM, Marc A. Donis <[EMAIL PROTECTED]> wrote: > Hi again, > > I'm having a problem getting the select component to validate. I do: > > > > where model is define

T5: Passing a component as parameter where the parameter type is subclass of that component.

2007-11-05 Thread Ted Steen
Hi, I inject some components that all extends MyComponentBase. MyComponentBase is an abstract class in the ".base" package. Then I loop over these components with a loop-value of type MyComponentBase (which works fine) Now, when I try to pass the loop-value to a component parameter of type MyComp

Changing from https and http

2007-11-05 Thread Norman Franke
I have a Tapestry 4.1.3 form that I submit via https (using the port and scheme parameters for the form.) This seems to work great. However, I then want to switch back to plain old http. While I can throw a redirect exception with an external URL, this doesn't preserve page state. In my cas

Re: T5 how to control login state

2007-11-05 Thread Chris Lewis
Marcus, It works fundamentally the same as using a dispatcher, with the benefit that it runs before the dispatcher pipeline. The big difference is you'd implement RequestFilter instead of Dispatcher, and you'd contribute to that pipeline accordingly. Keep in mind that you will face the same i

Re: another tapestry 4.1.3 archetype

2007-11-05 Thread Ulrich Stärk
Ulrich Stärk schrieb: Hi all, for the workshop I held with some students a month ago I created a maven archetype that uses Tapestry, Hibernate and Spring. This one is very similar to the current tapestry-archetype but is based on more recent Tapestry (4.1.3), Hibernate (3.2.5.ga) and Spring (

another tapestry 4.1.3 archetype

2007-11-05 Thread Ulrich Stärk
Hi all, for the workshop I held with some students a month ago I created a maven archetype that uses Tapestry, Hibernate and Spring. This one is very similar to the current tapestry-archetype but is based on more recent Tapestry (4.1.3), Hibernate (3.2.5.ga) and Spring (2.0.7) versions and also

IJSONRender usage

2007-11-05 Thread Ken nashua
Hi, Is the usage of IJSONRender required to be within the context of an org.apache.tapestry.dojo.form.AbstractFormWidget derivative or a org.apache.tapestry.form.AbstractFormComponent derivative ? I am considering just using it in a widget that operates links... no form... meaning... I wuold

Re: 3 new French Tapestry5 tutorials

2007-11-05 Thread Michael Courcy
Si vous m'y autorisez je peux faire la traduction en anglais et la poster sur le wiki, comme je découvre Tapestry 5 mais que je connais Spring et hibernate (ainsi que wtp) ça ne devrait pas poser de souci. If you allow me I would translate it and post on the wiki. As I 'm a newbie in tapestry

Re: T5 how to control login state

2007-11-05 Thread Marcus
Hi Massimo, Can you post some code about this RequestFilter solution ? Thanks, Marcus - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: source code for Screencast #5

2007-11-05 Thread Marcus
Hi Cyrille, Try tapestry-core source code. Marcus - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: source code for Screencast #5

2007-11-05 Thread #Cyrille37#
#Cyrille37# a écrit : Hello Is someone know where are source code from Screencast #5 ? Ok, I've found it in source tree : tapestry-core\src\test\java\org\apache\tapestry\integration\app1\components Perhaps those test app could be referenced somewhere like examples ;-) Cheers cyrille

Re: 3 new French Tapestry5 tutorials

2007-11-05 Thread #Cyrille37#
Howard Lewis Ship a écrit : Thanks, looks like a great effort. Sorry I've been so swamped about getting your translations on the main web site. Thanks Howard : Here is translation, done with my poor english : [fr] Premier projet avec Tapestry5, Spring et Hibernate : [en] First project with

Re: 3 new French Tapestry5 tutorials

2007-11-05 Thread Howard Lewis Ship
Thanks, looks like a great effort. Sorry I've been so swamped about getting your translations on the main web site. On Nov 5, 2007 3:48 AM, #Cyrille37# <[EMAIL PROTECTED]> wrote: > Hello, Bonjour, > > There are 3 new tutorials for Tapestry5 in French. > Il y a 3 nouveaux tutoriels en français pou

source code for Screencast #5

2007-11-05 Thread #Cyrille37#
Hello Is someone know where are source code from Screencast #5 ? Thanks cyrille - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: About Slf4j Error

2007-11-05 Thread Howard Lewis Ship
Make sure you are using Log4J 1.2.14. On Nov 5, 2007 9:09 AM, Lococode <[EMAIL PROTECTED]> wrote: > > Hi, new to Tapesty 5 here, using 5.0.6 > > I get the quickstart,and modify the Start.java > package org.example.myapp.pages; > > import java.util.Date; > > import org.apache.tapestry.ioc.annotatio

About Slf4j Error

2007-11-05 Thread Lococode
Hi, new to Tapesty 5 here, using 5.0.6 I get the quickstart,and modify the Start.java package org.example.myapp.pages; import java.util.Date; import org.apache.tapestry.ioc.annotations.Inject; import org.slf4j.Logger; /** * Start page of application myapp. */ public class Start {

Problem contributing a DataTypeAnalyzer

2007-11-05 Thread Sergey Koshcheyev
Hi, I'm using Tapestry 5.0.6. I'm trying to contribute a DataTypeAnalyzer using this code: public static void contributeDataTypeAnalyzer( OrderedConfiguration configuration) { log.warn("contributeDataTypeAnalyzer"); configuration.add("CalendarDateTime", new CalendarDa

Re: T5 how to control login state

2007-11-05 Thread Chris Lewis
That's a good point. It would seem to me that the earlier we can check and allow or deny access, the better. I haven't looked into when services like ComponentClassResolver are instantiated, but as long as the basic services (such as that one) are available, I think RequestFilters would be the

Re: T4: Unable to update static binding

2007-11-05 Thread Jesse Kuhnert
try changing property="satisfactoryPerformance" to something that isn't a literal binding like property="ognl:propertyName". Specifying just "satisfactoryPerformance" may make it think you want to use a string literal value of "satisfactoryPerformance" which would indeed be immutable and not someth

Re: 3 new French Tapestry5 tutorials

2007-11-05 Thread #Cyrille37#
Michael Bernagou a écrit : Merci :) Je sais pas pourquoi le firewall de ma boite bloque le site... Dommage, car developpez.com est vraiment très bien et très complet. I must pour l'auto-formation des employés ;-) Cyrille. PS : sorry for english reader, but it's some time very hard for me

Re: T4: Unable to update static binding

2007-11-05 Thread Henrik Schlanbusch
Jesse Kuhnert gmail.com> writes: > > We'd probably have to see more of your stack trace, but it looks like > someone is trying to update that parameter at some point. > > On Nov 5, 2007 6:17 AM, Henrik Schlanbusch enovate.no> wrote: > > Hi > > > > I am still in the process of upgrading from T

Re: T5 how to control login state

2007-11-05 Thread Massimo Lusetti
On Nov 5, 2007 2:02 PM, Chris Lewis <[EMAIL PROTECTED]> wrote: > Regarding the dispatcher article (which I wrote), your problem is that > you are attempting to use @ApplicationState in a service, and this is > not possible, at least in this case. Why? Because state is based on the > request, and s

Re: T4: Unable to update static binding

2007-11-05 Thread Jesse Kuhnert
We'd probably have to see more of your stack trace, but it looks like someone is trying to update that parameter at some point. On Nov 5, 2007 6:17 AM, Henrik Schlanbusch <[EMAIL PROTECTED]> wrote: > Hi > > I am still in the process of upgrading from T3 to T4.1 > which have taken quite a bite of

Re: 3 new French Tapestry5 tutorials

2007-11-05 Thread Michael Bernagou
Merci :) Je sais pas pourquoi le firewall de ma boite bloque le site... Le 05/11/07, Michael Courcy <[EMAIL PROTECTED]> a écrit : > > Bravo et merci. > > #Cyrille37# a écrit : > > Hello, Bonjour, > > > > There are 3 new tutorials for Tapestry5 in French. > > Il y a 3 nouveaux tutoriels en françai

Re: 3 new French Tapestry5 tutorials

2007-11-05 Thread Michael Courcy
Bravo et merci. #Cyrille37# a écrit : Hello, Bonjour, There are 3 new tutorials for Tapestry5 in French. Il y a 3 nouveaux tutoriels en français pour Tapestry5. Thanks to Baptiste Meurant ! Merci à Baptiste Meurant ! Premier projet avec Tapestry5, Spring et Hibernate : http://baptiste-meurant

[T5] Javascript : integration of DWR ( Was: 3 new French Tapestry5 tutorials )

2007-11-05 Thread Francois Armand
To begin : #Cyrille37# wrote: Hello, Bonjour, Thanks to Baptiste Meurant ! Merci à Baptiste Meurant ! Thanks for the time spent, and thank you Cyril for the info. As it seems taht javascript integration is a hot topic, I want to highlight that one of the tutorials shows how to integrate DWR w

Re: T5 how to control login state

2007-11-05 Thread Chris Lewis
Lyifan (and anyone else considering page extention for access control), First off, in my opinion centralizing access logic in a base page and forcing protected pages to extend it is an anti-pattern (http://en.wikipedia.org/wiki/Anti-pattern), and should therefore be avoided. Regarding the di

Re: Tapestry 4.1.3 and hibernate integration

2007-11-05 Thread Alejandro Scandroli
Trails provides an out of the box Tapestry & Hibernate integration too. Have you consider Trails? http://www.trailsframework.org/ Alejandro. On 11/5/07, trainee24 <[EMAIL PROTECTED]> wrote: > > hi Uli, > > Thanks for the url. I will try it. Thank you. > > Regards, > trainee24 > > -- > View this m

Re: After upgrade to T4.1.3: clientValidationEnabled together with PropertySelection does not work any more

2007-11-05 Thread Marcus Schulte
no test-case neccessary. I stumbled over the same thing and will fix it 2007/11/5, Ulrich Stärk <[EMAIL PROTECTED]>: > > Sounds like http://issues.apache.org/jira/browse/TAPESTRY-1806. > I suggest you write a very simple test demonstrating the issue and attach > it to the JIRA issue report. > > Ul

3 new French Tapestry5 tutorials

2007-11-05 Thread #Cyrille37#
Hello, Bonjour, There are 3 new tutorials for Tapestry5 in French. Il y a 3 nouveaux tutoriels en français pour Tapestry5. Thanks to Baptiste Meurant ! Merci à Baptiste Meurant ! Premier projet avec Tapestry5, Spring et Hibernate : http://baptiste-meurant.developpez.com/tutoriaux/tapestry5-spri

Re: Tapestry 4.1.3 and hibernate integration

2007-11-05 Thread trainee24
hi Uli, Thanks for the url. I will try it. Thank you. Regards, trainee24 -- View this message in context: http://www.nabble.com/Tapestry-4.1.3-and-hibernate-integration-tf4749870.html#a13585095 Sent from the Tapestry - User mailing list archive at Nabble.com. ---

T4: Unable to update static binding

2007-11-05 Thread Henrik Schlanbusch
Hi I am still in the process of upgrading from T3 to T4.1 which have taken quite a bite of time now. I encounter the following problem that I never had in 3.1: Unable to update OGNL expression '' of [EMAIL PROTECTED]/ $AjaxPlaceHolder] to satisfactoryPerformance: Binding with value satisfa

Re: Tapestry 4.1.3 and hibernate integration

2007-11-05 Thread Renat Zubairov
You can also use ready-made integrations such as Honeycomb or Hivetranse. (unfortunately can't find a link to honeycomb anymore) Renat On 05/11/2007, Ulrich Stärk <[EMAIL PROTECTED]> wrote: > > There are several ways to do this. One of them is wr

Re: Getting BigDecimal Translator to work

2007-11-05 Thread rkalsi
Right, I wasnt aware that the contribute methods need to be placed in AppModule.java in order to be discovered by Tapestry. That seems to be the issue. Thanks. rkalsi wrote: > > I have written a BigDecimal translator which converts String -> > BigDecimal, but It doesnt seem to work. > > In m

Re: Newbie: Help me on using Select Component

2007-11-05 Thread Angelo Chen
Hi Eko, Glad you found that blog useful, it's just something I learned from the mailing list and I keep it there for re-use, I think newbies experience is just what would be T5 user needs, just put yours online to help others and help yourself too. A.C. Eko S.W. wrote: > > oookey !!! > That'

Re: Tapestry 4.1.3 and hibernate integration

2007-11-05 Thread Ulrich Stärk
There are several ways to do this. One of them is writing a Hivemind service which handles the SessionFactory and have that injected into your pages (you have to make sure to properly open and close your sessions though). A very good example can be found in Kent Tongs book (http://www.agileskills2.

Re: T5: disable javascript

2007-11-05 Thread Angelo Chen
Hi Kris, so far the approach works, it's just a workaround, I'm eagerly waiting for T5's Ajax support. a little curious as well, how framework provides Ajax support? T5 is loading around 200k js files, that's far bigger than jQuery's 20k, might be better T5's core should not deal with Javascripts

Multiple directory for page object class

2007-11-05 Thread chermawan
What if I want to store object classes in different directories for Tapestry 5 ? Can I do that.. how ? Thanks -- View this message in context: http://www.nabble.com/Multiple-directory-for-page-object-class-tf4750510.html#a13583810 Sent from the Tapestry - User mailing list archive at Nabble.com

Re: Newbie: Help me on using Select Component

2007-11-05 Thread Eko S.W.
oookey !!! That's just what I need!! Maybe I am planning to jot something I know about Tap So, all newbie out there can tak advantage of our experiences Btw, why your blog doesn't shown up on my Google Search ??? ;) -- Best wishes, Eko SW My Heart : http://swdev.blogs.friendster.com/my_blog/ My

Re: After upgrade to T4.1.3: clientValidationEnabled together with PropertySelection does not work any more

2007-11-05 Thread Ulrich Stärk
Sounds like http://issues.apache.org/jira/browse/TAPESTRY-1806. I suggest you write a very simple test demonstrating the issue and attach it to the JIRA issue report. Uli On So, 4.11.2007, 20:48, spot_ sagte: > > Hi > > after upgrading my webapp from Tapestry 4.1.2 to 4.1.3 form components > with