Re: JFly edit table online: Jesse, Justin and all interested
Marcus, I suspected it, because I tested it on linux, but soon I'll test it on windows. Thank you for the hint. I hope to solve soon the widjets problem too Ciao, kiuma On 3/8/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi Kiuma, looks nice! However, on IE6 it's broken (some JavaScript error) - and keybindings don't seem to work for me (On Firefox). Marcus -Original Message- From: Andrea Chiumenti [mailto: [EMAIL PROTECTED] Sent: Thursday, March 08, 2007 7:40 AM To: Tapestry users Subject: JFly edit table online: Jesse, Justin and all interested Hello, if you are interested I've put the JFly edit table demo under http://www.wingstech.com/JFlyDemo I'd like your impression about it. Ciao kiuma - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tree with different icons
Anyone has a ajax tree component like this http://www.flickr.com/photos/[EMAIL PROTECTED]/414492659/ If not, should I start on extending the Tacos 4.1 Tree? Cheers, Borut - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JFly edit table online: Jesse, Justin and all interested
I get this on Firefox 2.0 - Gentoo Linux dojo.require(dojo.event.common); //]] Error : Could not load ' dojo.widget.Select'; last tried '__package__.js' : http://www.wingstech.com/JFlyDemo/asset.svc?path=%2Fdojo%2Fdojo.js.uncompressed.js: line 19 Also I can only add one row (it does not allow adding a second row, just do nothing, no errors nor validation) and key bindings are death. The city combo is empty. Very nice component ! On 3/8/07, Thiago H de Paula Figueiredo [EMAIL PROTECTED] wrote: On Thu, 08 Mar 2007 04:08:03 -0300, [EMAIL PROTECTED] wrote: looks nice! However, on IE6 it's broken (some JavaScript error) - and keybindings don't seem to work for me (On Firefox). i tried it on firefox (the buttons work, the keybindings don't) and opera (nothing works), both on windows. it looks promising! :) -- hasta la vista!!! |8) |8p |8) |8p |8) |8p |8) |8p |8) |8p |8) |8p |8) |8p |8) |8p |8) |8p thiago h. de paula figueiredo mestre em ciência da computação pelo dcc/ufmg ate' porque bobagem pouca e' bobagem . . . - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tree with different icons
You can do such trees in tacos - In the same way it allows you to customize the text of every node, you can also have images inserted On 3/8/07, Borut Bolčina [EMAIL PROTECTED] wrote: Anyone has a ajax tree component like this http://www.flickr.com/photos/[EMAIL PROTECTED]/414492659/ If not, should I start on extending the Tacos 4.1 Tree? Cheers, Borut - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr Tapestry / Tacos developer Open Source / JEE Consulting
Re: JFly edit table online: Jesse, Justin and all interested
Pablo thank you for appreciate the component! You have clicked on broken sample: i.e. a JFlyEditGrid that makes use of tapestry widjet that at the moment doesn't work. I don't know if it is a tapestry or jfly problem, but as previously said, I'll try to solve the next few days. Kiuma On 3/8/07, Pablo Ruggia [EMAIL PROTECTED] wrote: I get this on Firefox 2.0 - Gentoo Linux dojo.require(dojo.event.common); //]] Error : Could not load ' dojo.widget.Select'; last tried '__package__.js' : http://www.wingstech.com/JFlyDemo/asset.svc?path=%2Fdojo%2Fdojo.js.uncompressed.js : line 19 Also I can only add one row (it does not allow adding a second row, just do nothing, no errors nor validation) and key bindings are death. The city combo is empty. Very nice component ! On 3/8/07, Thiago H de Paula Figueiredo [EMAIL PROTECTED] wrote: On Thu, 08 Mar 2007 04:08:03 -0300, [EMAIL PROTECTED] wrote: looks nice! However, on IE6 it's broken (some JavaScript error) - and keybindings don't seem to work for me (On Firefox). i tried it on firefox (the buttons work, the keybindings don't) and opera (nothing works), both on windows. it looks promising! :) -- hasta la vista!!! |8) |8p |8) |8p |8) |8p |8) |8p |8) |8p |8) |8p |8) |8p |8) |8p |8) |8p thiago h. de paula figueiredo mestre em ciência da computação pelo dcc/ufmg ate' porque bobagem pouca e' bobagem . . . - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AJAx request and init script (Tapestry 4.1.1)
I think you need to add snapshot / to the repository definition On 3/5/07, Andrea Chiumenti [EMAIL PROTECTED] wrote: Sorry Jasse, but I have in my pom: dependency groupIdorg.apache.tapestry/groupId artifactIdtapestry-framework/artifactId version4.1.2-SNAPSHOT/version /dependency and repository idapache.snapshots/id urlhttp://people.apache.org/repo/m2-snapshot-repository/url /repository but I'm not able to get the snapshot: what do I have to do ? kiuma On 3/5/07, Andrea Chiumenti [EMAIL PROTECTED] wrote: Thank you very much Jasse On 3/5/07, Jesse Kuhnert [EMAIL PROTECTED] wrote: My memory isn't able to retain state knowledge of 4.1.1 reliably enough to have a clue on this, but if you try it on 4.1.2-SNAPSHOT and run into the same problem + file a jira issue I can probably fix whatever it is. On 3/5/07, Andrea Chiumenti [EMAIL PROTECTED] wrote: Hello, I've the following problem in Tapestry 4.1.1: I've a component that conditionally renders other components. With default components like TextField I've no problems, while if I try to ad an Autocompleter it seems that when the component is rendered no tapestry.widget.synchronizeWidgetState is called for it and, even if I can see the component when I click on the dropdown button an exception is thrown. How could I solve it ? Thanks, kiuma -- Jesse Kuhnert Tapestry/Dojo team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AJAx request and init script (Tapestry 4.1.1)
How ? could you send me the pom ? On 3/8/07, Daniel Tabuenca [EMAIL PROTECTED] wrote: I think you need to add snapshot / to the repository definition On 3/5/07, Andrea Chiumenti [EMAIL PROTECTED] wrote: Sorry Jasse, but I have in my pom: dependency groupIdorg.apache.tapestry/groupId artifactIdtapestry-framework/artifactId version4.1.2-SNAPSHOT/version /dependency and repository idapache.snapshots/id urlhttp://people.apache.org/repo/m2-snapshot-repository /url /repository but I'm not able to get the snapshot: what do I have to do ? kiuma On 3/5/07, Andrea Chiumenti [EMAIL PROTECTED] wrote: Thank you very much Jasse On 3/5/07, Jesse Kuhnert [EMAIL PROTECTED] wrote: My memory isn't able to retain state knowledge of 4.1.1 reliably enough to have a clue on this, but if you try it on 4.1.2-SNAPSHOTand run into the same problem + file a jira issue I can probably fix whatever it is. On 3/5/07, Andrea Chiumenti [EMAIL PROTECTED] wrote: Hello, I've the following problem in Tapestry 4.1.1: I've a component that conditionally renders other components. With default components like TextField I've no problems, while if I try to ad an Autocompleter it seems that when the component is rendered no tapestry.widget.synchronizeWidgetState is called for it and, even if I can see the component when I click on the dropdown button an exception is thrown. How could I solve it ? Thanks, kiuma -- Jesse Kuhnert Tapestry/Dojo team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Upgrade to 4.1.1 or wait to 4.12
What are the drivers for you guys to decide when a version is considered stable enough to be released? I'm not keen to use snapshot versions on a production app, since it might break on the very day i'm building a new version for deployment. For now, I stick to 4.1.1 (I know my app does work with 4.1.1), but i'd love to work with a whole lot better version too :)) Are there any plan for the official release of 4.1.2? 2007/3/7, Andreas Andreou [EMAIL PROTECTED]: I'd say a whole lot better and at least as stable On 3/7/07, Jesse Kuhnert [EMAIL PROTECTED] wrote: I said better, not stable... ;) On 3/7/07, Robert J. Walker [EMAIL PROTECTED] wrote: So 4.1.2 is considered stable, then? It'd be really nice if the download box on the Tapestry home page showed the status of the various versions. Jesse Kuhnert wrote: Go with 4.1.2. It's better than 4.1.1. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Jesse Kuhnert Tapestry/Dojo team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr Tapestry / Tacos developer Open Source / JEE Consulting
Application Exception handling
Is there a preferred way/pattern of handling application exceptions in a tapestry application. For example, I have a page, AuthorizationFailure.html which I want to display when a javax.ejb.EJBAccessException is thrown from the ejb layer, with a custom message etc. At the moment I'm plugging in my own ExceptionPresenter which sniffs out the root cause and delegates to a handler, defaulting to the exception page when a specific handler can't be found. But I'm wondering if I'm missing anything. Perhaps there are exception handler base classes that I can use? Or perhaps I can configure an exception presenter for a specific type of exception? Cheers -- Justin Walsh http://www.ewage.co.za - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AJAx request and init script (Tapestry 4.1.1)
snapshots enabledtrue/enabled /snapshots to the repository element.. Joshua Long http://www.joshlong.com Sun Certified Java Developer On 3/8/07, Andrea Chiumenti [EMAIL PROTECTED] wrote: How ? could you send me the pom ? On 3/8/07, Daniel Tabuenca [EMAIL PROTECTED] wrote: I think you need to add snapshot / to the repository definition On 3/5/07, Andrea Chiumenti [EMAIL PROTECTED] wrote: Sorry Jasse, but I have in my pom: dependency groupIdorg.apache.tapestry/groupId artifactIdtapestry-framework/artifactId version4.1.2-SNAPSHOT/version /dependency and repository idapache.snapshots/id urlhttp://people.apache.org/repo/m2-snapshot-repository /url /repository but I'm not able to get the snapshot: what do I have to do ? kiuma On 3/5/07, Andrea Chiumenti [EMAIL PROTECTED] wrote: Thank you very much Jasse On 3/5/07, Jesse Kuhnert [EMAIL PROTECTED] wrote: My memory isn't able to retain state knowledge of 4.1.1 reliably enough to have a clue on this, but if you try it on 4.1.2-SNAPSHOTand run into the same problem + file a jira issue I can probably fix whatever it is. On 3/5/07, Andrea Chiumenti [EMAIL PROTECTED] wrote: Hello, I've the following problem in Tapestry 4.1.1: I've a component that conditionally renders other components. With default components like TextField I've no problems, while if I try to ad an Autocompleter it seems that when the component is rendered no tapestry.widget.synchronizeWidgetState is called for it and, even if I can see the component when I click on the dropdown button an exception is thrown. How could I solve it ? Thanks, kiuma -- Jesse Kuhnert Tapestry/Dojo team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Joshua Long Sun Certified Java Programmer http://www.joshlong.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tapestry 4.1 to send email
If you are already using Spring, it's dead simple with its JavaMailSender bean. Kalle On 3/8/07, Stephane Decleire [EMAIL PROTECTED] wrote: Hi, I would like to add a functionnality to our application to send a user his password when he has forgotten it. I would prefer to implement it using a Tapestry page to format a good looking mail. So i need to send the Tapestry page by mail instead of rendering it to the user. I've tried to implement this by using the library tapestry-email-0.1.0 posted on this list by Henri Dupre but it seems not to work in Tap 4.1. Has anybody already found a straitforward solution to this ? Thanks in advance. -- Stéphane
serve html from packaged component?
I've just finished wrapping this rich text component from Kevin Roth http://www.kevinroth.com/rte/ and I have it working nicely as a drop-in tapestry component (assuming correct installation into a project). The final step is to put it in it's own component package for easy sharing across projects. The only concern I have is that the component needs access to 4 html files, which it uses to show a color picker, for instance, and which it accesses through some obfuscated and compressed javascript. So while this is fine when the files are simply placed in the webapp dir of the main app, how can it gain access to them when they're packaged into a component jar? Another way of asking is: what is the tapestry URL to an html file packaged in a component jar? I've been trying to get the URL to say, Table.html in the contrib package as an example. Thanks, J -- Julian Wood [EMAIL PROTECTED] Software Engineer Teaching Learning Centre University of Calgary http://tlc.ucalgary.ca
Re: serve html from packaged component?
http://tapestry.apache.org/tapestry4.1/components/link/pagelink.html See the namespace attribute On 3/8/07, Julian Wood [EMAIL PROTECTED] wrote: I've just finished wrapping this rich text component from Kevin Roth http://www.kevinroth.com/rte/ and I have it working nicely as a drop-in tapestry component (assuming correct installation into a project). The final step is to put it in it's own component package for easy sharing across projects. The only concern I have is that the component needs access to 4 html files, which it uses to show a color picker, for instance, and which it accesses through some obfuscated and compressed javascript. So while this is fine when the files are simply placed in the webapp dir of the main app, how can it gain access to them when they're packaged into a component jar? Another way of asking is: what is the tapestry URL to an html file packaged in a component jar? I've been trying to get the URL to say, Table.html in the contrib package as an example. Thanks, J -- Julian Wood [EMAIL PROTECTED] Software Engineer Teaching Learning Centre University of Calgary http://tlc.ucalgary.ca -- Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr Tapestry / Tacos developer Open Source / JEE Consulting
Re: Tapestry 4.1 to send email
Have you looked at http://wiki.apache.org/tapestry/SendingHtmlEmailWithTap ? It describes a way to do that in Tapestry 4.1 Stephane Decleire wrote: Hi, I would like to add a functionnality to our application to send a user his password when he has forgotten it. I would prefer to implement it using a Tapestry page to format a good looking mail. So i need to send the Tapestry page by mail instead of rendering it to the user. I've tried to implement this by using the library tapestry-email-0.1.0 posted on this list by Henri Dupre but it seems not to work in Tap 4.1. Has anybody already found a straitforward solution to this ? Thanks in advance. -- Stéphane
RE: Autocompleter in 4.1.2
Jesse, This problem has to do with the same problem I emailed about a few days ago that components nested within a dialog aren't updating. I finally boiled this down to this: If the autocompleter is not nested within the dialog, it works perfectly. Here is the firebug output: filter US jsontrue updateParts parentRegionChooser In that case, the following Get returns a JSON response with the expected content: http://127.0.0.1:8080/vino/AdminRegions,parentRegionChooser.sdirect?json =trueupdateParts=parentRegionChooserfilter=US However, if the autocompleter is placed within the dialog, the exact same request returns an empty JSON response. This sounds eerily familiar to the problem where if I didn't simply update the entire dialog (instead updating components within in), I was getting empty AJAX responses. I changed my log4j.properities as instructed, but my debug looks like this: RequestCycle [DEBUG] Committing page changes BaseComponent [DEBUG] Begin render AdminRegions RequestCycle [DEBUG] Set attribute org.apache.tapestry.html.Shell to [EMAIL PROTECTED]/$Shell] ComponentEventConnectionWorker [DEBUG] Constructing core service implementation for service tapestry.render.ComponentEventConnectionWorker ComponentEventConnectionWorker [DEBUG] Autowired property classResolver to [EMAIL PROTECTED] ComponentEventConnectionWorker [DEBUG] Set property eventInvoker to SingletonProxy for tapestry.event.EventInvoker(org.apache.tapestry.internal.event.IComponen tEventInvoker) ComponentEventConnectionWorker [DEBUG] Set property eventEngine to SingletonProxy for tapestry.event.DirectEvent(org.apache.tapestry.engine.IEngineService) ComponentEventConnectionWorker [DEBUG] Set property componentScript to /org/apache/tapestry/ComponentEvent.script ComponentEventConnectionWorker [DEBUG] Set property widgetScript to /org/apache/tapestry/dojo/html/WidgetEvent.script ComponentEventConnectionWorker [DEBUG] Set property elementScript to /org/apache/tapestry/html/ElementEvent.script ComponentEventConnectionWorker [DEBUG] Set property scriptSource to SingletonProxy for tapestry.script.ScriptSource(org.apache.tapestry.engine.IScriptSource) RequestCycle [DEBUG] Set attribute org.apache.tapestry.Form to [EMAIL PROTECTED]/mainForm] BeanProvider [DEBUG] getBean(defaultDelegate) BeanProvider [DEBUG] Instantiating instance of org.apache.tapestry.valid.ValidationDelegate RequestCycle [DEBUG] Set attribute org.apache.tapestry.active-link-component to [EMAIL PROTECTED]/$DirectLink] RequestCycle [DEBUG] Removing attribute org.apache.tapestry.active-link-component ResponseBuilder [DEBUG] BEGIN isDynamic() ResponseBuilder [DEBUG] END isDynamic() [true] ResponseBuilder [DEBUG] BEGIN contains([EMAIL PROTECTED]/$For]) ResponseBuilder [DEBUG] END contains() [false] IfBean [DEBUG] Condition was true so rendering [EMAIL PROTECTED]/$If] RequestCycle [DEBUG] Set attribute org.apache.tapestry.active-link-component to [EMAIL PROTECTED]/$DirectLink_0] RequestCycle [DEBUG] Set attribute unique classpath:/org/apache/tapestry/link/DirectLink.script, line 10, column 13 to true RequestCycle [DEBUG] Removing attribute org.apache.tapestry.active-link-component RequestCycle [DEBUG] Set attribute org.apache.tapestry.active-link-component to [EMAIL PROTECTED]/$DirectLink_1] RequestCycle [DEBUG] Removing attribute org.apache.tapestry.active-link-component RequestCycle [DEBUG] Set attribute org.mb.tapestry.base.IfValue to true ResponseBuilder [DEBUG] BEGIN isDynamic() ResponseBuilder [DEBUG] END isDynamic() [true] ResponseBuilder [DEBUG] BEGIN contains([EMAIL PROTECTED]/$For]) ResponseBuilder [DEBUG] END contains() [false] IfBean [DEBUG] Condition was true so rendering [EMAIL PROTECTED]/$If] RequestCycle [DEBUG] Set attribute org.apache.tapestry.active-link-component to [EMAIL PROTECTED]/$DirectLink_0] RequestCycle [DEBUG] Removing attribute org.apache.tapestry.active-link-component RequestCycle [DEBUG] Set attribute org.apache.tapestry.active-link-component to [EMAIL PROTECTED]/$DirectLink_1] RequestCycle [DEBUG] Removing attribute org.apache.tapestry.active-link-component RequestCycle [DEBUG] Set attribute org.mb.tapestry.base.IfValue to true ResponseBuilder [DEBUG] BEGIN isDynamic() ResponseBuilder [DEBUG] END isDynamic() [true] ResponseBuilder [DEBUG] BEGIN contains([EMAIL PROTECTED]/$For]) ResponseBuilder [DEBUG] END contains() [false] IfBean [DEBUG] Condition was true so rendering [EMAIL PROTECTED]/$If] RequestCycle [DEBUG] Set attribute org.apache.tapestry.active-link-component to [EMAIL PROTECTED]/$DirectLink_0] RequestCycle [DEBUG] Removing attribute org.apache.tapestry.active-link-component RequestCycle [DEBUG] Set attribute org.apache.tapestry.active-link-component to [EMAIL PROTECTED]/$DirectLink_1] RequestCycle [DEBUG] Removing attribute org.apache.tapestry.active-link-component RequestCycle [DEBUG] Set attribute org.mb.tapestry.base.IfValue to true ResponseBuilder [DEBUG] BEGIN isDynamic() ResponseBuilder [DEBUG] END isDynamic() [true]
Accessing EJB3s via annotations?
Hi *, in Suns EJB tutorials all EJB calls are made via annotations like so: @EJB private MyBeanInterface myBean; . . void someMethod() { myBean.callEJBMethod(); } . . In Tapestry (4.0.2) Page and Component classes this annotation does not seem to work (NullPointerException) although it gives no compiler errors or anything like that. Can someone tell me why it does not work this way? How can I efficiently access EJB3s via their local interface from a tapestry application? The problem is that glassfish supports only remote interfaces when using JNDI lookup. But I would rather like to use local interfaces as this should be faster. Thank you very much for your help... Regards, Bastian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Accessing EJB3s via annotations?
Well tapestry and EJB3 are two very different animals. The @EJB annotation works /_within/_ an EJB component (EJB stateless/stateful session bean) because the EJB3 container is in control of your EJB components (you probably annotated it with @Stateless of @Stateful) and thus injects the referenced EJB3 element into your component (behind the scenes) before you get hold of it. Since tapestry is not an EJB container (and likewise EJB is not a tapestry container) there is no way for tapestry to know what the annotation @EJB means and it is ignored. If you really wanted to, I suspect you may be able to write a custom enhancement worker (I think thats what they call them?) which inspects tapestry components (pages etc) for ejb3 annotations, injecting the appropriate references - but that would be up to you. Hope that helps Bastian Voigt wrote: Hi *, in Suns EJB tutorials all EJB calls are made via annotations like so: @EJB private MyBeanInterface myBean; . . void someMethod() { myBean.callEJBMethod(); } . . In Tapestry (4.0.2) Page and Component classes this annotation does not seem to work (NullPointerException) although it gives no compiler errors or anything like that. Can someone tell me why it does not work this way? How can I efficiently access EJB3s via their local interface from a tapestry application? The problem is that glassfish supports only remote interfaces when using JNDI lookup. But I would rather like to use local interfaces as this should be faster. Thank you very much for your help... Regards, Bastian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Justin Walsh http://www.ewage.co.za
Re: Accessing EJB3s via annotations?
Justin Walsh schrieb: Well tapestry and EJB3 are two very different animals. The @EJB annotation works /_within/_ an EJB component (EJB stateless/stateful session bean) because the EJB3 container is in control of your EJB components (you probably annotated it with @Stateless of @Stateful) and thus injects the referenced EJB3 element into your component (behind the scenes) before you get hold of it. Well, that's not all there is to @EJB annotations. They also work in web applications, e.g. when used in servlet classes. If you really wanted to, I suspect you may be able to write a custom enhancement worker (I think thats what they call them?) which inspects tapestry components (pages etc) for ejb3 annotations, injecting the appropriate references - but that would be up to you. Maybe this is what I need. Unfortunately I am not very familiar with annotation workers and especially how to inject the appropriate reference. Where can I start? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Accessing EJB3s via annotations?
As an ugly work-around, you could define dumb servlets who would store their EJB references (the value stored into the field) into a ServletContext using a well-known name. The issue here is that the servlet spec wants to run the world from a very limited view of what an application is (for them, application == servlet). Tapestry pages and components, even in T5, are not servlets and not subject to special treatment by the servlet class loader. You might want to look into your server (JBoss, most likely) and see if there's a way to go beyond the normal specification and let the container do its magic on additional classes, such as Tapestry pages and components. On 3/8/07, Bastian Voigt [EMAIL PROTECTED] wrote: Justin Walsh schrieb: Well tapestry and EJB3 are two very different animals. The @EJB annotation works /_within/_ an EJB component (EJB stateless/stateful session bean) because the EJB3 container is in control of your EJB components (you probably annotated it with @Stateless of @Stateful) and thus injects the referenced EJB3 element into your component (behind the scenes) before you get hold of it. Well, that's not all there is to @EJB annotations. They also work in web applications, e.g. when used in servlet classes. If you really wanted to, I suspect you may be able to write a custom enhancement worker (I think thats what they call them?) which inspects tapestry components (pages etc) for ejb3 annotations, injecting the appropriate references - but that would be up to you. Maybe this is what I need. Unfortunately I am not very familiar with annotation workers and especially how to inject the appropriate reference. Where can I start? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Howard M. Lewis Ship TWD Consulting, Inc. Independent J2EE / Open-Source Java Consultant Creator and PMC Chair, Apache Tapestry Creator, Apache HiveMind Professional Tapestry training, mentoring, support and project work. http://howardlewisship.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
T5 Upload component?
How do we use input type=file in T5? Is this functionality implemented yet? -- Peter Beshai Pure Mathematics/Computer Science Student University of Waterloo
Re: Autocompleter in 4.1.2
I'm not ignoring this, just ran out of steam last night and was too busy with $$ work to get to it today.. Andy pointed out the problem in a previous thread - AbstractWidget. I can't figure out what I was doing / thinking at the time but the whole point of ResponseBuilder was to eliminate those kinds of if(condition) checks.Ehh..So just bad design on my part... I've figured out why I did it originally and have taken steps to fix it properly in the actual culprit but will still need to tread carefully as these changes are delicate wrt widgets and such ... So...Almost done, I'm pretty sure a fix will be out tomorrow but I don't know when. On 3/8/07, Leffel, Daniel [EMAIL PROTECTED] wrote: Jesse, This problem has to do with the same problem I emailed about a few days ago that components nested within a dialog aren't updating. I finally boiled this down to this: If the autocompleter is not nested within the dialog, it works perfectly. Here is the firebug output: filter US jsontrue updateParts parentRegionChooser snipped -- Jesse Kuhnert Tapestry/Dojo team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Autocompleter in 4.1.2
Ok. No worries/need to rush on my account. I just was trying to figure out if the problem was on my end or not. Now that I know to wait, happy to do so! :) Thank you so much for your hard work. I know I speak for a lot of people when I say that your work is appreciated. -Original Message- From: Jesse Kuhnert [mailto:[EMAIL PROTECTED] Sent: Thu 3/8/2007 8:56 PM To: Tapestry users Subject: Re: Autocompleter in 4.1.2 I'm not ignoring this, just ran out of steam last night and was too busy with $$ work to get to it today.. Andy pointed out the problem in a previous thread - AbstractWidget. I can't figure out what I was doing / thinking at the time but the whole point of ResponseBuilder was to eliminate those kinds of if(condition) checks.Ehh..So just bad design on my part... I've figured out why I did it originally and have taken steps to fix it properly in the actual culprit but will still need to tread carefully as these changes are delicate wrt widgets and such ... So...Almost done, I'm pretty sure a fix will be out tomorrow but I don't know when. On 3/8/07, Leffel, Daniel [EMAIL PROTECTED] wrote: Jesse, This problem has to do with the same problem I emailed about a few days ago that components nested within a dialog aren't updating. I finally boiled this down to this: If the autocompleter is not nested within the dialog, it works perfectly. Here is the firebug output: filter US jsontrue updateParts parentRegionChooser snipped -- Jesse Kuhnert Tapestry/Dojo team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[T5]persist=client ?
hi How to persist data on client? Thanks Jun Tsai -- Welcome to China Java Users Group(CNJUG). http://cnjug.dev.java.net
Re: Tap 4.0.3 HttpSession and WebSession
Hi Miguel, It's rather strange, what do you mean by not working? Aren't they injected? They are empty? What about restart service? You can try to post your hivemodule.xml part where you inject Session/Response services into your pages/services. Renat On 07/03/07, Miguel Angel Hernández [EMAIL PROTECTED] wrote: Renat Thanks a lot, Unfortunately I've already tried those... but it's not working. I'm using Geronimo as AppServer... maybe it's the configuration of my realm or something... I'll make you know if I find out what is it. regards, migs On 3/6/07, Renat Zubairov [EMAIL PROTECTED] wrote: You can try to use Restart service. It should be pretty simple to call a restart service via service link. Otherwise you can have a look to the http://tapestry.apache.org/tapestry4/tapestry/hivedocs/module/tapestry.globals.html For example you can get a request injected to your Hivemind services. Or via WebRequest you will get a WebSession http://tapestry.apache.org/tapestry4/tapestry/apidocs/org/apache/tapestry/web/WebRequest.html#getSession(boolean) There you will find exactly what you are looking for :) http://tapestry.apache.org/tapestry4/tapestry/apidocs/org/apache/tapestry/web/WebSession.html#invalidate() On 06/03/07, Miguel Angel Hernández [EMAIL PROTECTED] wrote: Hi all, Anybody knows how I can access the HttpSession from tapestry... I found RequestCycle: getRequestContext():getSession()... but its deprecated. I need to invalidate the session in order to logout from JAAS realm, I've tried WebSession():invalidate() but it doesn't work :( -- Best regards, Renat Zubairov -- Best regards, Renat Zubairov
Library error - component in component
I made project and two libraries. I referenced two libraries in .application. What I tryed now is to use one component from one library in another (both are referenced in application), and I allways get error: Library 'xxx' not found in namespace 'yyy'. I put xxx:component and yyy:component in properties where I use those components. Any help with this? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: Library error - component in component
i am doing this too without any problem. did you reference the nested library in your library-specification? i have something like this: - lib A component A - lib B referencing lib A component B using A - application C referencing A(dont know if this is necessary) B component C using B -Ursprüngliche Nachricht- Von: news [mailto:[EMAIL PROTECTED] Im Auftrag von Tomic Mirko Gesendet: Donnerstag, 8. März 2007 16:40 An: users@tapestry.apache.org Betreff: Library error - component in component I made project and two libraries. I referenced two libraries in .application. What I tryed now is to use one component from one library in another (both are referenced in application), and I allways get error: Library 'xxx' not found in namespace 'yyy'. I put xxx:component and yyy:component in properties where I use those components. Any help with this? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]