Re: [TAP3] @ImageSubmit and javascript onClick problem

2006-01-29 Thread Taavi Sildeberg
Thanks for the quick answer, but still, the deletion will be triggered. I have the deletion inside a form listener. Could this be the problem? That the form listener will still be activated. Is possible to somehow prevent that? Daniel Lydiard wrote: Try event.returnValue: selected="ognl:delCa

Re: [TAP3] @ImageSubmit and javascript onClick problem

2006-01-29 Thread Daniel Lydiard
Try event.returnValue: selected="ognl:delCargo" tag="ognl:cargo"/> - Original Message - From: "Taavi Sildeberg" <[EMAIL PROTECTED]> To: "Tapersty List" Sent: Sunday, January 29, 2006 10:33 PM Subject: [TAP3] @ImageSubmit and javascript onClick problem Hey everybody, I have a pr

[TAP3] @ImageSubmit and javascript onClick problem

2006-01-29 Thread Taavi Sildeberg
Hey everybody, I have a problem with @ImageSubmit and javascript onClick function. In my html template is next line: It raises a javascript confirmation box and user confirms deletion. For some reason it won't matter if a press yes or cancel result is the same. ImageSubmit still triggers sub

JSF & Seam vs Tapestry & HiveMind

2006-01-29 Thread Andrew Pym
Am I right in that JBoss has come up with a product which is very HiveMind like in Seam? http://docs.jboss.com/seam/reference/en/html/pr01.html The documentation puts Seam at the Context Management layer, Above EJB & Hibernate but below JSF and Presentation layers, although also described as a un

Re: Wiring up an Export service

2006-01-29 Thread Steve Wells
Thanks all for a overwhelming and generous set of responses. I've not long had a chance to get back to this but still fail to see what benefit a service gives me for this problem. My first effort, before reading how many folks think a service is the way to go, was basically as follows: 1. Report

Any examples of J2EE security with Tapestry 4?

2006-01-29 Thread Brian Sam-Bodden
I'm trying to use J2EE/JAAS security in a JBoss 4.0.3 EJB3 SLSB application using Tapestry 4.0. My app is a portal-like app so I have a login form always present. Right now I'm keeping a session-scoped application state object whose presence I used to know if there is a user logged in (in which

RE: Authentication module in Tapestry

2006-01-29 Thread Patrick Casey
Did you try just implementing PageValidateListener? For simple stuff that's going to be a lot easier than hacking BaseEngine. --- Pat > -Original Message- > From: Tomcy John [mailto:[EMAIL PROTECTED] > Sent: Sunday, January 29, 2006 7:47 PM > To: Tapestry users > Subject:

Authentication module in Tapestry

2006-01-29 Thread Tomcy John
Hi All, Does anyone have a sample authentication module implemented in tapestry. I would like to know where to write the authentication code for each request that comes through the web server to the application server. I think BaseEngine class is a good place to do this. Any samples done on this

Re: How can you control the Form URL in tapestry 4.

2006-01-29 Thread Jesse Kuhnert
Hmmm...I think what you want to do could be done with a tiny bit of javascript. I prefer to use http://dojotoolkit.org for event connection, but you can do whatever you want. Assumedly you have one particular parameter you want to change (I hope), which is theoretically either a hidden input field

Re: How can you control the Form URL in tapestry 4.

2006-01-29 Thread Cliff Zhao
I'm also wondering how to do a similar thing, but I do submit the form to my tapestry application. One of the query parameters is encoded into the URL because that parameter needs to be used in authorization. The value of the parameter is from an option list. When submiting the form, I need to mod

Re: BindingException Issues more prominent with annotations

2006-01-29 Thread Chris Chiappone
New JIRA created: https://issues.apache.org/jira/browse/TAPESTRY-848 On 1/29/06, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > I don't have a test for this case, so it would certainly be a bug. > Based on how the code is organized, I can't see how this could happen > (confusion between the page

RE: Images from DB

2006-01-29 Thread Patrick Casey
This will probably help (3.0.3): 1: The Service: package services; import java.io.IOException; import javax.servlet.ServletException; import org.apache.tapestry.IComponent; import org.apache.tapestry.IRequestCycle; import org.apache.tapestry.engine.AbstractService; import org.

Re: Tapidea release 0.2

2006-01-29 Thread Hugo Palma
You should have an idea.log file in you system dir. This is usually in $USER_HOME/.Intellij/system/log I think this is the same on every system. You can see the location of you log file in the log4j configuration file log4.xml in you bin directory. Frank Rocco wrote: I do not get any error mes

Images from DB

2006-01-29 Thread skydiverx
Apologies all around if I have missed the obvious. What would be best practise if I have images stored as BLOBs in a DB and want to display those through a tag? This has to be a fairly common problem and yet we have failed to find some mention of this in the docs. I dont know if it's relevan

Re: Tapidea release 0.2

2006-01-29 Thread Frank Rocco
I do not get any error messages. Not sure where to look on a Mac for the log. Thanks Frank On Jan 29, 2006, at 2:47 PM, Hugo Palma wrote: No palette and no module type ? Is there any exception log ? Frank Rocco wrote: I downloaded 5.0.2 and I still do not see a Tapestry option. It says the

Re: [NewBe] Tapestry4 Sample Application

2006-01-29 Thread John Coleman
Buy the book, it's all great. Our developers found it invaluable. If only all the tec books were like this! I'd like one like that for HiveMind. John - Original Message - From: "ZedroS Schwart" <[EMAIL PROTECTED]> To: "Tapestry users" Sent: Sunday, January 29, 2006 8:39 PM Subject: Re:

Re: [NewBe] Tapestry4 Sample Application

2006-01-29 Thread ZedroS Schwart
Thanks Mat, I've found it in between and I am at the chapter 3, seriously wondering whether to buy the whole book. The explanation are just really good and deep, explaining the various possibilities and their impact. Great ! On 1/29/06, Mat Gessel <[EMAIL PROTECTED]> wrote: > Kent Tong's book exp

Re: Tapidea release 0.2

2006-01-29 Thread Hugo Palma
No palette and no module type ? Is there any exception log ? Frank Rocco wrote: I downloaded 5.0.2 and I still do not see a Tapestry option. It says the plugin is installed. Frank On Jan 29, 2006, at 2:25 PM, Hugo Palma wrote: It won't work in Idea 4.5. The plugin only works in the 5.x versio

Re: Tapidea release 0.2

2006-01-29 Thread Frank Rocco
I downloaded 5.0.2 and I still do not see a Tapestry option. It says the plugin is installed. Frank On Jan 29, 2006, at 2:25 PM, Hugo Palma wrote: It won't work in Idea 4.5. The plugin only works in the 5.x versions of Idea. It's certified(tested by me) since build 3542 of Idea(5.0.2). As

Re: Tapidea release 0.2

2006-01-29 Thread Frank Rocco
ok, I am downloading a 5.x trial. Thank you Frank On Jan 29, 2006, at 2:25 PM, Hugo Palma wrote: It won't work in Idea 4.5. The plugin only works in the 5.x versions of Idea. It's certified(tested by me) since build 3542 of Idea(5.0.2). As the development of this plugin started very rec

Re: Tapidea release 0.2

2006-01-29 Thread Hugo Palma
It won't work in Idea 4.5. The plugin only works in the 5.x versions of Idea. It's certified(tested by me) since build 3542 of Idea(5.0.2). As the development of this plugin started very recently i had to start with the 5.x version. It would actually work if the API for 5.x and 4.5 were compat

Re: [NewBe] Tapestry4 Sample Application

2006-01-29 Thread Mat Gessel
Kent Tong's book explains ASOs. It's up to date for T4 and the first 4 chapters are free. Check out chapter 4 for ASOs. http://www.agileskills2.org/EWDT -= Mat On 1/29/06, ZedroS Schwart <[EMAIL PROTECTED]> wrote: > Thanks a lot for your answer. I'm currently doing some tutorials I've > found (ho

Re: Tapidea release 0.2

2006-01-29 Thread Frank Rocco
How do I install in Idea 4.5? I dropped the Tapidea directory into the Idea Plugin directory. The says it is installed, but when I try to create a new module, I do not see tapestry as an option. I am running idea on a Mac OSX 10.4 Thanks Frank -

Re: BindingException Issues more prominent with annotations

2006-01-29 Thread Howard Lewis Ship
I don't have a test for this case, so it would certainly be a bug. Based on how the code is organized, I can't see how this could happen (confusion between the page and component annotations). Each "enhancement" of a class (page or component) gets its own instance of EnhancementOperationImpl, whi

Re: [NewBe] Tapestry4 Sample Application

2006-01-29 Thread ZedroS Schwart
Thanks a lot for your answer. I'm currently doing some tutorials I've found (hoping they'll content what I'm looking for). As soon as I've finished them I will go for your samples. Updating the Tapestry wiki with these samples might be a good idea too. BTW, I didn't found the source code for the w