Re: [warning? / catastrophe] ognl 2.7 released / 4.1.2-SNAPSHOT integrated

2007-03-02 Thread Kalle Korhonen
Congratulations and thanks Jesse for all the hard work! It'll be interesting to say the least to see how well this will work. Kalle On 3/2/07, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: Well...In snapshot form at least, on howardlewisship.com for now. You can find the new dependencies list here:

[warning? / catastrophe] ognl 2.7 released / 4.1.2-SNAPSHOT integrated

2007-03-02 Thread Jesse Kuhnert
Well...In snapshot form at least, on howardlewisship.com for now. You can find the new dependencies list here: http://tapestry.apache.org/tapestry4.1/tapestry-framework/dependencies.html (most notably being ognl 2.7-SNAPSHOT and javassist 3.4.ga ) Please - for the love of jebus - if you run int

Re: T5 IOC - Pass string to module on load

2007-03-02 Thread Filip S. Adamsen
You could perhaps use a symbol? http://tapestry.apache.org/tapestry5/tapestry-ioc/symbols.html -Filip Peter Beshai skrev: I have a jar with a module in it, configured to be autoloaded (through maven2 editing the manifest). One of my services in the module reads from a properties file which is

BeanEditForm

2007-03-02 Thread Terry
Going forwards, is the plan to try and default the max length values of the input fields to the maxlength validation annotation on the model? Is there a way to clear the form if it is set in the ApplicationState? Can you get hold of the IP address of the client through the request object somehow

Re: [WARNING] T5 Injection of config properties

2007-03-02 Thread Terry
Thanks. I managed to do what I wanted using a system property, but couldn't work out how to do a similar thing using a .properties file. Perhaps something that would benefit from an example in the docs? Howard Lewis Ship wrote: > > There's a couple of layers of indirection getting in your way.

T5 JBoss Exception Redeploy Exception

2007-03-02 Thread Todd Orr
My problem happens after an exception occurs. Firstly, my tapestry example deploys fine. If any exception occurs I make the appropriate changes and then redeploy to jboss. Then I get the following error when trying to resolve a page. stack trace: 20:15:29,077 ERROR [ExceptionReport] Render queue

Re: Newbie - Tapestry and Databases

2007-03-02 Thread Hernâni Cerqueira
You could try torque from apache, it's easy to use and set up, and anyone who knows how to use an import staement knows how to integrate torque with tapestry. If you want some more info feel free to ask... Hernâni Damian Sobieralski escreveu: I am wondering if anyone could assist me in resour

FW: Newbie - Tapestry and Databases

2007-03-02 Thread Damian Sobieralski
FYI (for posterity)- Some kind soul passed me the following to do IBATIS and Hibernate via Hivemind: http://hivetranse.sourceforge.net/web/index.html -Original Message- From: Damian Sobieralski [mailto:[EMAIL PROTECTED] Sent: Friday, March 02, 2007 1:07 PM To: Tapestry users Subject: N

Re: Newbie - Tapestry and Databases

2007-03-02 Thread Olivier Jacquet
For Tapestry 4 there is the excellent book by Tong Ka Iok which covers database access and hibernate in detail. http://www.agileskills2.org/EWDT/ Damian Sobieralski wrote: I am wondering if anyone could assist me in resources for working with databases? As a newbie, I've went through bo

T5 IOC - Pass string to module on load

2007-03-02 Thread Peter Beshai
I have a jar with a module in it, configured to be autoloaded (through maven2 editing the manifest). One of my services in the module reads from a properties file which is passed in by a string. Rather than hard-coding the string into the service, I was hoping to be able to configure it externally

Newbie - Tapestry and Databases

2007-03-02 Thread Damian Sobieralski
I am wondering if anyone could assist me in resources for working with databases? As a newbie, I've went through book and tutorial examples covering form submission and page rendering in Tapestry. YAY! But now I am ready (I think) to dive into database access. But a quick search on this topic

Re: [WARNING] Latest Tapestry 5 Screencast

2007-03-02 Thread Thiago H de Paula Figueiredo
On Thu, 01 Mar 2007 23:48:37 -0300, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: Good idea; my big problem is that the tools I'm using don't allow for editting, or for adding title cards. I suggest you to try Wink (http://www.debugmode.com/wink/). It's free and full of good features. ;) On

Re: plugins for a tapestry app?

2007-03-02 Thread James Carman
Someone posted something like that a while back, I believe. Try searching the archives. On 3/2/07, Steve Shucker <[EMAIL PROTECTED]> wrote: Could one of the gurus please post some example hivemind config showing how I can include a hivemodule.xml with my component library project so that the li

Re: tapestry 4 to focus on specified field

2007-03-02 Thread haipeng du
I know these. But I just think that may be useful and helpful to add focus fields order list to form. On 3/2/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: Tapestry will add JavaScript to focus on the first field that has an error. If no fields are in error, then the first required field. If

Re: tapestry 4 to focus on specified field

2007-03-02 Thread Howard Lewis Ship
Tapestry will add JavaScript to focus on the first field that has an error. If no fields are in error, then the first required field. If no required fields, then the first field, period. The focus parameter is used when you have multiple forms on one page, and want to control which one gets to ta

tapestry 4 to focus on specified field

2007-03-02 Thread haipeng du
How could I set up form and field to make tapestry form focus on specified field. In the form, it is only one parameter called "focus" which is boolean. It should have parameter that takes a list of fields name or id for focus order. Does t4 have that? Thanks a lot. -- Haipeng Du Software Engine

How to add a .js scripts to a 3.x Shell Component

2007-03-02 Thread Mark Stang
Hi, I have some .js scripts that I am specifying external to the Shell component. Is there a way to add them to the Shell component? thanks, Mark Mark J. Stang Senior Engineer/Architect office: +1 303.468.2900 mobile: +1 303.507.2833 Ping Identity

Re: [WARNING] T5 parent POMs need plugin repositories included

2007-03-02 Thread Terry
Yup, if you have some repositories set in your settings.xml, Maven will use those. It's a bit of a moot point as to where you should put definitions for common plugins, but if something is likely to stop your build from working on a new user's machine (with an obtuse error message), then I normall

Re: Alternative for Shell parameter parseWidgets

2007-03-02 Thread Diego
Thanks Andy, That looks good, I will update to Tacos 4.1.1. I have seen that some tapestry dojo components moved to tapestry and back. But wouldn't DojoWidget or Widget belong in Tapestry core, because its a really generic component? Regards Diego On 3/1/07, andyhot <[EMAIL PROTECTED]> wrote:

Re: T5 parent POMs need plugin repositories included

2007-03-02 Thread Howard Lewis Ship
On more than one occasion, I've wiped out my ~/.m2/repository and rebuilt without a problem. I'll have to see if my ~/.settings.xml makes a difference. On 3/2/07, Terry <[EMAIL PROTECTED]> wrote: The source distributions need to have a section included in order to build on a clean machine usi

Re: Is there some way I can see the source code generated by tapestry?

2007-03-02 Thread Howard Lewis Ship
Ther'es a debugging option, -Djavassist-write-dir=target/javassist With that enable, Tapestry will write out the bytecode for any classes it creates or transforms. I then used the Jad decompiler to "view the source". Alternately, you can see the transformations for a particular component class

Re: plugins for a tapestry app?

2007-03-02 Thread Steve Shucker
anonymous/anon Dan Adams wrote: Is there an anonymous login for this? On Fri, 2007-03-02 at 09:41 -0500, James Carman wrote: There's a HiveMind module for that, actually. Check out: http://svn.javaforge.com/svn/hivemind/hivemind-hibernate3/trunk/src/main/resources/META-INF/hivemodule.xml

Re: plugins for a tapestry app?

2007-03-02 Thread Dan Adams
Is there an anonymous login for this? On Fri, 2007-03-02 at 09:41 -0500, James Carman wrote: > There's a HiveMind module for that, actually. Check out: > > http://svn.javaforge.com/svn/hivemind/hivemind-hibernate3/trunk/src/main/resources/META-INF/hivemodule.xml > > That's my hivemodule.xml fil

Re: plugins for a tapestry app?

2007-03-02 Thread Steve Shucker
Could one of the gurus please post some example hivemind config showing how I can include a hivemodule.xml with my component library project so that the library automagically registers itself with whatever application is running? I've thought for a while that the *.application file was somethi

Re: Tapestry 4 dynamically changing the template

2007-03-02 Thread Steve Shucker
You've got two separate problems here: 1) choosing which component to render at runtime without a fixed list of possibilities 2) pulling the template from the database The first problem is addressed by Michael Henderson's DynamicBlock: http://www.behindthesite.com/blog/C1931765677/E1630021481/

Re: plugins for a tapestry app?

2007-03-02 Thread James Carman
There's a HiveMind module for that, actually. Check out: http://svn.javaforge.com/svn/hivemind/hivemind-hibernate3/trunk/src/main/resources/META-INF/hivemodule.xml That's my hivemodule.xml file and it basically just sets up a configuration point that allows any HiveMind module to contribute to

Re: plugins for a tapestry app?

2007-03-02 Thread Dan Adams
hmm. specifically for hibernate, how do you have it contribute new entities? On Thu, 2007-03-01 at 23:49 -0500, James Carman wrote: > Since HiveMind is already integrated with T4, I'd say use it. It has > the ability to dynamically discover new modules like you're wanting. > I came up with a simi

Tapestry 4 dynamically changing the template

2007-03-02 Thread Moore, Andrew
Hi, I'm planning on writing a content management system in Tapestry. The plan is that the users should be able to write and design their own html pages, and then with a simple tapestry reference (with all the properties set in a page specification) get all the dynamic content entered into their htm

T5 parent POMs need plugin repositories included

2007-03-02 Thread Terry
The source distributions need to have a section included in order to build on a clean machine using the specified plugins. You can use the section declared in the tapestry-project pom, but you also need to add an entry for http://repo1.maven.org/maven2/ for the javadoc and javasource plugins. Te

Re: [WARNING] T5 validation

2007-03-02 Thread Terry
> I could make this error noticable by requiring that > all components have an explicit id in the template I think that the approach of making the framework smart enough to provide useful default behaviours is always a good one. If anything is lacking at the moment, it is just documentation to s

Is there some way I can see the source code generated by tapestry?

2007-03-02 Thread 黄翔
I think the code generated for components is really useful for debugging and understanding. So , is there some way I can view the source code. -- huang xiang Guangzhou, China.

Re: Latest Tapestry 5 Screencast

2007-03-02 Thread Massimo Lusetti
On 3/1/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: @NonVisual annotation is not a big issue for me. Sometimes, the bean in question is out of your control, and you don't have the ability to annotate it (or maybe a property is visible to some users and not to others), and that's where you n