Antwort: Re: IOC OSGi class loading issues

2011-01-25 Thread Richard Schurig
okay, done. see https://issues.apache.org/jira/browse/TAP5-1424 Richard Schurig, Dipl. Inform. Software Development Internationale Kapitalanlagegesellschaft mbH Yorckstraße 21, 40476 Düsseldorf Phone +49 211 910-1298 Fax +49 211 910-2996 mailto:r.schu...@inka-kag.de |> | Von:

Re: Re: IOC OSGi class loading issues

2011-01-25 Thread Igor Drobiazko
Richard, there some HSBC copyrights inside the attachements. I think you should remove them and upload the files again. On Tue, Jan 25, 2011 at 9:31 AM, Richard Schurig wrote: > okay, done. see https://issues.apache.org/jira/browse/TAP5-1424 > > Richard Schurig, Dipl. Inform. > Software Developme

Re: [ANN] Manning Publications translates my Tapestry 5 book

2011-01-25 Thread Koka Kiknadze
Is there any progress? Or any preliminary release date? Thanks Nicholoz

Re: Tapestry 4.1 injecting the wrong application state object

2011-01-25 Thread Koka Kiknadze
Did you find root of the problem? Just curious :) Good luck On Tue, Jan 11, 2011 at 11:00 PM, Pepijn Schmitz wrote: > Hi, > > Thanks! But I don't think that's it. We're already using HTTPS, but also > that would not explain how the correct application state object can be on > the HttpSession, e

Re: Question on Tapesry Services IoC

2011-01-25 Thread Kristian Marinkovic
Hi Nicolas, you can't contribute if you only have a string or no parameter. it has to be either a map, a list or a collection. you can contribute a ServiceOverride to replace a service with another implementation (see documentation) g, kris Von:Nicolas Barrera An: Tapestry users

Re: How to display images in a grid componet?

2011-01-25 Thread jeczmien
can you post getPhotos() method? it returns GridDataSource or just simple List? try: public GridDataSource getPhotos() { return new GridDataSource() { public Class getRowType() {return Photo.getClass();} ... (other methods for GridDataSource interface }; } -- View this mess

FCKEditor/ChenilleKit Editor and zoneupdate mixin

2011-01-25 Thread jeczmien
Hi. I have problem with FCKEditor (wrapped by chenillekit Editor component) with zoneupdater mixin. It doesnt issue "change" clientEvent. Can anyone tell me how to use it with zoneupdater? Or if there is another rich text component which can be used with zoneupdate. Best regards. -- View this m

RE: t5: 5.2.4 and IE8

2011-01-25 Thread Wechsung, Wulf
Hello Donny, Hello Angelo, today I faced exactly the same issue and wasted hours on google before finding and implementing your fix. Thanks for sharing! IE8 really is a piece of work ... wasted hours yesterday trying to force it to not display my intranet site in compatibility mode because the

Re: Question on Tapesry Services IoC

2011-01-25 Thread Nicolas Barrera
Thanks a lot Kristian, for the archives t5 doc on ServiceOverride is currently here: http://tapestry.apache.org/ioc-cookbook-overriding-ioc-services.html I 've read it and learned about overriding, but I think that although they 're useful to achieve what I need..., I think as if they were tho

Re: Question on Tapesry Services IoC

2011-01-25 Thread Thiago H. de Paula Figueiredo
On Tue, 25 Jan 2011 11:24:00 -0200, Nicolas Barrera wrote: Concisely what I want is to get a Service from a 3rd party module and change one of it's properties, any ideas on the simplest way to do it without instantiating the whole object again? Tapestry-IoC doesn't provide any way of se

Re: Question on Tapesry Services IoC

2011-01-25 Thread Nicolas Barrera
Hi Thiago, Ok, so as the 3rd party library's Service isn't implemented receiving some Configuration, then I can't Contribute to it... and the only way would be to override the service as a whole (reinstantiating it and setting it up all). :( would it smell a lot if I ask tapestry for the instance

Re: Question on Tapesry Services IoC

2011-01-25 Thread Thiago H. de Paula Figueiredo
On Tue, 25 Jan 2011 11:33:16 -0200, Nicolas Barrera wrote: Hi Thiago, Hi, Nicolas! Ok, so as the 3rd party library's Service isn't implemented receiving some Configuration, then I can't Contribute to it... Can't you ask the author to add this as a configuration? and the only way would

Re: Question on Tapesry Services IoC

2011-01-25 Thread Alex Kotchnev
Nicolas, it seems like the proper solution for your problem is to have an enhancement to TSS to receive a value and use the value when configuring the service, e.g. : buildRealAuthenticationProcessingFilter( @SpringSecurityServices final AuthenticationManager manager,

Re: Question on Tapesry Services IoC

2011-01-25 Thread Nicolas Barrera
Thiago, and the only way would be to override the service as a whole >> (reinstantiating it and setting it up all). :( >> > > You can decorate or advise it instead. > I thought that decorating and/or advising the service just to change a property was a bit of over-design, but I guess it would wo

Re: FCKEditor/ChenilleKit Editor and zoneupdate mixin

2011-01-25 Thread Joost Schouten (ml)
Change events are only fired from form elements when they are changed (often onblur). FCKEditor is not a form element but updates the hidden form element it uses to store the actual content on form submit (I believe). On top of that, chenillekit Editor does not yet support AJAX and will not se

Re: Question on Tapesry Services IoC

2011-01-25 Thread Nicolas Barrera
Alex, Yes, adding support to configure that property would be the cleanest solution of course :) thanks for your interest on supporting it.., I 'm currently facing this problem while developing a production application.. but as you read, there 're other workarounds so if you can't add this suppor

Tapestry Testify

2011-01-25 Thread Christophe Furmaniak
Hello, I'd like to know if there is any schedule plan to provide a new release of the tapestry testify artefacts built against Tapestry 5.2.4. The page at http://tapestry.formos.com/nightly/tapestry-testify/getting-testify.htmlsays that the last snapshot is built against 5.2.1-SNAPSHOT Thanks C

Re: Question on Tapesry Services IoC

2011-01-25 Thread Alex Kotchnev
Nicolas, I might actually have a bit of time to implement this enhancement. It should be an easy enhancement that should have zero impact on the current users. I'll respond in this thread when the changes are in. Regards, Alex k On Tue, Jan 25, 2011 at 9:16 AM, Nicolas Barrera wrote: >

Re: [ANN] Manning Publications translates my Tapestry 5 book

2011-01-25 Thread Alex Kotchnev
I've been hoping that Manning would add this book to the Early Access program (MEAP) so that I can get my hands on it ASAP. Unfortunately, that hasn't happened yet. It would be nice if we can get an update from Igor on where things stand w/ the book. Regards, Alex K On Tue, Jan 25, 2011 at 5:58

Re: [ANN] Manning Publications translates my Tapestry 5 book

2011-01-25 Thread Igor Drobiazko
I hope the MEAP starts soon. I don't have any official dates, but I'm pushing Manning to start it. Let me explain our process in order to give you the feeling of why the MEAP isn't started yet. 1) Joachim Van der Auwera translates the German manuscript into English 2) After Joachim finished the tr

[5.1] Confusing ZoneUpdater behavior

2011-01-25 Thread Rich M
Hi, I wrote up a mixin that does delete confirmation. I'd put it through testing a while back and everything seemed fine. Recently it has turned up that it's functioning very strangely. On my local machine, it runs as expected. I take in parameters from a TML declaration of the mixin on a Su

Re: [5.1] Confusing ZoneManager behavior

2011-01-25 Thread Rich M
Hi, got my terms mixed up. ZoneUpdater is a popular mixin that I've used as a model for some of mine. ZoneManager is what I'm actually using here, specifically zoneManager.updateFromURL(updatedUrl); Sorry for the confusion. -Rich On 01/25/2011 02:13 PM, Rich M wrote: Hi, I wrote up a mixi

Testing Tapestry webapps with Selenium

2011-01-25 Thread Matias Moran
Dear Tapestry users, how are you? I'm writing because in the last few days we have been implementing integration tests using Selenium, but we have found a few issues that I'm not sure if these are our mistakes, or maybe it is not possible to be tested. One of those issues appear when trying to

Re: Testing Tapestry webapps with Selenium

2011-01-25 Thread Igor Drobiazko
Yes, it is possible. If you provide your code, probably we'll be able to help you. On Tue, Jan 25, 2011 at 8:20 PM, Matias Moran wrote: > Dear Tapestry users, how are you? > > I'm writing because in the last few days we have been implementing > integration tests using Selenium, but we have found

Re: Testing Tapestry webapps with Selenium

2011-01-25 Thread Thiago H. de Paula Figueiredo
On Tue, 25 Jan 2011 17:20:38 -0200, Matias Moran wrote: Dear Tapestry users, how are you? Hi! One of those issues appear when trying to click on an actionLink inside a Grid component, lets say a link to Delete or Modify one of the rows. The error is always the same: "com.thoughtworks

Re: Testing Tapestry webapps with Selenium

2011-01-25 Thread Matias Moran
Thanks for the quick response! Here is a piece of the code I'm trying to test: The code generated by Selenium is something like this: selenium.click("//a[@id='modifyUserLink']/div");selenium.waitForPageToLoad("3"); But it always fails, giving the err

org.apache.tapestry5.util.EnumSelectModel java.lang.NullPointerException: migrate from Tapestry 5.1.0.5 to Tapestry 5.2.4

2011-01-25 Thread vinod
Hi, This is the second issue that we are facing while migrating from Tapestry 5.1.0.5 to Tapestry 5.2.4. To add to your information, we are using Hibernate 3.6, Hibernate Search 3.3, Spring 3.0.5, Tapestry Spring Security 3.0 Could any one of you please share your experience in solving this is

Re: Testing Tapestry webapps with Selenium

2011-01-25 Thread Thiago H. de Paula Figueiredo
On Tue, 25 Jan 2011 17:51:53 -0200, Matias Moran wrote: The code generated by Selenium is something like this: selenium.click("//a[@id='modifyUserLink']/div");selenium.waitForPageToLoad("3"); When inside a loop, if you don't provide the id for your ActionLinks, they'll generate differ

Re: org.apache.tapestry5.util.EnumSelectModel java.lang.NullPointerException: migrate from Tapestry 5.1.0.5 to Tapestry 5.2.4

2011-01-25 Thread Kalle Korhonen
It's in the stack trace: Caused by: org.apache.tapestry5.ioc.internal.util.TapestryException [at classpath:com/skyecandy/components/EditSelectField.tml, line 6] at org.apache.tapestry5.internal.structure.ComponentPageElementImpl.invoke(ComponentPageElementImpl.java:993) at org.apache.

Re: Testing Tapestry webapps with Selenium

2011-01-25 Thread Matias Moran
Thanks a lot Thiago! I will try something like this, I was hoping I didn't need to use IDs, but if there is no other solution, it is better than nothing. Thanks again! Greetings! Matias. --- El mar 25-ene-11, Thiago H. de Paula Figueiredo escribió: > De: Thiago H. de Paula Figueiredo > As

Re: Testing Tapestry webapps with Selenium

2011-01-25 Thread Igor Drobiazko
If you don't like to provide client-ids besides t:id, you might create a mixin which will force t:id to be id as well. On Tue, Jan 25, 2011 at 9:03 PM, Matias Moran wrote: > Thanks a lot Thiago! > > I will try something like this, I was hoping I didn't need to use IDs, but > if there is no other

Re: org.apache.tapestry5.util.EnumSelectModel java.lang.NullPointerException: migrate from Tapestry 5.1.0.5 to Tapestry 5.2.4

2011-01-25 Thread Howard Lewis Ship
Very odd:     @SuppressWarnings("unchecked")     SelectModel defaultModel()     {         Class valueType = resources.getBoundType("value");         if (valueType == null)             return null;         if (Enum.class.isAssignableFrom(valueType))             return new EnumSelectModel(val

Re: org.apache.tapestry5.util.EnumSelectModel java.lang.NullPointerException: migrate from Tapestry 5.1.0.5 to Tapestry 5.2.4

2011-01-25 Thread Howard Lewis Ship
Make sure you enum type is not in a controlled package, such as x.y.z.components or x.y.z.pages. On Tue, Jan 25, 2011 at 12:29 PM, Howard Lewis Ship wrote: > Very odd: > >     @SuppressWarnings("unchecked") > >     SelectModel defaultModel() > >     { > >         Class valueType = resources.getBo

Re: Testing Tapestry webapps with Selenium

2011-01-25 Thread Mark
Using the userId as shown above is probably your best bet. However, if you don't have a userId an you are getting ids like: modifyUserLink_f8ab4c23 You might try something like this: click("xpath=(//a[starts-with(@id,'modifyUserLink')])[3]"); That would click on the third item that is found with

Chenille Kit Demo Source Code.

2011-01-25 Thread ael
Hi Everyone, I tried to test http://www.chenillekit.org/demo/tapcom chenille kit demo application & i really like it. does anyone know how to view or download its source code on how to use it? Like jumpstart. Thank you very much. -- View this message in context: http://tapestry.1045711.n5.

Re: Chenille Kit Demo Source Code.

2011-01-25 Thread ael
Found it. Hehhehe Thanks... http://tapestry.formos.com/cgi-bin/viewvc.cgi/chenillekit/branches/1.0/chenillekit-demo/src/main/java/org/chenillekit/demo/pages/tapcomp/ chenille kit demo application source code -- View this message in context: http://tapestry.1045711.n5.nabble.com/Chenille-Kit-D

Re: [5.1] Confusing ZoneUpdater behavior

2011-01-25 Thread Josh Canfield
Sounds like it could be a timing issue. Have you tried putting debug statements around the in code instead of stepping through with the debugger? Sometimes slowly stepping through code gives things a chance to complete that wouldn't otherwise, possibly it runs fast enough on your local machine tha

Re: org.apache.tapestry5.util.EnumSelectModel java.lang.NullPointerException: migrate from Tapestry 5.1.0.5 to Tapestry 5.2.4

2011-01-25 Thread vinod
Hi Howard, Thanks for your advice. As per your advice, I changed the model to literal type but still the same. Further, I attached Tapestry source code(5.2.1) along my debug path and found that the enumClass.getEnumConstants() at line #41 of EnumSelectModel class was returning NULL only for the

Re: Question on Tapesry Services IoC

2011-01-25 Thread Alex Kotchnev
Nicolas, it turns out that TSS was already handling this as you need it to; however it wasn't properly reflected in the documentation. The symbol that you want to provide is "spring-security.always.use.target.url" . I'll see about add this to the documentation. Regards, Alex K On Tue, Jan 25,

Re: Question on Tapesry Services IoC

2011-01-25 Thread Alex Kotchnev
And again - it looks like this documentation is properly populated in trunk; however, it was not reflected in the documentation on the website. Cheers, Alex K On Tue, Jan 25, 2011 at 10:54 PM, Alex Kotchnev wrote: > Nicolas, >it turns out that TSS was already handling this as you need it t

Re: org.apache.tapestry5.util.EnumSelectModel java.lang.NullPointerException: migrate from Tapestry 5.1.0.5 to Tapestry 5.2.4

2011-01-25 Thread Josh Canfield
> model="literal:Red,Green,Blue"/> //Line 6 > > - From the parent pages, we include our editselectfield.tml as shown below: > fieldType="relationship" lable="Status"  addDesc="Add your relationship > status"/> >     Where relationship is Enum : >     public enum Relationship { >         RS1, RS2,

Re: FCKEditor/ChenilleKit Editor and zoneupdate mixin

2011-01-25 Thread jeczmien
That patch is for version 1.2. As I remember chenillekit has new 1.3 version. Is this patch merged with new version? -- View this message in context: http://tapestry.1045711.n5.nabble.com/FCKEditor-ChenilleKit-Editor-and-zoneupdate-mixin-tp3356186p3357486.html Sent from the Tapestry - User mail