How to map a html field to a complicated property of page class in Tapestry5.0.4

2007-05-19 Thread Allen Guo
Hi All, There is a page class below. // ProductDetail.java private Goods _goods; public void setGoods(Goods g) { this._goods = g; } public Goods getGoods() { Goods goods = new Goods(); goods.setDescription("Pure Cotton TShirt"); goods.setName("Pumpkin"); this._goods = goods; } ... // ProductDetail

Validation display format not good in IE(Tapestry5.0.4)

2007-05-19 Thread Allen Guo
Hi All, Has anyone tried the validation message display in IE I found the validation message display in IE is not good, but it's fine in FireFox. The test is based on Tapestry5.0.4 or Tapestry5.0.3 Allen Guo - To unsubscribe,

How to load a image dynamiclly in tapestry5.0.4

2007-05-19 Thread Allen Guo
Hi All, I want to show the ProductDetail page with product image. It looks like . You know, every product has different image name,so I need to pass the string 'p_001.jpg' to the corresponding page. As result the img tag should look like or I can use Asset to do it. But I tried to do it using th

just posted some thoughts on tapestry and its future

2007-05-19 Thread Warner Onstine
This is something that I've been thinking about for a while and wrote a blog post about why I think Tapestry hasn't seen greater adoption, I would like to encourage all who are interested in commenting (or just reading) to visit my blog. I would like this to be a constructive discussion, so

Re: Tapestry Bayeux 2.0.0-beta2 Release

2007-05-19 Thread Jesse Kuhnert
I don't think this is something I would want to add in to the core simply because there are way too many ways to do this and choosing the wrong one will hurt everyone else... For instance - off the cuff I would probably do something more like this instead: function disableInputs(ids){ for (v

Re: Tapestry Bayeux 2.0.0-beta2 Release

2007-05-19 Thread Geoff Callender
To all Tapestry users: It seems to me that "do it once" is an essential capability that everyone desires in a web framework. Perhaps the existing Tapestry components (Submit, SubmitLink, ImageLink, and DirectLink) should have the option added to them? What do you think? Geoff On 20/

Re: T5 Templating and alternate css files based on current page

2007-05-19 Thread Martin Reurings
You're right, but I cannot assume that the webapp will be running as the root-context, it is accually unlikely that this app will be running as the root-context. Also I cannot yet know under what context-name it will be running, so I want to setup the links to all static content in a context-aw

Re: T4.1.2-Snapshot : Bad version number in .class file

2007-05-19 Thread Shing Hing Man
I got the Bad version number error when I am using Java 1.5. The error goes way when I switch to Java 1.6. Must we use Java 1.6 to run Tap 4.1.2 now ? Shing --- Shing Hing Man <[EMAIL PROTECTED]> wrote: > After getting the latest T4.1.2. snapshot > > org.apache.tapestry:tapestry-framewor

Re: dojo 0.4.3

2007-05-19 Thread Srinivas Yermal
Hi Andreas, Thanks for looking into it. I just tried replacing the dojo directory with the dojo-0.4.3 download. Quite a few things do work, but a lot of it as you said, especially ajax calls back to the server dont seem to work. Can I help in anyway? Are there any specific steps that I need to f

I can’t use enity in template

2007-05-19 Thread Allen Guo
Hi All I cann't still use enities in template in Tapestry5.0.4, the system throw the same exception below Failure parsing template context:WEB-INF/ProductEdit.html: The entity "nbsp" was referenced, but not declared. Allen Guo -

Re: Tapestry Bayeux 2.0.0-beta2 Release

2007-05-19 Thread Andreas Andreou
And well done for the release! On 5/19/07, Andreas Andreou <[EMAIL PROTECTED]> wrote: Yep, those *Once components can be handy... I took a look at the source... In ClickOnce.script, perhaps this is a better try (instead of redifining tapestry.form.validation.validateForm ) dojo.event.connect

Re: Tapestry Bayeux 2.0.0-beta2 Release

2007-05-19 Thread Andreas Andreou
Yep, those *Once components can be handy... I took a look at the source... In ClickOnce.script, perhaps this is a better try (instead of redifining tapestry.form.validation.validateForm ) dojo.event.connectAround(tapestry.form.validation, "validateForm ", function(miObj) { // calls the 'origi

Re: Create sub-package base on Tapestry5.0.4

2007-05-19 Thread Allen Guo
It does work if I put the Shop.html inside org/opend/bogo/pages/admin/ But it really doesn't work if put it under WEB-INF/admin :( I visit the page with "http://localhost/bogo/admin/Shop"; , am I right? Howard Lewis Ship 写道: org.opend.bogo.pages.admin.Shop will search for its template on the c

Re: Create sub-package base on Tapestry5.0.4

2007-05-19 Thread Howard Lewis Ship
org.opend.bogo.pages.admin.Shop will search for its template on the classpath as org/opend/bogo/pages/admin/Shop.html or in the web context as WEB-INF/admin/Shop.html. I'm pretty sure this works, because I was demoing it for a client recently ... On 5/19/07, Allen Guo <[EMAIL PROTECTED]> wrote:

Tapestry Bayeux 2.0.0-beta2 Release

2007-05-19 Thread Jacob von Eyben
Tapestry Bayeux v2.0.0-beta2 is now available. New in this version: * Upgraded component library to be tapestry 4.1 compatible. * Made it possible to specify more than just once download resource source when using the DownloadLink component. * Made it possible to set a content-disposition header

Create sub-package base on Tapestry5.0.4

2007-05-19 Thread Allen Guo
Hi All, I set the param-name tapestry.app-package=org.opend.bogo in web.xml So the default page classes have to be put in package org.opend.bogo.pages Now I create a class named Shop.java and the corresponding Shop.html in sub-package named org.pend.bogo.pages.admin. It's working fine when I test

The webApp loading slowly? T5+Spring2

2007-05-19 Thread Donyee
Hi all, I am using T5.05 snapshot + Spring2 in my app. After I start the server(Jetty or Tomcat5), when i click the pageLink ( ) in my page sereral times ,then the app becomes slowly. The memory changes not much. The app is well before i add the Spring to manage the Dao. Does anyone meet this qu

Re: dojo 0.4.3

2007-05-19 Thread Andreas Andreou
I just tried the 4.0.1 war with the latest dojo and it's not really compatible - i think there were a few api changes in dojo. Inspite of that, several things do work (using the kitchen-sin profile), and it shouldn't be hard to update tacos for dojo 0.4.3. I'm not working with TAP-4.0.2 and tacos

T4.1.2-Snapshot : Bad version number in .class file

2007-05-19 Thread Shing Hing Man
After getting the latest T4.1.2. snapshot org.apache.tapestry:tapestry-framework:4.1.2-20070518.223114-88 my application produce the exception below. I wonder if anyone else is experiencing the same problem. Shing org.apache.hivemind.ApplicationRuntimeException: Error building service tap

Re: dojo 0.4.3

2007-05-19 Thread Srinivas Yermal
Hi, I am using TAP-4.0.2 and the tacos 4.0.1 for an app in production. The dojo code that comes along with this I think is 0.3.3. Can I upgrade this to 0.4.3 without any side-effects? Has anybody done this before? Thanks much, Srini. On 5/16/07, Andrea Chiumenti <[EMAIL PROTECTED]> wrote: Ple