RE: How to link to another website

2007-02-07 Thread Stony Zhang
Thanks a lot. I have done that with @Any... -Original Message- From: Daniel Tabuenca [mailto:[EMAIL PROTECTED] Sent: Thursday, February 08, 2007 1:11 PM To: Tapestry users Subject: Re: How to link to another website Like I said, if you need to generate the url use @GenericLink. Also, kee

Re: How to link to another website

2007-02-07 Thread Daniel Tabuenca
Like I said, if you need to generate the url use @GenericLink. Also, keep in mind that you can add dynamic content to any tag using the @Any component. For example: CLiCK ME On 2/7/07, Stony Zhang <[EMAIL PROTECTED]> wrote: Thanks Daniel, But "WEBSITE_URL" need be got in server side. and

RE: How to link to another website

2007-02-07 Thread Stony Zhang
Thanks Daniel, But "WEBSITE_URL" need be got in server side. and I can't use ognl:weburl to do that. Best wishes, Stony -Original Message- From: Daniel Tabuenca [mailto:[EMAIL PROTECTED] Sent: Thursday, February 08, 2007 11:53 AM To: Tapestry users Subject: Re: How to link to ano

Re: How to link to another website

2007-02-07 Thread Daniel Tabuenca
You mean to another non-tapestry website? You just do If you don't want to use a static URL in your template then you could also use the @GenericLink component. On 2/7/07, Stony Zhang <[EMAIL PROTECTED]> wrote: Hello, I want to a link to another website. Anyone can tell me how to do

@EventListener and unrendered components.

2007-02-07 Thread Daniel Tabuenca
I'm trying out the new Tapestry 4.1.1 @EventListener annotation and it works great, except that if the event is on a component that is conditionally rendered, it breaks with the following error: FATAL exception raised: bad srcObj for srcFunc: onclick This is understandable since dojo cannot conn

Re: Tapestry 5 + Continuity

2007-02-07 Thread Howard Lewis Ship
This is my thoughts give or take. I'm building something so compelling that it *should* be a disruptive technology. Will it be? Depends on the community. The technology is just the starting point. I have been focusing on documentation and have started tutorials along with the screencasts. As

Re: How to get Tap4.1.2 SNAPSHOOT? Need help with pom.xml

2007-02-07 Thread Pedro Viegas
Thanks! Works like a charm! Regards, On 2/7/07, Shing Hing Man <[EMAIL PROTECTED]> wrote: Add the following after apache.snapshots http://people.apache.org/repo/m2-snapshot-repository Shing --- Pedro Viegas <[EMAIL PROTECTED]> wrote: > I there. > I'm not a Maven

Tap 4.1.1 Cancel button not Async?

2007-02-07 Thread Daniel Tabuenca
I have a simple form: with a simple cancel button: When it renders the page tapestry generates: However.. this seems to not be donde throuh an asynchronous request and the entire page loads. Any ideas why this could be happening? -

Re: An observation on Tap 4.1.2 DirectLink updateComponents parameter

2007-02-07 Thread Norbert Sándor
This is a reported issue: http://issues.apache.org/jira/browse/TAPESTRY-1252 BR: Norbi Shing Hing Man írta: I have noticed that if the DirectLink parameter updateComponents is specified, then the request is always asynchronous, irrespect of whether the async parameter is true or false. The a

An observation on Tap 4.1.2 DirectLink updateComponents parameter

2007-02-07 Thread Shing Hing Man
I have noticed that if the DirectLink parameter updateComponents is specified, then the request is always asynchronous, irrespect of whether the async parameter is true or false. The above is probably what most people want. Maybe it will be a bit clearer if it is stated in the documentation. Sh

Re: AW: AW: WG: IOC TapestryException creating a sample application

2007-02-07 Thread Massimo Lusetti
On 2/7/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: I just checked in a fix for your problem. The new behavior is as I described, the "/Foo.html" is really the html event triggered on the root component of page Foo. You will likely not have any onHTML() event handler methods, and the defaul

Re: ajax exception

2007-02-07 Thread andyhot
haipeng du wrote: Hi, I use EventHandler to handle ajax calls. If there are some exceptions that are not caught from java code, it will show dojo dialog in browser. The problem is that the error information is so long. It messes whole page. I can not find any button to close the dialog. Scrol

Re: AW: AW: WG: IOC TapestryException creating a sample application

2007-02-07 Thread Howard Lewis Ship
I just checked in a fix for your problem. The new behavior is as I described, the "/Foo.html" is really the html event triggered on the root component of page Foo. You will likely not have any onHTML() event handler methods, and the default behavior will be to redirect back to page foo (i.e., "/f

Re: AW: AW: WG: IOC TapestryException creating a sample application

2007-02-07 Thread Howard Lewis Ship
Earlier versions of Tapestry 5 did use ".html" as the extension that identifies a page render (rather than an event trigger on a component). Howerver, I'll look into your case. This should have triggered an "html" event (which is meaningless) on the Home page itself, and that should have resulted

Re: AW: AW: WG: IOC TapestryException creating a sample application

2007-02-07 Thread Hugo Palma
You have the wrong URL. It's http://localhost:8080/tapestry_empty/Home not http://localhost:8080/tapestry_empty/Home.html page urls don't have the file extension. Stranzenbach, Ralf wrote: It's an access to http://localhost:8080/tapestry_empty/Home.html Mit freundlichen Grüßen,

AW: AW: WG: IOC TapestryException creating a sample application

2007-02-07 Thread Stranzenbach, Ralf
It's an access to http://localhost:8080/tapestry_empty/Home.html Mit freundlichen Grüßen, Ralf Edmund Stranzenbach Manager, FS-Technology BearingPoint Management & Technology Consultants Gladbecker Straße 5, 40472 Düsseldorf; Germany +49.211.17143.6038 Phone I +49.211.17143.6060 Fax I

ajax exception

2007-02-07 Thread haipeng du
Hi, I use EventHandler to handle ajax calls. If there are some exceptions that are not caught from java code, it will show dojo dialog in browser. The problem is that the error information is so long. It messes whole page. I can not find any button to close the dialog. Scroll bar in browser dose n

Re: AW: WG: IOC TapestryException creating a sample application

2007-02-07 Thread Howard Lewis Ship
What is the exact URL that triggers this error. It's possible that a trailing slash is causing a problem (which, would be a bug in Tapestry). On 2/7/07, Stranzenbach, Ralf <[EMAIL PROTECTED]> wrote: Hi. I've checked the application, cleaned everything, redeployed. Nothing changed. The same exc

Re: Can't get InlineEditBox to work, quits with Javascript Error: impl is not a constructor [SOLVED ]

2007-02-07 Thread Marcus Thiesen
Am Mittwoch 31 Januar 2007 18:55 schrieb Shing Hing Man: > I created that jira. Marcus has a different problem > from the one mentioned in the jira. > > Shing Ok, stupid me. It works. I had a validation filter in my tomcat (from http://tuckey.org/validation/) and it caused the problem. I still b

Re: [ANN] HandyTapestry Beta 2, Tapestry plugin for IntellijJ Idea

2007-02-07 Thread Jesse Kuhnert
Wow, great work Alexei! This may actually be the first tapestry related ide plugin I actually use for reg development. ;) On 2/6/07, Alexei Orishchenko <[EMAIL PROTECTED]> wrote: The HandyTapestry plugin for IntelliJ Idea helps you to develop Tapestry web applications faster. The plugin provide

AW: AW: WG: IOC TapestryException creating a sample application

2007-02-07 Thread Stranzenbach, Ralf
Hi. I've checked the application, cleaned everything, redeployed. Nothing changed. The same exception occurred. May be, the stack trace if of some use: org.apache.tapestry.ioc.internal.util.TapestryException Component de.reswi.tapestry_empty.pages.Home does not contain an embedded component

Broken response encoding of exception page

2007-02-07 Thread Holger Stolzenberg
Hy there, Yes I know I have posted about this problem earlier in this thread but our project will end soon and the problem still is present: The problem is that the output encoding of the exception page rendered by the ExceptionPresenter is broken. Following situation (code below): When an ex

Re: tapestry-spring and IEngineService

2007-02-07 Thread Shing Hing Man
One possible way is to wrap up your spring bean as an Hivemind service (http://hivemind.apache.org/hivemind1/hivemind-lib/SpringLookupFactory.html). Then inject that hivemind service into your Tapestry engine service. Example :

Re: How to get Tap4.1.2 SNAPSHOOT? Need help with pom.xml

2007-02-07 Thread Shing Hing Man
Add the following after apache.snapshots http://people.apache.org/repo/m2-snapshot-repository Shing --- Pedro Viegas <[EMAIL PROTECTED]> wrote: > I there. > I'm not a Maven guy, so I don't really now how to > set up a pom.xml do get > the Tap 4.1.2 snapshoot.