Re: NPE when trying to contribute ServletContextSymbolProvider to SymbolSource (WAS: Re: Page pool hard limit and page instance usage)

2008-09-25 Thread 9902468
This is starting to look more and more like Jira issue? Any new info on this? -99 Ulrich Stärk wrote: > > I even removed the RequestFilter, AppligationGlobals.getServletContext() > still returns null. > > Uli > > Am Di, 23.09.2008, 14:42, schrieb Peter Stavrinides: >> This seems to be the s

Re: [Announce] Spring Security for Tapestry5

2008-09-25 Thread Robin Helgelin
On Mon, Sep 15, 2008 at 6:48 PM, Robin Helgelin <[EMAIL PROTECTED]> wrote: > A side note to Acegi users: there will be a new release when Tapestry > 5.0.15 is out the door, until then, 1.1.1-SNAPSHOT should work. As promised, release 1.1.1 of tapestry5-acegi is now available at the usual place. -

[T5] AJAX and partial updates of forms ? [Zone AjaxFormLoop FormInjector FormFragment and the like]

2008-09-25 Thread Francois Armand
Hello guys, I think I really need some clarification on all the things around partial update of a form. To begin, I read a lot of topic on this subject on the ml, all the doc available on the site and the example for T5 test suite, but I just don't get it, and I believe I'm not the only one in

Tags not being closed by t5. W3C Accesibility Fails :(

2008-09-25 Thread Daniel Alonso Sanchez
Hi everybody, I'm in a hurry because we have to develop an application that respects w3c accesibility. The thing is that our pages have this header: http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";> And in a specific tml file, we have this tag: After requesting the page, the html

Re: Tags not being closed by t5. W3C Accesibility Fails :(

2008-09-25 Thread Kristian Marinkovic
hi, please read http://wiki.apache.org/tapestry/Tapestry5HowToXhtml g, kris Daniel Alonso Sanchez <[EMAIL PROTECTED]> 25.09.2008 10:56 Bitte antworten an "Tapestry users" An users@tapestry.apache.org Kopie Thema Tags not being closed by t5. W3C Accesibility Fails :( Hi everybody

append checkbox to grid list

2008-09-25 Thread wesley
hi all, i'm having a difficulties to append additional column in grid. when i append the extra column within the grid model as a checkbox, the class behind it couldn't track the checkbox's state (check or unchecked). Is there a special way to implement this? hope to have a pointer and advise fro

Re: Tags not being closed by t5. W3C Accesibility Fails :(

2008-09-25 Thread Daniel Alonso Sanchez
Wow, it works! Thanks so much, i didn't know anything about that but, there is another problem. That solution is great for closing the tags, but it introduce this piece of code at the begining of the page this is causing a wrong placing of our divs. On the other hand, placing into the sec

PropertyEditContext is null

2008-09-25 Thread spamglik
Hi I am trying to create custom dropdown for beaneditutils and now stack with following problem I ve got : package {root}.pages; public class AppPropertyEditBlocks { @Environmental private PropertyEditContext context; and get : Render queue error in BeforeRenderTemplate[Ap

Re: Tags not being closed by t5. W3C Accesibility Fails :(

2008-09-25 Thread Filip S. Adamsen
Hi, You don't need to have the bit at the beginning of your pages - UTF-8 is the default encoding for XML files, so it should - and does - work without it. Besides, (older versions of) Internet Explorer tends to trip on it. -Filip On 2008-09-25 12:44, Daniel Alonso Sanchez wrote: Wow, it

Re: Tags not being closed by t5. W3C Accesibility Fails :(

2008-09-25 Thread Daniel Alonso Sanchez
Filip S. Adamsen-2 wrote: > > Hi, > > You don't need to have the bit at > the beginning of your pages - UTF-8 is the default encoding for XML > files, so it should - and does - work without it. > > Besides, (older versions of) Internet Explorer tends to trip on it. > > -Filip > > On 2008

Re: append checkbox to grid list

2008-09-25 Thread Marcelo Lotif
Can you attach your source code?Just to be sure, check if you are binding it to a valid boolean property and if this property is also marked with @Persist - at least "flash". On Thu, Sep 25, 2008 at 7:28 AM, wesley <[EMAIL PROTECTED]> wrote: > > hi all, > > i'm having a difficulties to append add

Re: Questions about T5 html markup generated

2008-09-25 Thread Daniel Alonso Sanchez
Joe Chen wrote: > > Hi, > I've noticed some quirks about the html generated by T5, and I was > wondering how I could go about changes these things. I would appreciate > it > if someone could point out how to fix these things. > > 1) When using , an additional attribute xmlns=" > http://www.

Re: Cannot over the isDisabled() method for the DirectLink component

2008-09-25 Thread Andreas Andreou
I guess that's in T4, right? Because disabled is marked as a parameter for all those link components, it can't really be overriden - tapestry will always override it itself (adding code that makes parameters work) There are probably several ways to workaround this - try to NOT define 'disabled' a

RE: Upgrade issues with 5.0.15

2008-09-25 Thread Blower, Andy
Thanks for the quick reply Howard. I mis-described problem one, it's not the prefix itself but a secondary prefix that we have added to switch the output to raw. This is so we don't need hundreds of outputraw components and is detected & used in our custom markup model. This is where the proble

Re: Questions about T5 html markup generated

2008-09-25 Thread Filip S. Adamsen
Weird. I just noticed that. I can't find either shape or rect anywhere in the Tapestry source, though. Oh, and the shape attribute is defined alright, so it shouldn't be a problem, really. -Filip On 2008-09-25 14:01, Daniel Alonso Sanchez wrote: Same to me. I have the same problem with the Act

Re: Questions about T5 html markup generated

2008-09-25 Thread Daniel Alonso Sanchez
Filip S. Adamsen-2 wrote: > > Weird. I just noticed that. I can't find either shape or rect anywhere > in the Tapestry source, though. Oh, and the shape attribute is defined > alright, so it shouldn't be a problem, really. > > -Filip > > On 2008-09-25 14:01, Daniel Alonso Sanchez wrote: >>

Re: subpackages under .pages

2008-09-25 Thread Onno Scheffers
> > pages->customer->CustomerData.java > pages->manager->Manager.java > > webapp->customer->CustomerData.tml > webapp->manager->Manager.tml > > is it possible? How to refer to these pages in the url? > .../customer/CustomerData did not work... That's pretty much how I do it and it works just fin

Re: UploadedFile causes JVM to Terminate

2008-09-25 Thread Keith Bottner
Apple updated their Java VM today to 1.5.0_16 so I went through this again and it crashed out the entire VM once again. So it appears NOT to be limited to a specific version of the Java Virtual Machine. Does anybody have anything else to try? Is anybody using the UploadFile functionality su

Include multiple css in @IncludeStylesheet

2008-09-25 Thread Leon Derks
Hello How can I add multiple stylesheets to the @includeSysheet annotation? In the documentation I read that one or more paths can be injected. But how can I do that? For example I want something like this: @IncludeStylesheet("context:css/page.css", "context:css/tapestry-custom.css") -

T5: config problem with move to 5.0.15

2008-09-25 Thread photos
This is probably some silly problem and it isn't really Tapestry related (sorry :-( ), but I'm getting so flummoxed I thought I'd ask here... I deleted my .m2 repository and changed the POM to get Tap 5.0.15 plus added a dependency to get tapestry-spring. In Eclipse I then did a Maven up

Re: Include multiple css in @IncludeStylesheet

2008-09-25 Thread Hugues Narjoux
Hi, Yous imply need to surround them with {}. Like this : @IncludeStylesheet( { "context:css/page.css", "context:css/tapestry-custom.css" } ) On Thu, Sep 25, 2008 at 4:34 PM, Leon Derks <[EMAIL PROTECTED]> wrote: > Hello > > How can I add multiple stylesheets to the @includeSysheet annotatio

Re: Include multiple css in @IncludeStylesheet

2008-09-25 Thread Kristian Marinkovic
have you tried this: @IncludeStylesheet({"first.css","second.css","third.css"}) g, kris Leon Derks <[EMAIL PROTECTED]> 25.09.2008 16:34 Bitte antworten an "Tapestry users" An Tapestry users Kopie Thema Include multiple css in @IncludeStylesheet Hello How can I add multiple style

Re: Include multiple css in @IncludeStylesheet

2008-09-25 Thread Keith Bottner
I had this same problem. You were close. Try this. @IncludeStylesheet({"context:css/page.css", "context:css/tapestry- custom.css"}) It takes an array so you need to have the curly braces on the outside of your comma delimited style sheets. Keith On Sep 25, 2008, at 9:34 AM, Leon Derks wro

Re: T5: config problem with move to 5.0.15

2008-09-25 Thread Kristian Marinkovic
you should not have deleted your local repository :) there are several dependencies used by hibernate (jms, jpa) that are not available via a maven repository. therefore you have to download those and install them manually in your repository. if you do "mvn clean install" maven will spit out th

T5: 5.0.14 Bizarre ClassNotFoundException

2008-09-25 Thread Russell Brown
Hi, Not sure if this is totally a T5 issue but I am just seeing if anyone has seen this. I have a page that uses the Form component but when I call the page I get a ClassNotFoundException for org.slf4j.Logger. Now I know that the class is on the classpath as I have Struts app running in the same

Re: T5: 5.0.14 Bizarre ClassNotFoundException

2008-09-25 Thread Toby Hobson
Hi Russel, Just a thought but it might be worth checking your classpath. T5 will pull SLF4 into the classpath anyway so you could have included it twice. Because T5 uses a separate classloader for Pages and Components it may be getting confused. I've run into similar problems before. Cheers Toby

RE: T5: 5.0.14 Bizarre ClassNotFoundException

2008-09-25 Thread Russell Brown
Hi Toby, Thanks for that. I have suspicion I have a maven nightmare on my hands. I have used maven's "exlusion" to exclude SLF4j from being included by Tapestry as we want to control the version. I can see that the Pages and Components use a different class loader, I guess they have to for all t

Creating inner components on the fly in a form custom component

2008-09-25 Thread Edouard sur edouardmercier.fr
Hello. I've been digging the web with no success, but I'm a Tapestry 5 newbie (running the v5.0.15), thus maybe I missed something. I'm currently attempting to develop a custom Tapestry component that aims at inserting HTML "select/checkbox/textfield" tags into an existing HTML form. Let's say th

Re: append checkbox to grid list

2008-09-25 Thread wesley
hi Marcelo, 1.below is my simple.tml page: //simple.tml ---

Re: UploadedFile causes JVM to Terminate

2008-09-25 Thread Filip S. Adamsen
Hi, I use UploadFile extensively with Java 6 version 1.6.0_07 on Windows and Linux. Never had any problems. -Filip On 2008-09-25 16:31, Keith Bottner wrote: Apple updated their Java VM today to 1.5.0_16 so I went through this again and it crashed out the entire VM once again. So it appears

RE: append checkbox to grid list

2008-09-25 Thread Jonathan Barker
If you look at the Form documentation, you will see that the Submit event fires at the end of the submission - after any values from form fields have been put into your TestPojo's. Therefore, you are wiping out any changes at the end of your submit. You could set up the list in onPrepare(). Jus

T5 OnException or page redirection fails when using Grid inPlace

2008-09-25 Thread Daniel Jue
Using T5.0.14 Just found this after a couple hours. Case: User Logs on login page, user ASO created Page with Grid is rendered, using inPlace, all is well. User session times out, or logs out in another window. (doesn't matter which) User clicks on a sort button on the Grid, and the page hosting

dynamic jwcid

2008-09-25 Thread Ken in nashua
Folks, I just noticed my gallery widget is failing... WHY? Because the jwcid gets reset on every render I am rendering a collection of 80,000 objects But I only display 4 per page When I page to offset 10, the jwcid for my image'S start from 1 instead of 10. My getElementByID calls ar

RE: dynamic jwcid

2008-09-25 Thread Ken in nashua
This is for t-4.1.6 I do not want tapestry choosing my ID's. I want to assign my own within a for collection loop.Best regards Ken in nashua From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: dynamic jwcidDate: Thu, 25 Sep 2008 15:06:31 -0400 Folks, I just noticed my gallery widget is failing..

RE: dynamic jwcid

2008-09-25 Thread Ken in nashua
Specifying an id="" worked... I was able to call my java method to get a custom id. public String getImageComponentId () { return "Image_" + new Integer (getIndex()).toString(); } Best regards Ken in nashua From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: RE: dynamic jwcidDate: Thu, 25 S

Re: subpackages under .pages

2008-09-25 Thread rs1050
i was using http://localhost:8080/app/customer/CustomerData instead of http://localhost:8080/customer/CustomerData. Thank you very much for your help! Onno Scheffers-3 wrote: > >> >> pages->customer->CustomerData.java >> pages->manager->Manager.java >> >> webapp->customer->CustomerData.tml >>

Re: subpackages under .pages

2008-09-25 Thread Thiago H. de Paula Figueiredo
Em Thu, 25 Sep 2008 21:08:38 -0300, rs1050 <[EMAIL PROTECTED]> escreveu: i was using http://localhost:8080/app/customer/CustomerData instead of http://localhost:8080/customer/CustomerData. app? Tapestry 4 déjà vu? :) Thiago

RE: append checkbox to grid list

2008-09-25 Thread wesley
hi there, i implemented the onPrepare method and tried to print all the value out from the testPojoList, but all the checkbox still returned me false even i enabled some of it. am i doing wrong? how's the standard of implementing it? any short sample around? regards, wesley Jonathan Barker wro

Re: Cannot override the isDisabled() method for the DirectLink component

2008-09-25 Thread chitraa
Yea, thats in T4. I am not sure if I understand why disabled is marked as a parameter for all link components? It seems to work fine for other form components like Submit. I tried to not define 'disable' as a parameter but to no luck :( Hence, as a workaround: 1. I extended the ILinkComponent an