Re: Tapestry5 and WebSphere6.1

2007-07-24 Thread yosemite
Hello Renat, thank you for your interest. This is what I got: http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";> TestWeb

Re: 4.1.2 dojo gregorianExtras.js

2007-07-24 Thread Marcus Schulte
see https://issues.apache.org/jira/browse/TAPESTRY-1551 I'm not sure, how this should be fixed ... . 2007/7/23, Malin Ljungh <[EMAIL PROTECTED]>: Hi, I have a problem with my 4.1: 2007-07-23 13:36:35,122 [http-8080-Processor4] WARN tapestry.services.Asset- Classpath resource '/dojo- 0.4.3/sr

Re: T5 Loading Component Assets

2007-07-24 Thread Nick Westgate
Hi Todd. I just tested this, not with a template, but just writing HTML. Details of my successful test follow, but first ... Are your images under the "resources" tree: \myapp\src\main\resources\jp\co\key_planning\myapp\tapestry\components That's important, I think. My component CheckBoxImage.

[T5.0.5] Can't use HTML Entities

2007-07-24 Thread Marcelo lotif
Anyone is using html entities such nbsp in T 5.0.5? I saw the TAPESTRY-1498 bug for this, but it was closed without a solution. Anyone know the way to use it? thanks in advance! -- Atenciosamente, Marcelo Lotif

Re: [T5.0.5] Can't use HTML Entities

2007-07-24 Thread 蝈蝈龙
You have to add http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> on the top of page. 2007/7/24, Marcelo lotif <[EMAIL PROTECTED]>: Anyone is using html entities such nbsp in T 5.0.5? I saw the TAPESTRY-1498 bug for this, but it was closed without a solution. Anyone know the way to us

Re: [T5.0.5] Can't use HTML Entities

2007-07-24 Thread Marcelo lotif
Thank you elon.guo! 2007/7/24, 蝈蝈龙 <[EMAIL PROTECTED]>: > > You have to add > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> > > on the top of page. > > 2007/7/24, Marcelo lotif <[EMAIL PROTECTED]>: > > > > Anyone is using html entities such nbsp in T 5.0.5? I saw the > > TAPESTR

Page render after the rewind

2007-07-24 Thread talk.small
I want to determine in pageBeginRender whether the current rendering of a page is from a rewound page, any thoughs? Thanks. -- View this message in context: http://www.nabble.com/Page-render-after-the-rewind-tf4136080.html#a11763349 Sent from the Tapestry - User mailing list archive at Nabble.co

Re: Page render after the rewind

2007-07-24 Thread Ben Dotte
Do all of your pages extend from a common base page of your own? In the base page you could set a transient page property during rewind indicating a rewind had occurred, then check that again during render. Something like this: public abstract boolean isFromRewind(); public abstract void setFromR

RE: component export message properties to global / application catalog

2007-07-24 Thread Marcus.Schulte
Hm, yes. Of course, "libID:pageName" should not really be a literal You can, for example, list all child-Namespace-IDs from your-app namespace, then load the pages and look for one that implements your interface, or always look for a page named "Home", or whatever. > -Original Message- > F

Re: T5 Loading Component Assets

2007-07-24 Thread Todd Orr
Ugh. I created a small test project and it works correctly there. Unfortunately, my real project is much larger. So, now I have the incredibly tedious task of starting a new project and adding code bit by bit until it breaks so that I can attempt to determine what is causing the failure. On 7/24/

[T4.1.2] Checkbox group and validation

2007-07-24 Thread #Cyrille37#
Hello, I need to make a component for validating several checkbox on server-side and client-side. I'm looking at the source of contrib:CheckboxGroup and friends. In this compoent I've found the client-side behavior and some server-side stuff (sub components managment). Do you know another s

Re: Mixing AjaxForm and Form

2007-07-24 Thread Marcus Schulte
I fear, I can't help a lot with your concrete problems. Nevertheless, two hints: - Maybe the Tap 4.1 docs on the subject helps: http://tapestry.apache.org/tapestry4.1/javascript/index.html - Did you consider updating to T 4.1.2? It's really an "almost-drop-in-replacement" for 4.0.x. And it's mai

RE: t4.1.2 internet explorer only issue with cycle.getResponseBuilder().updateComponent("foo")

2007-07-24 Thread Anna Vo
I've been using IE Developer Toolbar and there are no script errors and the elements with the proper IDs are found on the page using the @Any component. I noticed Shing sent this link out in his reply to tabs supporting listeners post (sent 7/23/07 "The following has an example (in Tap 4.1.2).")

T5 - tapestry-hibernate - Auto generate schema/tables?

2007-07-24 Thread Peter Beshai
Hi everyone, Is there any way to have Hibernate auto generate the schema if it hasn't already been defined? (The entities are POJOs with annotations). Is this done through the tapestry-hibernate package? Through the hibernate.cfg.xml? Maven? Sorry if this is off topic. If anyone can point me in

Re: T5 - tapestry-hibernate - Auto generate schema/tables?

2007-07-24 Thread Eugene Lozovan
Hello, I used Hibernate Annotations, in case if it might be helpful . E.L. On 24/07/07, Peter Beshai <[EMAIL PROTECTED]> wrote: Hi everyone, Is there any way to have Hibernate auto generate the schema if it h

Re: T5 - tapestry-hibernate - Auto generate schema/tables?

2007-07-24 Thread Jacob Bergoo
Hi Peter, Take a look at the Hibernate Tools project. We are using it to do reverse engineering, so based from tables in our oracle database we are generating hibernate mappingfiles, pojos, Dao Interfaces, Dao Implementations, Dao Test Classes (simple tests), ApplicationContext file for our persis

Re: Mixing AjaxForm and Form

2007-07-24 Thread RachelS
Hi Marcus I read the Tap4.1 documentation and ultimately we'll move up to that release. The project I am on now is simply to see how viable Tacos is to use. Even after reading the documentation, I still could not see (whether on 4.0 or 4.1) how to get the more detailed validation of Tacos forms

Re: T5: Redirecting to out-of-tapestry page

2007-07-24 Thread Bill Holloway
Got it going with my own implementation of Link. bill On 7/23/07, Nick Westgate <[EMAIL PROTECTED]> wrote: Probably the best way would be a new method on ComponentResourcesCommon to get an external link, or an ExternalLink class or something. In the meantime see if you can return a new LinkIm

Re: T5 - tapestry-hibernate - Auto generate schema/tables?

2007-07-24 Thread Peter Beshai
Thanks, this helped. First I realized I needed to add the line: update to my hibernate.cfg.xml file. This worked only if I used certain annotations (@Basic, @Enumeration, and @Id were used) in my entities, but failed if I used @Column. It turns out I had simply failed to add ejb3-persistence.j

Re: T5 Loading Component Assets

2007-07-24 Thread 小司
You can read this link http://tapestry.apache.org/tapestry5/tapestry-core/guide/assets.html or this link (in chinese) http://www.javaeye.com/article/78348 Maybe you can get some idea 2007/7/24, Todd Orr <[EMAIL PROTECTED]>: Ugh. I created a small test project and it works correctly there. Unfor

Re: T5 Loading Component Assets

2007-07-24 Thread Todd Orr
I figured out that it has something to do with maven corrupting the image files in the resource directory. I'm trying to pin down the exact problem before blaming maven. However, just by pulling out a parent POM ref in my projects POM everything started to work. On 7/24/07, 小司 <[EMAIL PROTECTED]>

Re: T5: Redirecting to out-of-tapestry page

2007-07-24 Thread Nick Westgate
Don't forget to log a JIRA issue. ;-) Cheers, Nick. Bill Holloway wrote: Got it going with my own implementation of Link. bill On 7/23/07, Nick Westgate <[EMAIL PROTECTED]> wrote: Probably the best way would be a new method on ComponentResourcesCommon to get an external link, or an Externa

Re: Mixing AjaxForm and Form

2007-07-24 Thread Marcus Schulte
Hi Rachel, 2007/7/24, RachelS <[EMAIL PROTECTED]>: Even after reading the documentation, I still could not see (whether on 4.0 or 4.1) how to get the more detailed validation of Tacos forms to work. The one way (with profiles) i imagine would involve writing a js profile for every form and ha

Re: Page render after the rewind

2007-07-24 Thread talk.small
Hi, Ben Thanks for your reply, that is also exactly what I am doing now, I am also wondering if there is a Tapestry API for this functionality. talk small Ben Dotte-2 wrote: > > Do all of your pages extend from a common base page of your own? In > the base page you could set a transient pa

Re: Mixing AjaxForm and Form

2007-07-24 Thread RachelS
Hi Marcus That sounds like it will be very nice to use! My eyes must have jumped over that in the documentation. I'm going to go up to 4.1 and see how it goes. Thanks again, Rachel Marcus Schulte wrote: > > > In Tap 4.1, you can do all the things you could do with Tacos' Ajax* > components

T4.1 List of pages

2007-07-24 Thread Craig Spry
Hello All, I'm currently adding user permissions to my application, this is going to be done on a per page basis. I was wondering if it is possible to get tapestry to give me a list of pages so I can build the permissions page dynamically to save me having to manually up date this every time a

RE: T4.1 List of pages

2007-07-24 Thread Marcus.Schulte
getNamespace().getPageNames() /Marcus > -Original Message- > From: Craig Spry [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 25, 2007 8:01 AM > To: Tapestry users > Subject: T4.1 List of pages > > Hello All, > > I'm currently adding user permissions to my application, this > is go

ajax question

2007-07-24 Thread Andrea Chiumenti
Does anybody know if there are some problems in updating a tbody element when performing an ajax request? Thx, kiuma

Re: T5 - tapestry-hibernate - Auto generate schema/tables?

2007-07-24 Thread Kristian Marinkovic
usually it is sufficient to add this line to your hibernate.cfg.cml update 24.07.2007 21:29 Bitte antworten an "Tapestry users" An users@tapestry.apache.org Kopie Thema Re: T5 - tapestry-hibernate - Auto generate schema/tables? Hi Peter, Take a look at the Hibernate Tools project. We

Re: T5 - tapestry-hibernate - Auto generate schema/tables?

2007-07-24 Thread Kristian Marinkovic
sorry for this post, just read your last email :) Kristian Marinkovic <[EMAIL PROTECTED]> 25.07.2007 08:44 Bitte antworten an "Tapestry users" An "Tapestry users" Kopie Thema Re: T5 - tapestry-hibernate - Auto generate schema/tables? usually it is sufficient to add this line to your