Dynamic forms

2012-04-25 Thread Tim Koop
I'm making a way for the user to create a dynamic form, with their own defined fields. But how can I do this with Tapestry, since it links the form fields with Java variables? I can't create dynamic variables. Any ideas? Thanks. Tim Koop t...@timkoop.com <mailto:t..

Showing text with line breaks converted to or

2012-04-18 Thread Tim Koop
display text with ${myText}, all my eol characters stay as eol characters and thus get ignored by the browser, showing up as one long line of text. Is there some way I can convert eol's to or something? Thanks. Tim Koop t...@timkoop.com <mailto:t...@timkoop.com> www.timkoo

Re: RenderQueueException

2011-09-22 Thread Tim Koop
OK I'll answer my own question: I was including the file tapestry-beanvalidator-?.?.?.jar. When I removed that file from the war file, it all worked fine. It seems I don't need it, and its very presence was throwing an exception. Tim Koop t...@timkoop.com <mailto:t..

RenderQueueException

2011-09-22 Thread Tim Koop
Thanks. hint: the page renders fine on one site, but not on another. I suspect I might not be copying something across correctly. -- Tim Koop t...@timkoop.com <mailto:t...@timkoop.com> www.timkoop.com <http://www.timkoop.com> -

Tomcat gives me a 404 when trying to get a Tapestry website loaded

2011-09-14 Thread Tim Koop
d package location substituted. But when I browse there (by following the link in the Tomcat manager page), all I get is a 404 page given to me by Tomcat. Any ideas? I'm running out of them. In fact, sending an email to this list was my last idea. Help! -- Tim Koop t...@t

How to create a war from Eclipse

2011-08-24 Thread Tim Koop
is not a Web Application. - I think I'm using Maven somewhere in the background, because I sometimes see Maven notices on the console, and I suspect you can create a war with Maven, but I have no idea how. -- Tim Koop t...@timkoop.com <mailto:t...@timkoop.com>

Re: SessionState problems with a String type

2011-06-29 Thread Tim Koop
in front of it. But when the authenticating site forwarded the user back to my site, it used the URL with "www." in front, thus causing it to be a different site with different cookies, thus a different session id, and thus different SSOs. Thank you to this great community for

Re: Function Tapestry.Initializer.formEventManager() does not exist

2011-05-25 Thread Tim Koop
OK It's back again, but only on certain pages. Anyone have any ideas? Thanks. Tim Koop t...@timkoop.com <mailto:t...@timkoop.com> www.timkoop.com <http://www.timkoop.com> On 25/05/2011 11:30 AM, Tim Koop wrote: Oops. It just stopped doing that. It seems when I clean t

Re: Function Tapestry.Initializer.formEventManager() does not exist

2011-05-25 Thread Tim Koop
Oops. It just stopped doing that. It seems when I clean the project (with Eclipse), that sometimes certain behaviours change. I don't know why. Tim Koop t...@timkoop.com <mailto:t...@timkoop.com> www.timkoop.com <http://www.timkoop.com> On 25/05/2011 11:21 AM, Tim K

Function Tapestry.Initializer.formEventManager() does not exist

2011-05-25 Thread Tim Koop
em? Did I forget to include a jar file? Does anyone know which jar file Tapestry.Initialrizer.formEventManager() is in? Thanks. -- Tim Koop t...@timkoop.com <mailto:t...@timkoop.com> www.timkoop.com <http://www.timkoop.com> --

Re: SessionState problems with a String type

2011-05-11 Thread Tim Koop
left scratching my head wondering why. Thank you both for your ideas. Maybe something fixed it, but I don't know what. Tim Koop t...@timkoop.com <mailto:t...@timkoop.com> www.timkoop.com <http://www.timkoop.com> On 11/05/2011 1:33 PM, Josh Canfield wrote: Are you sure you'

Re: SessionState problems with a String type

2011-05-11 Thread Tim Koop
user back to my site, Tapestry forgets the session... Hang on. I just got Josh's email. Tim Koop t...@timkoop.com <mailto:t...@timkoop.com> www.timkoop.com <http://www.timkoop.com> On 11/05/2011 1:25 PM, Thiago H. de Paula Figueiredo wrote: On Wed, 11 May 2011 15:17:42 -0300

Re: SessionState problems with a String type

2011-05-11 Thread Tim Koop
tored correctly? And no, I don't plan to actually use a String as a SessionState Object. I'm just testing with it. Thanks. Tim Koop t...@timkoop.com <mailto:t...@timkoop.com> www.timkoop.com <http://www.timkoop.com> On 11/05/2011 12:39 PM, Josh Canfield wrote: http://ta

SessionState problems with a String type

2011-05-11 Thread Tim Koop
licationStateManagerImpl.get(ApplicationStateManagerImpl.java:133) o org.apache.tapestry5.internal.transform.ApplicationStateWorker$1.get(ApplicationStateWorker.java:91) -- Tim Koop t...@timkoop.com <mailto:t...@timkoop.com> www.timkoop.com <http://www.timkoop.com&

Re: Request getRequestURL method

2011-05-04 Thread Tim Koop
To answer my own question, this works: @Inject private RequestGlobals requestGlobals; javax.servlet.http.HttpServletRequest request = requestGlobals.getHTTPServletRequest(); Tim Koop t...@timkoop.com <mailto:t...@timkoop.com> www.timkoop.com <http://www.timkoop.com&g

Request getRequestURL method

2011-05-04 Thread Tim Koop
o respond to this group answering our questions! -- Tim Koop t...@timkoop.com <mailto:t...@timkoop.com> www.timkoop.com <http://www.timkoop.com> - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For

Redirect throws NullPointerException

2011-05-04 Thread Tim Koop
ndler_12fbbad7a23.java) at $PageRenderRequestHandler_12fbbad7a1a.handle($PageRenderRequestHandler_12fbbad7a1a.java) at org.apache.tapestry5.internal.services.ComponentRequestHandlerTerminator.handlePageRender(ComponentRequestHandlerTerminator.java:48) -- Tim Koop t...@timkoop.com <mailto:t...@t

Query string

2011-04-27 Thread Tim Koop
I have some third party code that calls one of my Tapestry pages, passing in some values in the query string. From in my Tapestry page (the Java class), how can I retrieve this query string? Thanks. -- Tim Koop t...@timkoop.com <mailto:t...@timkoop.com> www.timkoop.com

Inject Cookies into a SessionState object

2010-12-29 Thread Tim Koop
think you can inject Tapestry objects on a non-component or non-page object, can you? Any ideas? Thanks. -- Tim Koop t...@timkoop.com <mailto:t...@timkoop.com> www.timkoop.com <http://www.timkoop.com> - To unsubscri

Calling the Tapestry server from plain Javascript

2010-12-08 Thread Tim Koop
any better ideas? I've looked into Mixins, but I don't know if that would apply. I just want the Javascript code that calls the correct URL. Thanks. -- Tim Koop t...@timkoop.com <mailto:t...@timkoop.com> www.timkoop.c

pageAttached and onActivate

2010-11-11 Thread Tim Koop
variables in onActivate? Thanks. -- Tim Koop t...@timkoop.com <mailto:t...@timkoop.com> www.timkoop.com <http://www.timkoop.com> - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional com

How to display form success?

2010-09-15 Thread Tim Koop
pens after onSuccess (on the reload). Thanks. -- Tim Koop t...@timkoop.com <mailto:t...@timkoop.com> www.timkoop.com <http://www.timkoop.com>

Re: Expansion for Javascript

2010-07-14 Thread Tim Koop
Cool! It works! I still had to do the escaping of the quotation marks myself, but at least the html encoding doesn't need to be undone first. (Now if only there was outputjsstring, outputurl, outputtextarea, outputcsv, and outputcustom) Tim Koop t...@timkoop.com <

500 error with a brand new Tapestry project

2010-05-26 Thread Tim Koop
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450) /Powered by Jetty:// <http://jetty.mortbay.org/>/ -- Tim Koop t...@timkoop.com <mailto:t...@timkoop.com> www.timkoop.com <http://www.timkoop.com>

Configuring the Tapestry Eclipse environment for use with external Tomcat

2010-05-26 Thread Tim Koop
.class files and the Tapestry's .tml files. But according to the standard Maven project layout, the WEB-INF folder is in /src/main/webapp, and the classes folder is in /target. Why isn't "classes" inside of "WEB-INF"? And how can it be put there? Thanks. --

Re: Tutorial Import Project Into Eclipse

2010-05-12 Thread Tim Koop
d everything still works. Except I still can't see a "import maven". But I don't mind now, because my project is working. Thanks everyone for your help. I appreciate it all. Tim Koop t...@timkoop.com <mailto:t...@timkoop.com> www.timkoop.com <http://www.t

Re: Tutorial Import Project Into Eclipse

2010-05-12 Thread Tim Koop
I would be happy to install m2eclipse if it wasn't so painful to do. But I tried this and it seems to work. Thanks a lot Matheus. Tim Koop t...@timkoop.com <mailto:t...@timkoop.com> www.timkoop.com <http://www.timkoop.com> On 12/05/2010 4:35 PM, Matheus Eduardo Mach

Re: Tutorial Import Project Into Eclipse

2010-05-12 Thread Tim Koop
Thanks for the idea Christian. I already have m2eclipse 0.9.8 installed, and it looks like installing 0.10 is a big pain. I can't find an import for "existing maven projects". Maybe that only came out with 0.10. Tim Koop t...@timkoop.com <mailto:t...@timkoop.com>

Re: Tutorial Import Project Into Eclipse

2010-05-12 Thread Tim Koop
No, I hadn't done that. Perhaps it should be documented somewhere. But I just tried it now. Eclipse has imported the project, but it is now complaining about a lot of "Unbound classpath variable: 'M2_REPO/..." Tim Koop t...@timkoop.com <mailto:t...@timkoop.com

Tutorial Import Project Into Eclipse

2010-05-12 Thread Tim Koop
above tutorial didn't work--at least I couldn't get it working) But when I try to Import Existing Project Into Workspace, the project made by Maven, Eclipse says "No projects are found to import". What's the deal? Thanks. -- Tim Koop t...@timkoop.com <mailto:t...@t

Re: How do I set up logging with Tapestry 5 and Tomcat?

2010-04-28 Thread Tim Koop
asses/log4j.properties file is being ignored. Why is my log4j.properties file being ignored? I even have its location specified in my web.xml file. What's going on? Thanks. -- Tim Koop <mailto:t...@timkoop.com> On 16/04/2010 3:05 PM, Peter Stavrinides wrote: You need a log4j.proper

Re: How do I set up logging with Tapestry 5 and Tomcat?

2010-04-15 Thread Tim Koop
properties when your application starts, not with Tomcat starts. And it might find it in your WEB-INF/classes directory. Tim Koop t...@timkoop.com <mailto:t...@timkoop.com> www.timkoop.com <http://www.timkoop.com> On 15/04/2010 2:36 AM, Ivano Luberti wrote: But if I deploy on a s

Re: How do I set up logging with Tapestry 5 and Tomcat?

2010-04-14 Thread Tim Koop
, but I guess that the missing file in Tomcat's directory caused an irrecoverable error with log4j (I did have a log4j error in the Tomcat startup script), so nothing else worked after that. But now it all works fine. Tim Koop t...@timkoop.com <mailto:t...@timkoop.com> www.timkoo

Re: How do I set up logging with Tapestry 5 and Tomcat?

2010-04-14 Thread Tim Koop
work with slf4j, I would be happy with that. Thanks. Tim Koop t...@timkoop.com <mailto:t...@timkoop.com> www.timkoop.com <http://www.timkoop.com> On 14/04/2010 1:52 PM, Igor Drobiazko wrote: Tapestry logs with slf4j. You need the slf4j - log4j - bridge. Make sure log4j-over-sl

How do I set up logging with Tapestry 5 and Tomcat?

2010-04-14 Thread Tim Koop
=ERROR, R Does anyone have any ideas? I'm out of ideas. Thanks in advance. -- Tim Koop t...@timkoop.com <mailto:t...@timkoop.com> www.timkoop.com <http://www.timkoop.com>