Re: T5: PrintWriter weirdness

2007-05-22 Thread Howard Lewis Ship
You can also return a StreamResponse, which is probably easier to implement that ActionResponseGenerator. On 5/22/07, Ben Sommerville <[EMAIL PROTECTED]> wrote: Bill, When you return void from an actionLink method the default response of tapestry is to render the page. To just return the edit

Re: expert needed

2007-05-22 Thread Paul Stanton
Basically I have a tab structure with 5 tabs, each is an individual page. The tabs are contained within my border component, the content with the tab is defined in the page template. Now 2 of the pages have no form, and 3 of the pages have a form. The behaviour of the tabs should be that click

RE: T5: PrintWriter weirdness

2007-05-22 Thread Ben Sommerville
Bill, When you return void from an actionLink method the default response of tapestry is to render the page. To just return the editor value you need to return an ActionResponseGenerator that outputs your desired response. e.g. ActionResponseGenerator onInPlaceEditorSubmit() throws IOExcept

Re: How to load a image dynamiclly in tapestry5.0.4

2007-05-22 Thread Allen Guo
But I don't think it's useful for me to organize TAPESTRY application effectlly. That books just represent basic programming Philosophy . Jesse Kuhnert 写道: > +1 I picked it up after seeing Howard mentioned it and loved it. :) > > On 5/22/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: >> >> The b

Re: Developing Tapestry applications in IntelliJ IDEA

2007-05-22 Thread Jesse Kuhnert
Yep, the idea mvn generation is handy. I just found this the other day, haven't tried it yet but it may help you with those sources/javadocs: http://maven.apache.org/plugins/maven-idea-plugin/examples/attach-library-src-doc.html (and they've said something about having maven2 support directly i

Re: Developing Tapestry applications in IntelliJ IDEA

2007-05-22 Thread Anton Litvinenko
Thanks, Jesse! At the moment I am using mvn jetty plugin to start application. This way IDEA can compile application to the same directories as mvn, thus it is possible to use mvn idea plugin to generate IDEA project descriptors. (btw, another problem is that mvn idea doesn't attach source code o

Re: T5: Obtain Select Component.

2007-05-22 Thread Juan Maya
So i found out that i can change the id of the component with t:id. Pretty obvious. Sorry On 5/22/07, Juan Maya <[EMAIL PROTECTED]> wrote: Hi all, I am creating a new component that has 3 embedded Select components inside of him. From this component i need to have references to the select co

T5: Obtain Select Component.

2007-05-22 Thread Juan Maya
Hi all, I am creating a new component that has 3 embedded Select components inside of him. From this component i need to have references to the select components. Any suggestions to do it? For example, in my code i have: @Component(id=???) private Select monthSelect; @Component(id=???) private

Changing Locale

2007-05-22 Thread petros
Can you please advise if the following comment is up to date ? http://tapestry.apache.org/tapestry5/tapestry-core/guide/localization.html Changing the Locale Tapestry does not yet support changing the locale, but that will be available shortly. The intent is to mimic Tapestry 4 behavior: store a

Re: expert needed

2007-05-22 Thread Ben Acker
Could you tell me more about the what the pages are and what the links would do on each of the pages? That may help with finding a solution to your problem! -Ben On 5/22/07, Paul Stanton <[EMAIL PROTECTED]> wrote: Actually, I think something is missing .. how do I tell the links that I want t

Re: How to load a image dynamiclly in tapestry5.0.4

2007-05-22 Thread Jesse Kuhnert
+1 I picked it up after seeing Howard mentioned it and loved it. :) On 5/22/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: The book "The Pragmatic Programmer" is an excellent start on learning how to organize your code and your mind and work effectively, professionally, and pragmatically. h

Re: T5 application wide message catalog

2007-05-22 Thread SergeEby
Hi, I believe this is now available in 5.0.5-SNAPSHOT. /Serge Jason Lea wrote: > > I'm using Tapestry 5.0.4 and have some localized fields getting messages > from message catalog for the page working correctly, but I cannot get an > application wide message catalog to work > > In the page T

Re: expert needed

2007-05-22 Thread Paul Stanton
Actually, I think something is missing .. how do I tell the links that I want to submit a form if a form is present? ie, I can implement the listener for each page, but in a couple of cases, this would mean the listener would be called without the required form data on the request. I'll see wh

Re: expert needed

2007-05-22 Thread Paul Stanton
Ok thanks guys, will try this approach now. Ben Acker wrote: I am using a similar approach to Phillip, but using the same method name for each page. We have the method implemented in a base page that is extended by the pages implementing the component. Anytime we need the method to do somethin

T5 application wide message catalog

2007-05-22 Thread jason lea
I'm using Tapestry 5.0.4 and have some localized fields getting messages from message catalog for the page working correctly, but I cannot get an application wide message catalog to work In the page Target.html: (have also tried ) In web.xml: app o

Re: T5: PrintWriter weirdness

2007-05-22 Thread Bill Holloway
Actually, the exception goes away on the client side only (No stack trace dumped to the web page) if I use writer.close(). writer.flush() dumps the trace to both the console and the web page. Bill On 5/22/07, Bill Holloway <[EMAIL PROTECTED]> wrote: I'm using an in-place-editor under script.ac

T5: PrintWriter weirdness

2007-05-22 Thread Bill Holloway
I'm using an in-place-editor under script.aculo.us to edit some text printed to the browser. In my page class I have public String getActionURL () { Link inPlaceLink = _resources.createActionLink ("inPlaceEditorSubmit", false, (Object[]) null); return inPl

Re: [T5.0.5 SNAPSHOT] tapestry-component-report available?

2007-05-22 Thread Howard Lewis Ship
It should be /tapestry-snapshot-report. This may be another error in the quickstart archetype. On 5/22/07, Bill Holloway <[EMAIL PROTECTED]> wrote: Yeah, I'm even getting "URL not found on server" when I look for http://people.apache.org/~hlship/tapestry-repository/ Bill On 5/22/07, Howard L

Re: [T5.0.5 SNAPSHOT] tapestry-component-report available?

2007-05-22 Thread Bill Holloway
Yeah, I'm even getting "URL not found on server" when I look for http://people.apache.org/~hlship/tapestry-repository/ Bill On 5/22/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: I ran across this with some clients this morning. The project POM is broken and has been uploading shapshots to t

Re: Tapestry 4+ and JAAS - any pointers?

2007-05-22 Thread Geoff Callender
Forgot to mention that the superclass must implement PageValidateListener. This tells Tapestry to invoke our pageValidate (PageEvent) method. BTW, my solution has not been tested in anger. On 23/05/2007, at 2:01 AM, Geoff Callender wrote: From trial and error I came up with this a little wh

Re: T5 initialize and start a service through the ioc container

2007-05-22 Thread Howard Lewis Ship
I think you are on the right track. @EagerLoad on the service builder method (or on the service implementation class if using the ServiceBinder) will generally do the trick. However, if you have any dependencies, it gets trickier because Tapestry has to fully initialize before some dependencies

Re: The link is not available in FireFox

2007-05-22 Thread Andreas Andreou
Doxia's bug. That maven plugin generates org.apache.tapestry.corelib.base.AbstractTextField markup for sections and then references it as AbstractTextField which is lowercase... No wonder that IE doesn't notice the difference ;) On 5/23/07, Norman Franke <[EMAIL PROTECTED]> wrote: On May 22

Re: The link is not available in FireFox

2007-05-22 Thread Norman Franke
On May 22, 2007, at 7:54 AM, Thiago H de Paula Figueiredo wrote: On Tue, 22 May 2007 02:47:23 -0300, Allen Guo <[EMAIL PROTECTED]> wrote: Had anyone visit http://tapestry.apache.org/tapestry5/tapestry-core/component- parameters.html in FireFox2.0? It won't jump to appropriate position if y

Re: just posted some thoughts on tapestry and its future

2007-05-22 Thread Norman Franke
Good thoughts, indeed. One thing I didn't see is related to the learning curve. While Tapestry initially had the reputation has hard to learn, I've not really found that to be the case with 4.0.2. (At least after reading "Enjoying Web Development with Tapestry") However, the lack of good

T5 initialize and start a service through the ioc container

2007-05-22 Thread David Avenante
Hi, I try to initialize and start a service when my webapp start. My service is a simple Quartz scheduler with a job. But i've some trouble to start the service. As i can see Tapestry IOC use lazy initialization so my service is build only when used. My code in my Appodule.java is like : //

Re: 5.0.5-SNAPSHOTS

2007-05-22 Thread Howard Lewis Ship
See bug https://issues.apache.org/jira/browse/TAPESTRY-1494 The problem was mainly that the snapshot artifacts were in the wrong location. On 5/22/07, Daniel Jue <[EMAIL PROTECTED]> wrote: This fixed my problem with a Tap 5.0.4 archetype'd POM that I changed to version 5.0.5-SNAPSHOT. I was g

Re: Ognl Exception tap 4.1.2 weblogic 8 and java 1.4

2007-05-22 Thread Chris Chiappone
Okay I downgraded to tap 4.1.1 and ognl 2.6.9 and everything is working. Where does this bug need to be filed OGNL or tapestry? On 5/22/07, Chris Chiappone <[EMAIL PROTECTED]> wrote: Hugo - Are you using the latest 4.1.2 snapshots, curious why you might not be getting this. On 5/22/07, Chris C

Re: Ognl Exception tap 4.1.2 weblogic 8 and java 1.4

2007-05-22 Thread Chris Chiappone
Hugo - Are you using the latest 4.1.2 snapshots, curious why you might not be getting this. On 5/22/07, Chris Chiappone <[EMAIL PROTECTED]> wrote: Yeah it appears to be a definite JDK1.4 issue, although I can't seem to exactly identify where the actual Integer.valueOf is coming from. On 5/22/07

T5 and jboss

2007-05-22 Thread Anjana Gopinath
Hi I am trying to deploy a T5 app to jboss 4.2. i have included javassist 3.4.ga.jar in my war file. i keep getting this exception when i deploy the app. com.truenorth.quote.dto.Agent is my dto class and i am using tapestry-spring to talk to hibernate/data layer. Javassist Enhancement

Re: Ognl Exception tap 4.1.2 weblogic 8 and java 1.4

2007-05-22 Thread Chris Chiappone
Yeah it appears to be a definite JDK1.4 issue, although I can't seem to exactly identify where the actual Integer.valueOf is coming from. On 5/22/07, Hugo Palma <[EMAIL PROTECTED]> wrote: I'm running that same configuration and i have no problems. I've had similar errors but they were ognl JDK1.

Re: 5.0.5-SNAPSHOTS

2007-05-22 Thread Daniel Jue
This fixed my problem with a Tap 5.0.4 archetype'd POM that I changed to version 5.0.5-SNAPSHOT. I was getting some packages not found problems, and after adding this I saw mvn grab a tapestry-core jar. (using mvn install -U) I wonder if I need this snippet for the pluginRepositories section as

Re: [T5.0.5 SNAPSHOT] tapestry-component-report available?

2007-05-22 Thread Howard Lewis Ship
I ran across this with some clients this morning. The project POM is broken and has been uploading shapshots to the wrong location. I'm working on the fix right now. On 5/22/07, Daniel Jue <[EMAIL PROTECTED]> wrote: Just wondering if I can take advantage of mvn site while I'm experimenting w

[T5.0.5 SNAPSHOT] tapestry-component-report available?

2007-05-22 Thread Daniel Jue
Just wondering if I can take advantage of mvn site while I'm experimenting with Tap 5.0.5 Snapshot: At the moment, when I run mvn site, I'm getting this: [INFO] [ERROR] BUILD ERROR [INFO] --

Re: Ognl Exception tap 4.1.2 weblogic 8 and java 1.4

2007-05-22 Thread Hugo Palma
I'm running that same configuration and i have no problems. I've had similar errors but they were ognl JDK1.4 compatibility issues. This looks like a JDK1.4 compatibility issue but on the Tapestry side. On 5/22/07, Chris Chiappone <[EMAIL PROTECTED]> wrote: I am trying to deploy my application

Re: EventListener validateForm=false still submits form

2007-05-22 Thread Julian Wood
I've submitted a bug report for this issue: https://issues.apache.org/jira/browse/TAPESTRY-1495 Thanks, J On 18-May-07, at 5:21 PM, Julian Wood wrote: Hi Jesse, yes, it is a timesheets, billing, invoicing and reporting system. Quite fun actually. Your suggestion about not updating the com

Ognl Exception tap 4.1.2 weblogic 8 and java 1.4

2007-05-22 Thread Chris Chiappone
I am trying to deploy my application to a test box and I get the following exception when trying to go to any tapestry page. I believe I have all the latest snapshots and dependencies. ServletException javax.servlet.ServletException: Error initializing property dojoSource of bean 'coreAjaxDelega

Re: How to load a image dynamiclly in tapestry5.0.4

2007-05-22 Thread Howard Lewis Ship
The book "The Pragmatic Programmer" is an excellent start on learning how to organize your code and your mind and work effectively, professionally, and pragmatically. http://www.powells.com/biblio/65-9780201616224-0 On 5/21/07, Allen Guo <[EMAIL PROTECTED]> wrote: Thanks , It's running now But

Re: T5: Type Coercion vs. Translator

2007-05-22 Thread Howard Lewis Ship
There's (for the moment) two configurations that control translators. Here's the built-in contributions, provided by TapestryModule: /** * Contributes the basic set of default translators: * * Integer * String * Long * Double * */ public static void contrib

Re: Tapestry 4+ and JAAS - any pointers?

2007-05-22 Thread Geoff Callender
From trial and error I came up with this a little while ago, but there may be a better way,,, At login, save the LoginContext into an application scoped object - in this example it's called MyVisit. Then in your superclass of all pages that require authorisation, do this... /**

T5: Type Coercion vs. Translator

2007-05-22 Thread Fisher, Brice A
I have a bean that returns an Id as a java.util.UUID. Tapestry 5 can't translate this into anything it can display, so I get a: --- java.lang.IllegalArgumentException No adapter from type java.util.UUID to type org.apache.tapestry.Translator is available (registered types are java.lang.Double,

Re: Billing system integration

2007-05-22 Thread Patrick Moore
There shouldn't be an issue when the browser gets redirected back to your site, your sites session cookies will still be present and every thing should continue as before. On 5/22/07, Renat Zubairov <[EMAIL PROTECTED]> wrote: Hi What about configuring servlet container for longer session tim

Re: Billing system integration

2007-05-22 Thread Renat Zubairov
Hi What about configuring servlet container for longer session timeout? Renat On 22/05/07, Stephane Decleire <[EMAIL PROTECTED]> wrote: Hi, I've got a specific use case where a user needs to leave my Tap4.1 application in order to enter his payment informations on a billing system before bein

T4.1.1 (Some) annotations not operational after page relocation - anyone?

2007-05-22 Thread Jan Vissers
Hi - I started to place all my pages below the 'context' root. After sometime I decided to create a 'pages' directory to store my pages. With this change the annotations doesn't seem to function properly any longer. Placing a page specification file makes this problem go away. Has anybody ev

Billing system integration

2007-05-22 Thread Stephane Decleire
Hi, I've got a specific use case where a user needs to leave my Tap4.1 application in order to enter his payment informations on a billing system before being sent back on my website with a result code. What is the best way to implement such a case and to keep the user session while he is on t

Re: The link is not available in FireFox

2007-05-22 Thread Hugo Palma
But hey, it works on IE :o) On 5/22/07, Thiago H de Paula Figueiredo <[EMAIL PROTECTED]> wrote: On Tue, 22 May 2007 02:47:23 -0300, Allen Guo <[EMAIL PROTECTED]> wrote: > Had anyone visit > http://tapestry.apache.org/tapestry5/tapestry-core/component-parameters.html > in FireFox2.0? > It won't

Re: The link is not available in FireFox

2007-05-22 Thread Thiago H de Paula Figueiredo
On Tue, 22 May 2007 02:47:23 -0300, Allen Guo <[EMAIL PROTECTED]> wrote: Had anyone visit http://tapestry.apache.org/tapestry5/tapestry-core/component-parameters.html in FireFox2.0? It won't jump to appropriate position if you click the index link on the page. Nor does it work in Opera . . .

Tapestry 4+ and JAAS - any pointers?

2007-05-22 Thread Jan Vissers
Hi, How would one incorporate JAAS into Tapestry 4+. We already have a login module, but need help to tie it in to the framework. Thanks, -J. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL P

T5: How to modify page without having to restart tomcat

2007-05-22 Thread Blackwings
I noticed with jetty it doesn't reload the context when, for example, you modify a template. But it's needed with Tomcat even if I configured Tomcat to not redeploy the context at each modification. How can I do the same with Tomcat than Jetty? Thanks, Michael