Re: field-error-marker error in TP5.0.5

2007-06-29 Thread Howard Lewis Ship
You might need to move to a country with a less restrictive firewall. Sorry. (and it opens fine for me) On 6/29/07, 蝈蝈龙 <[EMAIL PROTECTED]> wrote: I'm sorry I can't open the url you gave me 2007/6/30, Howard Lewis Ship <[EMAIL PROTECTED]>: > > See, you've made a statement, not asked a proper

Re: TLD location

2007-06-29 Thread Howard Lewis Ship
It's all very dynamic, intentionally so. Read the tutorial and the rest of the documentation. On 6/29/07, cziesman <[EMAIL PROTECTED]> wrote: Thanks for the response, but I now realize that I asked about the wrong thing. Tapestry HTML files reference the namespace t="http://tapestry.apache.or

Re: TLD location

2007-06-29 Thread cziesman
Thanks for the response, but I now realize that I asked about the wrong thing. Tapestry HTML files reference the namespace t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";, but when I look at that XSD file, it's quite generic and none of the component tags are defined in it. The compone

Re: field-error-marker error in TP5.0.5

2007-06-29 Thread 蝈蝈龙
I'm sorry I can't open the url you gave me 2007/6/30, Howard Lewis Ship <[EMAIL PROTECTED]>: See, you've made a statement, not asked a proper question. Please read: http://www.catb.org/~esr/faqs/smart-questions.html ... and have another go at it. On 6/29/07, Allen Guo <[EMAIL PROTECTED]> wro

Re: field-error-marker error in TP5.0.5

2007-06-29 Thread Howard Lewis Ship
See, you've made a statement, not asked a proper question. Please read: http://www.catb.org/~esr/faqs/smart-questions.html ... and have another go at it. On 6/29/07, Allen Guo <[EMAIL PROTECTED]> wrote: Hi All I use T5.0.5 to bind the java field and html field, But I always get the similar er

field-error-marker error in TP5.0.5

2007-06-29 Thread Allen Guo
Hi All I use T5.0.5 to bind the java field and html field, But I always get the similar error like this Anyway , the page class field value can be display correctlly and pass to backend from html side. It's so strange . Can anybody give me some suggestion? Thank you in advance Allen

disable dojo

2007-06-29 Thread Richard Levenberg
I just upgraded from 4.0.2. to 4.1.2 and now my rendered pages (with @Shell attributes) are filled with Dojo related javascript stuff: djConfig = {"isDebug":false,"baseRelativePath":"/tapestry-test-0.1-dev/app?service=asset&path=%2Fdojo-0.4.3%2F","parseWidgets":false,"locale":"en-us"} dojo.

Re: Tapestry 5 and Template Reloading

2007-06-29 Thread Jesse Kuhnert
http://tapestry.apache.org/tapestry5/tapestry-core/dependencies.html On 6/29/07, cziesman <[EMAIL PROTECTED]> wrote: It appears that this is a version issue with javassist 3.2. The protection domain is no longer a parameter to the createClass method. I built my own version of the IOC jar with

Re: Thanks Erik for updates on T5 Wiki !

2007-06-29 Thread Jesse Kuhnert
I know.I've alerted infrastructure ...I don't think it's the actual Erik . On 6/29/07, #Cyrille37# <[EMAIL PROTECTED]> wrote: Thanks a lot Erik for your work on Tapestry5 's wiki. http://wiki.apache.org/tapestry/?action=fullsearch&value=Tapestry5&titlesearch=Titles Cyrille. ---

Re: dom featured image widget

2007-06-29 Thread Jesse Kuhnert
google "light box" On 6/29/07, Ken nashua <[EMAIL PROTECTED]> wrote: Actually a link could be another thing I might want to overlay ontop of the main image. Thanks for any ideas or psuedo code. Thanks Best regards Ken in nashua ___

Re: TLD location

2007-06-29 Thread Howard Lewis Ship
Tapestry 4 and 5 does not have a TLD, it does not use JSPs at all. Tapestry 3 had a kind of kludge that allowed JSPs to reference Tapestry pages. For T4 and T5 there is component documentation available. Check out the web site. On 6/29/07, cziesman <[EMAIL PROTECTED]> wrote: Where can the Ta

TLD location

2007-06-29 Thread cziesman
Where can the Tapestry tag library TLD file be found? I would like to educate myself about the tags that are available. -- View this message in context: http://www.nabble.com/TLD-location-tf4002744.html#a11368990 Sent from the Tapestry - User mailing list archive at Nabble.com. ---

Re: Tapestry 5 and Template Reloading

2007-06-29 Thread cziesman
It appears that this is a version issue with javassist 3.2. The protection domain is no longer a parameter to the createClass method. I built my own version of the IOC jar without the parameter, and everything is working just fine. Can anybody say what version of javassist is used to build the 5

Re: [t5] no support for block parameters?

2007-06-29 Thread Howard Lewis Ship
... What's missing is a way of providing context in the caller (the Delegate component) that is accessible inside the block. What I've been doing is using a more indirect, but also more typesafe, approach of storing the data inside an Environmental service; the caller uses Environment.push(

Thanks Erik for updates on T5 Wiki !

2007-06-29 Thread #Cyrille37#
Thanks a lot Erik for your work on Tapestry5 's wiki. http://wiki.apache.org/tapestry/?action=fullsearch&value=Tapestry5&titlesearch=Titles Cyrille. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

[t5] no support for block parameters?

2007-06-29 Thread Dan Adams
In t4 you could this: Does such a thing exist in T5? -- Dan Adams Senior Software Engineer Interactive Factory 617.235.5857 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [T5] handling page messages in addition to errors

2007-06-29 Thread Dan Adams
That's more or less exactly what I was thinking. On Fri, 2007-06-29 at 11:56 -0700, Howard Lewis Ship wrote: > Haven't pursued that idea, since it doesn't fall into the absolutely > essential category. > > I think we go do a lot there however, a Messages components that could > do a good job form

Re: T5: Ioc @Inject @Value

2007-06-29 Thread Robin Ericsson
On 6/29/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: If i remember correctly, a value that can't be resolved should cause a runtime error; just in case, check the console. It may be that the acegi.check.url symbol couldn't be resolved. Yes, correctly, using this, the code works, changing th

Re: Tap 4.1.2 PageNotFoundException not caught

2007-06-29 Thread Shing Hing Man
I have created a jira for it. https://issues.apache.org/jira/browse/TAPESTRY-1616 Shing --- Jesse Kuhnert <[EMAIL PROTECTED]> wrote: > Damn those commons-pool developers for making me > catch their checked > exception...And not even a specific type at > that...Oh no...just > java.lang.Excep

Re: [T4] a component select its template dynamicly (one class, several html)

2007-06-29 Thread Igor Drobiazko
Hi, take a look at the components Block and RenderBlock: http://tapestry.apache.org/tapestry4.1/components/general/block.html http://tapestry.apache.org/tapestry4.1/components/general/renderblock.html On 6/29/07, #Cyrille37# <[EMAIL PROTECTED]> wrote: Hi, I would like a component which can

Re: T5 XHTML compliant markup

2007-06-29 Thread Howard Lewis Ship
This is an unimplemented feature; currently Tapestry isn't smart enough to output well-formed markup just because the template specified an XML doctype. Please check JIRA and add an issue if not present. On 6/19/07, Martin Grotzke <[EMAIL PROTECTED]> wrote: On Mon, 2007-06-18 at 20:21 +0200, Mar

Re: [T5] handling page messages in addition to errors

2007-06-29 Thread Howard Lewis Ship
Haven't pursued that idea, since it doesn't fall into the absolutely essential category. I think we go do a lot there however, a Messages components that could do a good job formatting a single message, or a list of messages; maybe an icon, some CSS in the default.css stylesheet. Flash storage f

Re: [T5] using GridPager without a grid

2007-06-29 Thread Howard Lewis Ship
I don't see why it couldn't be refactored that way, in terms of current page and number of pages. As always, adding a bug to JIRA is the best way to keep these from getting misplaced. On 6/29/07, Dan Adams <[EMAIL PROTECTED]> wrote: GridPager looks like it could be used without Grid if it weren

Re: T5: Ioc @Inject @Value

2007-06-29 Thread Howard Lewis Ship
If i remember correctly, a value that can't be resolved should cause a runtime error; just in case, check the console. It may be that the acegi.check.url symbol couldn't be resolved. On 6/29/07, Robin Ericsson <[EMAIL PROTECTED]> wrote: On 6/29/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: >

Re: T5: Ioc @Inject @Value

2007-06-29 Thread Robin Ericsson
On 6/29/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: My guess is that you are injecting in a base class, but the base class is not in the correct directory. Base classes for pages and components must be in the .base package (alongside .pages and .components). No, no base class, it's a simp

Re: T5: Ioc @Inject @Value

2007-06-29 Thread Howard Lewis Ship
My guess is that you are injecting in a base class, but the base class is not in the correct directory. Base classes for pages and components must be in the .base package (alongside .pages and .components). On 6/29/07, Robin Ericsson <[EMAIL PROTECTED]> wrote: On 6/29/07, Howard Lewis Ship <[E

Re: T5: Ioc @Inject @Value

2007-06-29 Thread Robin Ericsson
On 6/29/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: It should be exactly the same. Ok, then something is wrong :). I'm getting null, so where should I investigate? @Inject or @Value? -- regards, Robin - To

Re: Updated T5 Tutorial

2007-06-29 Thread Marcus
Hi, Until T5.0.5 release, to run application using mvn jetty:run you have to change POM.xml: 5.0.5-SNAPSHOT After mvn command: http://localhost:8080/tapestry-tutorial1/ because of the defined artifact id:tapestry-tutorial1 Marcus

[T4] a component select its template dynamicly (one class, several html)

2007-06-29 Thread #Cyrille37#
Hi, I would like a component which can select its template. In another way, one component class with several html templates. The component has to look at his state and then select which template will be used. I could solution the problem with some @If in a single template but it will result

Re: T5 XHTML compliant markup

2007-06-29 Thread Martin Grotzke
To pick up this topic again... On Wed, 2007-06-20 at 08:19 +0200, Martin Grotzke wrote: > On Mon, 2007-06-18 at 20:21 +0200, Martin Grotzke wrote: > > Our template uses the following DOCTYPE definition: > > > > > PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" > > "http://www.w3.org/TR/xhtml

Re: [T5] class transformation to override an annotated method

2007-06-29 Thread #Cyrille37#
Dan Adams a écrit : @Once public List getFoos() { // do some expensive operation like reading foos from the db } Could you please give us the your @Once annotation source code ? My 2 reasons are : - I'm learning Java so I'll like to see how to write such annotation - It is a really gr

[T5] using GridPager without a grid

2007-06-29 Thread Dan Adams
GridPager looks like it could be used without Grid if it weren't for its dependence on GridDataSource (which it looks like is only used for getting the number of rows). Could this component be changed to be more generally useful? I have a pager component from T4 that isn't quite as nice but very ve

Re: [T5] class transformation to override an annotated method

2007-06-29 Thread Dan Adams
yeah, the docs say that it adds you code to the end of it. I added a ticket: https://issues.apache.org/jira/browse/TAPESTRY-1615 On Fri, 2007-06-29 at 09:30 -0700, Howard Lewis Ship wrote: > You can extend an existing method, but off the top of my head, I can't > remember if that automatically in

Re: [T5] class transformation to override an annotated method

2007-06-29 Thread Howard Lewis Ship
You can extend an existing method, but off the top of my head, I can't remember if that automatically invokes the existing method before executing the new code. I think it does, which would defeat what you are trying to do. On 6/29/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: You are correct

Re: [T5] class transformation to override an annotated method

2007-06-29 Thread Howard Lewis Ship
You are correct, ClassTransformation needs the ability to rename a method. On 6/29/07, Dan Adams <[EMAIL PROTECTED]> wrote: Okay, so I'm creating a @Once annotation that when applied to a method like so: @Once public List getFoos() { // do some expensive operation like reading foos from the d

Re: T5: Ioc @Inject @Value

2007-06-29 Thread Howard Lewis Ship
It should be exactly the same. On 6/29/07, Robin Ericsson <[EMAIL PROTECTED]> wrote: Hi, Is this a bug or am I just using it wrong? I thought @Inject @Value("${my.parameter}") private String parameter; would be the same as: @Inject private SymbolSource symbolSource; symb

[T5] handling page messages in addition to errors

2007-06-29 Thread Dan Adams
I like having the errors component (which we had to create in T4) but besides displaying validation errors when something goes wrong we also display messages for when something succeeds (which I'm guessing is pretty typical among CRUD applications). Are there any plans to incorporate this in any wa

[t5] mixin parameters when not used on an embedded component?

2007-06-29 Thread Dan Adams
I see in the docs how you can set parameters for a mixin in @Component but what about when you are using it directly in a component? -- Dan Adams Senior Software Engineer Interactive Factory 617.235.5857 - To unsubscribe, e-ma

Re: [T4]Handling Nulls in OGNL expressions

2007-06-29 Thread Marcos Chicote
Thanks Andreas. I have to do some more reading then. I you have some code that I can use as an example I would be really grateful. Thanks! Marcos On 6/29/07, Andreas Andreou <[EMAIL PROTECTED]> wrote: O/H Marcos Chicote έγραψε: > Thanks Andreas. > Before mailing to this list, I tried looking

T5: Ioc @Inject @Value

2007-06-29 Thread Robin Ericsson
Hi, Is this a bug or am I just using it wrong? I thought @Inject @Value("${my.parameter}") private String parameter; would be the same as: @Inject private SymbolSource symbolSource; symbolSource.expandSymbols("${my.parameter}"); -- regards, Robin ---

[T4.1.2] and Spring: works with Tomcat, fail with Jetty

2007-06-29 Thread #Cyrille37#
Hi, I'm just doing some very simples tests with - Tapestry 4.1.2 - Spring 2.0.5 - Tapestry-spring-1.0.0 and - Tomcat 5.5.23 - Jetty 5.1.12 I've got a simple session bean defined in SpringContext and I inject it in a page. spring: class="tapandspring.beans.NanoBean" scope="se

[T5] class transformation to override an annotated method

2007-06-29 Thread Dan Adams
Okay, so I'm creating a @Once annotation that when applied to a method like so: @Once public List getFoos() { // do some expensive operation like reading foos from the db } you can call getFoos() as much as you want and it will only actually execute once, allowing you to reference foos many tim

[T5] Sub Component Navigation

2007-06-29 Thread David Avenante
Hi, I read the documentation and the source code to find a way for a parent component to discover his embedded components. I saw the best place for that will be the componentResources class. Why tapestry don't get the possibility to acces to the child tree dependency. With more investigation it

[T4] Changing the Locale for subdomains

2007-06-29 Thread munich
I have changed the method getLocale in BaseEngine: @Override public Locale getLocale() { String domain = this.getInfrastructure().getRequest().getServerName(); if (domain.startsWith("en.")){ return new Locale("en", "");

Re: [T4]Handling Nulls in OGNL expressions

2007-06-29 Thread Andreas Andreou
O/H Marcos Chicote έγραψε: > Thanks Andreas. > Before mailing to this list, I tried looking at the ognl documentation > and I > found the NullHandler interface but I wasn't sure how it worked with > Tapestry or if it was possible to do it another way without altering the > BOs. > > Correct me if I'

Re: [T4]Handling Nulls in OGNL expressions

2007-06-29 Thread Marcos Chicote
Thanks Andreas. Before mailing to this list, I tried looking at the ognl documentation and I found the NullHandler interface but I wasn't sure how it worked with Tapestry or if it was possible to do it another way without altering the BOs. Correct me if I'm wrong but what I understand is that Tap

Re: How update component on the page

2007-06-29 Thread Jani Lindqvist
I just experienced exactly the same problem with RenderBlock and worked around wrapping it with Any. should update work directly with RenderBlock id, or not. I'd guess it should but if not, is there other special components that aren't? On 5/4/07, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: Ah I

Re: [T4]Handling Nulls in OGNL expressions

2007-06-29 Thread Andreas Andreou
http://tapestry.apache.org/tapestry4.1/tapestry-framework/hivedoc/config/tapestry.ognl.NullHandlers.html the way it works, is that you associate implementations of http://www.ognl.org/2.6.9/Documentation/javadoc/ognl/NullHandler.html with class types whose methods (or properties) may return null

Re: T4.1: Valid XHTML and script assets

2007-06-29 Thread Andreas Andreou
you won't see those with friendly urls http://tapestry.apache.org/tapestry4.1/usersguide/friendly-urls.html O/H Malin Ljungh έγραψε: > Hi, > > I'm trying to get my pages to be valid XHTML 1.0 Transitional (or > Strict). > > A problem is that the ampersands in the script src values (e.g. for > dojo

Re: [T5] tapestry-spring and WebApplicationContext

2007-06-29 Thread SergeEby
Hi, Just import and inject the WAC in your page: import org.springframework.web.context.WebApplicationContext; class Foo { ... @Inject private WebApplicationContext wac; ... } /Serge cyrille37 wrote: > > Fidel Chavarria a écrit : >> Hi >> I think this willhelp you, >> http://tapest

dom featured image widget

2007-06-29 Thread Ken nashua
Actually a link could be another thing I might want to overlay ontop of the main image. Thanks for any ideas or psuedo code. Thanks Best regards Ken in nashua _ Get a preview of Live Earth, the hottest event this summer - only on

dom featured image widget

2007-06-29 Thread Ken nashua
Folks, I am looking for a kind of widget... that derives from Image... but offers configurable overlays for dom objects... A plain old image does not cut it. I want something that will support imaginable entities ontop. Text with configurable color foreground/brakground Sub image smaller th

T4.0.2 with Tacos 4.0.1 Autocomplete - Basic Issue

2007-06-29 Thread Marcelo lotif
Hi all, i'm using the Autocomplete component from tacos and i'm having problems with some special characters, like "ã" and "é". My component gets its model from the database, making a query with the characters entered in the textbox, but when i get the input from the user the string comes very str

Re: [T5] tapestry-spring and WebApplicationContext

2007-06-29 Thread #Cyrille37#
Fidel Chavarria a écrit : Hi I think this willhelp you, http://tapestry.apache.org/tapestry5/tapestry-spring/ Thanks, but if you had read my mail, I should see that I'm talked about this page. In this page in "Limitations" chapter it is writte that we can't inject Spring session bean but we

[T4]Handling Nulls in OGNL expressions

2007-06-29 Thread Marcos Chicote
Hi! I have a Table component (actually I have TableRows, TableView, and all those other components that form a Table) and one of the columns in TableView is declared like this: columnName:object1.object2.property. As you can see this can throw NullPointerException if either object1 or object2 are

Re: OutOfMemoryError after serving N pages

2007-06-29 Thread Hans Drexler
Hello all, Arjan Verstoep and me co-posted the original message. We experienced our web-application to consume all available memory slowly but steadily until no memory was left. This was in a production environment, with caching enabled. Since then, we were able to locate and eliminate one source

Re: Updated T5 Tutorial

2007-06-29 Thread Nick Westgate
Hi Douglas/John. Please include any error message when reporting a problem. When T5.0.5 is officially released the tutorial's mvn command should work. Until then you will have to append the following: -DremoteRepositories=http://people.apache.org/~hlship/tapestry-ibiblio-rsynch-repository/ Che

Re: Updated T5 Tutorial

2007-06-29 Thread Douglas Chan
I tried the mvn archetype:create . to download the quickstart. but it doesn't work. is it really OK to follow the Tutorial now? Cheers John - Original Message - From: "Howard Lewis Ship" <[EMAIL PROTECTED]> To: "Tapestry users" Sent: Friday, June 29, 2007 5:39 AM Subject: Updated

How to configure tapestry to keep actual page after maximisation of portlet?

2007-06-29 Thread Kay.Thielmann
Hi all! I'm using Tapestry 4.0.2 in JBoss Portal 2.6-CR2. Within my portlet different pages are shown. When I click on the "maximize"-button I always get back to the page, where I started from, usually "view". It is possible to configure a matching in hivemodule.xml but what do I have to config

Tap. 4.1.2: Problem changing components parameter

2007-06-29 Thread Andrea Chiumenti
Hello, I'm trying the new stable tap-4.1.2 And I'm having the following problem: An exception has occurred. You may continue by *restarting * the session. [ +/- ] Exception: Exception invoking listener method addNewListener of compo

Re: Updated T5 Tutorial

2007-06-29 Thread Renat Zubairov
Amazing! Forms are so much easy now :) Thanks Tapestry Team! On 29/06/07, Massimo Lusetti <[EMAIL PROTECTED]> wrote: On 6/29/07, Bhuiyan, Nazmul <[EMAIL PROTECTED]> wrote: > What are the advantages using Jetty over Tomcat? It's simply better :) > Thanks a lot for giving us Tapestry Seconded

T4.1: Valid XHTML and script assets

2007-06-29 Thread Malin Ljungh
Hi, I'm trying to get my pages to be valid XHTML 1.0 Transitional (or Strict). A problem is that the ampersands in the script src values (e.g. for dojo script resources) are not encoded with & For example: is not valid. & should be replaced with & (I'm using http://validator.w3.org/ to validat

Re: Updated T5 Tutorial

2007-06-29 Thread Massimo Lusetti
On 6/29/07, Bhuiyan, Nazmul <[EMAIL PROTECTED]> wrote: What are the advantages using Jetty over Tomcat? It's simply better :) Thanks a lot for giving us Tapestry Seconded. -- Massimo http://meridio.blogspot.com - To unsu