T5 Complex NPE in org.apache.tapestry.internal.util.Base64InputStream

2007-08-22 Thread Daniel Jue
I'll try my best to explain the situation, but please ask if you think other details would help determine the problem. I am using Acegi--with great success so far. When a user logs in and gets authenticated via Acegi, an ASO is created for the user, holding the user details, etc. I have a form in

RE: organizing HTML templates into subdirectories

2007-08-22 Thread abhilash
Thanks for your reply . Now i am able to get the page but it loks like static html different from all my other pages. please help me out. Kolesnikov, Alexander GNI wrote: > > The page name should be used as "admin/ListClient" and its class should > be in whatever.admin subpackage. > >

Re: organizing HTML pages into subdirectories

2007-08-22 Thread abhilash
Thanks for the reply but problem is my html page is unable to find its java class! am i missing to give something in specifications? abhilash wrote: > > I have a sub directory called admin under WEB-INF .My servlet mapping is > > dentaprise > /app > > > i have ListClient.htm

Re: T5:Grid demo and import

2007-08-22 Thread Daniel Jue
I'm not sure you really want or need to build the source. I've never had to build it, and I think you might be better off just copying and pasting some of the examples into your own project. (Which you can create with maven if you have a little patience to learn it) You might want to try "mvn te

Re: T5:Simple form submit

2007-08-22 Thread Angelo Chen
This fixs the problem, thanks. Nick Westgate wrote: > > Yeah, there is a small bug in the template error reporting. > > is a component of type "Form" that is assigned a default id, > and that's the same as the type name "form". This matches Form _form. > > To get rid of the error use: > >

Re: T5:Grid demo and import

2007-08-22 Thread Angelo Chen
Hi Daniel, Ok, found it, but how to rebuild it from source? A.C. Daniel Jue wrote: > > It's in the source distribution. Not sure if that is available > through the maven repositories, but you can download it from the > Tapestry main website. You can also browse it online by going through >

Re: T5:Simple form submit

2007-08-22 Thread Nick Westgate
Yeah, there is a small bug in the template error reporting. is a component of type "Form" that is assigned a default id, and that's the same as the type name "form". This matches Form _form. To get rid of the error use: You could use a better name than form though, like loginForm. ;-) & @C

Re: T5:Grid demo and import

2007-08-22 Thread Nick Westgate
This is part of the integration testing suite. When the page says "check out" it _really_ means check out. Check out the source from SVN trunk using an SVN client: https://svn.apache.org/repos/asf/tapestry/tapestry5/trunk (Or you can just use your web browser - look for the test folder.) Cheers

Re: T5:Grid demo and import

2007-08-22 Thread Daniel Jue
It's in the source distribution. Not sure if that is available through the maven repositories, but you can download it from the Tapestry main website. You can also browse it online by going through the wiki link for the online sample code, and traversing up and over some directories. On 8/22/07,

T5:Grid demo and import

2007-08-22 Thread Angelo Chen
Hi, I am trying the grid demos in the HowTo wiki page, the sample is looking for something like this: import org.apache.tapestry.integration.app1.services.ToDoDatabase where can I find that? it is not in the T5 package downloaded by Maven, Thanks, A.C. -- View this message in context: http:/

Re: T5:Simple form submit

2007-08-22 Thread Angelo Chen
Hi Nick, Thanks. I tried : @Component(id = "form") private Form _form; error still there, the related html part is: ... something between here Nick Westgate wrote: > > Or preferably see the actual TextField component docs on that page. > > The label used in the TextField is use

T5: Ajax, Releases

2007-08-22 Thread Angelo Chen
Hi, looking at T5's roadmap, it says ajax support will be in by summer 2007, is the ajax already part of some beta versions? and will soon be in a pre-release? and T5's final release is Fall, 2007, possible? Thanks, A.C. -- View this message in context: http://www.nabble.com/T5%3A-Ajax%2

Re: Problems with tapestry-spring while upgrading from 4.1.2-SNAPSHOT to 4.1.3-SNAPSHOT

2007-08-22 Thread Jesse Kuhnert
Ah yes it is in fact doing some gzip filtering already. I think by default Tapestry will only do this to tapestry framework related resources but it's only a couple lines of hivemodule.xml configuration to make it do it to "everything". (or perhaps I should allow for an option to disable it, or

Re: Problems with tapestry-spring while upgrading from 4.1.2-SNAPSHOT to 4.1.3-SNAPSHOT

2007-08-22 Thread mraible
This appears to be caused by EhCache's GZipFilter (v 1.3.0). This is strange since the rest of my .js files work fine with this filter. Here's the response headers with the gzipFilter enabled: Expires: Thu, 21 Aug 2008 23:33:06 GMT Last-Modified: Wed, 22 Aug 2007 23:13:32 GMT Cache-Control: publ

Re: Problems with tapestry-spring while upgrading from 4.1.2-SNAPSHOT to 4.1.3-SNAPSHOT

2007-08-22 Thread mraible
Seems to be fixed now - thanks! Matt Jessek wrote: > > I re-factored things and brought the interfaces involved in the stack > trace provided back to their previous signature (as last touched by > Howard). > > Are you sure you have the very latest 4.1.3-SNAPSHOT version? A new > sample stack

Re: [T5.0.5] Caching and IE6

2007-08-22 Thread Jesse Kuhnert
I don't know what an "auto link" is - but if you are creating ajax requests then you have to do something stupid like: // pseudo javascript var url = "url"; url += new Date(); Otherwise ie will see the same url and not bother to make the request. (a premature optimization I guess) On 8/22/07, S

Re: Problems with tapestry-spring while upgrading from 4.1.2-SNAPSHOT to 4.1.3-SNAPSHOT

2007-08-22 Thread Jesse Kuhnert
I re-factored things and brought the interfaces involved in the stack trace provided back to their previous signature (as last touched by Howard). Are you sure you have the very latest 4.1.3-SNAPSHOT version? A new sample stack trace would be able to shed more light on it from here. On 8/22/07,

Re: wicket vs tapestry ?

2007-08-22 Thread Erik Dreyer
I have a similar story. In a commercial environment, we are using T3 very heavily. We have benefitted tremendously from a component library that we have added to over time. We have built a number of very similar applications and so the component library has proven to be a great advantage. Howev

Re: Integration testing Tapestry 4 applications

2007-08-22 Thread carlos f
Hugo, Have you run into any snags using this in the past month? Carlos -- View this message in context: http://www.nabble.com/Integration-testing-Tapestry-4-applications-tf3927683.html#a12283397 Sent from the Tapestry - User mailing list archive at Nabble.com. --

Re: wicket vs tapestry ?

2007-08-22 Thread Konstantin Ignatyev
My story: I have been very satisfied Tapestry 3 used and T3 has helped tremendously with building applications in the past. Then I was busy doing other things although keeping eye on T and recently I needed to build a live prototype quickly, naturally my first reaction was to pick up Dreamweaver

Re: DynamicSelectionList Hivemind NullPointerException

2007-08-22 Thread Jacob Arnold
Of course. Sorry :-) org.apache.hivemind.ApplicationRuntimeException Parameter name must not be null. component: [EMAIL PROTECTED] location: context:/WEB-INF/html/TestDSLComponent2.page, line 7, column 77 2http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";> 5 6 7c

Re: DynamicSelectionList Hivemind NullPointerException

2007-08-22 Thread Ulrich Stärk
Please give us the exact error message (doesn't need to be the whole stack trace but a few more lines from which we can see at which point the exception is thrown would be helpful...). Uli Jacob Arnold schrieb: Thanks for the quick response. The source is exactly as here except I changed the

Re: wicket vs tapestry ?

2007-08-22 Thread Chris Chiappone
A colleague of mine and I had a discussion about this because he was sorting through new frameworks to use for a new project. I have been using Tapestry since v3 and wanted him to give it a try. Unfotunately he ended up picking Wicket because of the fear that Tapestry has issues with backward com

Re: DynamicSelectionList Hivemind NullPointerException

2007-08-22 Thread Jacob Arnold
Thanks for the quick response. The source is exactly as here except I changed the package names: http://lombok.demon.co.uk/tapestry4Demo/pages/dynamicSelectionList/TestDSLComponent2Source.html The error occurs on line 7 of TestDSLComponent2.page: Thanks, Jacob Ulrich Stärk wrote: Well, so

Re: DynamicSelectionList Hivemind NullPointerException

2007-08-22 Thread Ulrich Stärk
Well, some mandatory parameter of some component must not be null :-) How about giving us a bit more? Page template, page class, line in the template at which the error occurs... Uli Jacob Arnold schrieb: I'm trying to get the DynamicSelectionList component working in an existing Tapestry 4.

Re: wicket vs tapestry ?

2007-08-22 Thread John
Hi Alex, I would say Tapestry 5 wins the challenge unless you plane to use T4. Tapestry 5 uses annotations, and this is a very important advanced feature in Java. You don't need to extend WOComponent, WebPage or what ever. I think all frameworks will use the annotations in the future; the

DynamicSelectionList Hivemind NullPointerException

2007-08-22 Thread Jacob Arnold
I'm trying to get the DynamicSelectionList component working in an existing Tapestry 4.0 project. http://lombok.demon.co.uk/tapestry4Demo/ I copied all of the source files from the custom class example into my own packages, but when I try to submit the form on the page, I get this error: org

Re: T5:Maven or not?

2007-08-22 Thread Konstantin Ignatyev
Maybe, but the quick fix was to stop using maven :) - as usual. Maybe I am not compatible with Maven ;) --- Robin Helgelin <[EMAIL PROTECTED]> wrote: > On 8/22/07, Konstantin Ignatyev > <[EMAIL PROTECTED]> wrote: > > Sometimes it will pick-up changes in the html > > templates and page classes and

Re: [T5.0.5] Caching and IE6

2007-08-22 Thread Siddhartha Argollo
That's the problem. The meta tag isn't working... Gabriel Lozano wrote: Hi, I have had the same problem. I have a page for managing the items in a list (select list). But when i go to the page where the list is I have to hit the refresh button. By the way, does the meta content worked? Hope to

Re: [T5.0.5] Caching and IE6

2007-08-22 Thread Gabriel Lozano
Hi, I have had the same problem. I have a page for managing the items in a list (select list). But when i go to the page where the list is I have to hit the refresh button. By the way, does the meta content worked? Hope to see a good solution for this!!. 2007/8/22, Siddhartha Argollo <[EMAIL PROT

Re: T5:Maven or not?

2007-08-22 Thread Robin Helgelin
On 8/22/07, Konstantin Ignatyev <[EMAIL PROTECTED]> wrote: > Sometimes it will pick-up changes in the html > templates and page classes and sometimes not. > > When I started using jetty directly it would always > detect changes so T5 dynamic class loading worked as > it supposed to work. Ok? Maybe

Re: T5:Maven or not?

2007-08-22 Thread Konstantin Ignatyev
Sometimes it will pick-up changes in the html templates and page classes and sometimes not. When I started using jetty directly it would always detect changes so T5 dynamic class loading worked as it supposed to work. --- Robin Helgelin <[EMAIL PROTECTED]> wrote: > On 8/22/07, Konstantin Ignaty

[T5.0.5] Caching and IE6

2007-08-22 Thread Siddhartha Argollo
Hi all, I'm having an annoying problem with my pages in IE6. It doesn't happen with firefox. When the page has auto-links, sometimes it doesn't refresh when the link is clicked. The state before the click continues to be shown in the browser, in despite of the postback. I have to hit the refre

Re: Problems with tapestry-spring while upgrading from 4.1.2-SNAPSHOT to 4.1.3-SNAPSHOT

2007-08-22 Thread mraible
This problem still seems to exist in 4.1.3-SNAPSHOT. I'm assuming you haven't had time to look at it yet? Matt Jessek wrote: > > Hmmmsounds like the latter. Will check it out tonight. > > On 8/15/07, mraible <[EMAIL PROTECTED]> wrote: >> >> I'm getting this same error when upgrading fro

Re: T5:Maven or not?

2007-08-22 Thread Robin Helgelin
On 8/22/07, Konstantin Ignatyev <[EMAIL PROTECTED]> wrote: > Not in my experience - Maven caused T5 to behave > strangely when used with jetty:run Define "stangely"? I never had any problems with jetty:run. -- regards, Robin --

Re: T5:Maven or not?

2007-08-22 Thread Konstantin Ignatyev
Not in my experience - Maven caused T5 to behave strangely when used with jetty:run The moment I stopped using Maven and just run jetty directly and point it to target directory, everything became nice and smooth. I like Maven's idea but it just does not work reliably for me. --- Robin Helgeli

Re: T5:Maven or not?

2007-08-22 Thread Robin Helgelin
On 8/22/07, Daniel Jue <[EMAIL PROTECTED]> wrote: > No, it is not required. It sure felt like it was required back when > everyone was using Tapestry snapshots--but that was only to keep up > with all the changes. However, the directory structure that the > Tapestry Achetypes setup are pretty hel

Re: T5: Grid sample

2007-08-22 Thread Marcelo lotif
http://wiki.apache.org/tapestry/Tapestry5CheckOutTheSourceCode the tapestry wiki is a good place to find those simple things http://wiki.apache.org/tapestry/Tapestry5HowTos 2007/8/22, Angelo Chen <[EMAIL PROTECTED]>: > > > Hi, > > Is there a simple grid sample? thanks. > > A.C. > -- > View this

Re: T5 Type to ValueEncoderFactory

2007-08-22 Thread Nick Westgate (Work)
Nice. Why don't you post the code on a new page here? ... http://wiki.apache.org/tapestry/Tapestry5HowTos Cheers, Nick. Ognen Ivanovski wrote: > > > On 2007-08-16, at 05:10, Nick Westgate wrote: > >> Indeed. Hence the JIRA. >> >> Howard has mentioned the possibility of merging the two type

Re: T5:Simple form submit

2007-08-22 Thread Nick Westgate (Work)
Or preferably see the actual TextField component docs on that page. The label used in the TextField is used for validation errors as well as for the Label component, so it's only defined in one place. (= Good) As for the error, it's because no id is defined for the form. I can't test the code ri

T5: Grid sample

2007-08-22 Thread Angelo Chen
Hi, Is there a simple grid sample? thanks. A.C. -- View this message in context: http://www.nabble.com/T5%3A-Grid-sample-tf4312370.html#a12277308 Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubsc

Re: [T4] compputing url relative to the context

2007-08-22 Thread #Cyrille37#
Ulrich Stärk a écrit : If localeItem is the value of your for component, you can put all this into your page class and thus simplify your template. The for component will take care, that getLocaleItem() in your page class will return the actual LocaleItem. getComputeUrl() could be public Stri

Re: T5 Type to ValueEncoderFactory

2007-08-22 Thread Ognen Ivanovski
On 2007-08-16, at 05:10, Nick Westgate wrote: Indeed. Hence the JIRA. Howard has mentioned the possibility of merging the two type coercion systems. That Would be great! What I currently do to seamlessly use Entities across the framework (activation / deactivation, parameters, RadioGrou

Re: T5:Simple form submit

2007-08-22 Thread Ulrich Stärk
Tapestry generates the content of the label as follows: the first character of the id attribute of your input component is converted to upper case and a space is inserted before every upper case character. If you want to name the label differently just give the label attribute of your input com

Re: [T4] compputing url relative to the context

2007-08-22 Thread Ulrich Stärk
If localeItem is the value of your for component, you can put all this into your page class and thus simplify your template. The for component will take care, that getLocaleItem() in your page class will return the actual LocaleItem. getComputeUrl() could be public String getComputeUrl() { S

Re: T5:Login and session

2007-08-22 Thread 蝈蝈龙
Application State is for it. see http://tapestry.apache.org/tapestry5/tapestry-core/guide/appstate.html I have written some examples like this: There are follwing page classes to be protected. UserEdit.java ShopSetting.java if the session is null , above these pages won't be opened. firstly I let

Re: T5:Login and session

2007-08-22 Thread Daniel Jue
Please check the Tapestry website and Wiki. Specifically the T5 section, and more specifically the Tapestry-Core section. http://tapestry.apache.org/tapestry5/tapestry-core/guide/appstate.html You probably won't need the "Configuring ASOs" part right now. On 8/22/07, Angelo Chen <[EMAIL PROTECT

Re: T5:Maven or not?

2007-08-22 Thread Daniel Jue
No, it is not required. It sure felt like it was required back when everyone was using Tapestry snapshots--but that was only to keep up with all the changes. However, the directory structure that the Tapestry Achetypes setup are pretty helpful. On 8/22/07, Angelo Chen <[EMAIL PROTECTED]> wrote:

Re: [T4] compputing url relative to the context

2007-08-22 Thread #Cyrille37#
Ulrich Stärk a écrit : Well, rename computeUrl() to getYouNameIt() and access it using ognl:youNameIt from your template or page specification. I compute the url in the html in a for loop. So the stuff I miss is how to access "infrastructure:contextPath" from ognl. I did this ognl:page.engi

T5:Login and session

2007-08-22 Thread Angelo Chen
Hi, what is the correct way to manage sessions in T5? let's say, user has to login before it can go to other pages, how other pages check if a request is from a logined user or not? Thanks. A.C. -- View this message in context: http://www.nabble.com/T5%3ALogin-and-session-tf4312177.html#a12276

T5:Maven or not?

2007-08-22 Thread Angelo Chen
Hi, is it a must to use maven for T5? I use it to create a project then import to Intellij as a native project, it works very well. A.C. -- View this message in context: http://www.nabble.com/T5%3AMaven-or-not--tf4312105.html#a12276382 Sent from the Tapestry - User mailing list archive at Nab

Re: abstract or no

2007-08-22 Thread Angelo Chen
Hi Danie, Thanks for suggeseting T5, after one day learning, somehow I know how to create a basic T5 app, cool framkework. was reading the book "Enjoying Web development with Tapestry" before, after several chapters, I found myself enjoying nothing, with all those diagrams, xml specs, etc.. T5 is

Edit List in BeanEditForm

2007-08-22 Thread Francois Armand
Hello, I would like to know if there is a (rather simple) way to add support for list edition for bean used in BeanEditForm. I would like to be able to add/remove element from list, and edit them. For example, my UserBean has a phonenumber property, witch is a List. I would like that the bean

Re: T5:Simple form submit

2007-08-22 Thread Angelo Chen
oh, sorry, this generates a label "User Name", where is this come from, T5 just breaks the words? if I want to put some other text into the label, how? also trying out that login example: http://tapestry.apache.org/tapestry5/tapestry-core/guide/validation.html @Component private Form _f

Re: T5:Simple form submit

2007-08-22 Thread Ulrich Stärk
And what exactly is the question? Angelo Chen schrieb: Thanks nick, it's just what I need, one more question: Nick Westgate wrote: There is a login example right here: http://tapestry.apache.org/tapestry5/tapestry-core/guide/validation.html Cheers, Nick. Angelo Chen wrote: Hi, I

Re: T5:Simple form submit

2007-08-22 Thread Angelo Chen
Thanks nick, it's just what I need, one more question: Nick Westgate wrote: > > There is a login example right here: > http://tapestry.apache.org/tapestry5/tapestry-core/guide/validation.html > > Cheers, > Nick. > > > Angelo Chen wrote: >> Hi, >> >> I have finished the tutorial in

RE: [T5] BeanEditForm CSS suggestion

2007-08-22 Thread Kolesnikov, Alexander GNI
Believe it or not, but I managed to have those error messages looking properly for a screenshot - in an older Netscape browser! :D I hope the guys will fix the error before the book will be printed. Thanks for finding it! > Is there room for a chapter on extending the BeanEditForm Unfortunately n

Re: Recursion of components

2007-08-22 Thread Francois Armand
Hello Todd, Todd Orr wrote: I'm also trying to perform this type of recursive structure. I don't agree that this makes anything simpler. Recursion is a powerful and concise tool for these situations. I will say that it is often abused, but this is a perfect use case. A recursive solution to this

Re: [T5] BeanEditForm CSS suggestion

2007-08-22 Thread Daniel Jue
IIRC, there was an error in the error CSS that some of us ran into, with a margin being set at -20px instead of 20px. I overrode that style to fix the problem. I believe it is this: div.t-error li { list-style-type: disc; margin-left: 20px; } I agree CSS for layout and positioni

Re: organizing HTML pages into subdirectories

2007-08-22 Thread Hans Drexler
On Wed, 22 Aug 2007 06:17:17 -0700 (PDT), abhilash wrote > I have a sub directory called admin under WEB-INF .My servlet > mapping isdentaprise name> /app > > i have ListClient.html in admin directory.I am unable to get the page > ListClient.where i have to specify my sub director

RE: Antwort: T5: trying out tutorial hi/lo game, but...

2007-08-22 Thread Jason Gutt
For the app to work I had to change this tag ${guess} the id should equal "link" -Original Message- From: Christian Koeberl [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 22, 2007 2:35 AM To: Tapestry users Subject: Antwort: T5: trying out tutorial hi/lo game, but... Angelo Chen

Re: [T4] compputing url relative to the context

2007-08-22 Thread Ulrich Stärk
Well, rename computeUrl() to getYouNameIt() and access it using ognl:youNameIt from your template or page specification. Uli #Cyrille37# schrieb: Ulrich Stärk a écrit : Let Tapestry inject the infrastructure:contextPath object like @InjectObject("infrastructure:contextPath") public abstract

Re: T5:Tiles?

2007-08-22 Thread Daniel Jue
Of course you are not at all limited to only one of these "layout" components. While you can only request one per page or component, the "layout" you request could itself use another layout. For lack of a better term, these used to be called Borders in Tapestry 4. You can also have these borders

RE: organizing HTML templates into subdirectories

2007-08-22 Thread Kolesnikov, Alexander GNI
The page name should be used as "admin/ListClient" and its class should be in whatever.admin subpackage. -Original Message- From: abhilash [mailto:[EMAIL PROTECTED] Sent: 22 August 2007 14:15 To: users@tapestry.apache.org Subject: organizing HTML templates into subdirectories I have a

organizing HTML templates into subdirectories

2007-08-22 Thread abhilash
I have a sub directory called admin under WEB-INF .My servlet mapping is dentaprise /app i have ListClient.html in admin directory.I am unable to get the page ListClient.where i have to specify my sub directory? any ideas? -- View this message in context: http://www.nabble.

Re: wicket vs tapestry ?

2007-08-22 Thread Daniel Jue
First let me say there seems to be quite a rivalry between the users of the frameworks. We've even had wicket fan boys join the Tapestry list with the sole intent of trolling. One difference I know is that Wicket stores a lot more information in the session than Tapestry does. At it's core, Tape

Re: [T4] compputing url relative to the context

2007-08-22 Thread #Cyrille37#
Ulrich Stärk a écrit : Let Tapestry inject the infrastructure:contextPath object like @InjectObject("infrastructure:contextPath") public abstract String getContextPath(); Then write some computeUrl method similar to this one (just typed this in, no guarantee that this will work). public String

Re: Tapestry 4.1.2 Javaassist and runtime errors

2007-08-22 Thread Peter Stavrinides
Hi Marcus Thanks for this, I will add it and wait... because this error is time delayed it may be a while before it triggers and I reply, but I will. Thanks again, Peter [EMAIL PROTECTED] wrote: Hi Peter can you try to set the property org.apache.tapestry.page-pool-evict-idle-page-minutes t

RE: [T5] BeanEditForm CSS suggestion

2007-08-22 Thread Kolesnikov, Alexander GNI
Thanks, guys, You see, if it was just for myself I would certainly do as you suggest. The problem is that I am writing a book on T5 and the idea is to keep the book as simple as possible. So far I have managed to do this, and I am already in chapter 6. What can be easier than BeanEditForm? Just

Re: T5:Tiles?

2007-08-22 Thread Marcelo lotif
If this help, try to follow my example above: create a class under src/main/java/org/example/myapp/components called Layout.java, for example. Now we put a css stylesheet and a title, just to illustrate: public class Layout { @Inject @Path("context:assets/css/layout.css") private Ass

RE: [T5] Marking fields in error

2007-08-22 Thread Kolesnikov, Alexander GNI
Thanks, Uli, will try this! -Original Message- From: Ulrich Stärk [mailto:[EMAIL PROTECTED] Sent: 22 August 2007 12:36 To: Tapestry users Subject: RE: [T5] Marking fields in error Right now it seems that the path for the marker image is hardcoded. But you could try to create a file org

RE: [T5] Marking fields in error

2007-08-22 Thread Kolesnikov, Alexander GNI
Yeah, I know about styles, but not sure how to override an asset that comes with a component. If it was a named asset, like in T4, I would probably know what to do, but T5 uses a path... I am looking for a simple solution that could go into the book ;) Cheers, Alex -Original Message-

Re: Ajax example in doco not working?

2007-08-22 Thread Geoff Callender
That's right - it's the @Insert that surprised me. I''l put it in JIRA. Thanks. On 22/08/2007, at 4:37 PM, <[EMAIL PROTECTED]> wrote: I think Geoff is not complaining about @Any, but about @Insert. In fact, most components nowadays call AbstractComponent.renderIdAttribute(), including Any.

RE: [T5] Marking fields in error

2007-08-22 Thread Ulrich Stärk
Right now it seems that the path for the marker image is hardcoded. But you could try to create a file org/apache/tapestry/field-error-marker.png in your classpath and store your own marker there. This should override the default marker. This is similar to http://wiki.apache.org/tapestry/Tapestry5H

Re: [T5] Marking fields in error

2007-08-22 Thread Nick Westgate
I'm sure, you can, though I haven't tried this yet. You could try just overriding that asset in your project. For colours you can override styles in your own CSS files. If you want more substantial changes, look into overriding the DefaultValidationDecorator. Search the source for: DefaultValida

Re: T5:Tiles?

2007-08-22 Thread Anton Gavazuk
Hi Angelo, I had the same question and as I understood - you have to write your own custom component see http://tapestry.apache.org/tapestry5/tapestry-core/guide/templates.html and now I try to implement this - if you are interested - we can communicate about the topic and create some kind of howto

Re: T5:Simple form submit

2007-08-22 Thread Nick Westgate
There is a login example right here: http://tapestry.apache.org/tapestry5/tapestry-core/guide/validation.html Cheers, Nick. Angelo Chen wrote: Hi, I have finished the tutorial in the T5 site, it uses BeanFormEdit, can somebody show me how to do the basic form edit/submit? like a textField for

T5:Simple form submit

2007-08-22 Thread Angelo Chen
Hi, I have finished the tutorial in the T5 site, it uses BeanFormEdit, can somebody show me how to do the basic form edit/submit? like a textField for username, a button to submit, then how the java side capture the two fields? thanks. A.C. -- View this message in context: http://www.nabble.co

RE: [T5] Marking fields in error

2007-08-22 Thread Kolesnikov, Alexander GNI
Okay, so I am taking this back :) I was looking at the screenshots in the User Guide. But in this case, do I have an opportunity to override the existing marker? Thanks, Alexander -Original Message- From: Nick Westgate [mailto:[EMAIL PROTECTED] Sent: 22 August 2007 11:37 To: Tapestry us

Re: [T5] Marking fields in error

2007-08-22 Thread Nick Westgate
T5 _does_ mark a field with an error marker. "field-error-marker.png" Cheers, Nick. Kolesnikov, Alexander GNI wrote: I've got a friend who is color blind. I've shown to him the way how the fields in error are marked in T5 - just making everything red, without using any error markers - and this

T5:Tiles?

2007-08-22 Thread Angelo Chen
Hi, Is there a way to do something like Struts with Tiles in Tapestry 5? samples? Thanks. A.C. -- View this message in context: http://www.nabble.com/T5%3ATiles--tf4310807.html#a12272065 Sent from the Tapestry - User mailing list archive at Nabble.com. ---

Re: [T4] dojo 0.9 upgrade, any plan?

2007-08-22 Thread Martino Piccinato
In a month or so I might be able to contribute some code. But how to deal with backward compatibility? I mean switching to a tapestry version with dojo 0.9 might oblige people to rewrite custom widget and, in general, dojo code (unless one wants to also retain "old" 0.4.x widgets/support but it wou

[T5] Marking fields in error

2007-08-22 Thread Kolesnikov, Alexander GNI
I've got a friend who is color blind. I've shown to him the way how the fields in error are marked in T5 - just making everything red, without using any error markers - and this doesn't look convincing to him. So I suggest T5 developers adding some kind of error marker - two red asterisks or an i

RE: Tapestry 4.1.2 Javaassist and runtime errors

2007-08-22 Thread Marcus.Schulte
Hi Peter can you try to set the property org.apache.tapestry.page-pool-evict-idle-page-minutes to -1? You can, for example, add the following to your application's hivemind.xml : Does this help? Marcus > -Original Message- > From: Peter Stavrinides [mailto:[EMAIL PROTECTED]

Re: Antwort: T5: trying out tutorial hi/lo game, but...

2007-08-22 Thread Angelo Chen
Hi Chris, Now it works, thanks. however I can't see those "too high" and "too low" messages as in the tutorial, any fix to this? Thanks, Christian Koeberl wrote: > > Angelo Chen <[EMAIL PROTECTED]> wrote: >> Hi, >> I'm learning by trying out the hi/lo game, everytime I clicked one of > the

wicket vs tapestry ?

2007-08-22 Thread Alex Shneyderman
I just started to look for a component based framework. I came across both tapestry and wicket (and it would be hard not to as you guys share the same host) but I kind of fail to see what the differences are? >From my limited experiments with both, wicket and tapestry seem to be quite similar. So,

Re: Tapestry 4.1.2 Javaassist and runtime errors

2007-08-22 Thread Peter Stavrinides
Hi Jessie, Thanks for your reply. I don't think this problem relates to OGNL... The thing is that these classes are pretty ordinary page classes with Strings and Integers, really nothing special, and besides it works great for a while, and then after a random period it gets confused? which tel

Re: [T4] compputing url relative to the context

2007-08-22 Thread Ulrich Stärk
Let Tapestry inject the infrastructure:contextPath object like @InjectObject("infrastructure:contextPath") public abstract String getContextPath(); Then write some computeUrl method similar to this one (just typed this in, no guarantee that this will work). public String computeUrl() { Strin

Antwort: T5: trying out tutorial hi/lo game, but...

2007-08-22 Thread Christian Koeberl
Angelo Chen <[EMAIL PROTECTED]> wrote: > Hi, > I'm learning by trying out the hi/lo game, everytime I clicked one of the > number links, the onActionFromLink was not called, here is the template: It should be onActionFromGuess because the link's id is "guess". -- Chris