Paul Grimwood/GNS is out of the office.

2006-05-23 Thread Paul Grimwood
I will be out of the office starting 24/05/2006 and will not return until 29/05/2006. I will respond to your message when I return. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Lazy Exception in Contrib:Table

2006-05-23 Thread Shovon
Can you please point me to any documentation? I am currenlty using Spring for hibernate with the OpenSessionInView filter. Will it be pretty easy to migrate? Thanks ... Shovon -- View this message in context: http://www.nabble.com/Lazy+Exception+in+Contrib%3ATable-t1673050.html#a4536130 Sent fr

New version of Tapernate...

2006-05-23 Thread James Carman
All, First of all, no I have not moved Tapernate as of yet. But, I wanted to let you know about a few new features... 1. Tapernate now has support for "POJO rollback." If you rollback a transaction, your POJOs are automatically rolled back too (only the id and version properties which are upda

Paul Grimwood/GNS is out of the office.

2006-05-23 Thread Paul Grimwood
I will be out of the office starting 24/05/2006 and will not return until 29/05/2006. I will respond to your message when I return. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Lazy Exception in Contrib:Table

2006-05-23 Thread James Carman
Use tapernate! :-) -Original Message- From: Shovon [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 24, 2006 12:52 AM To: users@tapestry.apache.org Subject: Lazy Exception in Contrib:Table Hi, We have an application in Tapestry 3.x (based on Appfuse 1.8.1), and it works just fine. We st

Re: How would I know?

2006-05-23 Thread Lutz Hühnken
Yes, it has: "http://wiki.apache.org/tapestry/HowTos";. Hth, Lutz On 5/24/06, albartell <[EMAIL PROTECTED]> wrote: Thanks Ignatyev, that worked great! How would I have gotten to that without the list though? I think we should start a page called "How to do x in Tapestry" because these t

Lazy Exception in Contrib:Table

2006-05-23 Thread Shovon
Hi, We have an application in Tapestry 3.x (based on Appfuse 1.8.1), and it works just fine. We started to upgrade it to Tapestry 4.x (as part of Appfuse 1.9.1). We have been using Lazy Loading in Hibernate in our application from the beginning. However, we are having a lazy loading exception w

SocketCommunicationProblem

2006-05-23 Thread Peter Dawn
i am trying to enable socket comm in my web app. the problem is that once i start a new socket on a port and am waiting for messages, the page wouldnt load up any further till i have received some message. what i am trying to do is get it to run in the background while the app runs as usual in the

Paul Grimwood/GNS is out of the office.

2006-05-23 Thread Paul Grimwood
I will be out of the office starting 24/05/2006 and will not return until 29/05/2006. I will respond to your message when I return. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: How would I know?

2006-05-23 Thread albartell
Thanks Ignatyev, that worked great! How would I have gotten to that without the list though? I think we should start a page called "How to do x in Tapestry" because these things just aren't jumping off the page for people to understand. Has a page like this already been started that is easy

Re: How would I know?

2006-05-23 Thread Sam Gendler
You should definitely check out some of the tutorials that are available. In particular, I recommend looking at the first 4 chapters of "Enjoy Web Development with Tapestry 4" for which there is a link at the tapestry website. In there, you will find examples of the various ways you can define a

RE: Tapernate - Rollback problem

2006-05-23 Thread James Carman
Okay. I'm seeing it now, too. Unfortunately, the Spring interceptor throws an exception when the global transaction is marked as rollbackOnly when it's participating. I need to figure out what the best way is to handle this. By the way, I just got Tapernate to rollback the pojos that are changed

Re: Google Web Toolkit

2006-05-23 Thread Geoff Longman
I got capture working http://groups.google.com/group/Google-Web-Toolkit/browse_frm/thread/3e4954b5cc5f3492/8197b5a553276701#8197b5a553276701 this is what I believe to be the first step to integrating GWT widgets into Tapestry forms. Now... back to Spindle 4T4! Geoff On 5/23/06, Geoff Longman

Re: Google Web Toolkit

2006-05-23 Thread Geoff Longman
I was able to create, for example, a derivative of the GWT TextBox (textfield) that, instead of creating one, captires one already on the page effectively making it a GWT widget. But the event hookup is incomplete so far. Have not figured out yet how useful that is but I could see that kind of wi

RE: Hibernate modifying POJOs before rollback...

2006-05-23 Thread James Carman
Well, as I said, I haven't really dug in too far just yet. I'm still setting up the interceptor pipeline and making sure that all works before I try adding my own to the mix. -Original Message- From: Jesse Kuhnert [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 23, 2006 7:41 PM To: Tapestry

Re: Hibernate modifying POJOs before rollback...

2006-05-23 Thread Jesse Kuhnert
Ah well..You don't even need to do that. The main interface has a ton of methods to define, but it also comes with a "Default" implementation, letting you choose which one to handle.. I'm 90% sure there is a specific method / info in the parms passed in that you won't even need to track which obj

Re: Passing Information from Tomcat to the TapestryWebPage

2006-05-23 Thread Peter Dawn
its the first time i am hearing the term Comet. it seems pretty good, the server sending info to client without needing a refresh. is there any help material in context of tapestry. it seems to be a slight modification of ajax. with new terms coming up so quickly, its very diff to keep one constan

RE: Hibernate modifying POJOs before rollback...

2006-05-23 Thread James Carman
The idea is that I'll try to remember each POJO that has been modified during the course of a tx. If the tx is rolled back, then I'll set properties to their previous values. I don't know if this is going to work or not. That's why I asked if someone has already done it so that I could maybe sta

Re: Tapernate - Rollback problem

2006-05-23 Thread Marcus Matèrn
Yes, I'm using spring.transaction.TransactionInterceptor on my DAO. I am doing getTransactionUtils().setRollbackOnly() outside my DAO in the same way as you are doing in tapernate-example. Here is a stack trace. I will get back to you with more logging. http://pastebin.com/734105 in AbstractPla

Re: Hibernate modifying POJOs before rollback...

2006-05-23 Thread Jesse Kuhnert
I've added interceptors into hibernate before with great success. The method implementations pass in before / after data comparisons for you to look at / modify. It sounds like tricky stuff though(with how they normally document "all bets are off" type things when a rollback happens or exception

RE: tapestry transaction-per-request

2006-05-23 Thread James Carman
It is turned on by default. You can turn it off if you wish using a application default symbol. -Original Message- From: Ted Steen [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 23, 2006 7:13 PM To: Tapestry users Subject: tapestry transaction-per-request Hi, Will transaction-per-request

Re: Passing Information from Tomcat to the TapestryWebPage

2006-05-23 Thread Jesse Kuhnert
Do you mean "comet" ? Which more or less describes what you said, keeping an IO pipe open from your browser to the server in question ? There are many resources available for learning how this works (from the client end at least), do a google search for "comet ajax" or similar and you should get

tapestry transaction-per-request

2006-05-23 Thread Ted Steen
Hi, Will transaction-per-request be turned on by default in tapernate or is it activated somehow? Cheers /ted - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Passing Information from Tomcat to the TapestryWebPage

2006-05-23 Thread Peter Dawn
hi, whats the best way to send information from tomcat to the web page without actually refreshing it. i dont want to use AJAX but something within JS. i have read something about it the other day, but cant remember the name of the implementation. its something like not closing the request and k

Hibernate modifying POJOs before rollback...

2006-05-23 Thread James Carman
All, I am trying to add some code into Tapernate which will "rollback" the POJOs that Hibernate has changed when a transaction is rolled back (the version or auto-generated id properties). I am going to attempt it using an interceptor. Has anyone every tried to do this before? I'm just wonderin

Re: subscribe

2006-05-23 Thread Rui Pacheco
Welcome! On 5/23/06, Ryan Cuprak <[EMAIL PROTECTED]> wrote: subscribe - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Cumprimentos, Rui Pacheco

subscribe

2006-05-23 Thread Ryan Cuprak
subscribe - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Tapernate - Rollback problem

2006-05-23 Thread James Carman
I will take a look at it. Are you using a transaction interceptor? Can you paste more of your stack trace? Can you turn up logging so we can see exactly what's going on? -Original Message- From: Marcus Matèrn [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 23, 2006 6:10 PM To: Tapestry u

Re: how to subscribe or unsubscribe

2006-05-23 Thread Pedro Viegas
You're right Wayland! My eyes are crying for the hours of sleep I'm loosing trying to read throught the 400 topics of unread list messenges in one night after some time away. Just got carried away by the exaustion! Sorry Cypher. Hope Wayland solved your problem. Regards, On 5/23/06, Wayland Cha

Re: how to subscribe or unsubscribe

2006-05-23 Thread Wayland Chan
Ok here is how to do it send mail to [EMAIL PROTECTED] On 5/23/06, Wayland Chan <[EMAIL PROTECTED]> wrote: I'm going to have to side on the poor guy's side here. He spammed the list at first, apologized, and gave the list admins sufficient time to get back with an answer to which no one has

Re: how to subscribe or unsubscribe

2006-05-23 Thread Wayland Chan
I'm going to have to side on the poor guy's side here. He spammed the list at first, apologized, and gave the list admins sufficient time to get back with an answer to which no one has done thus far. Writing a filter on this end isn't the solution. Think of it this way, no one can subscribe to thi

Re: how to subscribe or unsubscribe

2006-05-23 Thread Pedro Viegas
Cypher! Please crerate a rule on your mail server. It's getting a little spammy on the list with these constant requests! On 5/18/06, Cypher ! <[EMAIL PROTECTED]> wrote: anyone know the correct email addresses? _ Express yourself i

Passing Information from Tomcat to the TapestryWebPage

2006-05-23 Thread Peter Dawn
hi all, whats the best way to send information from tomcat to the web page without actually refreshing it. i dont want to use AJAX but something within JS. i have read something about it the other day, but cant remember the name of the implementation. its something like not closing the request a

Re: Best pratice - CRUD Security - Tapestry 4.0

2006-05-23 Thread Pedro Viegas
How about it guys? Anybody getting somewhere on the ACEGI Hivemind integration? This would really be a must have for Tap *without* the need for more external libs (especially somehow overlapping ones like Spring). +1 on the go for it James or anyone else that can wrap this up! :-D On 5/19/06, Hu

Re: How would I know?

2006-05-23 Thread Konstantin Ignatyev
How about something like @InjectObject("service:tapestry.globals.HttpServletResponse") public abstract HttpServletResponse getHttpResponse(); and then send redirect where you need to albartell <[EMAIL PROTECTED]> wrote: I am lost in Tapestry documentation today (which is becoming a common o

Re: Object persisting without invoking Persist annotation

2006-05-23 Thread Mário Lopes
Please, never mind. My dumbest mistake. Doing a if (object == null) { .. } on pageBeginRender() that prevented the method from being updated. I feel ashamed :x -- Mário On 5/23/06, Mário Lopes <[EMAIL PROTECTED]> wrote: Here's a strange one. I have a table that shows some rows from a table on

Tapernate - Rollback problem

2006-05-23 Thread Marcus Matèrn
I'm trying to use setRollBackOnly() in tapernates TransactionUtils which results in: UnexpectedRollbackException: Transaction has been rolled back because it has been marked as rollback-only when the commit runs in: org.springframework.transaction.support.AbstractPlatformTransactionMana

Re: Google Web Toolkit

2006-05-23 Thread Todd Orr
Until it gets more mature let's concentrate on Tapestry Maturity is often pushed by the early adopters. Otherwise things tend to get abandoned. Would Tap4 be as good as it is if no one used it until it came out of beta? On 5/23/06, Norbert Sándor <[EMAIL PROTECTED]> wrote: GWT is really a cool

Object persisting without invoking Persist annotation

2006-05-23 Thread Mário Lopes
Here's a strange one. I have a table that shows some rows from a table on the database. The source of the contrib:Table is not declared as persist but still I update the database, do a page refresh and it doesn't update anything. I have to manually restart the webserver to see the new entry on th

How would I know?

2006-05-23 Thread albartell
I am lost in Tapestry documentation today (which is becoming a common occurrence as of late). First let me describe what I was trying to do. I needed to redirect the user to a static page outside of my application context after they fill out a form. I thought it would be easy enough because I

RE: Simple tag enclosing

2006-05-23 Thread Mark Stang
I usually return the entire javascript link as one piece of text: public String getHelpName() { return "javascript:openHelp('/pf-help','help_" + getTaskletStateId() + "')"; } Then: Help which is: public String getHelpLink() { retu

Re: Simple tag enclosing

2006-05-23 Thread Konstantin Ignatyev
M�rio Lopes <[EMAIL PROTECTED]> wrote: Hi, how can I do the following: );"> Thanks -- M�rio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Simple tag enclosing

2006-05-23 Thread Mário Lopes
Hi, how can I do the following: );"> Thanks -- Mário - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Google Web Toolkit

2006-05-23 Thread Norbert Sándor
GWT is really a cool technology but it is far not mature enough to be used for real applications. For example it only supports ASCII Java files, has private project management (SVN, bug tracker), etc. Until it gets more mature let's concentrate on Tapestry :) Regards, Norbi Steven Bell wrote:

Re: Google Web Toolkit

2006-05-23 Thread Peter Svensson
Geoff! Please drop a hint on how you think GWT could be integrated with tap. Cheers, PS On 5/23/06, Steven Bell <[EMAIL PROTECTED]> wrote: Thanks for the input Geoff, I've been mostly perusing the example apps, and haven't had a chance to code anything up myself. I'm glad to hear it can be pi

Re: How to get HttpServletRequest.getRemoteAddr() in Tapestry

2006-05-23 Thread Jesse Kuhnert
You can inject the HttpServletRequest into your page/component/whatever..See: http://jakarta.apache.org/tapestry/tapestry/hivedocs/module/tapestry.globals.html On 5/23/06, Marcus <[EMAIL PROTECTED]> wrote: Hi! How can i get HttpServletRequest.getRemoteAddr() ? I use default Tapestry Applicati

How to get HttpServletRequest.getRemoteAddr() in Tapestry

2006-05-23 Thread Marcus
Hi! How can i get HttpServletRequest.getRemoteAddr() ? I use default Tapestry Application Servlet and don't want to change this. The goal is to save a log of all external access (with IP Address). Sorry about my english, Portuguese (Brazil) is my first language. Thank's Marcus

Re: best development server for Tapestry

2006-05-23 Thread Carl Pelletier
Wow, thanks all for your reply, I`m new with Tapestry and Jetty, but I must say that I like it very much! Thanks again... Carl Pelletier - Original Message From: Jesse Kuhnert <[EMAIL PROTECTED]> To: Tapestry users Sent: Tuesday, May 23, 2006 2:43:38 PM Subject: Re: best development

Re: Google Web Toolkit

2006-05-23 Thread Steven Bell
Thanks for the input Geoff, I've been mostly perusing the example apps, and haven't had a chance to code anything up myself. I'm glad to hear it can be pieced in, but I'm not clear on how that works. If there was just one more day in the week, and I could have it all to myself. :) Like I said

Re: Google Web Toolkit

2006-05-23 Thread Geoff Longman
4. It doesn't lend itself to the separation of concerns between UI design and webapp development. In its current form yes, and no. The widgetry created in code - yes. Where individual chunks of widgetry are located on a page - no. A page can be all GWT or just a few bits of it quite easily. An

Re: best development server for Tapestry

2006-05-23 Thread Jesse Kuhnert
Or, you can just create an eclipse "Run" application launch and you don't need to attach to remote vms or startup with any special options at all. If you want to run it normally just click Run-> from the Run menu, if you want to run in debug mode just click "Debug As" instead, choosing the same e

RE: best development server for Tapestry

2006-05-23 Thread Mark Stang
Carl, Look at the start up script for Jetty. We start it as part of JBoss. What you have to do is to add the following options to the command-line for starting Jetty or any Java process for that matter. # Debugger arguments #JAVA_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,address=8787,serve

Re: Google Web Toolkit

2006-05-23 Thread Brian K. Wallace
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Steven Bell wrote: > Like I said I have only had a quick look at it so some of my impressions my > be off base. I can see cases where this would be the greatest thing since > sliced bread, and others where it would be a nightmare to work with. Soun

Re: Google Web Toolkit

2006-05-23 Thread Jesse Kuhnert
Heh... Couldn't have put it better. Very well spoken Steven. On 5/23/06, Steven Bell <[EMAIL PROTECTED]> wrote: I haven't had the chance to really play with GWT as much as I would like yet, but my first impression is this: 1. Very cool technology. 2. Interesting concept. 3. Nice to have all

Re: Google Web Toolkit

2006-05-23 Thread Steven Bell
I haven't had the chance to really play with GWT as much as I would like yet, but my first impression is this: 1. Very cool technology. 2. Interesting concept. 3. Nice to have all the IDE support for developing an interactive AJAX website. but... 4. It doesn't lend itself to the separation

Re: about validation error messages

2006-05-23 Thread Carl Pelletier
A quick look at your code and I see that you missing the % before your message in the validators: bad: good: Good luck ! Carl Pelletier - Original Message From: marcopar <[EMAIL PROTECTED]> To: users@tapestry.apache.org Sent: Tuesday, May 23, 2006 11:32:48 AM Subject:

Re: best development server for Tapestry

2006-05-23 Thread Carl Pelletier
That look great for me, can you explain a little how you attach it to Eclipse ? For now, I starting it from the prompt. It work great`s but I have to look of my debug log4j in the cmd of windows, who`s pretty bad thanks - Original Message From: Mark Stang <[EMAIL PROTECTED]> To:

RE: Multiple skins with Tapestry

2006-05-23 Thread Till Nagel
Oleg, This is possible. We did something that way to allow not only different designs, but different layouts (i.e. even the displayed components may differ). I extended org.apache.tapestry.l10n.ResourceLocalizer with an overriden method such as public Resource findLocalization(Resource rootRes

Re: Google Web Toolkit

2006-05-23 Thread Konstantin Ignatyev
I do not miss Flash even a bit and do not want to spend any time on configuring that. If site requires flash then they do not have my business. I mention this problem only to show situation where Flash is not that easy to install. Alex Kartashev <[EMAIL PROTECTED]> wrote: Yeah... I think you ca

Re: Google Web Toolkit

2006-05-23 Thread Alex Kartashev
Yeah... I think you can install 32-bit version of flash and it would work Or you may need to install a 32-bit version of Firefox. I remember I had this problem on Fedora Core 4 on AMD64 kernel. Yes... you need the Firefox version from 32-bit distro. -Serge Konstantin Ignatyev wrote: Agre

annotations

2006-05-23 Thread Dimitri Taranov
I am trying to use annotations. To start, I deleted a very simple component specification and instead added an annotation @ComponentClass. Do I just add annotations compile and deploy or do I have to compile with Apt? When going with the first approach I get "Component not found". When trying to

Re: Invalidate session

2006-05-23 Thread Stephane Decleire
There's a very good sample developped by Howard in the Vlib sample bundled with Tapestry ... Christian Haselbach wrote: Quoting Bryan Lewis <[EMAIL PROTECTED]>: This has been discussed a few times before. For example, Yes, I have googled a bit and found some small discussions. But

Re: Invalidate session

2006-05-23 Thread Christian Haselbach
Quoting Bryan Lewis <[EMAIL PROTECTED]>: > This has been discussed a few times before. For example, Yes, I have googled a bit and found some small discussions. But they were not to helpful. > As you say, Tapestry doesn't allow the exception to bubble up to the > user, but it does put a worrisom

Re: Google Web Toolkit

2006-05-23 Thread Konstantin Ignatyev
Agreed. Easines of getting JVM is the key. Win comes without Flash but it is easy and relatively fast to install it. The problem should be solved: JVM should be easy to install, easier than Flash (whish does not work at all on my 64bit Gentoo- not that I miss it). Sergei Dubov <[EMAIL PROT

Re: Invalidate session

2006-05-23 Thread Konstantin Ignatyev
I do it in the invalidate.jsp and then send redirect to the client to a desired page. Christian Haselbach <[EMAIL PROTECTED]> wrote: Hello, how can a session be invalidadted gracefully? Simply calling session.invalidate() (where session for example was retrieved using WebRequest.getSession()) d

RE: best development server for Tapestry

2006-05-23 Thread Mark Stang
We use Jetty running standalone. And then as part of our ant tasks we copy the war file over. It auto-deploys. I attach to it via eclipse and just let it run. Sometimes when I change the code while debugging, it redeploys the code, backs up the jvm a few lines and keeps on running. -Or

Re: Invalidate session

2006-05-23 Thread Bryan Lewis
This has been discussed a few times before. For example, http://article.gmane.org/gmane.comp.java.tapestry.user/31641/match=illegalstateexception As you say, Tapestry doesn't allow the exception to bubble up to the user, but it does put a worrisome stack trace in the log. The Tapestry developers

Re: Google Web Toolkit

2006-05-23 Thread Sergei Dubov
Interesting... How can an applet be a viable alternative if it needs a JVM to run, and Windoz comes without it. I think this problem needs to be solved first if applets/JWS are to come back into fashion. -Serge Konstantin Ignatyev wrote: Paul Cantrell <[EMAIL PROTECTED]> wrote: Horrible, horr

AW: Uncaught PageRedirectionException (Tapestry 3.0.3)

2006-05-23 Thread Saqib Rasul
Hi Chris, >From the stacktrace seems like this is happening in your page's beginRender >listener. Perhaps you cannot throw this type of exception from here. What i would suggest is that perhaps you can do this check and redirection in the BasePage.validate(IRequestCycle cycle) method. You coul

about validation error messages

2006-05-23 Thread marcopar
Hi, i'm following the EnjoyWebDevWithTapestry book and i'm trying to display error messages coming from the validators. The only difference is that i'm trying to do it without using .page files. - First of all i want to say that i still not had understood clearly the notation for passing parameter

Re: Connecting Table to ResultSet

2006-05-23 Thread Rui Pacheco
I did both of those. But for some reason I still can't get to my data. I've created an inner class inside the class that mirrors my page, I made it implement Serializable and I created getters and setters for the fields. Now, I create an instance of that class for every row, stuff it inside my Li

Re: Connecting Table to ResultSet

2006-05-23 Thread Barry Books
Most likely you did not specify your page implements PageBeginRenderListener (sp), but I think it's better just to declare a method public List getDataItems and put you query code in there.

Re: Google Web Toolkit

2006-05-23 Thread Francis Amanfo
Hi Geoff, Reading your comments on GWT, it seems you've found another darling. Not bad though, as long as you strive to distribute your love evenly between them ;-) Regards, Francis On 5/23/06, Geoff Longman <[EMAIL PROTECTED]> wrote: Go try it out and then comment. Geoff On 5/23/06, Alex K

Re: best development server for Tapestry

2006-05-23 Thread Paul Cantrell
Tomcat's deploy / undeploy tasks are quite speedy, but I've found that Tomcat starts going haywire after a few dozen hot deploys like that -- usually it runs out of memory; sometimes the old instance doesn't undeploy cleanly, and holds on to DB connections ... sometimes, it gets into a conf

Re: Google Web Toolkit

2006-05-23 Thread Geoff Longman
Go try it out and then comment. Geoff On 5/23/06, Alex Kartashev <[EMAIL PROTECTED]> wrote: Paul Cantrell wrote: > I completely agree with about 90% of what Todd writes. This is > definitely not a flash in the pan, and the idea of using an > intermediate language (Java, in this case) that comp

Invalidate session

2006-05-23 Thread Christian Haselbach
Hello, how can a session be invalidadted gracefully? Simply calling session.invalidate() (where session for example was retrieved using WebRequest.getSession()) does invalidate exception, but will result in an exception later on in AbstractEngine. Here, the state manager is flushed which will comp

Re: best development server for Tapestry

2006-05-23 Thread Claudiu Pîslaru
Hi! As for long stop/start process with Tomcat service, look at my solution below. For development, I'm using Tomcat 5.5.9 on a Windows machine. Initially my dev-test-cycle was: - create/modify a file in Eclipse - stop Tomcat - copy (with an ant task) files in Tomcat webapps - start

Re: Google Web Toolkit

2006-05-23 Thread Alex Kartashev
Paul Cantrell wrote: I completely agree with about 90% of what Todd writes. This is definitely not a flash in the pan, and the idea of using an intermediate language (Java, in this case) that compiles to client- side code is a brilliant and revolutionary one. Revolutionary? All that the f

Connecting Table to ResultSet

2006-05-23 Thread Rui Pacheco
Hi all I'm trying to create a table from the contrib package. I have the html on my page as this: ID Nome   I have setup my component to fill dataItems like this: public void pageBeginRender(PageEvent event){ list = new ArrayList(); setModel(model); MySQLDAO mysql = n

Re: best development server for Tapestry

2006-05-23 Thread Hugo Palma
http://docs.codehaus.org/display/JETTY/JNDI On 5/23/06, Carl Pelletier <[EMAIL PROTECTED]> wrote: Ok, thanks all for your reply. I think I will give a try to Jetty. Can someone point me out to a configuration using JNDI with Jetty 6 ? Thanks all for your reply ! Carl Pelletier - Original

Re: best development server for Tapestry

2006-05-23 Thread Carl Pelletier
Ok, thanks all for your reply. I think I will give a try to Jetty. Can someone point me out to a configuration using JNDI with Jetty 6 ? Thanks all for your reply ! Carl Pelletier - Original Message From: Nick Faiz <[EMAIL PROTECTED]> To: Tapestry users Sent: Tuesday, May 23, 2006

Creator testing and Message annotations

2006-05-23 Thread Daun DeFrance
Hi all, I am just getting started with Creator-based testing. I am able to handle most methods on my page object, but I am having trouble testing the Message annotations on my page. I have something like: @Message("PingMessage") public abstract String getPingMessage(); And I would like to be ab

RE: Creator testing and Message annotations

2006-05-23 Thread James Carman
Just extend org.apache.hivemind.impl.AbstractMessages if all you need is a simple Messages implementation. You could create one called ResourceBundleMessages which is based upon a ResourceBundle. -Original Message- From: Daun DeFrance [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 23, 20

Q: T4 problems with external page and params

2006-05-23 Thread Audrius Peseckis
Hello, I have a simple external page, which takes one parameter as long. I'm trying to access this page directly passing parameters through link like: http://localhost:/search/app?page=CompanyInfoPage&service=external&sp=l1894741034 CompanyInfoPage is registered with the application

Q: T4 problems with external page and params

2006-05-23 Thread Audrius Peseckis
Hello, I have a simple external page, which takes one parameter as long. I'm trying to access this page directly passing parameters through link like: http://localhost:/search/app?page=CompanyInfoPage&service=external&sp=l1894741034 CompanyInfoPage is registered with the application

RE: Multiple skins with Tapestry

2006-05-23 Thread Townson, Chris
Absolutely use CSS! There should never really be any reason to have to change your (X)HTML for the purposes of styling (the markup should be a semantic representation of the content anyway, so using it as a representation of the display would be incorrect). ... The same goes for JavaScript ..

Re: Q: T4 problems with external page and params

2006-05-23 Thread Audrius Peseckis
Yes. - Original Message - From: "Shing Hing Man" <[EMAIL PROTECTED]> To: "Tapestry users" Sent: Tuesday, May 23, 2006 2:11 PM Subject: Re: Q: T4 problems with external page and params Have you specified the java class in CompanyInfoPage.page or using the meta key="org.apache.tapestr

Re: Q: T4 problems with external page and params

2006-05-23 Thread Shing Hing Man
Have you specified the java class in CompanyInfoPage.page or using the meta key="org.apache.tapestry.page-class-packages in .application ? Shing --- Audrius Peseckis <[EMAIL PROTECTED]> wrote: > Hello, > > I have a simple external page, which takes one > parameter as long. I'm trying to acce

Re: Script problems

2006-05-23 Thread Peter Svensson
Thanks Marcus! At least now I can confirm that it should have worked. I'll try to set the context separately, and see what happens. Cheers, PS On 5/23/06, Schulte Marcus <[EMAIL PROTECTED]> wrote: Putting it in WEB-INF/ and refering to it as should work fine. I had a very "funny" problem rec

RE: Script problems

2006-05-23 Thread Schulte Marcus
Putting it in WEB-INF/ and refering to it as should work fine. I had a very "funny" problem recently, where Tomcat could not find a resource in WEB-INF when the app was defined by a in server.xml. Moving the into its own file helped in that instance - but I'm just guessing ... > -Original

ognl expression in a meta tag ?

2006-05-23 Thread Stephane Decleire
Hi Is there a way to inject an ognl expression in a page ? I've tried with a meta tag like below without success ... @Meta( { "[EMAIL PROTECTED]@class" } ) @InjectMeta("adType") public abstract Class getAdType(); It raise an exception when i try to get it in the page : No type converter

Script problems

2006-05-23 Thread Peter Svensson
Hi! I' trying to use any old script in a page. I've usccessfully managed tu get some Tacos components working, so I've had some headway in the JS department. However, Tacos is pretty wrapped up and easy to use, so I can't manage to manually do anything js<->tapestry on my own it seems. I have r

Q: T4 problems with external page and params

2006-05-23 Thread Audrius Peseckis
Hello, I have a simple external page, which takes one parameter as long. I'm trying to access this page directly passing parameters through link like: http://localhost:/search/app?page=CompanyInfoPage&service=external&sp=l1894741034 CompanyInfoPage is registered with the application

Re: best development server for Tapestry

2006-05-23 Thread Nick Faiz
Hi, Let me echo Stephane - Jetty works very during dev. for hot deploy, etc.. Nick Stephane Decleire wrote: I've moved last month from this configuration to Jetty (with the Jetty Launcher plugin which permit to avoid Ant too) and i found that Jetty is a great server for the developpement proc

Re: best development server for Tapestry

2006-05-23 Thread Stephane Decleire
I've moved last month from this configuration to Jetty (with the Jetty Launcher plugin which permit to avoid Ant too) and i found that Jetty is a great server for the developpement process ! I think it's 10x faster than Tomcat to relaunch ... Kristian Marinkovic wrote: hi, maybe its off top

RE: best development server for Tapestry

2006-05-23 Thread Kristian Marinkovic
hi, maybe its off topic but i use tomcat 5.5 with the Sysdeo Eclipse Tomcat Launcher plugin (free) for development. This plugin uses a separate classloader to load Tomcat and all the jar files on the classpath of my project. IMHO this way of developing is much easier than using ant :) btw. the cr