[tacos] Problems with DirtyFormWarning and @LinkSubmit
A UI-Design change I had to turn @Submit into @LinkSubmit. After that, I got warnings form @tacos:DirtyFormWarning when the user hits the save-button. I figured that would be due to @LinkSubmit setting it's name on a hidden field to indicate the link that submitted the form. So I added a script to my save-button component that does something like document.forms['${formName}']._linkSubmit.value = '${saveId}'; That worked in Gecko but not in our old friend IE-6 :((( Any ideas would be greatly appreciated Marcus PS: With this App I'm still on tap3, but the code in 4 looks pretty similar as far as I've seen. PPS: Anybody already adapted DirtyFormWarning to work with multiple Forms per Page? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: ServletContext
This works for apache dbcp ... I hope it's similar for proxool _ Default Config für Testumgebung > -Original Message- > From: Rui Pacheco [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 16, 2006 3:54 PM > To: Tapestry users > Subject: Re: ServletContext > > > I dont doubt HiveMind would be the right way to go, but the > learning curve > seems to be a bit too steep for my timeframe. > Can I insist on an example using ServletContextListener, ie, > something that > being all in Java would be more in my reach? > > On the other hand, if someone has configured a connection pool (any or > Proxool in particular) using HiveMind and is willing to share > the example, I > would be more than gratefull. > > > On 5/16/06, Hugo Palma <[EMAIL PROTECTED]> wrote: > > > > In that case, why don't you configure Proxool as a service in you > > hivemodule.xml file ? That's where your service > configuration should take > > place. > > > > My ServletContextListener suggestion usually works well > when you have a > > properties bundle that you want to place outside the war so > that it can be > > easily changed. In your case i think the most appropriate is to use > > hivemind > > configurations to do the job. > > Am i making sense here ? > > > > On 5/16/06, Rui Pacheco <[EMAIL PROTECTED]> wrote: > > > > > > Ok... > > > The properties file holds configuration data for Proxool, > the connection > > > pool I'm using with my application. > > > > > > On 5/16/06, James Carman <[EMAIL PROTECTED]> wrote: > > > > > > > > First of all, what does that properties file contain? You know, > > > HiveMind > > > > is > > > > a configuration microkernel, so you can do a lot of > configuration with > > > > HiveMind. > > > > > > > > -Original Message- > > > > From: Rui Pacheco [mailto:[EMAIL PROTECTED] > > > > Sent: Tuesday, May 16, 2006 9:02 AM > > > > To: Tapestry users > > > > Subject: Re: ServletContext > > > > > > > > Could you or someone else give me an example on how to do that? > > > > > > > > On 5/16/06, Hugo Palma <[EMAIL PROTECTED]> wrote: > > > > > > > > > > I would implement such a feature using a > ServletContextListener. > > > > Something > > > > > like the HiveUtils SystemPropertyInitListener class. > > > > > > > > > > Cheers > > > > > > > > > > Hugo > > > > > > > > > > On 5/16/06, Rui Pacheco <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > Hi all > > > > > > > > > > > > I was planning on storing a properties file inside > my WEB-INF > > > > directory > > > > > > and > > > > > > then read it using getResourceAsStream from > ServletContext, but > > > > > apparently > > > > > > I > > > > > > can't access the ServletContext from inside Tapestry. > > > > > > Is there another way to read the properties file or > how to get to > > my > > > > > > ServletContext? > > > > > > > > > > > > -- > > > > > > Cumprimentos, > > > > > > Rui Pacheco > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > Cumprimentos, > > > > Rui Pacheco > > > > > > > > > > > > > > > > > - > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > -- > > > Cumprimentos, > > > Rui Pacheco > > > > > > > > > > > > > -- > Cumprimentos, > Rui Pacheco > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Hos to custom CSS in Contrib:Table for just one row
.html == // css will make the whole tag have "center" align jwcid="[EMAIL PROTECTED]"> // but, how to not implemented it in this tag and // change it align to "left" (only this block statement) ? .page === .css .distribution table { text-decoration:none; text-align: left; } .distribution th { text-align: center; background-color: #C0E3FA; } .distribusi td { text-align: center; }
perform Post on external link
I have a shopping cart, and on a page I need two buttons, one to Pay with Credit Card, which goes to my PaymentInfo page, and then another button Pay with PayPal, which will do a http post to the paypal pages. Which component should I be using for the PayPal button, and how do I redirect the user to that paypal.com page, needing to do a POST? Thanks in advance, Craig ps. using tap 4 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tapestry to generate mails ?
I'm *very* interested in seeing such a service. I want to keep in line with using all of tapestry's i8n and be able to send multi-part mime messages which have html and plain text. Please do put something up on the wiki and let us all know. goody goody. -mike Henri Dupre wrote: I don't agree on this... Also I don't see really differences between "static" email and interactive HTML. In the emails we generate, there is lots of dynamic content although there is no form handling, we use the same components plus many other tapestry features. Velocity is fine, but not when you start to have complex emails. What makes tapestry great for this task are the templates. In addition, I rather not add another technology to our project, Velocity is simple, but just *more* to learn and manage for our other developers. And I'll give you a very usefull usage of sending html pages: for exceptions, we send the tapestry error page by email (in tapestry 3) while we give to the client a friendly error page. Logging is fine but it doesn't give you all the detailed info of an error. I've been working on an EmailService for T4, you can inject it in any page and the interface is quite simple. It takes a list of properties (for email headers, from/to/subject), a page (String or object) and eventually an object map if you want to call the external interface of your page. It is working 90% now and it is relying on a fresh request cycle, so it will be possible to thread the whole thing. Getting a fresh request cycle requires quite a bit of hacking, I may need to write a specific engine object. I can post the code on the wiki once I'm done if anyone is interested. On 5/3/06, James Carman <[EMAIL PROTECTED]> wrote: Tapestry is for creating interactive HTML, not a static HTML-formatted email (IMHO). I think you're trying to use an elephant gun to hunt squirrel here. Velocity is perfect for generating email text. You can still use your architecture, you just put some helper beans in the VelocityContext. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 03, 2006 6:17 PM To: Tapestry users; [EMAIL PROTECTED] Subject: Re: Tapestry to generate mails ? I had this related link over at my delicious ( http://del.icio.us/andyhot/tapestry ). It's entitled 'Sending Tapestry-generated email with Spring' and it's at: http://www.behindthesite.com/blog/C1931765677/E2094832857/index.html >From Stephane Decleire <[EMAIL PROTECTED]>: > Hi, > > I would like to know if anybody use Tapestry to generate its email ? > Indeed, generate mails based on templates is very similar to generate > HTML pages ... > As an exemple, i would like to implement the famous "I've forgot my > password" by sending the user an email based on a template where the > password should be inserted. > I would be very interested in a Tapestry approach to do this in order to > reuse all of my existent architecture (Tapestry/Spring/Hibernate). > > Thanks in advance. > > -- > Stιphane Decleire > > 05 56 57 99 20 > 06 63 78 69 06 > > -- - 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] -- Thanks, Henri. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Why .page and not .xml for the template ?
Yes,IMO it would be better if those files were called *.jwc.xml and *.page.xml in this case IDEs would not need additional configuration to recognize the files. Hibernate uses the approach with hbm.xml and it works wery well. Konstantin Ignatyev PS: If this is a typical day on planet earth, humans will add fifteen million tons of carbon to the atmosphere, destroy 115 square miles of tropical rainforest, create seventy-two miles of desert, eliminate between forty to one hundred species, erode seventy-one million tons of topsoil, add 2,700 tons of CFCs to the stratosphere, and increase their population by 263,000 Bowers, C.A. The Culture of Denial: Why the Environmental Movement Needs a Strategy for Reforming Universities and Public Schools. New York: State University of New York Press, 1997: (4) (5) (p.206) - Original Message From: ZedroS Schwart <[EMAIL PROTECTED]> To: users@tapestry.apache.org Sent: Tuesday, May 16, 2006 2:22:52 PM Subject: Why .page and not .xml for the template ? Hi all Just a question which popped up recently in my mind : why are the templates pages named .page and not .xml ? It's not like another .xml would have annoyed anyone, is it ? On the other hand, .xml files would be automatically detected and dealed accordingly but all tools, whereas .page are less well known... Do you have any idea on the topic ? Thanks in advance ZedroS
Why .page and not .xml for the template ?
Hi all Just a question which popped up recently in my mind : why are the templates pages named .page and not .xml ? It's not like another .xml would have annoyed anyone, is it ? On the other hand, .xml files would be automatically detected and dealed accordingly but all tools, whereas .page are less well known... Do you have any idea on the topic ? Thanks in advance ZedroS
RE: Passing a byte array into a component???
Geoff, THANKS that worked great! regards, Mark -Original Message- From: Geoff Longman [mailto:[EMAIL PROTECTED] Sent: Tue 5/16/2006 1:54 PM To: Tapestry users Subject: Re: Passing a byte array into a component??? public abstract IBinding getByteArrayBinding(); public (or private up to you) byte [] getByteArray() { IBinding binding = getByteArrayBinding(); if (binding == null) return null; return (byte[])binding.getObject(); } On 5/16/06, Geoff Longman <[EMAIL PROTECTED]> wrote: > A byte array is an Object :-) > > geoff > > On 5/16/06, Mark Stang <[EMAIL PROTECTED]> wrote: > > Geoff, > > T3, but custom wants an object right? > > > > thanks, > > > > Mark > > > > > > -Original Message- > > From: Geoff Longman [mailto:[EMAIL PROTECTED] > > Sent: Tue 5/16/2006 1:19 PM > > To: Tapestry users > > Subject: Re: Passing a byte array into a component??? > > > > T3? > > > > You can always use 'custom' > > > > Geoff > > > > On 5/16/06, Mark Stang <[EMAIL PROTECTED]> wrote: > > > All, > > > I am trying to pass in a byte[] into a component. However, I only seem > > > to have "in" available. And it seems to be null when I go looking later. > > > > > > thoughts? > > > > > > thanks, > > > > > > Mark > > > > > > > > > > > > -- > > The Spindle guy. http://spindle.sf.net > > Blog: http://jroller.com/page/glongman > > Other interests: http://www.squidoo.com/spaceelevator/ > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > -- > The Spindle guy. http://spindle.sf.net > Blog: http://jroller.com/page/glongman > Other interests: http://www.squidoo.com/spaceelevator/ > -- The Spindle guy. http://spindle.sf.net Blog: http://jroller.com/page/glongman Other interests: http://www.squidoo.com/spaceelevator/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Testing and development speed of ajax in tapestry
I do have an answer for this one Dan, but would prefer to just write up a wiki page later as I think it will probably come up again :) On 5/16/06, Dan Adams <[EMAIL PROTECTED]> wrote: I'm considering putting some ajax stuff into a tapestry application we are building and I'd like to pick peoples brains a little: - How testable is it? Can you use htmlunit at all? - How have you found the development speed to be? -- Dan Adams Software Engineer Interactive Factory 617.235.5857 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Jesse Kuhnert Tacos/Tapestry, team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind.
Re: Passing a byte array into a component???
public abstract IBinding getByteArrayBinding(); public (or private up to you) byte [] getByteArray() { IBinding binding = getByteArrayBinding(); if (binding == null) return null; return (byte[])binding.getObject(); } On 5/16/06, Geoff Longman <[EMAIL PROTECTED]> wrote: A byte array is an Object :-) geoff On 5/16/06, Mark Stang <[EMAIL PROTECTED]> wrote: > Geoff, > T3, but custom wants an object right? > > thanks, > > Mark > > > -Original Message- > From: Geoff Longman [mailto:[EMAIL PROTECTED] > Sent: Tue 5/16/2006 1:19 PM > To: Tapestry users > Subject: Re: Passing a byte array into a component??? > > T3? > > You can always use 'custom' > > Geoff > > On 5/16/06, Mark Stang <[EMAIL PROTECTED]> wrote: > > All, > > I am trying to pass in a byte[] into a component. However, I only seem to have "in" available. And it seems to be null when I go looking later. > > > > thoughts? > > > > thanks, > > > > Mark > > > > > > > -- > The Spindle guy. http://spindle.sf.net > Blog: http://jroller.com/page/glongman > Other interests: http://www.squidoo.com/spaceelevator/ > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > -- The Spindle guy. http://spindle.sf.net Blog: http://jroller.com/page/glongman Other interests: http://www.squidoo.com/spaceelevator/ -- The Spindle guy. http://spindle.sf.net Blog: http://jroller.com/page/glongman Other interests: http://www.squidoo.com/spaceelevator/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Passing a byte array into a component???
A byte array is an Object :-) geoff On 5/16/06, Mark Stang <[EMAIL PROTECTED]> wrote: Geoff, T3, but custom wants an object right? thanks, Mark -Original Message- From: Geoff Longman [mailto:[EMAIL PROTECTED] Sent: Tue 5/16/2006 1:19 PM To: Tapestry users Subject: Re: Passing a byte array into a component??? T3? You can always use 'custom' Geoff On 5/16/06, Mark Stang <[EMAIL PROTECTED]> wrote: > All, > I am trying to pass in a byte[] into a component. However, I only seem to have "in" available. And it seems to be null when I go looking later. > > thoughts? > > thanks, > > Mark > > -- The Spindle guy. http://spindle.sf.net Blog: http://jroller.com/page/glongman Other interests: http://www.squidoo.com/spaceelevator/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- The Spindle guy. http://spindle.sf.net Blog: http://jroller.com/page/glongman Other interests: http://www.squidoo.com/spaceelevator/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Content Type
Should i put this code on the PageBeginRender method? Hermann Yesid Redondo Eslava Ingeniería de Sistemas IT-GROUP -- Original Message --- From: Andreas Bulling <[EMAIL PROTECTED]> To: Tapestry users Sent: Tue, 16 May 2006 17:54:05 +0200 Subject: Re: Content Type > On 16. Mai 2006 - 10:21:13, yesidredondo wrote: > | Can anyone tell me how to put the content type of a page in > tapestry, if i | want a page to be of xml or xls format? > > HttpServletResponse response = getRequestCycle().getRequestContext() > .getResponse(); try { response.setContentType("text/xml"); > } > catch (IOException e) { > e.printStackTrace();} > > Hope this helps, > Andreas > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --- End of Original Message --- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Passing a byte array into a component???
Geoff, T3, but custom wants an object right? thanks, Mark -Original Message- From: Geoff Longman [mailto:[EMAIL PROTECTED] Sent: Tue 5/16/2006 1:19 PM To: Tapestry users Subject: Re: Passing a byte array into a component??? T3? You can always use 'custom' Geoff On 5/16/06, Mark Stang <[EMAIL PROTECTED]> wrote: > All, > I am trying to pass in a byte[] into a component. However, I only seem to > have "in" available. And it seems to be null when I go looking later. > > thoughts? > > thanks, > > Mark > > -- The Spindle guy. http://spindle.sf.net Blog: http://jroller.com/page/glongman Other interests: http://www.squidoo.com/spaceelevator/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Passing a byte array into a component???
T3? You can always use 'custom' Geoff On 5/16/06, Mark Stang <[EMAIL PROTECTED]> wrote: All, I am trying to pass in a byte[] into a component. However, I only seem to have "in" available. And it seems to be null when I go looking later. thoughts? thanks, Mark -- The Spindle guy. http://spindle.sf.net Blog: http://jroller.com/page/glongman Other interests: http://www.squidoo.com/spaceelevator/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Passing a byte array into a component???
All, I am trying to pass in a byte[] into a component. However, I only seem to have "in" available. And it seems to be null when I go looking later. thoughts? thanks, Mark
RE: Tapernate configuration questions
Correct. For your other classes, if you wish them to have DAOs injected into them, then you'll have to have HiveMind manage them. -Original Message- From: Andreas Bulling [mailto:[EMAIL PROTECTED] On Behalf Of Andreas Bulling Sent: Tuesday, May 16, 2006 2:19 PM To: Tapestry users Subject: Re: Tapernate configuration questions On 16. Mai 2006 - 13:54:01, Chris Chiappone wrote: | Ok, it appears most of my migration to Tapernate seems to be working well. | My question is somewhat unrealated to tapernate but maybe someone could | guide me in the right direction. For pages and components that can inject | the Dao seem to work like a charm. The problem is I have a handfull of | classes that are not pages or components that instantiate the Dao in them. | Since these are now configured via tapernate the session is null and cannot | be aquired by HibernateDaoSupport. So my question is it possible to inject | the dao's into other objects? I think you have to make HiveMind services out of them - please correct me if I'm wrong ;) - 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: Spindle - Move implicit to spec.
Refactor will not enable if: 1. tag has no valid jwcid attribute 2. an attribute has an unclosed quote 3. an attribute appears more than once in the tag 4. an attribute has no value (no equals + quotes). Geoff On 5/16/06, Joel Trunick <[EMAIL PROTECTED]> wrote: I can't get the Refactor - move implicit spec. to enable in Spindle. Is there some trick? I'm using Spindle 3.2.14 under Eclipse 3.1.1. Joel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- The Spindle guy. http://spindle.sf.net Blog: http://jroller.com/page/glongman Other interests: http://www.squidoo.com/spaceelevator/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tapernate configuration questions
On 16. Mai 2006 - 13:54:01, Chris Chiappone wrote: | Ok, it appears most of my migration to Tapernate seems to be working well. | My question is somewhat unrealated to tapernate but maybe someone could | guide me in the right direction. For pages and components that can inject | the Dao seem to work like a charm. The problem is I have a handfull of | classes that are not pages or components that instantiate the Dao in them. | Since these are now configured via tapernate the session is null and cannot | be aquired by HibernateDaoSupport. So my question is it possible to inject | the dao's into other objects? I think you have to make HiveMind services out of them - please correct me if I'm wrong ;) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Testing and development speed of ajax in tapestry
I'm considering putting some ajax stuff into a tapestry application we are building and I'd like to pick peoples brains a little: - How testable is it? Can you use htmlunit at all? - How have you found the development speed to be? -- Dan Adams Software Engineer Interactive Factory 617.235.5857 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: I do not like the new tapestry logo
Unicorn? Peugot symbol? - Original Message - From: "Peter Svensson" <[EMAIL PROTECTED]> To: "Tapestry users" Sent: Monday, May 15, 2006 6:41 AM Subject: Re: I do not like the new tapestry logo Hmm. The old one wasn't too good, but the new one feels more .. feminine in a way. Also more corporate. More stylish, to be sure. I'm undecided. Cheers, PS On 5/15/06, liigo <[EMAIL PROTECTED]> wrote: I'm sorry if I hurt someone. but i really like the old tapestry logo than the new one. maybe we need redesign another much better one. the new tapestry logo: http://svn.apache.org/viewcvs/tapestry/tapestry-logo/tapestry_logo_200x290.png?rev=406173&view=auto the old one: http://jakarta.apache.org/tapestry/images/Tapestry-Banner.png - 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]
Spindle - Move implicit to spec.
I can't get the Refactor - move implicit spec. to enable in Spindle. Is there some trick? I'm using Spindle 3.2.14 under Eclipse 3.1.1. Joel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tapernate configuration questions
Ok, it appears most of my migration to Tapernate seems to be working well. My question is somewhat unrealated to tapernate but maybe someone could guide me in the right direction. For pages and components that can inject the Dao seem to work like a charm. The problem is I have a handfull of classes that are not pages or components that instantiate the Dao in them. Since these are now configured via tapernate the session is null and cannot be aquired by HibernateDaoSupport. So my question is it possible to inject the dao's into other objects? Thanks. On 5/16/06, Chris Chiappone <[EMAIL PROTECTED]> wrote: Unfortunately I started this project before hibernate had support for annotations so I'm using the old style mapping files and don't really want to change this until I have some extra time on my hands. I would be a nice feature though. On 5/16/06, James Carman <[EMAIL PROTECTED]> wrote: > > Are you using annotations to define your pojos? If so, you should check > out > the hibernate-apt thing that I use in the example project. It will > automatically generate your hibernate.cfg.xml file by searching your > source > path for all classes with the @Entity annotation. > > -Original Message- > From: Chris Chiappone [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 16, 2006 11:10 AM > To: Tapestry users > Subject: Re: Tapernate configuration questions > > Excellent thanks!! I actually had all the files but the > hibernate.cfg.xml in > WEB-INF/classes when I started with this. Looks like I'll finally be > able > to allow lazy loading with hibernate. I'm hoping to see a major > performance > increase with tapernate. > > > > On 5/16/06, James Carman <[EMAIL PROTECTED] > wrote: > > > > Try moving your xml files into WEB-INF/classes. > > > > > > > > -Original Message- > > From: Chris Chiappone [mailto:[EMAIL PROTECTED] ] > > Sent: Tuesday, May 16, 2006 10:48 AM > > To: Tapestry List > > Subject: Tapernate configuration questions > > > > I am attempting to migrate my application to make use of Tapernate. I > > pulled down the SVN and understand most of the configuration. The > problem > > I > > believe I am having is my application is not mapping my hibernate > > resources. > > > > Here is my Tapernate contribution in hivemind.xml > > > > > > hibernate.cfg.xml > > > > > > > value="jdbc:postgresql://localhost/TrustedAPP"/> > > > > > > > value="thread"/> > > > > > > > > > > > > And here is my hibernate.cfg.xml file: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Currenlty I have hibernate.cfg.xml and all the .hbm.xml files located > in > > /WEB-INF/ of my application. When deploying the app hibernate appears > to > > be > > configured: > > > > 14:33:24,840 INFO [Environment] Hibernate 3.1.2 > > 14:33:24,859 INFO [Environment] hibernate.properties not found > > 14:33:24,889 INFO [Environment] using bytecode reflection optimizer > > 14:33:24,890 INFO [Environment] Bytecode provider name : cglib > > 14:33:24,894 INFO [Environment] using JDK 1.4 java.sql.Timestamphandling > > 14:33:25,156 INFO [Configuration] configuring from resource: > > hibernate.cfg.xml > > 14:33:25,189 INFO [Configuration] Configuration resource: > > hibernate.cfg.xml > > 14:33:25,549 INFO [Configuration] Configured SessionFactory: null > > 14:33:25,852 INFO [C3P0ConnectionProvider] C3P0 using driver: > > org.postgresql.Driver at URL: jdbc:postgresql://localhost/tpp > > 14:33:25,861 INFO [C3P0ConnectionProvider] Connection properties: > > {user=tpp, password=} > > 14:33:25,862 INFO [C3P0ConnectionProvider] autocommit mode: false > > > > > > When I attempt to log into my application I get the following which I > > assume > > is because hibernate hasn't read any of my mapping files: > > > > Unable to process client request: Failure invoking listener method > 'public > > void com.tapp.view.components.NavLogin.formSubmit ( > > org.apache.tapestry.IRequestCycle)' on > > [EMAIL PROTECTED]/border.navLogin]: Users is not mapped [select > u > > from > > Users as u where u.email = :email and u.password = :pass] > > org.apache.hivemind.ApplicationRuntimeException : Failure invoking > listener > > method 'public void com.tapp.view.components.NavLogin.formSubmit( > > org.apache.tapestry.IRequestCycle)' on > > [EMAIL PROTECTED]/border.navLogin]: Users is not mapped [select > u > > from > > Users as u where u.email = :email and u.password = :pass] > > [context:/WEB-INF/Border.jwc, line 32, column 46] > > > > > > Could anyone lead me in the right direction with this configuration? > > Thanks. > > -- > > ~chris > > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] >
Re: Best pratice - CRUD Security - Tapestry 4.0
Sounds great..can't wait to get my hands on that :o) Can't thank you enough for this... On 5/16/06, James Carman <[EMAIL PROTECTED]> wrote: I would probably do it as a generalized HiveMind library first which includes an AcegiInterceptor implementation of some sort. Then, I'd write a tapestry-specific library on top of that that wires itself into Tapestry somehow. -Original Message- From: Hugo Palma [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 16, 2006 12:18 PM To: Tapestry users Subject: Re: Best pratice - CRUD Security - Tapestry 4.0 That would be AWESOME... On 5/16/06, James Carman <[EMAIL PROTECTED]> wrote: > > Well, I did it for the Sprint transaction stuff. I'm sure I can do it for > the Acegi stuff. :-) > > > -Original Message- > From: Hugo Palma [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 16, 2006 12:09 PM > To: Tapestry users > Subject: Re: Best pratice - CRUD Security - Tapestry 4.0 > > I agree that ACEGI fits very nicely with Tapestry. Still, it introduces > two > technologies for the team to learn, ACEGI and Spring. > Having chosen hivemind as the IOC container to use for some projects i > don't > find the option to also use Spring in the same projects a very good one. > If only there was an ACEGI implementation using hivemind IOC ;o). This is > possible as stated here http://www.acegisecurity.org/standalone.html, it > just needs to be donne. > > > On 5/16/06, Brian K. Wallace <[EMAIL PROTECTED]> wrote: > > > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > This is where I stick with ACEGI being unobtrusive. Not discounting any > > other method of doing it at all, but I found that with ACEGI I add a > > hook into "login/logout" pages and there's no other intrusion into my > > Tapestry applications outside the configuration file (aka: no > > "isUserInRole("...")" of any kind. > > > > Again - one size doesn't fit all - especially with security. Take the > > "easiest way for you" as long as it foots the bill and you're usually > > alright. > > > > Lothar Reisinger wrote: > > > It's Tomcat security in combination with a PageValidateListener that > > > solves this problem for me. In each page that needs special security > > > there is a call to request.isUserInRole("..."). If the user isn't > > > allowed, a PageRedirectException is thrown to redirect to an allowed > > > page or to the error page. > > > > > > > > > Carl Pelletier wrote: > > >> Hi everyone, I'm currently building a web site and looking for > > >> documentations on how-to or best practice of implementing Role > > >> security in Tapestry 4.0. > > >> > > >> It`s a Simple CRUD application and we need to give some security to > > >> users. > > >> What the best way of doing it? Using the Tomcat security? Creating my > > >> own? > > >> > > >> Thanks for any help! > > >> > > >> > > >> - > > >> 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] > > > > > > > > > > > > > -BEGIN PGP SIGNATURE- > > Version: GnuPG v1.2.5 (MingW32) > > > > iD8DBQFEafOpaCoPKRow/gARAmlQAKDWEShBV8uLehNby76wH8EwdClD5ACfa2qo > > B/VWA+BF/eB5K+SddhYAgfA= > > =L2q/ > > -END PGP SIGNATURE- > > > > - > > 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] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Best pratice - CRUD Security - Tapestry 4.0
WellWhen I did it I was using my own home-brewed hivemind hibernate service. When a new Session was about to be bound to an incoming thread I would: -) Use the SessionStateManager service to get the incoming users Id information -) Call a stored procedure that set the global per-transaction bound userId attribute -) Give them the Session When the session thread was completed (the hivemind threadDidCleanup() service method), I would then set the global user value back to null. On 5/16/06, Denis McCarthy <[EMAIL PROTECTED]> wrote: Good point Jesse - but wouldn't you then be required to have all your queries wrapped in procedures? I'm interested to know because I'd consider using oracle standard for a new project if we could do something FGAC-esque with Oracle standard (or even express). -Original Message- From: Jesse Kuhnert [mailto:[EMAIL PROTECTED] Sent: 16 May 2006 17:19 To: Tapestry users Subject: Re: Best pratice - CRUD Security - Tapestry 4.0 You don't need oracle fine grained access control to do the same thing. As long as your DB supports the notion of stored procs / global (transaction bound) variables you can do the same exact thing without it. On 5/16/06, Carl Pelletier <[EMAIL PROTECTED]> wrote: > > Unfortunetly, I'm using PostgreSQL. > > Thanks > > Denis McCarthy wrote: > > If you happen to be using oracle enterprise edition I'd highly recommend > > using Acegi in conjunction with Oracle Fine Grained Access Control > (FGAC) > > for database access checking. > > We've got a simple subclass of a datasource that overrides > getConnection() > > and sets the users Oracle context. This keeps the jdbc/hibernate code > very > > clean and ensures that the same security code is enforced even if > someone > > logs in via sql*plus, toad or any other tool. > > Nice. > > > > -Original Message- > > From: Andreas Bulling [mailto:[EMAIL PROTECTED] Behalf Of > > Andreas Bulling > > Sent: 16 May 2006 16:57 > > To: Tapestry users > > Subject: Re: Best pratice - CRUD Security - Tapestry 4.0 > > > > > > On 16. Mai 2006 - 10:45:45, Brian K. Wallace wrote: > > | This is where I stick with ACEGI being unobtrusive. Not discounting > any > > | other method of doing it at all, but I found that with ACEGI I add a > > | hook into "login/logout" pages and there's no other intrusion into my > > | Tapestry applications outside the configuration file (aka: no > > | "isUserInRole("...")" of any kind. > > > > But how is further access for example to the database checked? > > > > Andreas > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > ** > > This email and any files transmitted with it are confidential and/or > privileged and intended solely for the use of the individual or entity to > whom they are addressed. If you are not the intended recipient(s) please > note that any review, distribution, dissemination, disclosure, alteration, > printing, copying, transmission or use of this email and/or any file > transmitted or the information therein is prohibited and may be unlawful. If > you have received this email and any file transmitted with it in error > please notify us by email at [EMAIL PROTECTED] or by telephone at +353 > 66 97 61258 and then delete the email and all copies of it from your system > and destroy any hard copies of the email. > > Please note that any views, opinions or advice contained in this > communication are those of the sending individual and not necessarily those > of FEXCO. Email may be susceptible to data corruption, interception and > unauthorised amendment, and we do not accept liability for any such > corruption, interception or amendment or the consequences thereof. > > FEXCO and each legal entity in the FEXCO group of companies or business > units of FEXCO reserve the right to monitor all email communications through > its networks. This footnote also confirms that this email message has been > swept for viruses. > > www.FEXCO.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] > > -- Jesse Kuhnert Tacos/Tapestry, team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind. ** This email and any files transmitted with it are confidential and/or privileged and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient(s) p
Re: Dynamically-named components
IFormComponent.getClientId() was created specifically to address this. Use "ognl:components.bip.clientId" as Aj suggested. On 5/16/06, Aj Gregory <[EMAIL PROTECTED]> wrote: If the component is an instance of IFormComponent then you can get the id with "ognl:components.bip.clientId". If not then I think the only option is to set a unique id on the component yourself and then call "ognl:components.bip.id"... You can get some help adding uniqueness to an id by using IRequestCycle.getUniqueId("idPrefix") -Aj Jim Steinberger wrote: > Joshua, thanks for your response. > > > I tried: > > > > > > And: > > > > > > In both cases, I got: > bip > bip > bip > > > Let me know if I misunderstood your e-mail, but I was expecting > something like: > bip > bip$0 > bip$1 > > Thanks again, > Jim > > -Original Message- > From: Joshua Long [mailto:[EMAIL PROTECTED] > Sent: Monday, May 01, 2006 1:24 PM > To: Tapestry users > Subject: Re: Dynamically-named components > > On Wed, 2006-04-26 at 14:29 -0400, Jim Steinberger wrote: > > During the lifetime of a loop, the component does resolve under its > given name, thus : > > > > imageReference = "ognl: components.customName" /> > > > so on ech iteration of the for loop, your script does get a reference to > the currently rendering component instance. It then can get and store > the idpath or whatever you please from the component in some javascript > array. Or you could just pass the component reference to some other > rendering component, like you might a block to a renderblock. that also > works... > > hth, > > Joshua > > >> Hello, >> >> >> >> I'm creating components inside a @For component. How can I refer to >> these components from JavaScript? i.e. I have to leave them anonymous >> since there are several of them being created. >> >> >> >> I thought about using the Script component to do this - passing in the >> component as a symbol so I could dynamically query its name -- but I >> have the same problem - I can't pass in the component if I don't know >> its name. >> >> >> >> Thanks, >> >> Jim >> >> > > > - > 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] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Jesse Kuhnert Tacos/Tapestry, team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind.
RE: Best pratice - CRUD Security - Tapestry 4.0
Good point Jesse - but wouldn't you then be required to have all your queries wrapped in procedures? I'm interested to know because I'd consider using oracle standard for a new project if we could do something FGAC-esque with Oracle standard (or even express). -Original Message- From: Jesse Kuhnert [mailto:[EMAIL PROTECTED] Sent: 16 May 2006 17:19 To: Tapestry users Subject: Re: Best pratice - CRUD Security - Tapestry 4.0 You don't need oracle fine grained access control to do the same thing. As long as your DB supports the notion of stored procs / global (transaction bound) variables you can do the same exact thing without it. On 5/16/06, Carl Pelletier <[EMAIL PROTECTED]> wrote: > > Unfortunetly, I'm using PostgreSQL. > > Thanks > > Denis McCarthy wrote: > > If you happen to be using oracle enterprise edition I'd highly recommend > > using Acegi in conjunction with Oracle Fine Grained Access Control > (FGAC) > > for database access checking. > > We've got a simple subclass of a datasource that overrides > getConnection() > > and sets the users Oracle context. This keeps the jdbc/hibernate code > very > > clean and ensures that the same security code is enforced even if > someone > > logs in via sql*plus, toad or any other tool. > > Nice. > > > > -Original Message- > > From: Andreas Bulling [mailto:[EMAIL PROTECTED] Behalf Of > > Andreas Bulling > > Sent: 16 May 2006 16:57 > > To: Tapestry users > > Subject: Re: Best pratice - CRUD Security - Tapestry 4.0 > > > > > > On 16. Mai 2006 - 10:45:45, Brian K. Wallace wrote: > > | This is where I stick with ACEGI being unobtrusive. Not discounting > any > > | other method of doing it at all, but I found that with ACEGI I add a > > | hook into "login/logout" pages and there's no other intrusion into my > > | Tapestry applications outside the configuration file (aka: no > > | "isUserInRole("...")" of any kind. > > > > But how is further access for example to the database checked? > > > > Andreas > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > ** > > This email and any files transmitted with it are confidential and/or > privileged and intended solely for the use of the individual or entity to > whom they are addressed. If you are not the intended recipient(s) please > note that any review, distribution, dissemination, disclosure, alteration, > printing, copying, transmission or use of this email and/or any file > transmitted or the information therein is prohibited and may be unlawful. If > you have received this email and any file transmitted with it in error > please notify us by email at [EMAIL PROTECTED] or by telephone at +353 > 66 97 61258 and then delete the email and all copies of it from your system > and destroy any hard copies of the email. > > Please note that any views, opinions or advice contained in this > communication are those of the sending individual and not necessarily those > of FEXCO. Email may be susceptible to data corruption, interception and > unauthorised amendment, and we do not accept liability for any such > corruption, interception or amendment or the consequences thereof. > > FEXCO and each legal entity in the FEXCO group of companies or business > units of FEXCO reserve the right to monitor all email communications through > its networks. This footnote also confirms that this email message has been > swept for viruses. > > www.FEXCO.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] > > -- Jesse Kuhnert Tacos/Tapestry, team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind. ** This email and any files transmitted with it are confidential and/or privileged and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient(s) please note that any review, distribution, dissemination, disclosure, alteration, printing, copying, transmission or use of this email and/or any file transmitted or the information therein is prohibited and may be unlawful. If you have received this email and any file transmitted with it in error please notify us by email at [EMAIL PROTECTED] or by telephone at +353 66 97 61258 and then delete the email and all copies of it from your system and destroy any hard copies of the email. Please note that any views, opinions or advice c
Re: Best pratice - CRUD Security - Tapestry 4.0
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 And now, the required: Is it done yet? Do you have a demo? ;-) James Carman wrote: > I would probably do it as a generalized HiveMind library first which > includes an AcegiInterceptor implementation of some sort. Then, I'd write a > tapestry-specific library on top of that that wires itself into Tapestry > somehow. > -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.5 (MingW32) iD8DBQFEafwPaCoPKRow/gARAqJXAKDFciANGYx6qYh2yzxOCIBbNnlk4QCfeI53 t9SejcserZfxSnvZ5fbI2yg= =SHiB -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Dynamically-named components
If the component is an instance of IFormComponent then you can get the id with "ognl:components.bip.clientId". If not then I think the only option is to set a unique id on the component yourself and then call "ognl:components.bip.id"... You can get some help adding uniqueness to an id by using IRequestCycle.getUniqueId("idPrefix") -Aj Jim Steinberger wrote: Joshua, thanks for your response. I tried: And: In both cases, I got: bip bip bip Let me know if I misunderstood your e-mail, but I was expecting something like: bip bip$0 bip$1 Thanks again, Jim -Original Message- From: Joshua Long [mailto:[EMAIL PROTECTED] Sent: Monday, May 01, 2006 1:24 PM To: Tapestry users Subject: Re: Dynamically-named components On Wed, 2006-04-26 at 14:29 -0400, Jim Steinberger wrote: During the lifetime of a loop, the component does resolve under its given name, thus : imageReference = "ognl: components.customName" /> so on ech iteration of the for loop, your script does get a reference to the currently rendering component instance. It then can get and store the idpath or whatever you please from the component in some javascript array. Or you could just pass the component reference to some other rendering component, like you might a block to a renderblock. that also works... hth, Joshua Hello, I'm creating components inside a @For component. How can I refer to these components from JavaScript? i.e. I have to leave them anonymous since there are several of them being created. I thought about using the Script component to do this - passing in the component as a symbol so I could dynamically query its name -- but I have the same problem - I can't pass in the component if I don't know its name. Thanks, Jim - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Best pratice - CRUD Security - Tapestry 4.0
I would probably do it as a generalized HiveMind library first which includes an AcegiInterceptor implementation of some sort. Then, I'd write a tapestry-specific library on top of that that wires itself into Tapestry somehow. -Original Message- From: Hugo Palma [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 16, 2006 12:18 PM To: Tapestry users Subject: Re: Best pratice - CRUD Security - Tapestry 4.0 That would be AWESOME... On 5/16/06, James Carman <[EMAIL PROTECTED]> wrote: > > Well, I did it for the Sprint transaction stuff. I'm sure I can do it for > the Acegi stuff. :-) > > > -Original Message- > From: Hugo Palma [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 16, 2006 12:09 PM > To: Tapestry users > Subject: Re: Best pratice - CRUD Security - Tapestry 4.0 > > I agree that ACEGI fits very nicely with Tapestry. Still, it introduces > two > technologies for the team to learn, ACEGI and Spring. > Having chosen hivemind as the IOC container to use for some projects i > don't > find the option to also use Spring in the same projects a very good one. > If only there was an ACEGI implementation using hivemind IOC ;o). This is > possible as stated here http://www.acegisecurity.org/standalone.html, it > just needs to be donne. > > > On 5/16/06, Brian K. Wallace <[EMAIL PROTECTED]> wrote: > > > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > This is where I stick with ACEGI being unobtrusive. Not discounting any > > other method of doing it at all, but I found that with ACEGI I add a > > hook into "login/logout" pages and there's no other intrusion into my > > Tapestry applications outside the configuration file (aka: no > > "isUserInRole("...")" of any kind. > > > > Again - one size doesn't fit all - especially with security. Take the > > "easiest way for you" as long as it foots the bill and you're usually > > alright. > > > > Lothar Reisinger wrote: > > > It's Tomcat security in combination with a PageValidateListener that > > > solves this problem for me. In each page that needs special security > > > there is a call to request.isUserInRole("..."). If the user isn't > > > allowed, a PageRedirectException is thrown to redirect to an allowed > > > page or to the error page. > > > > > > > > > Carl Pelletier wrote: > > >> Hi everyone, I'm currently building a web site and looking for > > >> documentations on how-to or best practice of implementing Role > > >> security in Tapestry 4.0. > > >> > > >> It`s a Simple CRUD application and we need to give some security to > > >> users. > > >> What the best way of doing it? Using the Tomcat security? Creating my > > >> own? > > >> > > >> Thanks for any help! > > >> > > >> > > >> - > > >> 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] > > > > > > > > > > > > > -BEGIN PGP SIGNATURE- > > Version: GnuPG v1.2.5 (MingW32) > > > > iD8DBQFEafOpaCoPKRow/gARAmlQAKDWEShBV8uLehNby76wH8EwdClD5ACfa2qo > > B/VWA+BF/eB5K+SddhYAgfA= > > =L2q/ > > -END PGP SIGNATURE- > > > > - > > 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] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Best pratice - CRUD Security - Tapestry 4.0
That's wright, and the ACEGI feature list looks promisingly but I don't use spring up to now, only tapestry & hibernate, and I don't want to maintain to many references to external libraries. If the requirements can be easily fulfilled with the combination of already used libraries I'm taking this way. But nevertheless it's good to know about many ways... Requirements are changing... By the way, I like the tapestry user list. I should have started to watch it a couple of month earlier ... Brian K. Wallace schrieb: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 This is where I stick with ACEGI being unobtrusive. Not discounting any other method of doing it at all, but I found that with ACEGI I add a hook into "login/logout" pages and there's no other intrusion into my Tapestry applications outside the configuration file (aka: no "isUserInRole("...")" of any kind. Again - one size doesn't fit all - especially with security. Take the "easiest way for you" as long as it foots the bill and you're usually alright. Lothar Reisinger wrote: It's Tomcat security in combination with a PageValidateListener that solves this problem for me. In each page that needs special security there is a call to request.isUserInRole("..."). If the user isn't allowed, a PageRedirectException is thrown to redirect to an allowed page or to the error page. Carl Pelletier wrote: Hi everyone, I'm currently building a web site and looking for documentations on how-to or best practice of implementing Role security in Tapestry 4.0. It`s a Simple CRUD application and we need to give some security to users. What the best way of doing it? Using the Tomcat security? Creating my own? Thanks for any help! - 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] -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.5 (MingW32) iD8DBQFEafOpaCoPKRow/gARAmlQAKDWEShBV8uLehNby76wH8EwdClD5ACfa2qo B/VWA+BF/eB5K+SddhYAgfA= =L2q/ -END PGP SIGNATURE- - 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: Best pratice - CRUD Security - Tapestry 4.0
You don't need oracle fine grained access control to do the same thing. As long as your DB supports the notion of stored procs / global (transaction bound) variables you can do the same exact thing without it. On 5/16/06, Carl Pelletier <[EMAIL PROTECTED]> wrote: Unfortunetly, I'm using PostgreSQL. Thanks Denis McCarthy wrote: > If you happen to be using oracle enterprise edition I'd highly recommend > using Acegi in conjunction with Oracle Fine Grained Access Control (FGAC) > for database access checking. > We've got a simple subclass of a datasource that overrides getConnection() > and sets the users Oracle context. This keeps the jdbc/hibernate code very > clean and ensures that the same security code is enforced even if someone > logs in via sql*plus, toad or any other tool. > Nice. > > -Original Message- > From: Andreas Bulling [mailto:[EMAIL PROTECTED] Behalf Of > Andreas Bulling > Sent: 16 May 2006 16:57 > To: Tapestry users > Subject: Re: Best pratice - CRUD Security - Tapestry 4.0 > > > On 16. Mai 2006 - 10:45:45, Brian K. Wallace wrote: > | This is where I stick with ACEGI being unobtrusive. Not discounting any > | other method of doing it at all, but I found that with ACEGI I add a > | hook into "login/logout" pages and there's no other intrusion into my > | Tapestry applications outside the configuration file (aka: no > | "isUserInRole("...")" of any kind. > > But how is further access for example to the database checked? > > Andreas > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > ** > This email and any files transmitted with it are confidential and/or privileged and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient(s) please note that any review, distribution, dissemination, disclosure, alteration, printing, copying, transmission or use of this email and/or any file transmitted or the information therein is prohibited and may be unlawful. If you have received this email and any file transmitted with it in error please notify us by email at [EMAIL PROTECTED] or by telephone at +353 66 97 61258 and then delete the email and all copies of it from your system and destroy any hard copies of the email. > Please note that any views, opinions or advice contained in this communication are those of the sending individual and not necessarily those of FEXCO. Email may be susceptible to data corruption, interception and unauthorised amendment, and we do not accept liability for any such corruption, interception or amendment or the consequences thereof. > FEXCO and each legal entity in the FEXCO group of companies or business units of FEXCO reserve the right to monitor all email communications through its networks. This footnote also confirms that this email message has been swept for viruses. > www.FEXCO.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] -- Jesse Kuhnert Tacos/Tapestry, team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind.
Re: Best pratice - CRUD Security - Tapestry 4.0
That would be AWESOME... On 5/16/06, James Carman <[EMAIL PROTECTED]> wrote: Well, I did it for the Sprint transaction stuff. I'm sure I can do it for the Acegi stuff. :-) -Original Message- From: Hugo Palma [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 16, 2006 12:09 PM To: Tapestry users Subject: Re: Best pratice - CRUD Security - Tapestry 4.0 I agree that ACEGI fits very nicely with Tapestry. Still, it introduces two technologies for the team to learn, ACEGI and Spring. Having chosen hivemind as the IOC container to use for some projects i don't find the option to also use Spring in the same projects a very good one. If only there was an ACEGI implementation using hivemind IOC ;o). This is possible as stated here http://www.acegisecurity.org/standalone.html, it just needs to be donne. On 5/16/06, Brian K. Wallace <[EMAIL PROTECTED]> wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > This is where I stick with ACEGI being unobtrusive. Not discounting any > other method of doing it at all, but I found that with ACEGI I add a > hook into "login/logout" pages and there's no other intrusion into my > Tapestry applications outside the configuration file (aka: no > "isUserInRole("...")" of any kind. > > Again - one size doesn't fit all - especially with security. Take the > "easiest way for you" as long as it foots the bill and you're usually > alright. > > Lothar Reisinger wrote: > > It's Tomcat security in combination with a PageValidateListener that > > solves this problem for me. In each page that needs special security > > there is a call to request.isUserInRole("..."). If the user isn't > > allowed, a PageRedirectException is thrown to redirect to an allowed > > page or to the error page. > > > > > > Carl Pelletier wrote: > >> Hi everyone, I'm currently building a web site and looking for > >> documentations on how-to or best practice of implementing Role > >> security in Tapestry 4.0. > >> > >> It`s a Simple CRUD application and we need to give some security to > >> users. > >> What the best way of doing it? Using the Tomcat security? Creating my > >> own? > >> > >> Thanks for any help! > >> > >> > >> - > >> 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] > > > > > > > > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.2.5 (MingW32) > > iD8DBQFEafOpaCoPKRow/gARAmlQAKDWEShBV8uLehNby76wH8EwdClD5ACfa2qo > B/VWA+BF/eB5K+SddhYAgfA= > =L2q/ > -END PGP SIGNATURE- > > - > 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: Best pratice - CRUD Security - Tapestry 4.0
Unfortunetly, I'm using PostgreSQL. Thanks Denis McCarthy wrote: If you happen to be using oracle enterprise edition I'd highly recommend using Acegi in conjunction with Oracle Fine Grained Access Control (FGAC) for database access checking. We've got a simple subclass of a datasource that overrides getConnection() and sets the users Oracle context. This keeps the jdbc/hibernate code very clean and ensures that the same security code is enforced even if someone logs in via sql*plus, toad or any other tool. Nice. -Original Message- From: Andreas Bulling [mailto:[EMAIL PROTECTED] Behalf Of Andreas Bulling Sent: 16 May 2006 16:57 To: Tapestry users Subject: Re: Best pratice - CRUD Security - Tapestry 4.0 On 16. Mai 2006 - 10:45:45, Brian K. Wallace wrote: | This is where I stick with ACEGI being unobtrusive. Not discounting any | other method of doing it at all, but I found that with ACEGI I add a | hook into "login/logout" pages and there's no other intrusion into my | Tapestry applications outside the configuration file (aka: no | "isUserInRole("...")" of any kind. But how is further access for example to the database checked? Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ** This email and any files transmitted with it are confidential and/or privileged and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient(s) please note that any review, distribution, dissemination, disclosure, alteration, printing, copying, transmission or use of this email and/or any file transmitted or the information therein is prohibited and may be unlawful. If you have received this email and any file transmitted with it in error please notify us by email at [EMAIL PROTECTED] or by telephone at +353 66 97 61258 and then delete the email and all copies of it from your system and destroy any hard copies of the email. Please note that any views, opinions or advice contained in this communication are those of the sending individual and not necessarily those of FEXCO. Email may be susceptible to data corruption, interception and unauthorised amendment, and we do not accept liability for any such corruption, interception or amendment or the consequences thereof. FEXCO and each legal entity in the FEXCO group of companies or business units of FEXCO reserve the right to monitor all email communications through its networks. This footnote also confirms that this email message has been swept for viruses. www.FEXCO.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: Best pratice - CRUD Security - Tapestry 4.0
If you happen to be using oracle enterprise edition I'd highly recommend using Acegi in conjunction with Oracle Fine Grained Access Control (FGAC) for database access checking. We've got a simple subclass of a datasource that overrides getConnection() and sets the users Oracle context. This keeps the jdbc/hibernate code very clean and ensures that the same security code is enforced even if someone logs in via sql*plus, toad or any other tool. Nice. -Original Message- From: Andreas Bulling [mailto:[EMAIL PROTECTED] Behalf Of Andreas Bulling Sent: 16 May 2006 16:57 To: Tapestry users Subject: Re: Best pratice - CRUD Security - Tapestry 4.0 On 16. Mai 2006 - 10:45:45, Brian K. Wallace wrote: | This is where I stick with ACEGI being unobtrusive. Not discounting any | other method of doing it at all, but I found that with ACEGI I add a | hook into "login/logout" pages and there's no other intrusion into my | Tapestry applications outside the configuration file (aka: no | "isUserInRole("...")" of any kind. But how is further access for example to the database checked? Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ** This email and any files transmitted with it are confidential and/or privileged and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient(s) please note that any review, distribution, dissemination, disclosure, alteration, printing, copying, transmission or use of this email and/or any file transmitted or the information therein is prohibited and may be unlawful. If you have received this email and any file transmitted with it in error please notify us by email at [EMAIL PROTECTED] or by telephone at +353 66 97 61258 and then delete the email and all copies of it from your system and destroy any hard copies of the email. Please note that any views, opinions or advice contained in this communication are those of the sending individual and not necessarily those of FEXCO. Email may be susceptible to data corruption, interception and unauthorised amendment, and we do not accept liability for any such corruption, interception or amendment or the consequences thereof. FEXCO and each legal entity in the FEXCO group of companies or business units of FEXCO reserve the right to monitor all email communications through its networks. This footnote also confirms that this email message has been swept for viruses. www.FEXCO.com ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Best pratice - CRUD Security - Tapestry 4.0
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 GO JAMES :-D James Carman wrote: > Well, I did it for the Sprint transaction stuff. I'm sure I can do it for > the Acegi stuff. :-) > > > -Original Message- > From: Hugo Palma [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 16, 2006 12:09 PM > To: Tapestry users > Subject: Re: Best pratice - CRUD Security - Tapestry 4.0 > > I agree that ACEGI fits very nicely with Tapestry. Still, it introduces two > technologies for the team to learn, ACEGI and Spring. > Having chosen hivemind as the IOC container to use for some projects i don't > find the option to also use Spring in the same projects a very good one. > If only there was an ACEGI implementation using hivemind IOC ;o). This is > possible as stated here http://www.acegisecurity.org/standalone.html, it > just needs to be donne. > -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.5 (MingW32) iD8DBQFEafoVaCoPKRow/gARAqdhAJ9wfKN+9WzRsvDe1P+ZqU6CPDV5UgCfcQZB Wo/9qPWUJbOS0y/uoSWR9wA= =meHZ -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Best pratice - CRUD Security - Tapestry 4.0
Well, I did it for the Sprint transaction stuff. I'm sure I can do it for the Acegi stuff. :-) -Original Message- From: Hugo Palma [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 16, 2006 12:09 PM To: Tapestry users Subject: Re: Best pratice - CRUD Security - Tapestry 4.0 I agree that ACEGI fits very nicely with Tapestry. Still, it introduces two technologies for the team to learn, ACEGI and Spring. Having chosen hivemind as the IOC container to use for some projects i don't find the option to also use Spring in the same projects a very good one. If only there was an ACEGI implementation using hivemind IOC ;o). This is possible as stated here http://www.acegisecurity.org/standalone.html, it just needs to be donne. On 5/16/06, Brian K. Wallace <[EMAIL PROTECTED]> wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > This is where I stick with ACEGI being unobtrusive. Not discounting any > other method of doing it at all, but I found that with ACEGI I add a > hook into "login/logout" pages and there's no other intrusion into my > Tapestry applications outside the configuration file (aka: no > "isUserInRole("...")" of any kind. > > Again - one size doesn't fit all - especially with security. Take the > "easiest way for you" as long as it foots the bill and you're usually > alright. > > Lothar Reisinger wrote: > > It's Tomcat security in combination with a PageValidateListener that > > solves this problem for me. In each page that needs special security > > there is a call to request.isUserInRole("..."). If the user isn't > > allowed, a PageRedirectException is thrown to redirect to an allowed > > page or to the error page. > > > > > > Carl Pelletier wrote: > >> Hi everyone, I'm currently building a web site and looking for > >> documentations on how-to or best practice of implementing Role > >> security in Tapestry 4.0. > >> > >> It`s a Simple CRUD application and we need to give some security to > >> users. > >> What the best way of doing it? Using the Tomcat security? Creating my > >> own? > >> > >> Thanks for any help! > >> > >> > >> - > >> 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] > > > > > > > > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.2.5 (MingW32) > > iD8DBQFEafOpaCoPKRow/gARAmlQAKDWEShBV8uLehNby76wH8EwdClD5ACfa2qo > B/VWA+BF/eB5K+SddhYAgfA= > =L2q/ > -END PGP SIGNATURE- > > - > 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: Best pratice - CRUD Security - Tapestry 4.0
I agree that ACEGI fits very nicely with Tapestry. Still, it introduces two technologies for the team to learn, ACEGI and Spring. Having chosen hivemind as the IOC container to use for some projects i don't find the option to also use Spring in the same projects a very good one. If only there was an ACEGI implementation using hivemind IOC ;o). This is possible as stated here http://www.acegisecurity.org/standalone.html, it just needs to be donne. On 5/16/06, Brian K. Wallace <[EMAIL PROTECTED]> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 This is where I stick with ACEGI being unobtrusive. Not discounting any other method of doing it at all, but I found that with ACEGI I add a hook into "login/logout" pages and there's no other intrusion into my Tapestry applications outside the configuration file (aka: no "isUserInRole("...")" of any kind. Again - one size doesn't fit all - especially with security. Take the "easiest way for you" as long as it foots the bill and you're usually alright. Lothar Reisinger wrote: > It's Tomcat security in combination with a PageValidateListener that > solves this problem for me. In each page that needs special security > there is a call to request.isUserInRole("..."). If the user isn't > allowed, a PageRedirectException is thrown to redirect to an allowed > page or to the error page. > > > Carl Pelletier wrote: >> Hi everyone, I'm currently building a web site and looking for >> documentations on how-to or best practice of implementing Role >> security in Tapestry 4.0. >> >> It`s a Simple CRUD application and we need to give some security to >> users. >> What the best way of doing it? Using the Tomcat security? Creating my >> own? >> >> Thanks for any help! >> >> >> - >> 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] > > > -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.5 (MingW32) iD8DBQFEafOpaCoPKRow/gARAmlQAKDWEShBV8uLehNby76wH8EwdClD5ACfa2qo B/VWA+BF/eB5K+SddhYAgfA= =L2q/ -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Best pratice - CRUD Security - Tapestry 4.0
Oh, you mean to limit the results of a query based on security permissions? Then, yes, filters are the way to go. :-) -Original Message- From: Hugo Palma [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 16, 2006 12:03 PM To: Tapestry users Subject: Re: Best pratice - CRUD Security - Tapestry 4.0 Or if you're using hibernate you can use filters. On 5/16/06, James Carman <[EMAIL PROTECTED]> wrote: > > You could put an interceptor on your services if you wish. > > -Original Message- > From: Andreas Bulling [mailto:[EMAIL PROTECTED] On Behalf Of > Andreas Bulling > Sent: Tuesday, May 16, 2006 11:57 AM > To: Tapestry users > Subject: Re: Best pratice - CRUD Security - Tapestry 4.0 > > On 16. Mai 2006 - 10:45:45, Brian K. Wallace wrote: > | This is where I stick with ACEGI being unobtrusive. Not discounting any > | other method of doing it at all, but I found that with ACEGI I add a > | hook into "login/logout" pages and there's no other intrusion into my > | Tapestry applications outside the configuration file (aka: no > | "isUserInRole("...")" of any kind. > > But how is further access for example to the database checked? > > Andreas > > - > 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] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Best pratice - CRUD Security - Tapestry 4.0
Or if you're using hibernate you can use filters. On 5/16/06, James Carman <[EMAIL PROTECTED]> wrote: You could put an interceptor on your services if you wish. -Original Message- From: Andreas Bulling [mailto:[EMAIL PROTECTED] On Behalf Of Andreas Bulling Sent: Tuesday, May 16, 2006 11:57 AM To: Tapestry users Subject: Re: Best pratice - CRUD Security - Tapestry 4.0 On 16. Mai 2006 - 10:45:45, Brian K. Wallace wrote: | This is where I stick with ACEGI being unobtrusive. Not discounting any | other method of doing it at all, but I found that with ACEGI I add a | hook into "login/logout" pages and there's no other intrusion into my | Tapestry applications outside the configuration file (aka: no | "isUserInRole("...")" of any kind. But how is further access for example to the database checked? Andreas - 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: Best pratice - CRUD Security - Tapestry 4.0
You could put an interceptor on your services if you wish. -Original Message- From: Andreas Bulling [mailto:[EMAIL PROTECTED] On Behalf Of Andreas Bulling Sent: Tuesday, May 16, 2006 11:57 AM To: Tapestry users Subject: Re: Best pratice - CRUD Security - Tapestry 4.0 On 16. Mai 2006 - 10:45:45, Brian K. Wallace wrote: | This is where I stick with ACEGI being unobtrusive. Not discounting any | other method of doing it at all, but I found that with ACEGI I add a | hook into "login/logout" pages and there's no other intrusion into my | Tapestry applications outside the configuration file (aka: no | "isUserInRole("...")" of any kind. But how is further access for example to the database checked? Andreas - 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: Best pratice - CRUD Security - Tapestry 4.0
On 16. Mai 2006 - 10:45:45, Brian K. Wallace wrote: | This is where I stick with ACEGI being unobtrusive. Not discounting any | other method of doing it at all, but I found that with ACEGI I add a | hook into "login/logout" pages and there's no other intrusion into my | Tapestry applications outside the configuration file (aka: no | "isUserInRole("...")" of any kind. But how is further access for example to the database checked? Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Content Type
On 16. Mai 2006 - 10:21:13, yesidredondo wrote: | Can anyone tell me how to put the content type of a page in tapestry, if i | want a page to be of xml or xls format? HttpServletResponse response = getRequestCycle().getRequestContext().getResponse(); try { response.setContentType("text/xml"); } catch (IOException e) { e.printStackTrace(); } Hope this helps, Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Best pratice - CRUD Security - Tapestry 4.0
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 This is where I stick with ACEGI being unobtrusive. Not discounting any other method of doing it at all, but I found that with ACEGI I add a hook into "login/logout" pages and there's no other intrusion into my Tapestry applications outside the configuration file (aka: no "isUserInRole("...")" of any kind. Again - one size doesn't fit all - especially with security. Take the "easiest way for you" as long as it foots the bill and you're usually alright. Lothar Reisinger wrote: > It's Tomcat security in combination with a PageValidateListener that > solves this problem for me. In each page that needs special security > there is a call to request.isUserInRole("..."). If the user isn't > allowed, a PageRedirectException is thrown to redirect to an allowed > page or to the error page. > > > Carl Pelletier wrote: >> Hi everyone, I'm currently building a web site and looking for >> documentations on how-to or best practice of implementing Role >> security in Tapestry 4.0. >> >> It`s a Simple CRUD application and we need to give some security to >> users. >> What the best way of doing it? Using the Tomcat security? Creating my >> own? >> >> Thanks for any help! >> >> >> - >> 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] > > > -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.5 (MingW32) iD8DBQFEafOpaCoPKRow/gARAmlQAKDWEShBV8uLehNby76wH8EwdClD5ACfa2qo B/VWA+BF/eB5K+SddhYAgfA= =L2q/ -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Best pratice - CRUD Security - Tapestry 4.0
It's Tomcat security in combination with a PageValidateListener that solves this problem for me. In each page that needs special security there is a call to request.isUserInRole("..."). If the user isn't allowed, a PageRedirectException is thrown to redirect to an allowed page or to the error page. Carl Pelletier wrote: Hi everyone, I'm currently building a web site and looking for documentations on how-to or best practice of implementing Role security in Tapestry 4.0. It`s a Simple CRUD application and we need to give some security to users. What the best way of doing it? Using the Tomcat security? Creating my own? Thanks for any help! - 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: Accessing unbound textfields
The html input fields do have a name attribute? They are inside a form? The form is submitted? cycle.getParameter("fieldname") works for me. Bode, Bianca schrieb: Looks like the generated textfields cannot be accessed through getParameter/getParameters I've debugged and manually checked the QueryParameterMap of the RequestCycle, but they're nowhere in sight :( -Original Message- From: Andreas Andreou [mailto:[EMAIL PROTECTED] Sent: dinsdag 16 mei 2006 16:39 To: Tapestry users Subject: Re: Accessing unbound textfields See http://jakarta.apache.org/tapestry/tapestry/apidocs/org/apache/tapestry/ IRequestCycle.html getParameter and getParameters will do the trick Bode, Bianca wrote: Hello all, I was wondering if anyone has ever did something like I've described below, and if so how???: I need to make a page with 1 textfield, and when some enters a number in this Textfield I generate (with javascript) that number of extra Textfields. Tapestry is unaware of these extra fields, as I have generated them at client-side. Upon form submission I need these textfields so I can create new objects (1 for each field) and set one of the properties with the value entered in the TextField. I have no idea how to go about this. Anyone? Kind regards, Bianca - 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] - 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: Accessing unbound textfields
Never mind, I was to quick with my reply ;) I forgot to add the name attribute to the generated fields :) -Original Message- From: Bode, Bianca Sent: dinsdag 16 mei 2006 17:37 To: Tapestry users Subject: RE: Accessing unbound textfields Looks like the generated textfields cannot be accessed through getParameter/getParameters I've debugged and manually checked the QueryParameterMap of the RequestCycle, but they're nowhere in sight :( -Original Message- From: Andreas Andreou [mailto:[EMAIL PROTECTED] Sent: dinsdag 16 mei 2006 16:39 To: Tapestry users Subject: Re: Accessing unbound textfields See http://jakarta.apache.org/tapestry/tapestry/apidocs/org/apache/tapestry/ IRequestCycle.html getParameter and getParameters will do the trick Bode, Bianca wrote: > Hello all, > > I was wondering if anyone has ever did something like I've described > below, and if so how???: > > I need to make a page with 1 textfield, and when some enters a number > in this Textfield I generate (with javascript) that number of extra > Textfields. > Tapestry is unaware of these extra fields, as I have generated them at > client-side. > Upon form submission I need these textfields so I can create new > objects > (1 for each field) and set one of the properties with the value > entered in the TextField. > > I have no idea how to go about this. > Anyone? > > Kind regards, Bianca > > - > 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] - 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: Accessing unbound textfields
Change submit method from POST to GET and check if the new textfields are indeed included in the submit. Bode, Bianca wrote: Looks like the generated textfields cannot be accessed through getParameter/getParameters I've debugged and manually checked the QueryParameterMap of the RequestCycle, but they're nowhere in sight :( -Original Message- From: Andreas Andreou [mailto:[EMAIL PROTECTED] Sent: dinsdag 16 mei 2006 16:39 To: Tapestry users Subject: Re: Accessing unbound textfields See http://jakarta.apache.org/tapestry/tapestry/apidocs/org/apache/tapestry/ IRequestCycle.html getParameter and getParameters will do the trick Bode, Bianca wrote: Hello all, I was wondering if anyone has ever did something like I've described below, and if so how???: I need to make a page with 1 textfield, and when some enters a number in this Textfield I generate (with javascript) that number of extra Textfields. Tapestry is unaware of these extra fields, as I have generated them at client-side. Upon form submission I need these textfields so I can create new objects (1 for each field) and set one of the properties with the value entered in the TextField. I have no idea how to go about this. Anyone? Kind regards, Bianca - 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] - 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: Accessing unbound textfields
Looks like the generated textfields cannot be accessed through getParameter/getParameters I've debugged and manually checked the QueryParameterMap of the RequestCycle, but they're nowhere in sight :( -Original Message- From: Andreas Andreou [mailto:[EMAIL PROTECTED] Sent: dinsdag 16 mei 2006 16:39 To: Tapestry users Subject: Re: Accessing unbound textfields See http://jakarta.apache.org/tapestry/tapestry/apidocs/org/apache/tapestry/ IRequestCycle.html getParameter and getParameters will do the trick Bode, Bianca wrote: > Hello all, > > I was wondering if anyone has ever did something like I've described > below, and if so how???: > > I need to make a page with 1 textfield, and when some enters a number > in this Textfield I generate (with javascript) that number of extra > Textfields. > Tapestry is unaware of these extra fields, as I have generated them at > client-side. > Upon form submission I need these textfields so I can create new > objects > (1 for each field) and set one of the properties with the value > entered in the TextField. > > I have no idea how to go about this. > Anyone? > > Kind regards, Bianca > > - > 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tapernate configuration questions
Unfortunately I started this project before hibernate had support for annotations so I'm using the old style mapping files and don't really want to change this until I have some extra time on my hands. I would be a nice feature though. On 5/16/06, James Carman <[EMAIL PROTECTED]> wrote: Are you using annotations to define your pojos? If so, you should check out the hibernate-apt thing that I use in the example project. It will automatically generate your hibernate.cfg.xml file by searching your source path for all classes with the @Entity annotation. -Original Message- From: Chris Chiappone [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 16, 2006 11:10 AM To: Tapestry users Subject: Re: Tapernate configuration questions Excellent thanks!! I actually had all the files but the hibernate.cfg.xmlin WEB-INF/classes when I started with this. Looks like I'll finally be able to allow lazy loading with hibernate. I'm hoping to see a major performance increase with tapernate. On 5/16/06, James Carman <[EMAIL PROTECTED]> wrote: > > Try moving your xml files into WEB-INF/classes. > > > > -Original Message- > From: Chris Chiappone [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 16, 2006 10:48 AM > To: Tapestry List > Subject: Tapernate configuration questions > > I am attempting to migrate my application to make use of Tapernate. I > pulled down the SVN and understand most of the configuration. The problem > I > believe I am having is my application is not mapping my hibernate > resources. > > Here is my Tapernate contribution in hivemind.xml > > > hibernate.cfg.xml > > > value="jdbc:postgresql://localhost/TrustedAPP"/> > > > value="thread"/> > > > > > > And here is my hibernate.cfg.xml file: > > > > > > > > > > > > > > > > > > > Currenlty I have hibernate.cfg.xml and all the .hbm.xml files located in > /WEB-INF/ of my application. When deploying the app hibernate appears to > be > configured: > > 14:33:24,840 INFO [Environment] Hibernate 3.1.2 > 14:33:24,859 INFO [Environment] hibernate.properties not found > 14:33:24,889 INFO [Environment] using bytecode reflection optimizer > 14:33:24,890 INFO [Environment] Bytecode provider name : cglib > 14:33:24,894 INFO [Environment] using JDK 1.4 java.sql.Timestamphandling > 14:33:25,156 INFO [Configuration] configuring from resource: > hibernate.cfg.xml > 14:33:25,189 INFO [Configuration] Configuration resource: > hibernate.cfg.xml > 14:33:25,549 INFO [Configuration] Configured SessionFactory: null > 14:33:25,852 INFO [C3P0ConnectionProvider] C3P0 using driver: > org.postgresql.Driver at URL: jdbc:postgresql://localhost/tpp > 14:33:25,861 INFO [C3P0ConnectionProvider] Connection properties: > {user=tpp, password=} > 14:33:25,862 INFO [C3P0ConnectionProvider] autocommit mode: false > > > When I attempt to log into my application I get the following which I > assume > is because hibernate hasn't read any of my mapping files: > > Unable to process client request: Failure invoking listener method 'public > void com.tapp.view.components.NavLogin.formSubmit( > org.apache.tapestry.IRequestCycle)' on > [EMAIL PROTECTED]/border.navLogin]: Users is not mapped [select u > from > Users as u where u.email = :email and u.password = :pass] > org.apache.hivemind.ApplicationRuntimeException: Failure invoking listener > method 'public void com.tapp.view.components.NavLogin.formSubmit( > org.apache.tapestry.IRequestCycle)' on > [EMAIL PROTECTED]/border.navLogin]: Users is not mapped [select u > from > Users as u where u.email = :email and u.password = :pass] > [context:/WEB-INF/Border.jwc, line 32, column 46] > > > Could anyone lead me in the right direction with this configuration? > Thanks. > -- > ~chris > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- ~chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- ~chris
Content Type
Can anyone tell me how to put the content type of a page in tapestry, if i want a page to be of xml or xls format? Hermann Yesid Redondo Eslava Ingeniería de Sistemas IT-GROUP - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tapernate configuration questions
Are you using annotations to define your pojos? If so, you should check out the hibernate-apt thing that I use in the example project. It will automatically generate your hibernate.cfg.xml file by searching your source path for all classes with the @Entity annotation. -Original Message- From: Chris Chiappone [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 16, 2006 11:10 AM To: Tapestry users Subject: Re: Tapernate configuration questions Excellent thanks!! I actually had all the files but the hibernate.cfg.xml in WEB-INF/classes when I started with this. Looks like I'll finally be able to allow lazy loading with hibernate. I'm hoping to see a major performance increase with tapernate. On 5/16/06, James Carman <[EMAIL PROTECTED]> wrote: > > Try moving your xml files into WEB-INF/classes. > > > > -Original Message- > From: Chris Chiappone [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 16, 2006 10:48 AM > To: Tapestry List > Subject: Tapernate configuration questions > > I am attempting to migrate my application to make use of Tapernate. I > pulled down the SVN and understand most of the configuration. The problem > I > believe I am having is my application is not mapping my hibernate > resources. > > Here is my Tapernate contribution in hivemind.xml > > > hibernate.cfg.xml > > > value="jdbc:postgresql://localhost/TrustedAPP"/> > > > value="thread"/> > > > > > > And here is my hibernate.cfg.xml file: > > > > > > > > > > > > > > > > > > > Currenlty I have hibernate.cfg.xml and all the .hbm.xml files located in > /WEB-INF/ of my application. When deploying the app hibernate appears to > be > configured: > > 14:33:24,840 INFO [Environment] Hibernate 3.1.2 > 14:33:24,859 INFO [Environment] hibernate.properties not found > 14:33:24,889 INFO [Environment] using bytecode reflection optimizer > 14:33:24,890 INFO [Environment] Bytecode provider name : cglib > 14:33:24,894 INFO [Environment] using JDK 1.4 java.sql.Timestamp handling > 14:33:25,156 INFO [Configuration] configuring from resource: > hibernate.cfg.xml > 14:33:25,189 INFO [Configuration] Configuration resource: > hibernate.cfg.xml > 14:33:25,549 INFO [Configuration] Configured SessionFactory: null > 14:33:25,852 INFO [C3P0ConnectionProvider] C3P0 using driver: > org.postgresql.Driver at URL: jdbc:postgresql://localhost/tpp > 14:33:25,861 INFO [C3P0ConnectionProvider] Connection properties: > {user=tpp, password=} > 14:33:25,862 INFO [C3P0ConnectionProvider] autocommit mode: false > > > When I attempt to log into my application I get the following which I > assume > is because hibernate hasn't read any of my mapping files: > > Unable to process client request: Failure invoking listener method 'public > void com.tapp.view.components.NavLogin.formSubmit( > org.apache.tapestry.IRequestCycle)' on > [EMAIL PROTECTED]/border.navLogin]: Users is not mapped [select u > from > Users as u where u.email = :email and u.password = :pass] > org.apache.hivemind.ApplicationRuntimeException: Failure invoking listener > method 'public void com.tapp.view.components.NavLogin.formSubmit( > org.apache.tapestry.IRequestCycle)' on > [EMAIL PROTECTED]/border.navLogin]: Users is not mapped [select u > from > Users as u where u.email = :email and u.password = :pass] > [context:/WEB-INF/Border.jwc, line 32, column 46] > > > Could anyone lead me in the right direction with this configuration? > Thanks. > -- > ~chris > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- ~chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tapernate configuration questions
Excellent thanks!! I actually had all the files but the hibernate.cfg.xml in WEB-INF/classes when I started with this. Looks like I'll finally be able to allow lazy loading with hibernate. I'm hoping to see a major performance increase with tapernate. On 5/16/06, James Carman <[EMAIL PROTECTED]> wrote: Try moving your xml files into WEB-INF/classes. -Original Message- From: Chris Chiappone [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 16, 2006 10:48 AM To: Tapestry List Subject: Tapernate configuration questions I am attempting to migrate my application to make use of Tapernate. I pulled down the SVN and understand most of the configuration. The problem I believe I am having is my application is not mapping my hibernate resources. Here is my Tapernate contribution in hivemind.xml hibernate.cfg.xml And here is my hibernate.cfg.xml file: Currenlty I have hibernate.cfg.xml and all the .hbm.xml files located in /WEB-INF/ of my application. When deploying the app hibernate appears to be configured: 14:33:24,840 INFO [Environment] Hibernate 3.1.2 14:33:24,859 INFO [Environment] hibernate.properties not found 14:33:24,889 INFO [Environment] using bytecode reflection optimizer 14:33:24,890 INFO [Environment] Bytecode provider name : cglib 14:33:24,894 INFO [Environment] using JDK 1.4 java.sql.Timestamp handling 14:33:25,156 INFO [Configuration] configuring from resource: hibernate.cfg.xml 14:33:25,189 INFO [Configuration] Configuration resource: hibernate.cfg.xml 14:33:25,549 INFO [Configuration] Configured SessionFactory: null 14:33:25,852 INFO [C3P0ConnectionProvider] C3P0 using driver: org.postgresql.Driver at URL: jdbc:postgresql://localhost/tpp 14:33:25,861 INFO [C3P0ConnectionProvider] Connection properties: {user=tpp, password=} 14:33:25,862 INFO [C3P0ConnectionProvider] autocommit mode: false When I attempt to log into my application I get the following which I assume is because hibernate hasn't read any of my mapping files: Unable to process client request: Failure invoking listener method 'public void com.tapp.view.components.NavLogin.formSubmit( org.apache.tapestry.IRequestCycle)' on [EMAIL PROTECTED]/border.navLogin]: Users is not mapped [select u from Users as u where u.email = :email and u.password = :pass] org.apache.hivemind.ApplicationRuntimeException: Failure invoking listener method 'public void com.tapp.view.components.NavLogin.formSubmit( org.apache.tapestry.IRequestCycle)' on [EMAIL PROTECTED]/border.navLogin]: Users is not mapped [select u from Users as u where u.email = :email and u.password = :pass] [context:/WEB-INF/Border.jwc, line 32, column 46] Could anyone lead me in the right direction with this configuration? Thanks. -- ~chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- ~chris
Re: File with different license inside Tapestry code base
Send me some good lawyer jokes if you have them. ;-) -Serge Brian K. Wallace wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Actually, this is not a proper approach to this issue for two very significant reasons (and having recently seen one of the biggest "legal" teams at work, you very seldom get a second chance to tell them to "do their job" :-)]: 1. PracticalBrowserSniffer.js is licensed under the NPL version 1.1 - not the MPL. While they are closely related, they are not the same. 2. The differences between the NPL and MPL, as discussed on legal and compiled on the below referenced page, make the NPL incompatible with Apache releases [in the page below, MPL is category B, NPL is category X] Ref: http://people.apache.org/~cliffs/3party.html Sergei Dubov wrote: Politely tell your legal department to do their job and to review Mozilla Public License (the former NPL), and confirm that it is actually even more liberal than Apache 2. :-) -Serge Renat Zubairov wrote: Hello All, Our legal department was checking tapestry and dependencies, and it seems to be that file: tapestry-4.0-rc-3/framework/src/java/org/apache/tapestry/html/PracticalBrowserSniffer.js Is not under apache licnese. If I'll remove this file from tapestry JAR file will everything else work? Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.5 (MingW32) iD8DBQFEaeKmaCoPKRow/gARAuh9AJ9tKaRSyTQWthxoqiUD4RC6/EUisACePe9H 5i43df/LqALXSYqTncazlJ0= =ZIyp -END PGP SIGNATURE- - 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: ServletContext
Well, there lot's of different ways you can achieve this. I would suggest you use commons-configuration( http://jakarta.apache.org/commons/configuration/), it's really simple to use and very robust. You can find examples on the web site. Hope this helps. On 5/16/06, Rui Pacheco <[EMAIL PROTECTED]> wrote: It should be inside, as it wont be edited too many times. I was thinking about putting it inside the WEB-INF folder. On 5/16/06, Hugo Palma <[EMAIL PROTECTED]> wrote: > > Do you want the properties file to be inside the war or outside ? > > On 5/16/06, Rui Pacheco <[EMAIL PROTECTED]> wrote: > > > > I dont doubt HiveMind would be the right way to go, but the learning > curve > > seems to be a bit too steep for my timeframe. > > Can I insist on an example using ServletContextListener, ie, something > > that > > being all in Java would be more in my reach? > > > > On the other hand, if someone has configured a connection pool (any or > > Proxool in particular) using HiveMind and is willing to share the > example, > > I > > would be more than gratefull. > > > > > > On 5/16/06, Hugo Palma <[EMAIL PROTECTED]> wrote: > > > > > > In that case, why don't you configure Proxool as a service in you > > > hivemodule.xml file ? That's where your service configuration should > > take > > > place. > > > > > > My ServletContextListener suggestion usually works well when you have > a > > > properties bundle that you want to place outside the war so that it > can > > be > > > easily changed. In your case i think the most appropriate is to use > > > hivemind > > > configurations to do the job. > > > Am i making sense here ? > > > > > > On 5/16/06, Rui Pacheco <[EMAIL PROTECTED]> wrote: > > > > > > > > Ok... > > > > The properties file holds configuration data for Proxool, the > > connection > > > > pool I'm using with my application. > > > > > > > > On 5/16/06, James Carman <[EMAIL PROTECTED]> wrote: > > > > > > > > > > First of all, what does that properties file contain? You know, > > > > HiveMind > > > > > is > > > > > a configuration microkernel, so you can do a lot of configuration > > with > > > > > HiveMind. > > > > > > > > > > -Original Message- > > > > > From: Rui Pacheco [mailto:[EMAIL PROTECTED] > > > > > Sent: Tuesday, May 16, 2006 9:02 AM > > > > > To: Tapestry users > > > > > Subject: Re: ServletContext > > > > > > > > > > Could you or someone else give me an example on how to do that? > > > > > > > > > > On 5/16/06, Hugo Palma <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > I would implement such a feature using a ServletContextListener. > > > > > Something > > > > > > like the HiveUtils SystemPropertyInitListener class. > > > > > > > > > > > > Cheers > > > > > > > > > > > > Hugo > > > > > > > > > > > > On 5/16/06, Rui Pacheco <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > > > Hi all > > > > > > > > > > > > > > I was planning on storing a properties file inside my WEB-INF > > > > > directory > > > > > > > and > > > > > > > then read it using getResourceAsStream from ServletContext, > but > > > > > > apparently > > > > > > > I > > > > > > > can't access the ServletContext from inside Tapestry. > > > > > > > Is there another way to read the properties file or how to get > > to > > > my > > > > > > > ServletContext? > > > > > > > > > > > > > > -- > > > > > > > Cumprimentos, > > > > > > > Rui Pacheco > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > Cumprimentos, > > > > > Rui Pacheco > > > > > > > > > > > > > > > > > > > > > > - > > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > > > -- > > > > Cumprimentos, > > > > Rui Pacheco > > > > > > > > > > > > > > > > > > > > -- > > Cumprimentos, > > Rui Pacheco > > > > > > -- Cumprimentos, Rui Pacheco
Re: Setting system configuration for components
Well, i have default values for the parameters set in the component's annotations but i would like a way to set a different default for those parameters across the system via some sort of configuration value. It would be like if the tapestry @Form component had a default value for a parameter and you wanted to set that default value to something particular to your application wherever it is used. On Mon, 2006-05-15 at 15:27 -0500, Paul Cantrell wrote: > If a value is only used by one component, put the default in the > component spec. > > If a value is shared across components, you could create an ASO with > global scope and inject it into your components -- or you could go > old-school, and just create a MyComponentSettings singleton and use it. > > P > > On May 15, 2006, at 3:04 PM, Dan Adams wrote: > > > I have a library of components that are used by a couple different > > projects. One of the things I would like to do is to set system-wide > > defaults for each project that would be used by the components so they > > didn't have to be specified each time the component was used. I could > > also create a wrapper component to set the properties but in this case > > that is not optimal. Anyone know of a way other than setting system > > properties that could do this? Something like setting it in a > > properties > > or config file somewhere. > > > > -- > > Dan Adams > > Software Engineer > > Interactive Factory > > 617.235.5857 > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > _ > Piano music podcast: http://inthehands.com > Other interesting stuff: http://innig.net > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- Dan Adams Software Engineer Interactive Factory 617.235.5857 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Best pratice - CRUD Security - Tapestry 4.0
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Carl Pelletier wrote: > Hi everyone, I'm currently building a web site and looking for > documentations on how-to or best practice of implementing Role security > in Tapestry 4.0. > > It`s a Simple CRUD application and we need to give some security to users. > What the best way of doing it? Using the Tomcat security? Creating my own? > > Thanks for any help! > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > Personal opinion - if you don't mind the dependency (and if you list "creating my own" as an option), I'd go with ACEGI. It's relatively unobtrusive, pretty straightforward and container agnostic. M2C -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.5 (MingW32) iD8DBQFEaeeEaCoPKRow/gARAiKDAKCHD+z3lwkJNCziSmc2Z8pWS9QwVQCeM0Ok rruGVQdY+2kFHsjgiM/Q4XE= =y+Q8 -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Best pratice - CRUD Security - Tapestry 4.0
Hi everyone, I'm currently building a web site and looking for documentations on how-to or best practice of implementing Role security in Tapestry 4.0. It`s a Simple CRUD application and we need to give some security to users. What the best way of doing it? Using the Tomcat security? Creating my own? Thanks for any help! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tapernate configuration questions
Try moving your xml files into WEB-INF/classes. -Original Message- From: Chris Chiappone [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 16, 2006 10:48 AM To: Tapestry List Subject: Tapernate configuration questions I am attempting to migrate my application to make use of Tapernate. I pulled down the SVN and understand most of the configuration. The problem I believe I am having is my application is not mapping my hibernate resources. Here is my Tapernate contribution in hivemind.xml hibernate.cfg.xml And here is my hibernate.cfg.xml file: Currenlty I have hibernate.cfg.xml and all the .hbm.xml files located in /WEB-INF/ of my application. When deploying the app hibernate appears to be configured: 14:33:24,840 INFO [Environment] Hibernate 3.1.2 14:33:24,859 INFO [Environment] hibernate.properties not found 14:33:24,889 INFO [Environment] using bytecode reflection optimizer 14:33:24,890 INFO [Environment] Bytecode provider name : cglib 14:33:24,894 INFO [Environment] using JDK 1.4 java.sql.Timestamp handling 14:33:25,156 INFO [Configuration] configuring from resource: hibernate.cfg.xml 14:33:25,189 INFO [Configuration] Configuration resource: hibernate.cfg.xml 14:33:25,549 INFO [Configuration] Configured SessionFactory: null 14:33:25,852 INFO [C3P0ConnectionProvider] C3P0 using driver: org.postgresql.Driver at URL: jdbc:postgresql://localhost/tpp 14:33:25,861 INFO [C3P0ConnectionProvider] Connection properties: {user=tpp, password=} 14:33:25,862 INFO [C3P0ConnectionProvider] autocommit mode: false When I attempt to log into my application I get the following which I assume is because hibernate hasn't read any of my mapping files: Unable to process client request: Failure invoking listener method 'public void com.tapp.view.components.NavLogin.formSubmit( org.apache.tapestry.IRequestCycle)' on [EMAIL PROTECTED]/border.navLogin]: Users is not mapped [select u from Users as u where u.email = :email and u.password = :pass] org.apache.hivemind.ApplicationRuntimeException: Failure invoking listener method 'public void com.tapp.view.components.NavLogin.formSubmit( org.apache.tapestry.IRequestCycle)' on [EMAIL PROTECTED]/border.navLogin]: Users is not mapped [select u from Users as u where u.email = :email and u.password = :pass] [context:/WEB-INF/Border.jwc, line 32, column 46] Could anyone lead me in the right direction with this configuration? Thanks. -- ~chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tapernate configuration questions
I am attempting to migrate my application to make use of Tapernate. I pulled down the SVN and understand most of the configuration. The problem I believe I am having is my application is not mapping my hibernate resources. Here is my Tapernate contribution in hivemind.xml hibernate.cfg.xml And here is my hibernate.cfg.xml file: Currenlty I have hibernate.cfg.xml and all the .hbm.xml files located in /WEB-INF/ of my application. When deploying the app hibernate appears to be configured: 14:33:24,840 INFO [Environment] Hibernate 3.1.2 14:33:24,859 INFO [Environment] hibernate.properties not found 14:33:24,889 INFO [Environment] using bytecode reflection optimizer 14:33:24,890 INFO [Environment] Bytecode provider name : cglib 14:33:24,894 INFO [Environment] using JDK 1.4 java.sql.Timestamp handling 14:33:25,156 INFO [Configuration] configuring from resource: hibernate.cfg.xml 14:33:25,189 INFO [Configuration] Configuration resource: hibernate.cfg.xml 14:33:25,549 INFO [Configuration] Configured SessionFactory: null 14:33:25,852 INFO [C3P0ConnectionProvider] C3P0 using driver: org.postgresql.Driver at URL: jdbc:postgresql://localhost/tpp 14:33:25,861 INFO [C3P0ConnectionProvider] Connection properties: {user=tpp, password=} 14:33:25,862 INFO [C3P0ConnectionProvider] autocommit mode: false When I attempt to log into my application I get the following which I assume is because hibernate hasn't read any of my mapping files: Unable to process client request: Failure invoking listener method 'public void com.tapp.view.components.NavLogin.formSubmit( org.apache.tapestry.IRequestCycle)' on [EMAIL PROTECTED]/border.navLogin]: Users is not mapped [select u from Users as u where u.email = :email and u.password = :pass] org.apache.hivemind.ApplicationRuntimeException: Failure invoking listener method 'public void com.tapp.view.components.NavLogin.formSubmit( org.apache.tapestry.IRequestCycle)' on [EMAIL PROTECTED]/border.navLogin]: Users is not mapped [select u from Users as u where u.email = :email and u.password = :pass] [context:/WEB-INF/Border.jwc, line 32, column 46] Could anyone lead me in the right direction with this configuration? Thanks. -- ~chris
RE: Accessing unbound textfields
Thanks for your suggestion Lothar. But I think it will be faster/easier to just use the getParameter/getParameters methods from the IRequestCycle after form submission to retrieve the generated fields, as Andreas was suggesting. Kind regards, Bianca -Original Message- From: Lothar Reisinger [mailto:[EMAIL PROTECTED] Sent: dinsdag 16 mei 2006 16:31 To: Tapestry users Subject: Re: Accessing unbound textfields Create an own component, derived from AbstractFormComponent. Build the html in the method renderFormComponent. Receive the parameters in the method rewindFormComponent. You should manage the required javascript with the tapestry script mechanism in the same class. Does that help? Bode, Bianca wrote: > Hello all, > > I was wondering if anyone has ever did something like I've described > below, and if so how???: > > I need to make a page with 1 textfield, and when some enters a number > in this Textfield I generate (with javascript) that number of extra > Textfields. > Tapestry is unaware of these extra fields, as I have generated them at > client-side. > Upon form submission I need these textfields so I can create new > objects > (1 for each field) and set one of the properties with the value > entered in the TextField. > > I have no idea how to go about this. > Anyone? > > Kind regards, Bianca > > - > 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: File with different license inside Tapestry code base
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Actually, this is not a proper approach to this issue for two very significant reasons (and having recently seen one of the biggest "legal" teams at work, you very seldom get a second chance to tell them to "do their job" :-)]: 1. PracticalBrowserSniffer.js is licensed under the NPL version 1.1 - not the MPL. While they are closely related, they are not the same. 2. The differences between the NPL and MPL, as discussed on legal and compiled on the below referenced page, make the NPL incompatible with Apache releases [in the page below, MPL is category B, NPL is category X] Ref: http://people.apache.org/~cliffs/3party.html Sergei Dubov wrote: > Politely tell your legal department to do their job and to review > Mozilla Public License (the former NPL), and confirm that it is actually > even more liberal than Apache 2. :-) > > -Serge > > Renat Zubairov wrote: >> Hello All, >> >> Our legal department was checking tapestry and dependencies, and it >> seems to be that file: >> >> tapestry-4.0-rc-3/framework/src/java/org/apache/tapestry/html/PracticalBrowserSniffer.js >> >> >> Is not under apache licnese. If I'll remove this file from tapestry >> JAR file will everything else work? >> Thank you. >> > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.5 (MingW32) iD8DBQFEaeKmaCoPKRow/gARAuh9AJ9tKaRSyTQWthxoqiUD4RC6/EUisACePe9H 5i43df/LqALXSYqTncazlJ0= =ZIyp -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Accessing unbound textfields
OK that's what I need, thank you :) -Original Message- From: Andreas Andreou [mailto:[EMAIL PROTECTED] Sent: dinsdag 16 mei 2006 16:39 To: Tapestry users Subject: Re: Accessing unbound textfields See http://jakarta.apache.org/tapestry/tapestry/apidocs/org/apache/tapestry/ IRequestCycle.html getParameter and getParameters will do the trick Bode, Bianca wrote: > Hello all, > > I was wondering if anyone has ever did something like I've described > below, and if so how???: > > I need to make a page with 1 textfield, and when some enters a number > in this Textfield I generate (with javascript) that number of extra > Textfields. > Tapestry is unaware of these extra fields, as I have generated them at > client-side. > Upon form submission I need these textfields so I can create new > objects > (1 for each field) and set one of the properties with the value > entered in the TextField. > > I have no idea how to go about this. > Anyone? > > Kind regards, Bianca > > - > 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Accessing unbound textfields
Create an own component, derived from AbstractFormComponent. Build the html in the method renderFormComponent. Receive the parameters in the method rewindFormComponent. You should manage the required javascript with the tapestry script mechanism in the same class. Does that help? Bode, Bianca wrote: Hello all, I was wondering if anyone has ever did something like I've described below, and if so how???: I need to make a page with 1 textfield, and when some enters a number in this Textfield I generate (with javascript) that number of extra Textfields. Tapestry is unaware of these extra fields, as I have generated them at client-side. Upon form submission I need these textfields so I can create new objects (1 for each field) and set one of the properties with the value entered in the TextField. I have no idea how to go about this. Anyone? Kind regards, Bianca - 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: File with different license inside Tapestry code base
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 This is where definitions of "currently" come in to play :-) The 3.x series also references it in the inspector. Andreas Andreou wrote: > For those wondering, it's currently used by contrib:Palette > > Sergei Dubov wrote: >> Politely tell your legal department to do their job and to review >> Mozilla Public License (the former NPL), and confirm that it is >> actually even more liberal than Apache 2. :-) >> >> -Serge >> >> Renat Zubairov wrote: >>> Hello All, >>> >>> Our legal department was checking tapestry and dependencies, and it >>> seems to be that file: >>> >>> tapestry-4.0-rc-3/framework/src/java/org/apache/tapestry/html/PracticalBrowserSniffer.js >>> >>> >>> Is not under apache licnese. If I'll remove this file from tapestry >>> JAR file will everything else work? >>> Thank you. >>> -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.5 (MingW32) iD8DBQFEaeGyaCoPKRow/gARAgJ9AKDLTSHu/0qsDlPG5xp3/1REpzLJAACgsGJB lJfFNQPDY/43RxaqBJjH9fo= =/2y8 -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Accessing unbound textfields
See http://jakarta.apache.org/tapestry/tapestry/apidocs/org/apache/tapestry/IRequestCycle.html getParameter and getParameters will do the trick Bode, Bianca wrote: Hello all, I was wondering if anyone has ever did something like I've described below, and if so how???: I need to make a page with 1 textfield, and when some enters a number in this Textfield I generate (with javascript) that number of extra Textfields. Tapestry is unaware of these extra fields, as I have generated them at client-side. Upon form submission I need these textfields so I can create new objects (1 for each field) and set one of the properties with the value entered in the TextField. I have no idea how to go about this. Anyone? Kind regards, Bianca - 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: ServletContext
It should be inside, as it wont be edited too many times. I was thinking about putting it inside the WEB-INF folder. On 5/16/06, Hugo Palma <[EMAIL PROTECTED]> wrote: Do you want the properties file to be inside the war or outside ? On 5/16/06, Rui Pacheco <[EMAIL PROTECTED]> wrote: > > I dont doubt HiveMind would be the right way to go, but the learning curve > seems to be a bit too steep for my timeframe. > Can I insist on an example using ServletContextListener, ie, something > that > being all in Java would be more in my reach? > > On the other hand, if someone has configured a connection pool (any or > Proxool in particular) using HiveMind and is willing to share the example, > I > would be more than gratefull. > > > On 5/16/06, Hugo Palma <[EMAIL PROTECTED]> wrote: > > > > In that case, why don't you configure Proxool as a service in you > > hivemodule.xml file ? That's where your service configuration should > take > > place. > > > > My ServletContextListener suggestion usually works well when you have a > > properties bundle that you want to place outside the war so that it can > be > > easily changed. In your case i think the most appropriate is to use > > hivemind > > configurations to do the job. > > Am i making sense here ? > > > > On 5/16/06, Rui Pacheco <[EMAIL PROTECTED]> wrote: > > > > > > Ok... > > > The properties file holds configuration data for Proxool, the > connection > > > pool I'm using with my application. > > > > > > On 5/16/06, James Carman <[EMAIL PROTECTED]> wrote: > > > > > > > > First of all, what does that properties file contain? You know, > > > HiveMind > > > > is > > > > a configuration microkernel, so you can do a lot of configuration > with > > > > HiveMind. > > > > > > > > -Original Message- > > > > From: Rui Pacheco [mailto:[EMAIL PROTECTED] > > > > Sent: Tuesday, May 16, 2006 9:02 AM > > > > To: Tapestry users > > > > Subject: Re: ServletContext > > > > > > > > Could you or someone else give me an example on how to do that? > > > > > > > > On 5/16/06, Hugo Palma <[EMAIL PROTECTED]> wrote: > > > > > > > > > > I would implement such a feature using a ServletContextListener. > > > > Something > > > > > like the HiveUtils SystemPropertyInitListener class. > > > > > > > > > > Cheers > > > > > > > > > > Hugo > > > > > > > > > > On 5/16/06, Rui Pacheco <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > Hi all > > > > > > > > > > > > I was planning on storing a properties file inside my WEB-INF > > > > directory > > > > > > and > > > > > > then read it using getResourceAsStream from ServletContext, but > > > > > apparently > > > > > > I > > > > > > can't access the ServletContext from inside Tapestry. > > > > > > Is there another way to read the properties file or how to get > to > > my > > > > > > ServletContext? > > > > > > > > > > > > -- > > > > > > Cumprimentos, > > > > > > Rui Pacheco > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > Cumprimentos, > > > > Rui Pacheco > > > > > > > > > > > > > > > > > - > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > -- > > > Cumprimentos, > > > Rui Pacheco > > > > > > > > > > > > > -- > Cumprimentos, > Rui Pacheco > > -- Cumprimentos, Rui Pacheco
Re: ServletContext
Do you want the properties file to be inside the war or outside ? On 5/16/06, Rui Pacheco <[EMAIL PROTECTED]> wrote: I dont doubt HiveMind would be the right way to go, but the learning curve seems to be a bit too steep for my timeframe. Can I insist on an example using ServletContextListener, ie, something that being all in Java would be more in my reach? On the other hand, if someone has configured a connection pool (any or Proxool in particular) using HiveMind and is willing to share the example, I would be more than gratefull. On 5/16/06, Hugo Palma <[EMAIL PROTECTED]> wrote: > > In that case, why don't you configure Proxool as a service in you > hivemodule.xml file ? That's where your service configuration should take > place. > > My ServletContextListener suggestion usually works well when you have a > properties bundle that you want to place outside the war so that it can be > easily changed. In your case i think the most appropriate is to use > hivemind > configurations to do the job. > Am i making sense here ? > > On 5/16/06, Rui Pacheco <[EMAIL PROTECTED]> wrote: > > > > Ok... > > The properties file holds configuration data for Proxool, the connection > > pool I'm using with my application. > > > > On 5/16/06, James Carman <[EMAIL PROTECTED]> wrote: > > > > > > First of all, what does that properties file contain? You know, > > HiveMind > > > is > > > a configuration microkernel, so you can do a lot of configuration with > > > HiveMind. > > > > > > -Original Message- > > > From: Rui Pacheco [mailto:[EMAIL PROTECTED] > > > Sent: Tuesday, May 16, 2006 9:02 AM > > > To: Tapestry users > > > Subject: Re: ServletContext > > > > > > Could you or someone else give me an example on how to do that? > > > > > > On 5/16/06, Hugo Palma <[EMAIL PROTECTED]> wrote: > > > > > > > > I would implement such a feature using a ServletContextListener. > > > Something > > > > like the HiveUtils SystemPropertyInitListener class. > > > > > > > > Cheers > > > > > > > > Hugo > > > > > > > > On 5/16/06, Rui Pacheco <[EMAIL PROTECTED]> wrote: > > > > > > > > > > Hi all > > > > > > > > > > I was planning on storing a properties file inside my WEB-INF > > > directory > > > > > and > > > > > then read it using getResourceAsStream from ServletContext, but > > > > apparently > > > > > I > > > > > can't access the ServletContext from inside Tapestry. > > > > > Is there another way to read the properties file or how to get to > my > > > > > ServletContext? > > > > > > > > > > -- > > > > > Cumprimentos, > > > > > Rui Pacheco > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > Cumprimentos, > > > Rui Pacheco > > > > > > > > > > > > - > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > -- > > Cumprimentos, > > Rui Pacheco > > > > > > -- Cumprimentos, Rui Pacheco
Re: File with different license inside Tapestry code base
For those wondering, it's currently used by contrib:Palette Sergei Dubov wrote: Politely tell your legal department to do their job and to review Mozilla Public License (the former NPL), and confirm that it is actually even more liberal than Apache 2. :-) -Serge Renat Zubairov wrote: Hello All, Our legal department was checking tapestry and dependencies, and it seems to be that file: tapestry-4.0-rc-3/framework/src/java/org/apache/tapestry/html/PracticalBrowserSniffer.js Is not under apache licnese. If I'll remove this file from tapestry JAR file will everything else work? Thank you. - 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: File with different license inside Tapestry code base
Politely tell your legal department to do their job and to review Mozilla Public License (the former NPL), and confirm that it is actually even more liberal than Apache 2. :-) -Serge Renat Zubairov wrote: Hello All, Our legal department was checking tapestry and dependencies, and it seems to be that file: tapestry-4.0-rc-3/framework/src/java/org/apache/tapestry/html/PracticalBrowserSniffer.js Is not under apache licnese. If I'll remove this file from tapestry JAR file will everything else work? Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Accessing unbound textfields
Hello all, I was wondering if anyone has ever did something like I've described below, and if so how???: I need to make a page with 1 textfield, and when some enters a number in this Textfield I generate (with javascript) that number of extra Textfields. Tapestry is unaware of these extra fields, as I have generated them at client-side. Upon form submission I need these textfields so I can create new objects (1 for each field) and set one of the properties with the value entered in the TextField. I have no idea how to go about this. Anyone? Kind regards, Bianca - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ServletContext
I dont doubt HiveMind would be the right way to go, but the learning curve seems to be a bit too steep for my timeframe. Can I insist on an example using ServletContextListener, ie, something that being all in Java would be more in my reach? On the other hand, if someone has configured a connection pool (any or Proxool in particular) using HiveMind and is willing to share the example, I would be more than gratefull. On 5/16/06, Hugo Palma <[EMAIL PROTECTED]> wrote: In that case, why don't you configure Proxool as a service in you hivemodule.xml file ? That's where your service configuration should take place. My ServletContextListener suggestion usually works well when you have a properties bundle that you want to place outside the war so that it can be easily changed. In your case i think the most appropriate is to use hivemind configurations to do the job. Am i making sense here ? On 5/16/06, Rui Pacheco <[EMAIL PROTECTED]> wrote: > > Ok... > The properties file holds configuration data for Proxool, the connection > pool I'm using with my application. > > On 5/16/06, James Carman <[EMAIL PROTECTED]> wrote: > > > > First of all, what does that properties file contain? You know, > HiveMind > > is > > a configuration microkernel, so you can do a lot of configuration with > > HiveMind. > > > > -Original Message- > > From: Rui Pacheco [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, May 16, 2006 9:02 AM > > To: Tapestry users > > Subject: Re: ServletContext > > > > Could you or someone else give me an example on how to do that? > > > > On 5/16/06, Hugo Palma <[EMAIL PROTECTED]> wrote: > > > > > > I would implement such a feature using a ServletContextListener. > > Something > > > like the HiveUtils SystemPropertyInitListener class. > > > > > > Cheers > > > > > > Hugo > > > > > > On 5/16/06, Rui Pacheco <[EMAIL PROTECTED]> wrote: > > > > > > > > Hi all > > > > > > > > I was planning on storing a properties file inside my WEB-INF > > directory > > > > and > > > > then read it using getResourceAsStream from ServletContext, but > > > apparently > > > > I > > > > can't access the ServletContext from inside Tapestry. > > > > Is there another way to read the properties file or how to get to my > > > > ServletContext? > > > > > > > > -- > > > > Cumprimentos, > > > > Rui Pacheco > > > > > > > > > > > > > > > > > > > > -- > > Cumprimentos, > > Rui Pacheco > > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > -- > Cumprimentos, > Rui Pacheco > > -- Cumprimentos, Rui Pacheco
Re: ServletContext
You are, I just didnt know I could do it that way. I'm going to look at HiveMind's documentation for examples. On 5/16/06, Hugo Palma <[EMAIL PROTECTED]> wrote: In that case, why don't you configure Proxool as a service in you hivemodule.xml file ? That's where your service configuration should take place. My ServletContextListener suggestion usually works well when you have a properties bundle that you want to place outside the war so that it can be easily changed. In your case i think the most appropriate is to use hivemind configurations to do the job. Am i making sense here ? On 5/16/06, Rui Pacheco <[EMAIL PROTECTED]> wrote: > > Ok... > The properties file holds configuration data for Proxool, the connection > pool I'm using with my application. > > On 5/16/06, James Carman <[EMAIL PROTECTED]> wrote: > > > > First of all, what does that properties file contain? You know, > HiveMind > > is > > a configuration microkernel, so you can do a lot of configuration with > > HiveMind. > > > > -Original Message- > > From: Rui Pacheco [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, May 16, 2006 9:02 AM > > To: Tapestry users > > Subject: Re: ServletContext > > > > Could you or someone else give me an example on how to do that? > > > > On 5/16/06, Hugo Palma <[EMAIL PROTECTED]> wrote: > > > > > > I would implement such a feature using a ServletContextListener. > > Something > > > like the HiveUtils SystemPropertyInitListener class. > > > > > > Cheers > > > > > > Hugo > > > > > > On 5/16/06, Rui Pacheco <[EMAIL PROTECTED]> wrote: > > > > > > > > Hi all > > > > > > > > I was planning on storing a properties file inside my WEB-INF > > directory > > > > and > > > > then read it using getResourceAsStream from ServletContext, but > > > apparently > > > > I > > > > can't access the ServletContext from inside Tapestry. > > > > Is there another way to read the properties file or how to get to my > > > > ServletContext? > > > > > > > > -- > > > > Cumprimentos, > > > > Rui Pacheco > > > > > > > > > > > > > > > > > > > > -- > > Cumprimentos, > > Rui Pacheco > > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > -- > Cumprimentos, > Rui Pacheco > > -- Cumprimentos, Rui Pacheco
Re: ServletContext
In that case, why don't you configure Proxool as a service in you hivemodule.xml file ? That's where your service configuration should take place. My ServletContextListener suggestion usually works well when you have a properties bundle that you want to place outside the war so that it can be easily changed. In your case i think the most appropriate is to use hivemind configurations to do the job. Am i making sense here ? On 5/16/06, Rui Pacheco <[EMAIL PROTECTED]> wrote: Ok... The properties file holds configuration data for Proxool, the connection pool I'm using with my application. On 5/16/06, James Carman <[EMAIL PROTECTED]> wrote: > > First of all, what does that properties file contain? You know, HiveMind > is > a configuration microkernel, so you can do a lot of configuration with > HiveMind. > > -Original Message- > From: Rui Pacheco [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 16, 2006 9:02 AM > To: Tapestry users > Subject: Re: ServletContext > > Could you or someone else give me an example on how to do that? > > On 5/16/06, Hugo Palma <[EMAIL PROTECTED]> wrote: > > > > I would implement such a feature using a ServletContextListener. > Something > > like the HiveUtils SystemPropertyInitListener class. > > > > Cheers > > > > Hugo > > > > On 5/16/06, Rui Pacheco <[EMAIL PROTECTED]> wrote: > > > > > > Hi all > > > > > > I was planning on storing a properties file inside my WEB-INF > directory > > > and > > > then read it using getResourceAsStream from ServletContext, but > > apparently > > > I > > > can't access the ServletContext from inside Tapestry. > > > Is there another way to read the properties file or how to get to my > > > ServletContext? > > > > > > -- > > > Cumprimentos, > > > Rui Pacheco > > > > > > > > > > > > > -- > Cumprimentos, > Rui Pacheco > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Cumprimentos, Rui Pacheco
RE: Validation BEFORE submit
I have written an integration between tapestry and fvalidate - amazingly called tapestryfvalidate. You can download the jar file at: https://tapestryfvalidate.dev.java.net/servlets/ProjectDocumentList It's not documented though... There is documentation on fvalidate at: http://www.phil-taylor.com/fvalidate/ fvalidate is a really good javascript validation library, providing loads of flexible validators. Jim -Original Message- From: ZedroS Schwart [mailto:[EMAIL PROTECTED] Sent: 16 May 2006 12:17 To: Tapestry users Subject: Re: Validation BEFORE submit > For instance, the page can > easily provide it's own validation that is not easily doable with normal > validators (eg making sure 2 password fields are equal). It looks like something many tapestry developpers could use... Is there a possibility of seeing the code/putting in the wiki ? Thanks in advance ZedroS On 5/15/06, Dan Adams <[EMAIL PROTECTED]> wrote: > > We did something similar by wrapping @Form with a component that can > provided multiple levels of validation. For instance, the page can > easily provide it's own validation that is not easily doable with normal > validators (eg making sure 2 password fields are equal). This has worked > well for us as a flexible way of creating custom validation without > having to create validators (since most of the custom validation is only > used in one page/component anyway). > > On Fri, 2006-05-12 at 22:29 +0200, Theo vN wrote: > > Hi > > > > Our project requires multiple stages of validation of data editable in a > > form. > > > > At first there is a draft stage - all submitted fields should be > validated > > but not all required fields have to be filled in - all submitted fields > must > > be persisted to database. > > > > Second stage requires more in depth validation and even more so during > third > > stage. The required validation stage change does not coincide with form > > submission but is process driven - the user is required to subsequently > > update/adjust form data to comply to finer grain validations. > > > > It seems not a problem to dynamically change validators and validation > code > > based on state. > > > > What I would like to do is to after state changes from say stage 2 to 3 > and > > more validation errors would occur on submission of form is to start the > > editing of data in a form with these validation errors/messages already > > showing - in other words I want to call the validation framework of the > > page/form before doing the submit but already on the initial rendering > of > > the page+form and have the validationdelegate do rendering of error > messages > > and fields in error. > > > > Is this possible? > > > -- > Dan Adams > Software Engineer > Interactive Factory > 617.235.5857 > > > - > 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: ServletContext
Ok... The properties file holds configuration data for Proxool, the connection pool I'm using with my application. On 5/16/06, James Carman <[EMAIL PROTECTED]> wrote: First of all, what does that properties file contain? You know, HiveMind is a configuration microkernel, so you can do a lot of configuration with HiveMind. -Original Message- From: Rui Pacheco [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 16, 2006 9:02 AM To: Tapestry users Subject: Re: ServletContext Could you or someone else give me an example on how to do that? On 5/16/06, Hugo Palma <[EMAIL PROTECTED]> wrote: > > I would implement such a feature using a ServletContextListener. Something > like the HiveUtils SystemPropertyInitListener class. > > Cheers > > Hugo > > On 5/16/06, Rui Pacheco <[EMAIL PROTECTED]> wrote: > > > > Hi all > > > > I was planning on storing a properties file inside my WEB-INF directory > > and > > then read it using getResourceAsStream from ServletContext, but > apparently > > I > > can't access the ServletContext from inside Tapestry. > > Is there another way to read the properties file or how to get to my > > ServletContext? > > > > -- > > Cumprimentos, > > Rui Pacheco > > > > > > -- Cumprimentos, Rui Pacheco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Cumprimentos, Rui Pacheco
RE: ServletContext
First of all, what does that properties file contain? You know, HiveMind is a configuration microkernel, so you can do a lot of configuration with HiveMind. -Original Message- From: Rui Pacheco [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 16, 2006 9:02 AM To: Tapestry users Subject: Re: ServletContext Could you or someone else give me an example on how to do that? On 5/16/06, Hugo Palma <[EMAIL PROTECTED]> wrote: > > I would implement such a feature using a ServletContextListener. Something > like the HiveUtils SystemPropertyInitListener class. > > Cheers > > Hugo > > On 5/16/06, Rui Pacheco <[EMAIL PROTECTED]> wrote: > > > > Hi all > > > > I was planning on storing a properties file inside my WEB-INF directory > > and > > then read it using getResourceAsStream from ServletContext, but > apparently > > I > > can't access the ServletContext from inside Tapestry. > > Is there another way to read the properties file or how to get to my > > ServletContext? > > > > -- > > Cumprimentos, > > Rui Pacheco > > > > > > -- Cumprimentos, Rui Pacheco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ServletContext
Could you or someone else give me an example on how to do that? On 5/16/06, Hugo Palma <[EMAIL PROTECTED]> wrote: I would implement such a feature using a ServletContextListener. Something like the HiveUtils SystemPropertyInitListener class. Cheers Hugo On 5/16/06, Rui Pacheco <[EMAIL PROTECTED]> wrote: > > Hi all > > I was planning on storing a properties file inside my WEB-INF directory > and > then read it using getResourceAsStream from ServletContext, but apparently > I > can't access the ServletContext from inside Tapestry. > Is there another way to read the properties file or how to get to my > ServletContext? > > -- > Cumprimentos, > Rui Pacheco > > -- Cumprimentos, Rui Pacheco
Re: Tapestry Mailing list
Waimun, You might have been unsubscribed due to bounces maybe? The old address is still good, for now, but you must resubscribe to the new one.. Everybody else... The web page still shows the subscribe url for the old jakarta list. What is the new subscribe address? Geoff On 5/15/06, Waimun Yeow <[EMAIL PROTECTED]> wrote: Hi Geoff, I have not been getting mails from the list since march. Just now, I tried to subscribe/help to the list to find out what's wrong with my subscription but I got an error from Mailer-daemon saying mailbox does not exist here. I tried tapestry-user@jakarta.apache.org and also tapestry-dev@jakarta.apache.org but no results. I feel that I just lost my connections with the mailing list. Has the list address moved somewhere? Please advice. Thanks, waimun -- The Spindle guy. http://spindle.sf.net Blog: http://jroller.com/page/glongman Other interests: http://www.squidoo.com/spaceelevator/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
File with different license inside Tapestry code base
Hello All, Our legal department was checking tapestry and dependencies, and it seems to be that file: tapestry-4.0-rc-3/framework/src/java/org/apache/tapestry/html/PracticalBrowserSniffer.js Is not under apache licnese. If I'll remove this file from tapestry JAR file will everything else work? Thank you. -- Best regards, Renat Zubairov
Re: ServletContext
I would implement such a feature using a ServletContextListener. Something like the HiveUtils SystemPropertyInitListener class. Cheers Hugo On 5/16/06, Rui Pacheco <[EMAIL PROTECTED]> wrote: Hi all I was planning on storing a properties file inside my WEB-INF directory and then read it using getResourceAsStream from ServletContext, but apparently I can't access the ServletContext from inside Tapestry. Is there another way to read the properties file or how to get to my ServletContext? -- Cumprimentos, Rui Pacheco
Re: Validation BEFORE submit
For instance, the page can easily provide it's own validation that is not easily doable with normal validators (eg making sure 2 password fields are equal). It looks like something many tapestry developpers could use... Is there a possibility of seeing the code/putting in the wiki ? Thanks in advance ZedroS On 5/15/06, Dan Adams <[EMAIL PROTECTED]> wrote: We did something similar by wrapping @Form with a component that can provided multiple levels of validation. For instance, the page can easily provide it's own validation that is not easily doable with normal validators (eg making sure 2 password fields are equal). This has worked well for us as a flexible way of creating custom validation without having to create validators (since most of the custom validation is only used in one page/component anyway). On Fri, 2006-05-12 at 22:29 +0200, Theo vN wrote: > Hi > > Our project requires multiple stages of validation of data editable in a > form. > > At first there is a draft stage - all submitted fields should be validated > but not all required fields have to be filled in - all submitted fields must > be persisted to database. > > Second stage requires more in depth validation and even more so during third > stage. The required validation stage change does not coincide with form > submission but is process driven - the user is required to subsequently > update/adjust form data to comply to finer grain validations. > > It seems not a problem to dynamically change validators and validation code > based on state. > > What I would like to do is to after state changes from say stage 2 to 3 and > more validation errors would occur on submission of form is to start the > editing of data in a form with these validation errors/messages already > showing - in other words I want to call the validation framework of the > page/form before doing the submit but already on the initial rendering of > the page+form and have the validationdelegate do rendering of error messages > and fields in error. > > Is this possible? > -- Dan Adams Software Engineer Interactive Factory 617.235.5857 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
ServletContext
Hi all I was planning on storing a properties file inside my WEB-INF directory and then read it using getResourceAsStream from ServletContext, but apparently I can't access the ServletContext from inside Tapestry. Is there another way to read the properties file or how to get to my ServletContext? -- Cumprimentos, Rui Pacheco
Re: I do not like the new tapestry logo (constructive criticism)
.. With bill gates dressed as a minotaur peeking out from a brick wall in the background :) Sorry, I like the idea, the image just popped up. Cheers, PS On 5/16/06, Andreas Bulling <[EMAIL PROTECTED]> wrote: On 16. Mai 2006 - 11:03:11, Schulte Marcus wrote: | ha, now I feel compelled to throw in my wisdom ;) | | I'd try to make something which contains the Apache-feather. | Lots of other apache projects do it. And the Apache-Connection | IS important for Tapestry. I know I would have had a much | harder time selling tapestry in my corp if it wasn't under | the apache umbrella ... Arachne holding the Apache feather?! ;-) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: I do not like the new tapestry logo (constructive criticism)
On 16. Mai 2006 - 11:03:11, Schulte Marcus wrote: | ha, now I feel compelled to throw in my wisdom ;) | | I'd try to make something which contains the Apache-feather. | Lots of other apache projects do it. And the Apache-Connection | IS important for Tapestry. I know I would have had a much | harder time selling tapestry in my corp if it wasn't under | the apache umbrella ... Arachne holding the Apache feather?! ;-) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: I do not like the new tapestry logo (constructive criticism)
ha, now I feel compelled to throw in my wisdom ;) I'd try to make something which contains the Apache-feather. Lots of other apache projects do it. And the Apache-Connection IS important for Tapestry. I know I would have had a much harder time selling tapestry in my corp if it wasn't under the apache umbrella ... Something very simple would do imo. say something vertical with the feather on top, forming a T ... > -Original Message- > From: Robin Ericsson [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 16, 2006 10:52 AM > To: Tapestry users > Subject: Re: I do not like the new tapestry logo (constructive > criticism) > > > On 5/16/06, Dwi Ardi Irawan <[EMAIL PROTECTED]> wrote: > > how about if we make a logo competition for tapestry ? > > and poll all developers > > How about we all give it a rest and let Howard give his point? After > all, without him there wouldn't be a framework at all. > > -- > regards, > Robin > > - > 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: I do not like the new tapestry logo (constructive criticism)
> The Postgresql elephant is a terrific logo because it suggests > elephantine memory. Just seeing a unicorn by itself doesnt really tie > itself to the project. You could depict a knight or a dragon > to the same > effect - it might be something appearing on heraldic > tapestries; either > way the tapestry idea is lost in the background. > > Here are ideas > - a spiderweb > - a loom > - a needle and thread > - if someone can draw Arachne (http://en.wikipedia.org/wiki/Arachne) > that might be mythological enough for some of the tastes here. hello - I've been hanging around this list for a while, but this is my first post ... for my $0.10/£0.02p worth: I think the Arachne idea is _brilliant_! Wins my vote. I'd tend to agree that the relationship between "tapestry" and "unicorn" is tenuous at best. I have a background in both art history/theory/philosophy and design before moving into development, so I know what I'm talking about ;D How about a contemporary-style re-interpretation of something like this: http://www.hranajanto.com/pgfx/BW/Arachne-200.gif I think having something "feminine" is a good thing, too: I think it would give the framework a "softer" connotations than "masculine" or "abstract"; it could suggest "easy-to-use" etc I know many good designers who'd would probably be happy to have a go at this for you for gratis. Anyway: back to list watching! :D Chris p.s. Tapestry is fantastic - I hope to get more involved with it (and this list) over the coming months DISCLAIMER: This e-mail is confidential and should not be used by anyone who is not the original intended recipient. If you have received this e-mail in error please inform the sender and delete it from your mailbox or any other storage mechanism. Neither Macmillan Publishers Limited nor any of its agents accept liability for any statements made which are clearly the sender's own and not expressly made on behalf of Macmillan Publishers Limited or one of its agents. Please note that neither Macmillan Publishers Limited nor any of its agents accept any responsibility for viruses that may be contained in this e-mail or its attachments and it is your responsibility to scan the e-mail and attachments (if any). No contracts may be concluded on behalf of Macmillan Publishers Limited or its agents by means of e-mail communication. Macmillan Publishers Limited Registered in England and Wales with registered number 785998 Registered Office Brunel Road, Houndmills, Basingstoke RG21 6XS - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: I do not like the new tapestry logo (constructive criticism)
On 5/16/06, Dwi Ardi Irawan <[EMAIL PROTECTED]> wrote: how about if we make a logo competition for tapestry ? and poll all developers How about we all give it a rest and let Howard give his point? After all, without him there wouldn't be a framework at all. -- regards, Robin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: I do not like the new tapestry logo (constructive criticism)
That's not fair! That guy who knows how to paint will win easily! :) Cheers, PS On 5/16/06, Dwi Ardi Irawan <[EMAIL PROTECTED]> wrote: how about if we make a logo competition for tapestry ? and poll all developers Stephane Decleire wrote: > For me Tapestry is the most advanced framework to build websites so > why associate to it an oldish picture ? > Moreover, i'm not so sure a logo should be so complex as a decorated > letter or mythological animal. A logo needs to be printed on papers or > webpages with low resolution. BTW, Tapestry is not Hibernate or EJB3 > so I don' t think DB cylinders convey the good picture ... > > I think that the logo should remember what Tapestry is : > - a framework at the leading edge of Java technologies (so i would > vote for a "modern" logo). > - a framework for the UI layer (so the loom which generates something > to see is not a bad idea but hard to symbolize). > - the only framework for the UI with a component oriented approach (so > building blocks seems good ... but already used a thousand of times). > - powerfull but usable in RAD (Cognition) > > IMHO and by experience, i don't think technical staff are good for > drawing logos. That's to different form our job ... I wouldn't let a > pianist or my baker touch my keyboard ... > Is there anybody who knows an "artist" or someone who work in a com > agency ? > > Nick Westgate wrote: > >> Peter is referring to the "decorated T" idea in my other post. >> E.g. The Book of Kells has a pretty stylish 'T': (Ok, not a tapestry >> though) >> http://www.snake.net/people/paul/kells/image/kell2bmp >> >> As usual, multiple Nicks cause confusion! ;-) >> Anyway, the ideas should come forth now, as there is already a "new >> logo". >> >> Peter's idea of decoration with DB cylinders is cool. >> >> Cheers, >> Nick. >> >> >> Nick Faiz wrote: >> >>> Yeh, that's cool. >>> >>> I didn't mean to jump the gun by offering ideas. Apologies if I've >>> created confusion on the list. I was simply providing ideas because >>> someone said that criticism without alternative suggestions wasn't >>> constructive. >>> >>> Nick >>> >>> >>> Peter Svensson wrote: >>> I like the "decorated T" idea, like the large beginning letter in old (or faux-old) fairy tale books, but with small database cylinders and keyboards instead of leaves and TP-5 instead of vines :) Hmm, wish I knew how to draw that.. Cheers, PS >>> >> >> - >> 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: I do not like the new tapestry logo (constructive criticism)
how about if we make a logo competition for tapestry ? and poll all developers Stephane Decleire wrote: For me Tapestry is the most advanced framework to build websites so why associate to it an oldish picture ? Moreover, i'm not so sure a logo should be so complex as a decorated letter or mythological animal. A logo needs to be printed on papers or webpages with low resolution. BTW, Tapestry is not Hibernate or EJB3 so I don' t think DB cylinders convey the good picture ... I think that the logo should remember what Tapestry is : - a framework at the leading edge of Java technologies (so i would vote for a "modern" logo). - a framework for the UI layer (so the loom which generates something to see is not a bad idea but hard to symbolize). - the only framework for the UI with a component oriented approach (so building blocks seems good ... but already used a thousand of times). - powerfull but usable in RAD (Cognition) IMHO and by experience, i don't think technical staff are good for drawing logos. That's to different form our job ... I wouldn't let a pianist or my baker touch my keyboard ... Is there anybody who knows an "artist" or someone who work in a com agency ? Nick Westgate wrote: Peter is referring to the "decorated T" idea in my other post. E.g. The Book of Kells has a pretty stylish 'T': (Ok, not a tapestry though) http://www.snake.net/people/paul/kells/image/kell2bmp As usual, multiple Nicks cause confusion! ;-) Anyway, the ideas should come forth now, as there is already a "new logo". Peter's idea of decoration with DB cylinders is cool. Cheers, Nick. Nick Faiz wrote: Yeh, that's cool. I didn't mean to jump the gun by offering ideas. Apologies if I've created confusion on the list. I was simply providing ideas because someone said that criticism without alternative suggestions wasn't constructive. Nick Peter Svensson wrote: I like the "decorated T" idea, like the large beginning letter in old (or faux-old) fairy tale books, but with small database cylinders and keyboards instead of leaves and TP-5 instead of vines :) Hmm, wish I knew how to draw that.. Cheers, PS - 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: I do not like the new tapestry logo (constructive criticism)
For me Tapestry is the most advanced framework to build websites so why associate to it an oldish picture ? Moreover, i'm not so sure a logo should be so complex as a decorated letter or mythological animal. A logo needs to be printed on papers or webpages with low resolution. BTW, Tapestry is not Hibernate or EJB3 so I don' t think DB cylinders convey the good picture ... I think that the logo should remember what Tapestry is : - a framework at the leading edge of Java technologies (so i would vote for a "modern" logo). - a framework for the UI layer (so the loom which generates something to see is not a bad idea but hard to symbolize). - the only framework for the UI with a component oriented approach (so building blocks seems good ... but already used a thousand of times). - powerfull but usable in RAD (Cognition) IMHO and by experience, i don't think technical staff are good for drawing logos. That's to different form our job ... I wouldn't let a pianist or my baker touch my keyboard ... Is there anybody who knows an "artist" or someone who work in a com agency ? Nick Westgate wrote: Peter is referring to the "decorated T" idea in my other post. E.g. The Book of Kells has a pretty stylish 'T': (Ok, not a tapestry though) http://www.snake.net/people/paul/kells/image/kell2bmp As usual, multiple Nicks cause confusion! ;-) Anyway, the ideas should come forth now, as there is already a "new logo". Peter's idea of decoration with DB cylinders is cool. Cheers, Nick. Nick Faiz wrote: Yeh, that's cool. I didn't mean to jump the gun by offering ideas. Apologies if I've created confusion on the list. I was simply providing ideas because someone said that criticism without alternative suggestions wasn't constructive. Nick Peter Svensson wrote: I like the "decorated T" idea, like the large beginning letter in old (or faux-old) fairy tale books, but with small database cylinders and keyboards instead of leaves and TP-5 instead of vines :) Hmm, wish I knew how to draw that.. Cheers, PS - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Stéphane Decleire 05 56 57 99 20 06 63 78 69 06
Re: I do not like the new tapestry logo (constructive criticism)
Peter is referring to the "decorated T" idea in my other post. E.g. The Book of Kells has a pretty stylish 'T': (Ok, not a tapestry though) http://www.snake.net/people/paul/kells/image/kell2bmp As usual, multiple Nicks cause confusion! ;-) Anyway, the ideas should come forth now, as there is already a "new logo". Peter's idea of decoration with DB cylinders is cool. Cheers, Nick. Nick Faiz wrote: Yeh, that's cool. I didn't mean to jump the gun by offering ideas. Apologies if I've created confusion on the list. I was simply providing ideas because someone said that criticism without alternative suggestions wasn't constructive. Nick Peter Svensson wrote: I like the "decorated T" idea, like the large beginning letter in old (or faux-old) fairy tale books, but with small database cylinders and keyboards instead of leaves and TP-5 instead of vines :) Hmm, wish I knew how to draw that.. Cheers, PS - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: I do not like the new tapestry logo (constructive criticism)
Yeh, that's cool. I didn't mean to jump the gun by offering ideas. Apologies if I've created confusion on the list. I was simply providing ideas because someone said that criticism without alternative suggestions wasn't constructive. Nick Peter Svensson wrote: I like the "decorated T" idea, like the large beginning letter in old (or faux-old) fairy tale books, but with small database cylinders and keyboards instead of leaves and TP-5 instead of vines :) Hmm, wish I knew how to draw that.. Cheers, PS On 5/16/06, Aleksej <[EMAIL PROTECTED]> wrote: Nick Faiz wrote: > The Postgresql elephant is a terrific logo because it suggests > elephantine memory. Just seeing a unicorn by itself doesnt really tie > itself to the project. You could depict a knight or a dragon to the > same effect - it might be something appearing on heraldic tapestries; > either way the tapestry idea is lost in the background. > > Here are ideas > - a spiderweb > - a loom > - a needle and thread > - if someone can draw Arachne (http://en.wikipedia.org/wiki/Arachne) > that might be mythological enough for some of the tastes here. > The loom is nice idea. By the way, I don't remember anything about logo contest, it could be nice to do one. - 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: I do not like the new tapestry logo (constructive criticism)
I like the "decorated T" idea, like the large beginning letter in old (or faux-old) fairy tale books, but with small database cylinders and keyboards instead of leaves and TP-5 instead of vines :) Hmm, wish I knew how to draw that.. Cheers, PS On 5/16/06, Aleksej <[EMAIL PROTECTED]> wrote: Nick Faiz wrote: > The Postgresql elephant is a terrific logo because it suggests > elephantine memory. Just seeing a unicorn by itself doesnt really tie > itself to the project. You could depict a knight or a dragon to the > same effect - it might be something appearing on heraldic tapestries; > either way the tapestry idea is lost in the background. > > Here are ideas > - a spiderweb > - a loom > - a needle and thread > - if someone can draw Arachne (http://en.wikipedia.org/wiki/Arachne) > that might be mythological enough for some of the tastes here. > The loom is nice idea. By the way, I don't remember anything about logo contest, it could be nice to do one. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]