Re: Why @PostInjection only work for public methods ?

2012-06-18 Thread Howard Lewis Ship
It is true that it could be extended to non-public methods. It just hasn't been the case. In theory, everything inside your class could be public, but it still would be off-limits, buried behind a service interface. Unlike other systems, you can't cast the service interface to the service implement

PageTester cant handle querystring ?

2012-06-18 Thread Karan Rajanayagam
PageTester cant handle query string.. for ex. an link like: admin/clazz/edit?schoolYearId=0 Im getting StringIndexOutOfBounds because an error in PageTester class., PageTester class we have: / private void setupRequestFromURI(String URI) { String linkPath = stripContextFromPa

tapestry bootstrap

2012-06-18 Thread liquid_sun
Hi, I'm developing web application using bootstrap. Everything is fine if i work locally, but when i deploy the war archive on server i got the following exception:* An unexpected application exception has occurred. Render queue error in SetupRender[Index:layout]: Unable to create a client URL for

Re: Plastic questions … connect via skype?

2012-06-18 Thread Howard M. Lewis Ship
On Jun 15, 2012, at 3:38 PM, Brian McCallister wrote: > Next Q: > > Is there any way to control the package in which classes are created via > createClass(...) ? I need this to get access to package-local super > interfaces. This is a use-case I hadn't though of specifically. One option would

Re: Plastic questions … connect via skype?

2012-06-18 Thread Howard M. Lewis Ship
BTW, these are good questions for the Tapestry user mailing list; Q&A in public helps all. On Jun 15, 2012, at 3:41 PM, Brian McCallister wrote: > Suggestion: > > Invocation#setReturnValue(...) when called for a void return type should just > quietly swallow the returned value rather then rais

Why @PostInjection only work for public methods ?

2012-06-18 Thread Muhammad Gelbana
I know it's stated in the docs, but I'm asking what's the point of limiting it to public methods ? Doesn't java reflection allow invoking access-protected\invisible methods such as private, protected and default-access methods ? -- *Regards,* *Muhammad Gelbana Java Developer*

Re: Post Upgrade Error: ioc.Registry | Code attribute in native or abstract methods in class file

2012-06-18 Thread Howard Lewis Ship
Please construct a small project that demonstrates your error. Open a JIRA issue and attach the project as a ZIP archive. Yes, I hate it when developers tell me to do that kind of thing, but there's no way I'll be able to reconstruct your issue otherwise. On Mon, Jun 18, 2012 at 1:49 AM, chog wr

Re: Zone update

2012-06-18 Thread liquid_sun
Tried, but no luck. Still recaptcha comp. does not appear -- View this message in context: http://tapestry.1045711.n5.nabble.com/Zone-update-tp5713961p5713963.html Sent from the Tapestry - User mailing list archive at Nabble.com. --

Re: Zone update

2012-06-18 Thread Thiago H de Paula Figueiredo
On Mon, 18 Jun 2012 11:13:43 -0300, liquid_sun wrote: Hi, Hi! Try returning formZone.getBody() instead of formZone itself. -- Thiago H. de Paula Figueiredo - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org

Zone update

2012-06-18 Thread liquid_sun
Hi, I have registration form that contains ReCaptcha component. What i'm trying to do is when the user inputs wrong ReCaptcha code or wrong Password confirmation to refresh whole form. A have zone component on the form but it updates the form without the ReCaptcha component (recaptcha is not displa

Re: Post Upgrade Error: ioc.Registry | Code attribute in native or abstract methods in class file

2012-06-18 Thread chog
I have not made any changes to the JDK at all. I made some changes resulting in that we are now decorating ComponentTemplateLocator for finding .html files in classpath instead. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Post-Upgrade-Error-ioc-Registry-Code-attribute-i

Javascript append to zone

2012-06-18 Thread Lance Java
Hi, I'm writing a push library on top of cometd and I'd like to be able to append some markup to a zone (ie a chat application) My tapestry javascript knowledge is not great and I'd like to know any things to watch out for if doing this (including possible memory leaks in the client). I see that