Re: t:layout

2007-03-28 Thread Bill Holloway
Yep, that's right. I guess in the last few days, it's the component that I've been wondering about. Layout is a user-defined component. I've got working now. Thanks. On 3/28/07, Peter Beshai <[EMAIL PROTECTED]> wrote: I never knew was supported. I just made my own layout component and I t

Cant get Ajax @EventListener to work :(

2007-03-28 Thread mxc
Hi all, I cant get dojo EventListener to work. I am trying to build a drop down combo box so that when one selects a country the child drop down box of cities is automatically updated. However I cant get even a simple eventlistener to work :( Below is my TestPage. Basically it should update the

Re: T5 vs T4 vs Community

2007-03-28 Thread Matt Brock
I do also try to give special priority to OGNL issues once they are > properly reported. I can understand this being a little frustrating > for those of you still running into these last few little compilation > issues I have to fix - but I hope the end result in vastly improved > runtime perform

Re: Latest OGNL 2.7-SNAPSHOT and Tapestry

2007-03-28 Thread Daniel Tabuenca
If I recall, Jesse announced when the dependency on OGNL 2.7 was added that things would be broken for a while. If I recall he even included the particular snapshot version you should use if you wanted to avoid going to the snapshot dependent on 2.7. You have to keep in mind that a snapshot is a s

tapestry-prop and integers / booleans ?

2007-03-28 Thread Matt Brock
I'm in the process of converting the OGNL binding expressions for my component properties to the tap-prop method, but for some reason I can't bind to a simple value without declaring a getter/setter. So this won't work: But it will if I define a method

Re: t:layout

2007-03-28 Thread Peter Beshai
I never knew was supported. I just made my own layout component and I think that makes more sense (you'll most likely want to customize it anyway). Here is the basic code if you want to use it: Layout.java:: package my.package.components; import org.apache.tapestry.Asset; import org.apache.tape

T5 Hibernate and t:layout

2007-03-28 Thread Bill Holloway
Howdy, I'm using tapestry-hibernate with hibernate/annotations. I know that tapestry-hibernate for T5 is very new, so this is mainly just a heads-up: I get an error trying to call the session.load (class, serializable) method. My entity class is called "org.gp.contactweb.entities.Person". It

Re: How to set pages to the different folder

2007-03-28 Thread Peter Dawn
add the reference to the files in your .application file. and then you can reference them by page name. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RSS feeds and authentication

2007-03-28 Thread Luis Rodrigo Gallardo Cruz
I have a T4 application that's supposed to generate RSS feeds, tailored to each user. Right now, for my html pages, I'm using a normal login form for authentication, and a pageValidate listener on my base class to rediret to it if needed. This approach, however, will not work on an RSS reader, so

Re: Clustering Tapestry

2007-03-28 Thread Steve Shucker
This may be the answer to the wrong question, but a long time ago I discovered that when weblogic was running out of memory, it would dump random sessions. The solution was to configure the application server to persist sessions in the database. This also allowed sessions to fail over to the

RE: Latest OGNL 2.7-SNAPSHOT and Tapestry

2007-03-28 Thread Ben Dotte
I would have to agree that until OGNL 2.7 is much more stable, the new Tapestry snapshots are pretty useless to us. Jesse has been kind enough to fix several bugs I have found in record time (thanks Jesse!) but we're still at a point where most of our pages don't work at all yet. For now I have a s

Latest OGNL 2.7-SNAPSHOT and Tapestry

2007-03-28 Thread Renat Zubairov
Hello, We have a application on Tapestry 4.1.2-SNAPSHOT and since already a month or so we have _constant_ problems in running it (basically I can't run it at all). The _only_ reasons for that is latest OGNL 2.7-SNAPSHOT dependency that is not working properly (see all bugs in http://jira.opensym

Re: Clustering Tapestry

2007-03-28 Thread Renat Zubairov
Hi We are clustering Tapestry 4 application on th e WebSphere cluster. It works quite well so far. No problems were reported. What do you mean by StaleSession appears fast? Renat On 28/03/07, Marcos Chicote <[EMAIL PROTECTED]> wrote: Hello. I've developed an app using tapestry4 + spring + hibe

Clustering Tapestry

2007-03-28 Thread Marcos Chicote
Hello. I've developed an app using tapestry4 + spring + hibernate and I can't make work in a clustered enviroment using 2 tomcat instances. The problem is that the StaleSession page appears really fast. All my objects and classes implement Serializable, but I don't know if tapestry is storing in

Re: How to persist a variable to the user session programatically?

2007-03-28 Thread Martino Piccinato
You can also get the WebSession object thourgh teh IRequestCycle On 3/28/07, Martino Piccinato <[EMAIL PROTECTED]> wrote: Just look at this page: http://tapestry.apache.org/tapestry4.1/usersguide/state.html you are probably looking for Application State Object (ASO). it's just what you want

Re: How to persist a variable to the user session programatically?

2007-03-28 Thread Martino Piccinato
Just look at this page: http://tapestry.apache.org/tapestry4.1/usersguide/state.html you are probably looking for Application State Object (ASO). it's just what you want to do but hiding the retrieve/store complexities that will be handled automatically by tapestry. You just decide what's your

Re: T5: maven build error

2007-03-28 Thread Celia Mou
Hi Howard, I'm using 0.0.9. (JDK is 1.5, Eclipse 3.2.0 on Windows) Thanks a lot for the help! celia Howard Lewis Ship wrote: Which version do you use? I've head rumors that 0.0.10 is unstable, so I've been holding back at 0.0.9. On 3/26/07, Celia Mou <[EMAIL PROTECTED]> wrote: Hi, has any

Re: How to persist a variable to the user session programatically?

2007-03-28 Thread Robert Zeigler
You can inject the session service into your page/component... @Inject("alias:Session") org.apache.tapestry.services.Session session; You can then call session.getAttribute("var") Robert On Mar 28, 2007, at 3/2811:09 AM , mxc wrote: Hi there, Is there a way to do @Persist programatically?

How to persist a variable to the user session programatically?

2007-03-28 Thread mxc
Hi there, Is there a way to do @Persist programatically? i.e this.addToSession("var"); Also is there a way to go this.getFromSession("var") thanks -- View this message in context: http://www.nabble.com/How-to-persist-a-variable-to-the-user-session-programatically--tf3481329.html#a9717068 Sent

Re: T5 - HTML Templating

2007-03-28 Thread Robert Zeigler
http://tapestry.apache.org/tapestry5/tapestry-core/guide/templates.html Robert On Mar 28, 2007, at 3/289:59 AM , Jan Vissers wrote: With all do respect..., it is these kind of answers that are forcing me to re-iterate my original question (I'm not bullying anyone Jesse...) HTML Templati

Re: T5 - HTML Templating

2007-03-28 Thread Massimo Lusetti
On 3/28/07, Jan Vissers <[EMAIL PROTECTED]> wrote: So, please anyone from the dev. team Did you even try to read the T5-core home page? Maybe you can find your answer there. -- Massimo http://meridio.blogspot.com - To un

Re: T5 - HTML Templating

2007-03-28 Thread Jan Vissers
With all do respect..., it is these kind of answers that are forcing me to re-iterate my original question (I'm not bullying anyone Jesse...) HTML Templating is one of the major benefits of using T(4) in contrast to say, JavaServer Faces. When this concept is left out from T5, this is someth

Eclipse + Maven2 + Jetty

2007-03-28 Thread Bruno Mignoni
scanIntervalSeconds don´t works why? pom.xml http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";> 4.0.0 com.unicred internet-banking war

Re: T5 - HTML Templating

2007-03-28 Thread Massimo Lusetti
On 3/28/07, Jan Vissers <[EMAIL PROTECTED]> wrote: Is this still a major concept in T5? I think so. -- Massimo http://meridio.blogspot.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL P

Re: AW: Tapestry 4.1.1 / dojo broken on IE? - IE freezing!

2007-03-28 Thread Jesse Kuhnert
I will ask around about this. I've been involved in projects where squid was used but it was only for specific types of resources - so this is new to me. Sounds like the ie cache prevention strategy that normally works (via that timestamp param) isn't helping with squid or doesn't evevn show up in

Re: T5 dependencies incomplete

2007-03-28 Thread Stephan Schwab
Jan Vissers wrote: > > I think this informational page: > http://tapestry.apache.org/tapestry5/dependencies.html > is wrong, or not? There *are* dependencies... This is the page for the parent project, which does not have dependencies. The modules do and you can find their dependencies on thei

Re: AW: Tapestry 4.1.1 / dojo broken on IE? - IE freezing!

2007-03-28 Thread Andreas Pardeike
On 28 mar 2007, at 15.50, Maximilian Weißböck wrote: Application works with IE if we do NOT use a proxy. It breaks in IE if we use the proxy (we use the squid proxy). BUT: If you set in IE the internet option "use HTTP 1.1 for proxy connections" (don't know the exact wording since I have on

AW: Tapestry 4.1.1 / dojo broken on IE? - IE freezing!

2007-03-28 Thread Maximilian Weißböck
Just to keep the list informed ... Application works with IE if we do NOT use a proxy. It breaks in IE if we use the proxy (we use the squid proxy). BUT: If you set in IE the internet option "use HTTP 1.1 for proxy connections" (don't know the exact wording since I have only a german IE availa

Re: T5.0.2. Deployment on OC4J 10.1.3

2007-03-28 Thread Jan Vissers
It looks like there are some issues regarding the new way OC4J, as of 10.1.3 handles class loading specifics. For instance - the engine comes with a system shared library of apache.commons.logging 1.0.4. If I specify to use this library I get the message as is shown in my previous email. If I sp

Re: T5.0.2. Deployment on OC4J 10.1.3

2007-03-28 Thread Jan Vissers
We have had problems with getting T4 to run on OC4J as well, although these problems had more to do with the specific OC4J version (every version below 10.1.3). This is the first time I'm actually trying to deploy T5 stuff onto 10.1.3. I've tried the hilo example and build the sample from mvn,

Re: T5 dependencies incomplete

2007-03-28 Thread SergeEby
This page is probably generated by Maven. To find the actual dependencies, click each module on the left hand side menu and select Project Information -> Dependencies. /Serge Jan Vissers wrote: > > I think this informational page: > http://tapestry.apache.org/tapestry5/dependencies.html > is

Re: T5.0.2. Deployment on OC4J 10.1.3

2007-03-28 Thread James Carman
It probably doesn't like Javassist (I'm assuming you're using Javassist, Howard). We had the same problems with T4 and HiveMind in general in OC4J. On 3/28/07, Jan Vissers <[EMAIL PROTECTED]> wrote: Hi, Deploying the Starter application - similar to hilo from the tutoral, but without the Mav

T5.0.2. Deployment on OC4J 10.1.3

2007-03-28 Thread Jan Vissers
Hi, Deploying the Starter application - similar to hilo from the tutoral, but without the Maven stuff - results in the following error message on OC4J 10.1.3: Java.lang.RuntimeException: Unable to instantiate class org.apache.tapestry.services.TapestryModule as builder for module 'tapestry

Re: Extendet ValidationDelegate not used

2007-03-28 Thread Skorpien126
:( ... Shame on me. That was the problem. I wish me a copy&paste... Validator :) andyhot wrote: > > Are you sure you made your form use that bean? > jwcid="@Form" delegate="bean:delegate" ? > > Skorpien126 wrote: >> Hmm I´ve a strange behaviour in my app... >> >> I´ve build an own ValidationD

T5 dependencies incomplete

2007-03-28 Thread Jan Vissers
I think this informational page: http://tapestry.apache.org/tapestry5/dependencies.html is wrong, or not? There *are* dependencies... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

If-component and T4.1.2-Snapshot

2007-03-28 Thread Patrick Klein
Hello, i'm experiencing some trouble here with Tapestry4.1.2 SNAPSHOT and ognl-expressions. I've got the following construct in a table-component in my template: value="ognl:orderPosition.price.netPrice" size="6" translator="translator:bisoNumber,pattern=#0.00#" displayName="message:P

Re: I thought this was a newsgroup about Tapestry ;-)

2007-03-28 Thread Jan Vissers
Excellent, thanks Jesse. -J. BTW (We'll stick to good 'ol ANT + Ivy ;-) ) Jesse Kuhnert wrote: If your company doesn't allow using maven then you can download Tapestry like anyone else: http://tapestry.apache.org/download.html Other than that you'll be missing out on all of the archetypes /

T5 - HTML Templating

2007-03-28 Thread Jan Vissers
A very simple question (although I'm not to sure, whether everybody feels that way). One of T4's key points, is the fact that basic HTML can be used and maintained by a web designer, and a developer can go an take that HTML and instrument it, so Tapestry at runtime kicks in. Is this still a maj

Re: I thought this was a newsgroup about Tapestry ;-)

2007-03-28 Thread Jesse Kuhnert
If your company doesn't allow using maven then you can download Tapestry like anyone else: http://tapestry.apache.org/download.html Other than that you'll be missing out on all of the archetypes / snapshot updates / etc. ...You can go find out more about that at : http://maven.apache.org Yes

Re: I thought this was a newsgroup about Tapestry ;-)

2007-03-28 Thread Jan Vissers
Well, that's just because I've had no real answer from any of you. The T5 manual goes into great detail as to how Maven should be used in creating a Tapestry application, Howard Screencast #3 is describing how Maven is used in Tapestry development. His blogs mentions a bunch of stuff related to Ma

Re: I thought this was a newsgroup about Tapestry ;-)

2007-03-28 Thread Jesse Kuhnert
It only feels redundant because you already have your answer. It's self describing. You can do whatever you can do today. Is make a requirement for c++ development? I just don't understand your question. if you want to develop the actual framework code it's probably a requirement. If not, I don't

Re: I thought this was a newsgroup about Tapestry ;-)

2007-03-28 Thread Jan Vissers
C'mon - Since T5 is a single man effort (or at least that's what it says at the Maven project info ;-) - we as users of Tapestry have right to know whether Maven will be a requirement in our every day work or not. To me the thing that is annoying is seeing more and more Maven related threads i

Re: How are post variables converted to objects?

2007-03-28 Thread Numa Schmeder
Your component must implement IFormComponent or extends AbstractFormComponent. then you override those two method: renderFormComponent(org.apache.tapestry.IMarkupWriter writer, org.apache.tapestry.IRequestCycle cycle) ---> here you render the html for your form component rewindFormComponent(