Re: alternate row colours in foreach

2006-06-27 Thread KE Gan
Peter, You can do something like this in the page specification ... ~KEGan On 6/28/06, Peter Dawn <[EMAIL PROTECTED]> wrote: this question has probably been asked a few times, so my apologies for being repetitive here. i have been able to get alternate row colours within my con

alternate row colours in foreach

2006-06-27 Thread Peter Dawn
this question has probably been asked a few times, so my apologies for being repetitive here. i have been able to get alternate row colours within my contribtable but am unable to get the same result using foreach. i remember reading about this a while ago but i cant find the information now. so

Re: Radio components indirectly enclosed by RadioGroups?

2006-06-27 Thread Nick Westgate
"Indirectly" implies that the RadioGroup and Radio components might not reside in the same page or component. For instance a RadioGroup might be in the page template, and a number of other components wrapped by it might contain Radio components. These are wrapped "indirectly". Joseph: perhaps you

contrib table

2006-06-27 Thread Peter Dawn
guys, is there a way to change the << and >> in the navigation bar of a contrib table to say previous or next respectively. i have been trying to find a way to do this, but no luck. any thoughts. - To unsubscribe, e-mail: [EMAIL

Re: xml parse error if the jakarta site is not accessible

2006-06-27 Thread Norbert Sándor
No external tool is used... Geoff Longman wrote: There's a bigger problem here. During normal Tapestry operation network requests will never be made for the DTD's, the SpecificationParser is hardwired to pull them from the Tapestry jar. Are you running some external tool that needs the DTDs? G

Re: xml parse error if the jakarta site is not accessible

2006-06-27 Thread Geoff Longman
Yes, the hardwiring of the parser is based on the publicid so if you get that messed up a request will go over the network. Mess up the ""-//Apache Software Foundation//Tapes..." part that is. If you mess up that *and* the url part...well your're just hosed. :-) Geoff On 6/27/06, Ryan Cupr

Re: xml parse error if the jakarta site is not accessible

2006-06-27 Thread Ryan Cuprak
Actually we ran into this problem as well. I just checked with my coworker - as far as she can remember she made a mistake on the component specification (copy/paste probably). Once it was corrected it no longer tried to fetch the file Regards, Ryan On Tuesday, June 27, 2006, at 12:01PM,

Re: Radio components indirectly enclosed by RadioGroups?

2006-06-27 Thread Peter Svensson
Hmm. The page says "The Radio component must be wrapped (possibly indirectly) inside a RadioGroupcomponent" and I really don't understand what that means. Either :) Cheers, PS On 6/27/06, Joseph Hannon <[EMAIL PROT

Re: xml parse error if the jakarta site is not accessible

2006-06-27 Thread Geoff Longman
There's a bigger problem here. During normal Tapestry operation network requests will never be made for the DTD's, the SpecificationParser is hardwired to pull them from the Tapestry jar. Are you running some external tool that needs the DTDs? Geoff On 6/27/06, Norbert Sándor <[EMAIL PROTECTED]

Re: xml parse error if the jakarta site is not accessible

2006-06-27 Thread Konstantin Ignatyev
It seems to be better to register custom EntityResolver http://www-128.ibm.com/developerworks/library/x-tipent.html http://cocoon.apache.org/2.1/userdocs/concepts/catalog.html http://xml.apache.org/commons/components/resolver/ Norbert S�ndor <[EMAIL PROTECTED]> wrote: Not a bad idea, thanks! :)

Re: xml parse error if the jakarta site is not accessible

2006-06-27 Thread Norbert Sándor
Not a bad idea, thanks! :) Let's suppose that the component is used on many customer sites, and my company site is not available. I'm in the same situation. What I want is to completely disable XML validation in producion environment to avoid such errors. Regards, Norbi Andreas Bulling wrote

Re: xml parse error if the jakarta site is not accessible

2006-06-27 Thread Andreas Bulling
On 27. Jun 2006 - 19:40:01, Norbert Sándor wrote: | Hello! | | Sometimes the jakarta site is not accessible, in such cases I get the | following exception: | | Unable to parse file:/blablabla.script: Connection timed out: connect | java.net.ConnectException | Connection timed out: connect | http

xml parse error if the jakarta site is not accessible

2006-06-27 Thread Norbert Sándor
Hello! Sometimes the jakarta site is not accessible, in such cases I get the following exception: Unable to parse file:/blablabla.script: Connection timed out: connect java.net.ConnectException Connection timed out: connect http://jakarta.apache.org/tapestry/dtd/Script_3_0.dtd Is there a way

Re: Radio components indirectly enclosed by RadioGroups?

2006-06-27 Thread Joseph Hannon
Anyone? jah.volcano wrote: Page 112 of 'Tapestry in Action' mentions that radio components must be enclosed by RadioGroups but don't need to be directly enclosed- they can be scattered about the html. Nice feature but no explanation or example given. Will someone show a simple example of htm

Re: OT: maven ignorant question

2006-06-27 Thread Henri Dupre
On 6/27/06, Shing Hing Man <[EMAIL PROTECTED]> wrote: In case you did not know, there is a free book on Maven 2 at http://maven.apache.org/articles.html Ah thanks alot, no I did not notice... This should cover all my questions. Thanks, Henri.

RE: Tapestry and Dojo and Tapestry 4.1

2006-06-27 Thread Mark Stang
I believe, correct me if I am wrong, that Tapestry 4.x++ will always have a way to work with JavaScript off. We have run into clients (US Military) that turn off JavaScript. And we have one client that racheted IE up to level 3 security which disabled the iFrame. We have some Tapestry compone

Re: HTMLUnit & Tapestry 4.1

2006-06-27 Thread Paul Field
> Firing up the Web browser, on the other hand, may > be. Do you happen to have any experience setting this up on a headless > build server? That's next on our list :-) We're experimenting locally with the tests to prove how useful Selenium is and, if we like it (going well so far!) we'll move

Re: HTMLUnit & Tapestry 4.1

2006-06-27 Thread Jesse Kuhnert
We should have a seperate tapestry-testing project out soon that will help with some of these things. (builds off of http://howardlewisship.com/tapestry-javaforge/tapestry-testng/ to support TestNG as the base testing framework) Things are still a little hairy right now but it should be done soon-

Re: HTMLUnit & Tapestry 4.1

2006-06-27 Thread Kevin Menard
On Tue, 27 Jun 2006 07:24:35 -0400, D&J Gredler <[EMAIL PROTECTED]> wrote: Do you mean to say that it's still executing JavaScript when you disable it? It appears that if the JavaScript is embedded in a page, HTMLUnit will attempt to do something with it, regardless of whether JavaScript

Re: HTMLUnit & Tapestry 4.1

2006-06-27 Thread Kevin Menard
On Tue, 27 Jun 2006 07:52:43 -0400, Paul Field <[EMAIL PROTECTED]> wrote: One other thing is that the "Selenium" object that represents your session is very expensive to create (it requires creating an instance of the web browser). You can use JUnit setUp/tearDown around a suite so that you

Return with "html anchor" in listener

2006-06-27 Thread KE Gan
Hi, How do you return an ILink with a html anchor (#) from a listener in Java class ? To elaborate, I have a Java class that listen to a Tapestry "Submit" component. In the listener I am returning an ILink using ExternalService and ExternalServiceParameter (post-redirect-get). My question is, ho

Re: HTMLUnit & Tapestry 4.1

2006-06-27 Thread Paul Field
> > For this type of integration testing I would reccomend using selenium. > > (tacos uses this currently ) > > That's what I was thinking. I'll give it a go. I'm a bit hesitant since > when I last looked (back in November), the documentation was absolutely > atrocious. We're just starting to u

Re: HTMLUnit & Tapestry 4.1

2006-06-27 Thread D&J Gredler
Do you mean to say that it's still executing JavaScript when you disable it? Or that it's having trouble parsing files? You might want to file a bug report to the HtmlUnit tracker... If I remember correctly, you're also supposed to be able to rip out the Rhino js.jar file to disable JavaScript...

Re: Portlets and Liferay?

2006-06-27 Thread John Singleton
I've been down this path. I liked tapestry from a development point of view, but had a problem with performance wrt Portlets. Basically, each Portlet has it's own Hivemind registry, so if you have 5 portlets on a page you get 5 x the initial performance hit for creating the portlet. If it's an i

Re: New Window issue

2006-06-27 Thread Richard Kirby
Hi Rodnei and Rodrigo, Browsers have an upper limit on url lengths, so as you have found, using the client persistence strategy can easily hit this limit. One possible solution is instead to store your state in a database or even a Map at the server, and use a random number as a key to this st

Re: start tapestry

2006-06-27 Thread Shing Hing Man
You might like to consider getting Kent Tong's excellent book on Tapestry 4, Enjoying Web Development with Tapestry. The first 4 chapter are free. You can download them at http://www.agileskills2.org/EWDT/ Shing --- hbkm <[EMAIL PROTECTED]> wrote: > > please, if u know any tutorial help me to

start tapestry

2006-06-27 Thread hbkm
please, if u know any tutorial help me to start working with tapestry, send it thanx -- View this message in context: http://www.nabble.com/start-tapestry-tf1854234.html#a5062863 Sent from the Tapestry - User forum at Nabble.com.

Re: OT: maven ignorant question

2006-06-27 Thread Shing Hing Man
To exclude ognl jar,say, from your war file : In Maven 1.0.2 project.xml : ognl ognl 2.6.7 false In Maven

Global language setting for validation messages

2006-06-27 Thread Manuel Thurn
Hi! I'm into localization now but I can't figure out how Tapestry knows which language to display. I get german validation messages (I live in Germany) even if I change the language in the browser options to English. Is there any way to override this default behavior? The localization of normal t