Re: Tapestry 5 Book EAP Launched

2012-07-31 Thread Igor Drobiazko
Thank you, Chris. I hope you will enjoy the remaining chapters as well. On Tue, Jul 31, 2012 at 7:36 PM, Chris Collins wrote: > I can tell you that the first 7 chapters Igor wrote for manning were > already excellent! > > On Jul 31, 2012, at 1:13 AM, Igor Drobiazko > wrote: > > > Alexander, I'm

Re: Using outputraw to render eventlinks fails, is there a workaround?

2012-07-31 Thread George Ludwig
The component is fine. What is unwieldy are the hoops I'd need to jump through in order to use it in this particular case. Now having thought about it, I'm not even sure how to replicate the server side java code in tmi. Here's the code: // figure out some display booleans boolean isYes=this.po

Re: Using outputraw to render eventlinks fails, is there a workaround?

2012-07-31 Thread George Ludwig
Thanks for that info, very interesting. It makes me wonder what you are able to send as context to an eventlink. To your question, I just remove the # and leave business. I wish there was a better way to do this...I get uncomfortable when I am hardcoding object names in to urls... On Tue, Jul 31,

Re: Using outputraw to render eventlinks fails, is there a workaround?

2012-07-31 Thread Thiago H de Paula Figueiredo
On Tue, 31 Jul 2012 21:43:22 -0300, George Ludwig wrote: I use outputraw because it would be unwieldy to use Tapestry's construct to control the rendering. Could you please say why you think Tapestry's If component is unwieldy? And what exactly changes from the if to the else? It seems t

Re: Using outputraw to render eventlinks fails, is there a workaround?

2012-07-31 Thread Josh Canfield
The hash tag isn't supposed to be sent to the server, so it's curious that it'd have an effect. http://en.wikipedia.org/wiki/Fragment_identifier "Clients are not supposed to send URI-fragments to servers when they retrieve a document" Although, when you say that you remove the hashtag, do you re

Re: relative page links in components

2012-07-31 Thread Thiago H de Paula Figueiredo
On Thu, 26 Jul 2012 09:12:23 -0300, ZKN __ wrote: Hi, Hi! I have a component that's to be included in different pages. Inside the component I have page links that need to be relative to the current page. Something like this: ${mess

Re: Using outputraw to render eventlinks fails, is there a workaround?

2012-07-31 Thread George Ludwig
Josh, Thanks for the response. I do in fact have the onAddXXTerm implemented, and to make sure it works, I have another part of the TML with manually created eventlinks so I can test it. I figured out that outputraw wont work with eventlinks because Tapestry itself transforms and re-renders them.

Re: Using outputraw to render eventlinks fails, is there a workaround?

2012-07-31 Thread Josh Canfield
You need to implement a handler in your component "Refine" for the event. public void onAddNoTerm() { } for instance. On Tue, Jul 31, 2012 at 6:04 PM, George Ludwig wrote: > Actually, this doesn't work either. I get this exception: > > org.apache.tapestry5.ioc.internal.util.TapestryException:

Re: Using outputraw to render eventlinks fails, is there a workaround?

2012-07-31 Thread Josh Canfield
Hi George. If I understand what you're trying to do correctly, it's not going to work and you'll need a new approach. You've stated that you're trying to use but you haven't included the element in your examples. I'm going to have to guess that you've put your component html into a string and ar

Re: Using outputraw to render eventlinks fails, is there a workaround?

2012-07-31 Thread George Ludwig
Actually, this doesn't work either. I get this exception: org.apache.tapestry5.ioc.internal.util.TapestryException: Request event 'addnoterm' (on component discoveryassistant/Refine) was not handled; you must provide a matching event handler method in the component or in one of its containers. at

Re: Using outputraw to render eventlinks fails, is there a workaround?

2012-07-31 Thread George Ludwig
Nevermind I guess... I discovered I could just render like this: #businesshttp://localhost:8082/discoveryassistant/refine:addyesterm/#business> ">yeshttp://localhost:8082/discoveryassistant/refine:addnoterm/#business> ">no On Tue, Jul 31, 2012 at 5:43 PM, George Ludwig wrote: > I'm trying to u

Re: Rendering cache

2012-07-31 Thread Howard Lewis Ship
I hope I'm not violating an NDA when I say that SeeSaw, the big UK video-on-demand Tapestry project, went down this path. They eventually turned off a huge amount of the features that, to me, make Tapestry special, including all dynamically generated JavaScript ... mostly to support more aggressive

Re: #again #strange No service implements the interface tap.execounting.dal.mediators.TeacherMedImpl

2012-07-31 Thread Howard Lewis Ship
Make sure you do a nice clean of your workspace; its possible you have an older version of your page hanging around that Tapestry's picking up a runtime for some reason. I can see TeacherMed as a service in your startup output, so things should be working fine. I'd do a "find . -name TeacherPage.

Re: #again #strange No service implements the interface tap.execounting.dal.mediators.TeacherMedImpl

2012-07-31 Thread bigcache1
Sure: http://pastebin.com/ffk3uE2a Implementation. http://pastebin.com/rXsiVNMG Interface. http://pastebin.com/z2DhVEhg] Page source. Jens Breitenstein wrote > > Can you provide the tapestry page, class and interface sources? > > Jens > > Sent from my iPhone > > On 31.07.2012, at 15:21, bi

Re: Tapestry 5 Book EAP Launched

2012-07-31 Thread Chris Collins
I can tell you that the first 7 chapters Igor wrote for manning were already excellent! On Jul 31, 2012, at 1:13 AM, Igor Drobiazko wrote: > Alexander, I'm not sure if I can provide the draft today. Need to check > that with indiegogo first. Please note that final PDF is probably not > availabl

Re: #again #strange No service implements the interface tap.execounting.dal.mediators.TeacherMedImpl

2012-07-31 Thread mailingl...@j-b-s.de
Can you provide the tapestry page, class and interface sources? Jens Sent from my iPhone On 31.07.2012, at 15:21, bigcache1 wrote: > http://pastebin.com/s8g87ZtC Startup log > > Addition: Other injects are fine. > > > > -- > View this message in context: > http://tapestry.1045711.n5.nabb

Re: #again #strange No service implements the interface tap.execounting.dal.mediators.TeacherMedImpl

2012-07-31 Thread Josh Canfield
Can you show where you are injecting the service? tap.execounting.pages.TeacherPage.tMed: No service implements the interface tap.execounting.dal.mediators.TeacherMedImpl It seems like you are trying to inject the impl something like: @Inject private TeacherMedImpl tMed; On Tue, Jul 31, 2012 a

Re: #again #strange No service implements the interface tap.execounting.dal.mediators.TeacherMedImpl

2012-07-31 Thread bigcache1
http://pastebin.com/s8g87ZtC Startup log Addition: Other injects are fine. -- View this message in context: http://tapestry.1045711.n5.nabble.com/again-strange-No-service-implements-the-interface-tap-execounting-dal-mediators-TeacherMedImpl-tp5714888p5714918.html Sent from the Tapestry - User

Re: #again #strange No service implements the interface tap.execounting.dal.mediators.TeacherMedImpl

2012-07-31 Thread bigcache1
I did two screenshots. Which prooves that module is loaded, and interface and implementing class is found. The shots: http://cs315431.userapi.com/v315431775/a95/tG19Zc1uYqg.jpg Interface http://cs315431.userapi.com/v315431775/a8c/p68_aOcjZiM.jpg Implementing class I am still confused that about

Re: Tapestry 5 Book EAP Launched

2012-07-31 Thread Igor Drobiazko
Alexander, I'm not sure if I can provide the draft today. Need to check that with indiegogo first. Please note that final PDF is probably not available when this campaign ends in 31 days. The final PDF will be available probably at same time as printed version of the book. But because I have 400 pa

Re: Tapestry 5 Book EAP Launched

2012-07-31 Thread sommeralex
so what is the deal now? if i a buy the book today, can i read a draft today, or do we have to wait more 31 days? Because then i would just wait for the final pdf. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-5-Book-EAP-Launched-tp5714877p5714915.html Sent fr

Re: scheduled services stops - @Scheduled(fixedDelay=1800000)

2012-07-31 Thread sommeralex
i am no using the chron job. which works.. thx. -- View this message in context: http://tapestry.1045711.n5.nabble.com/scheduled-services-stops-Scheduled-fixedDelay-180-tp5714882p5714914.html Sent from the Tapestry - User mailing list archive at Nabble.com.