Re: IRC

2007-07-20 Thread Evan Rawson - Work
wow IRC, looks like i got another reason to download mIRC again. ill definatly be on that channel. - Original Message - From: "Chris Lewis" <[EMAIL PROTECTED]> To: "Tapestry users" Sent: Friday, July 20, 2007 9:16 AM Subject: IRC Dear mailing list, I'm sure you've probably received

Re: T5 - DataSource in Jetty5

2007-07-20 Thread Weisu
Thanks Thomas, Because Eclipse Jetty launch only works on Jetty5, that is why I am looking for Jetty5's example. Regards, Wei. Thomas Hackel wrote: > > Weisu schrieb: >> Hi, I am using Tomcat for my old app, now I am tring to use Jetty5. In >> How do I do this in Jetty5? And I would like to use

Re: T5 Border Component

2007-07-20 Thread Jordan Howarth
Hi Peter I was not aware of a core border component in T4 although I am happy to be corrected. Regardless, in T5 you have the Tapestry Element which, as described in the documentation (http://tapestry.apache.org/tapestry5/tapestry-core/guide/templates.html), is an analogue of @RenderBody from T4

Re: Why does cancel kill its listener?

2007-07-20 Thread Jesse Kuhnert
Dunno. If you file a bug report with a specific version && example it can be looked in to. On 7/20/07, Geoff Callender <[EMAIL PROTECTED]> wrote: Is there a reason why submitType kills its component's listener? For example, whereas this listener works... ... the listener in this on

Re: [T4] sharing date between @Border and pages

2007-07-20 Thread Jesse Kuhnert
Wouldn't it be easier to make that property available to anything in the system with some kind of IoC injection of state? ie: http://tapestry.apache.org/tapestry4.1/usersguide/state.html On 7/20/07, #Cyrille37# <[EMAIL PROTECTED]> wrote: Hello, My Pages extends MyBasePage which has the method

Re: [T4] attributes namescape like T5 has

2007-07-20 Thread Jesse Kuhnert
I don't know.. You are welcome to give it a try if you like. =) On 7/20/07, #Cyrille37# <[EMAIL PROTECTED]> wrote: Hello, Should it be a hard work to add namescape for tapestry 4.1.x attributes, like with T5. My question comes because of Eclipse warnings about invalid HTML : Undefined

Re: t4.1.2 internet explorer only issue with cycle.getResponseBuilder().updateComponent("foo")

2007-07-20 Thread Jesse Kuhnert
Nothing would change on the server side for any specific browser (except maybe with asset cache handling) - so I'd turn on client side debugging and see what happens? (and also install micro$oft script debugger - http://www.microsoft.com/downloads/details.aspx?FamilyID=2f465be0-94fd-4569-b3c4-dff

[Fwd: Re: T5 Border Component]

2007-07-20 Thread Jordan Howarth
My apologies but my last sentence is actually incorrect: "In this case, the 'Border' ... ". Probably a mixture of sleep deprivation and wishful thinking. The behaviour is exactly as described in the documentation. To that end, I would like to know if their is an equivalent to $content$ in T5? Tha

t4.1.2 internet explorer only issue with cycle.getResponseBuilder().updateComponent("foo")

2007-07-20 Thread Anna Vo
I have a property selection that when selected updates a page property and then a few components. In Safari and FF (mac and pc) everything works, but when I test in IE7 and IE6 it does everything (sets the page property) but then fails to update the specified components (some text and some form ele

Re: dojo undefined in IE.6 for tapestry-4.1.2-SNAPSHOT

2007-07-20 Thread Ken nashua
Ok Jesse, thanks... that did it... although being picky I would have preferred to bury it in my CustomHead component. I muted out the instrumented stuff... but glad to use your code. You might want to take note of that NPE... very strange. But I appreciate you taking the time to straighten me

RE: T5 component parameter binding not updated

2007-07-20 Thread Martin Grotzke
Anybody out there? What should I check for analysing this issue? Thanx && cheers, Martin On Fri, 2007-07-13 at 18:17 +0200, Martin Grotzke wrote: > I suppose that what I'm expecting is not the way it should work. > > Can I do anything to see what's the reason for this? > > Any help appreciate

Re: dojo undefined in IE.6 for tapestry-4.1.2-SNAPSHOT

2007-07-20 Thread Jesse Kuhnert
Open the highest level .html template you have (such as a Border.html for some kind of border component) and stick this in it: Done. On 7/20/07, Ken nashua <[EMAIL PROTECTED]> wrote: Is this a bug? -- Jesse Kuhnert Tapestry/Dojo team member/developer Open source based consulting work

Re: dojo undefined in IE.6 for tapestry-4.1.2-SNAPSHOT

2007-07-20 Thread Ken nashua
Is this a bug? NPE java.lang.NullPointerException Stack Trace: org.apache.tapestry.dojo.AjaxShellDelegate.render(AjaxShellDelegate.java:121) org.trails.demo.components.CustomHead.renderComponent(CustomHead.java:150) org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:725) org

Re: dojo undefined in IE.6 for tapestry-4.1.2-SNAPSHOT

2007-07-20 Thread Ken nashua
Hey... whats the quickest way to Burma by Bicycle? Best regards Ken in nashua Original Message Follows From: "Ken nashua" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED], users@tapestry.apache.org Subject: Re: dojo undefined in IE.6 for tapestry-4.1.2-SNAPSHOT Date: Fri, 20 Jul 2007 13:19:46

Two Editable tables on the same page not working properly

2007-07-20 Thread Ying Lee
Hi, I am having an issue with two Editable tables on the same page. I am using Tapestry 4.0 latest version. Here is the setup: - one page, two editable tables. By "Editable", I mean there are table cells using "TextField" to get user input. The way I do that is to use "[EMAIL PROTECTED]" to

Re: dojo undefined in IE.6 for tapestry-4.1.2-SNAPSHOT

2007-07-20 Thread Ken nashua
In firefox the folliowing line:121 produces NPE after clicking link in application after bootstrap of webapp ... this line... .append(_tapestryPath.buildURL()).append("\");\n"); str.append("\n\n") .append("dojo.registerModulePath(\"tapestry\", \"") .append(_tapestryPath.bui

Re: dojo undefined in IE.6 for tapestry-4.1.2-SNAPSHOT

2007-07-20 Thread Ken nashua
dojo undefined occurs at dojo.require("dojo.logging.Logger"); in the markup below. Why would this happen i IE if the following was rendered before it? djConfig = {"isDebug":true,"debugContainerId":"debug","baseRelativePath":"/dojo/","parseWidgets":false,"locale":"en"}

Re: [T4] Shell and Border ok but ...

Remember that by default a component's body is the whole template, unless you use the special component it $content$, in which case everything /inside/ the element with this jwcid will be used and all else ignored. So for your border component use valid html instead of the invalid bit you curre

Re: dojo undefined in IE.6 for tapestry-4.1.2-SNAPSHOT

Ok, I mader some ground... I made my CustomHead.JAVA look/act like ScriptIncludes.JAVA but had to replace this... for this... @Asset("/js/dojo/dojo.js") public abstract IAsset getDefaultDojoSource(); @Asset("/dojo/") public ab

Re: [T4] Shell and Border ok but ...

Joe Trewin a écrit : Try changing the to a ... (Tapestry doesn't care what it is, and spans have inline layout meaning that they can only contain other inline tags - div is a block element, so it can). Thanks a lot. I've just try with Eclipse3.3 and it complains : Invalid location of tag

Re: dojo undefined in IE.6 for tapestry-4.1.2-SNAPSHOT

So it seems I have to tell my Customhaed.JAVA to act like ScriptIncludes.JAVA But that produces the following error below org.apache.hivemind.ApplicationRuntimeException There was an error borrowing the page with key PageKey[_pageName='Home' , _locale=en ] from the page pool. location: conte

Re: dojo undefined in IE.6 for tapestry-4.1.2-SNAPSHOT

So it seems I have to tell my Customhaed.JAVA to act like ScriptIncludes.JAVA Best regards Ken in nashua Original Message Follows From: "Ken nashua" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED], users@tapestry.apache.org Subject: Re: dojo undefined in IE.6 for tapestry-4.1.2-SNAPSHOT Dat

RE: [T4] Shell and Border ok but ...

Try changing the to a ... (Tapestry doesn't care what it is, and spans have inline layout meaning that they can only contain other inline tags - div is a block element, so it can). > -Original Message- > From: #Cyrille37# [mailto:[EMAIL PROTECTED] > Sent: 20 July 2007 17:14 > To: Tapest

[T4] Shell and Border ok but ...

Hello I got a @Border with a @Shell to get all stuff common for all pages. It's working but ... All that around the are not compatible with HTML, so wysiwyg editor are not happy. Perhaps I've miss some knwoledge ? The Boder.html : ... consoleEnabled="true" debugEnabled="true" browserLo

T5 Loading Component Assets

Tap 5.0.5. I'm having trouble loading an asset from the classpath. Everywhere I've looked I see that it should be dead simple. However, when I attempt to view the image directly in the browser (firefox) I get: The image "http://localhost:8080/testapp/assets/com/test/testapp/web/components/slide

Re: dojo undefined in IE.6 for tapestry-4.1.2-SNAPSHOT

ScriptIncludes is not usable as-is within a CustomHead.JAVA component. It just gets written out with the markup as follows: and becomes unevaluated/processed... just text. I was hoping you could elaborate on original suggested solution: you'll still need to provide it with path information t

Re: Stale session problem

in the example http://svn.apache.org/viewvc/tapestry/tapestry4/tags/4.1.1/tapestry-examples/Vlib/src/java/org/apache/tapestry/vlib/VlibPage.java?revision=488094&view=markup you could see, that everytime before a state is injected with @InjectState("visit") the @InjectStateFlag("visit") method is ca

Re: T5 Border Component

Hi, the "border" component may not exist, but now you can use any component as the "wrapper" or border for another page. Also, you can have borders around your components too! In the first line of the html where you have your html and xsd declaration, try this: http://tapestry.apache.org/schema

Re: dojo undefined in IE.6 for tapestry-4.1.2-SNAPSHOT

Everything you need I gave you in my last email. And - contrary to your belief - ScriptIncludes would work. You can write out script tags anywhere in a document. On 7/20/07, Ken nashua <[EMAIL PROTECTED]> wrote: So this is all that got called... any idea what I'm missing? public class BaseTa

Stale session problem

Hi, I hava a problem with session time out. I have a login page with username and password. On submit I invoke a methos that takes care of authentication. If I use invalid username or password, first time I'm redirect to my login page, and this is what I want, but second time I input wrong usernam

Re: dojo undefined in IE.6 for tapestry-4.1.2-SNAPSHOT

So this is all that got called... any idea what I'm missing? public class BaseTagWriter implements IRender { public void render(IMarkupWriter writer, IRequestCycle cycle) { IPage page = cycle.getPage(); StringBuffer sb = new StringBuffer(); sb.append("/"); if

RE: Overriding Exception Page in Library module.

Ok, I tried that and got: javax.servlet.ServletException: Library 'branding' not found in namespace 'branding'. org.apache.tapestry.services.impl.WebRequestServicerPipelineBridge.servi ce(WebRequestServicerPipelineBridge.java:60) $ServletRequestServicer_113e3ef5f0d.service($Servl

Re: dojo undefined in IE.6 for tapestry-4.1.2-SNAPSHOT

Thanks Jesse... I need to use my CustomHead so ScriptIncludes is not possible. I went with your former suggestion and still not getting the includes to happen. Could you elaborate on the file path specs? Not sure how to do that. Here are my details. thanks I added this to my CustomHead.JAVA

Why does cancel kill its listener?

Is there a reason why submitType kills its component's listener? For example, whereas this listener works... action="listener:doCancel"> ... the listener in this one is ignored... action="listener:doCancel" submitType="cancel"/> ...and the listener has to be specified on the Form instea

Re: Overriding Exception Page in Library module.

Hi, try br, Igor On 7/20/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Greetings: I'm trying to override the infrastructure property for exceptionPageName in the hivemodule.xml for a common library module in our application. The page definition in my tapestry library file looks like:

T5 Border Component

Will the border component be re-introduced in Tapestry 5, if not how can I achieve a similar effect?

Overriding Exception Page in Library module.

Greetings: I'm trying to override the infrastructure property for exceptionPageName in the hivemodule.xml for a common library module in our application. The page definition in my tapestry library file looks like: The definition in my hivemodule.xml for the same library looks like:

Re: IRC

Chris Lewis a écrit : Dear mailing list, I'm sure you've probably received messages like this before, but I wanted to reiterate that there is an IRC channel for tapestry: #tapestry @ irc.freenode.net. There's usually 5 ~ 8 of us in there, and we work/talk about Tapestry. I know some people ju

[T4] sharing date between @Border and pages

Hello, My Pages extends MyBasePage which has the method getUser() which return an User object which has a login property. What the best way (design/efficiency) to display in the @Border the property user.login ? Should Pages set a @Border's property or @Border should ask to Pages for the use

IRC

Dear mailing list, I'm sure you've probably received messages like this before, but I wanted to reiterate that there is an IRC channel for tapestry: #tapestry @ irc.freenode.net. There's usually 5 ~ 8 of us in there, and we work/talk about Tapestry. I know some people just dont do IRC, but if

[T4] attributes namescape like T5 has

Hello, Should it be a hard work to add namescape for tapestry 4.1.x attributes, like with T5. My question comes because of Eclipse warnings about invalid HTML : Undefined attribute name (jwcid). Thanks cyrille. - To

Re: Mistake in Tapestry tutorial

I noticed this too, it's a simple mistake, but can trick the newbies... 2007/7/20, Julien HENRY <[EMAIL PROTECTED]>: Hi everybody, I'm new to Tapestry world, and I'm following the tutorial (http://tapestry.apache.org/tapestry5/tutorial1/first.html) I just want to point out a little mistake: b

RE: component export message properties to global / application catalog

I see, but why can't you initialise all your plugin libs upon the first request? Does this really hurt a lot performance-wise? Sorry, but I'm just being curious ... > -Original Message- > From: Eckenfellner Klaus [mailto:[EMAIL PROTECTED] > Sent: Friday, July 20, 2007 11:56 AM > To: use

Tapestry5 and WebSphere6.1

Hello everybody, I tried to deploy a T5 application that works fine on Jetty and Tomcat onto WebSphere 6.1.0.3, and although the app deploys OK, TapestryFilter does not get invoked on url-patterrn /* so I get HTTP 404. SystemOut.log contains lines like ... [WebContainer : 1] DEBUG org.apache.t

Re: component export message properties to global / application catalog

sorry my fault > you should be able to access your components msg-catalog from > the navigation/border-component via IComponent.getMessages() > Does that help? plugins are realized as !!! component-libraries !!!. problem is that library-resources (library-global-catalog and specification) a

RE: component export message properties to global / application catalog

you should be able to access your components msg-catalog from the navigation/border-component via IComponent.getMessages() Does that help? Also, you components/pages could be required to implement some interface Named {getDisplayName(Locale);} > -Original Message- > From: Eckenfellner K

component export message properties to global / application catalog

hi everybody! short description of my application: my application uses tapestry components to create some dynamic plugin behavior. tapestry components can be plugged in and are registered with the help of a configuration-point (hint from marcus schulte thx). every plugin / component contribute to

Mistake in Tapestry tutorial

Hi everybody, I'm new to Tapestry world, and I'm following the tutorial (http://tapestry.apache.org/tapestry5/tutorial1/first.html) I just want to point out a little mistake: because artifactId is tapestry-tutorial1, the Jetty context will be tapestry-tutorial1 and not tutorial1. You should then

Re: T5 - DataSource in Jetty5

Weisu schrieb: > Hi, I am using Tomcat for my old app, now I am tring to use Jetty5. In > How do I do this in Jetty5? And I would like to use Oracle 9. This is not Jetty5 but in Jetty6 it is like this (jetty-env.xml): jdbc/SOMENAME