T5: Tapestry-hibernate and console app

2007-12-07 Thread Angelo Chen
Hi, Tapestry-hibernate works very well in my t5 app, now I have need to write a console app that will access the same hibernate data store, how to achieve this? thanks. Angelo -- View this message in context: http://www.nabble.com/T5%3A-Tapestry-hibernate-and-console-app-tf4965728.html#a142248

Re: T5: Possible Literal Binding bug

2007-12-07 Thread Andrew Pietsch
Just to clarify, 1) worked but incorrectly prepended "literal:" to the result. 2) fails complaing that the string "Page..${..}.." wasn't a page property. 3) works correctly when the "t:title" parameter is specified as having "literal" as the default prefix. I would think that sounds like a

Re: Web Content Management Systems

2007-12-07 Thread Michael Lake
I believe I'm working on what you seek. I'm working on a project which extends tapestry 5 to pull page/ component templates from an external data store. Where Tapestry pages are normally pulled from the classpath: or the context:, I've added another option(http:) which pulls page/component

Re: T4: replacing script asset in AbstractSubmit

2007-12-07 Thread Steve Shucker
I'm a bit nutty about writing clean code, and I didn't want to clutter things up with binding events left and right or extra script tags for each handled async submit. I ended up just subclassing Submit and LinkSubmit to include my own tweaks. This code injects a as the first element of each

Re: Web Content Management Systems

2007-12-07 Thread unimatrixzero
Thank's for the answers. > You could write some components against the JCR API and access the > underlying repository Magnolia uses (I don't know if this is possible > with OpenCms). Yes, to connect from (Tapestry) Web App to the JCR Repository was also my first idea. The basic question a

T5: Problem with select component value got null on action

2007-12-07 Thread Ritesh.S
Hello Everybody, I am newbie to Tapestry. I am using Tapestry 5.0.5. I have a problem with select component. I have populated the select component using GenericSelectModel class with some collection of data. When I save new value in database which is shown in the select component, after saving

Re: Web Content Management Systems

2007-12-07 Thread Ulrich Stärk
Performance will vary greatly depending upon which strategy your JCR implementation uses to persist items. The type and amount of items you want to store in your repository will also influence performance. For you, storing thousands of thumbnails in a repository might not have been the right so

Re: Web Content Management Systems

2007-12-07 Thread Phillip Rhodes
I did write some tapestry components to search, display, upload, modify contents in a JCR repository, but after we loaded a few hundred images into the repo, our application slowed to a crawl. The problem (and it's a common one for many repositories) was that to return a content item, the repo

Re: Tapestry EventListener doesn't seem to submit form

2007-12-07 Thread caarney
I was playing with this AJAX functionality and I found some strange behaviour. If the component id is not the same as element id, the form is submitted, but the event listener method is not processed. Everything work fine in this case: @EventListener(events="onchange", targets="

Re: Web Content Management Systems

2007-12-07 Thread Ulrich Stärk
You could write some components against the JCR API and access the underlying repository Magnolia uses (I don't know if this is possible with OpenCms). Have a look at the Jackrabbit website (that's the repository implementation Magnolia uses) to learn how to register the repository with JNDI. T

Web Content Management Systems

2007-12-07 Thread unimatrixzero
Hi! I'm currently testing a few Open Source WCMS Systems like OpenCms and Magnolia (Java based). All this WCMS using JSP's for Templates (together with a own Taglib) and Magnolia stores the Content in an JSR-170 Java Content Repository. I'm wondering if it is possible to integrate some Content fr

Re: [T5] Message Page Redirect

2007-12-07 Thread Marcelo Lotif
Jean, If i understood your problem well, you have the same problem that i had. i have all the user's permissions stored on the database. To control the access, i followed these how-to's to create a dispatcher: http://wiki.apache.org/tapestry/Tapestry5HowToCreateADispatcher http://wiki.apache.org/t

Re: AssetProtectionDispatcher update

2007-12-07 Thread Marcelo Lotif
Robert, I pretty understand what your component does, but some things are not really clear for me. I'd created a new 5.0.5 project called "testBlock" to test your component. When i put the dependency on pom.xml, It blocks the access to the "testBlock/assets/" url. Alright, but if i put a file "fil

Re: Tapestry 6

2007-12-07 Thread Marcus
Hi Emmanuel, If T5 still in alpha, what T6 will be? pre-alpha? :) I don't think so, just rumour. In my opinion T5 is the best framework available. I believe in Howard's work. Marcus

Re: Tapestry 6

2007-12-07 Thread Angelo Turetta
Emmanuel Sowah wrote: -- Forwarded message -- From: Emmanuel Sowah <[EMAIL PROTECTED]> Date: Dec 6, 2007 4:53 PM I'm using PageTester as well so be warned and don't break things. B scaring :) I heard there is a secret work on T6 Why do you always have to re-invent

Re: T5 How to write a layout component ?

2007-12-07 Thread Marcus
Hi Dapeng, Try this: src/main/resources/com/my/components/Layout.tml src/main/java/com/my/components/Layout.java src/main/webapp/Start.tml or src/main/resources/com/my/pages/Start.tml src/main/java/com/my/pages/Layout.java Marcus

RE: T4 Excel component

2007-12-07 Thread Lance Semmens
This will help you to write your own http://poi.apache.org/hssf/index.html Cheers, Lance. -Original Message- From: Joshua Jackson [mailto:[EMAIL PROTECTED] Sent: 07 December 2007 10:15 To: Tapestry users Subject: T4 Excel component Dear all, Is there any component for T4 that integrate

Re: Tapestry EventListener doesn't seem to submit form

2007-12-07 Thread caarney
Thanks a lot, it works. Maybe this information should be added to @EventListener documentation (difference between targets and elements parameters). Jessek wrote: > > Using elements="elementId" only targets and listens to dom nodes. > You only get the majority of automated functionality (like

T4 Excel component

2007-12-07 Thread Joshua Jackson
Dear all, Is there any component for T4 that integrates with excel? Thanks in advance, -- What you want today, may not exist tommorrow Blog: http://joshuajava.wordpress.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For add

Re: T5 How to write a layout component ?

2007-12-07 Thread Dapeng
Start.tml is in src/main/webapp/Start.tml Davor Hrg wrote: where's your start.tml located ? Davor Hrg On Dec 7, 2007 5:07 AM, Dapeng <[EMAIL PROTECTED]> wrote: Hi First time try T5 i followed the link http://tapestry.apache.org/tapestry5/tapestry-core/guide/templates.html http:

Re: T5 How to write a layout component ?

2007-12-07 Thread Davor Hrg
where's your start.tml located ? Davor Hrg On Dec 7, 2007 5:07 AM, Dapeng <[EMAIL PROTECTED]> wrote: > Hi > > First time try T5 > > i followed the link > http://tapestry.apache.org/tapestry5/tapestry-core/guide/templates.html > > > > > > http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";> >