Re: Tapestry to generate mails ?

2006-05-04 Thread Andreas Bulling
On 03. Mai 2006 - 23:02:53, Mark wrote: | I would agree with you if Tapestry would be used for email only and | nothing else, but if you have an application that is all Tapestry and in | one or two places the application requires sending out an email, I think | using Tapestry for that would make

Re: HTML tables

2006-05-03 Thread Andreas Bulling
On 03. Mai 2006 - 11:29:36, Mike Snare wrote: | Seriously, you need to buy kent's book. Or maybe look at the | documentation for the TableView component and/or the For component. No offence, but all those "buy Kent's book and read it" advices don't help if one needs a _quick_ answer to his questi

Re: [Tapernate] Error when trying to use c3p0 connection pooling

2006-05-02 Thread Andreas Bulling
| I use the mysql-connector-3.1.12. I've checked in the changes to | tapernate-example... Ah, and I see some new transaction/hibernate stuff, too ;-) Anything to tell concerning the code - can I try it, does it work already? Cheers, Andreas

Re: [Tapernate] Error when trying to use c3p0 connection pooling

2006-05-02 Thread Andreas Bulling
On 02. Mai 2006 - 14:16:29, Ted Steen wrote: | Thanks for your answers! | | I tried the url jdbc:mysql://localhost/tapestrySandbox but to no avail.. :/ | | James, which version of the connector did you use when you tried MySQL? | Also, it would be great if you could commit the mysql code (or just

Re: [Tapernate] Error when trying to use c3p0 connection pooling

2006-05-02 Thread Andreas Bulling
On 02. Mai 2006 - 13:26:04, Ted Steen wrote: | Ok, here are the relevant configuration files. | By the way.. is there anyone who use MySQL + Tapernate + c3p0? | Maybe it couldbe MySQL specific? I forgot to tell you the URL where you can find the (by the way recommended) connector: http://dev.mysq

Re: [Tapernate] Error when trying to use c3p0 connection pooling

2006-05-02 Thread Andreas Bulling
On 02. Mai 2006 - 13:26:04, Ted Steen wrote: | Ok, here are the relevant configuration files. | By the way.. is there anyone who use MySQL + Tapernate + c3p0? | Maybe it couldbe MySQL specific? Yes, me ;) After a quick look at your configuration I've found the following differences to my configu

Re: [Tapernate] Error when trying to use c3p0 connection pooling

2006-05-02 Thread Andreas Bulling
Hi Ted, to be honest I don't think that this has something to do with Tapernate because I'm using Tapernate quite happily with Hibernate and c3p0 without any problems. Can you post your configuration as something rather seems to be wrong there IMHO.. Cheers, Andreas On 02. Mai 2006 - 01:38:1

Re: Localized messages in service

2006-05-01 Thread Andreas Bulling
On 01. Mai 2006 - 14:35:21, James Carman wrote: | There is another option. Since there is a service point implementing | IRequestCycle, you can inject that instead and do: | | requestCycle.getPage().getMessages().getMessage( "message_key" ) | | That way, you could also override the message for i

Re: Localized messages in service

2006-05-01 Thread Andreas Bulling
On 01. Mai 2006 - 14:26:25, James Carman wrote: | What file are you expecting it to read those message definitions from? >From my_application.properties? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Localized messages in service

2006-05-01 Thread Andreas Bulling
Hi folks, probably it's a not very difficult question concerning localized messages in a service but as I have absolutely no idea what I could have done wrong here I am ;) That's the way I defined my service in hivemodule.xml: That's my service's constructor

Re: One question concerning Tapernate

2006-04-29 Thread Andreas Bulling
On 28. Apr 2006 - 22:10:57, James Carman wrote: | Well, I implemented it and another feature. Tapernate now includes support | for transaction-per-request (turned on by default) and | session-per-conversation (turned off by default). You can turn on/off these | features by doing: | | | |

Re: One question concerning Tapernate

2006-04-28 Thread Andreas Bulling
On 28. Apr 2006 - 17:47:09, James Carman wrote: | Well, it'd be quite easy. I'll write it tonight over a couple of beers. :-) *lol You're a bit crazy if I may say that ;-) Not that I want to complain about it because I'd really appreciate it if this fixes the problem I have. You're really doing

Re: One question concerning Tapernate

2006-04-28 Thread Andreas Bulling
On 28. Apr 2006 - 10:33:11, James Carman wrote: | You have to make sure your changes go on within a transaction. I'm going to | add transaction-per-request support in Tapernate soon. Well, I'm urgently waiting for this feature then ;) -

One question concerning Tapernate

2006-04-28 Thread Andreas Bulling
Hi folks, after having successfully changed my web application to Tapernate (Honeycomb just didn't work for me and it was too complex to change everything so that it works) there is one problem left I don't know a solution to: Using Persist("entity") on all the edit-pages doesn't seem to work as

Re: [HoneyComb] problems to get started...

2006-04-27 Thread Andreas Bulling
It seems to have been an error in the generated jar, now I get the following exception: --- Unable to construct service de.plattform.web.ConversationPropertyPersistenceStrategy: Error building service de.plattform.web.ConversationPropertyPersistenceStrategy: Service point de.plattform.web.Hiberna

[HoneyComb] problems to get started...

2006-04-27 Thread Andreas Bulling
Hi folks, after those many problems concerning session, transactions, etc. I decided to give Honeycomb a try and if it works switch to it completely. But the first problem arises when I try to open the testapplication: org.apache.hivemind.ApplicationRuntimeException: Error at context:/WEB-INF/hi

Re: Message Properties

2006-04-27 Thread Andreas Bulling
| First of all, I would like to say thank you for the prompt reply from | Andreas and Hugo. You're welcome ;) | From the above statement tapestry seem will load propertes with name | myapp.properties, and etc. However, I just can success load those properties | from myapp.properties only but tape

Re: I have a dream...

2006-04-27 Thread Andreas Bulling
On 27. Apr 2006 - 17:54:53, Sam Gendler wrote: | > | > Which book if I may ask? I'm interested in reading a _good_ book | > about this complex, too ;) | | This book: | | http://www.amazon.com/gp/product/0764574833/sr=8-1/qid=1146145934/ref=pd_bbs_1/104-4572588-6715928?%5Fencoding=UTF8 Thanks! :

Re: Another Tapestry example application

2006-04-27 Thread Andreas Bulling
I forgot to mention that it uses Tapestry 4 Cayenne 1.2 Maven JDK 1.5 and seems to be called macata ;) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Another Tapestry example application

2006-04-27 Thread Andreas Bulling
Hi folks, I've just found another Tapestry example application and as I haven't seen it mentioned in the last 3-4 months I just wanted to post this to the list for archiving reasons - perhaps it helps someone ;) http://web.aanet.com.au/websystems/index.html Especially the setup and usage guides

How to inject ASO in service?

2006-04-27 Thread Andreas Bulling
Hi folks, I've implemented the SecurityService I mentioned in a posting some hours ago... At least I thought of having implemented it ;) The problem is that I don't know how to access my visit-ASO from within my service: in hivemodule.xml and an appropriate setter doesn't work :( I've seen on

Re: Squeezer Pipeline?

2006-04-27 Thread Andreas Bulling
On 27. Apr 2006 - 09:23:30, James Carman wrote: | Yeah, but for my EntitySqueezer, you have to pick a common superclass for | your entities so the squeezer can say "I can squeeze these types of | objects." Hm, I don't see the problem with this... But well, very probably I just don't know enough ab

Re: Squeezer Pipeline?

2006-04-27 Thread Andreas Bulling
Hi James, from my understanding the current implementation is already something like a pipeline: Every squeezer gets asked if he is able to squeeze the object by checking the class he supports. So you just want to move the "logic" and decision from the upper level to the squeezers or didn't I get

Re: ASO <-> "normal" service

2006-04-27 Thread Andreas Bulling
On 27. Apr 2006 - 08:50:44, James Carman wrote: | Pages and components. If you declare an abstract getter for a type that's | in the HiveMind registry as a service, then it'll enhance your | page/component class and provide the service object when you call it. Uh, cool! Something else _very_ usef

Re: ASO <-> "normal" service

2006-04-27 Thread Andreas Bulling
By the way (I've just seen it in your repository): What does your HiveMindAutowireWorker.java class "enhance"? Thanks! Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: ASO <-> "normal" service

2006-04-27 Thread Andreas Bulling
Hi James and thanks for your answer! | Well, an ASO is a "state object" and a service is just that, a service. What makes a service "just" service is the thing I'm interested in ;) | So, what I do in your situation is have my SecurityContext | service (threaded lifecycle) lookup an ASO (from th

Re: I have a dream...

2006-04-27 Thread Andreas Bulling
On 27. Apr 2006 - 14:34:05, Sam Gendler wrote: | Before I started my current project, I spent a week reading a | very thorough Spring book from cover to cover. I have no such option | with Hivemind, so I am still mostly clueless about it. Which book if I may ask? I'm interested in reading a _goo

ASO <-> "normal" service

2006-04-27 Thread Andreas Bulling
Hi folks, a rather simple question I wasn't able to find an answer to on my own: What's the difference between an ASO and a "normal" HiveMind service in terms of it's usage in Tapestry? When should I use an ASO/normal service to package some logic? Both can be simply injected into pages and IMHO

Re: Message Properties

2006-04-27 Thread Andreas Bulling
Hi, you know about the name_of_your_application.properties file below WEB-INF? Andreas On 27. Apr 2006 - 18:20:33, seng kim khong wrote: | Hi All, | | | I would like to ask that is it possible we can put the message properties | file in a centric place? | Because it will quite troublesome if

Re: Creating a Tabbed Panel

2006-04-26 Thread Andreas Bulling
On 26. Apr 2006 - 19:40:12, Izak Wessels wrote: | Neither do I think that it is technically inferior, just wasn't sure about the | compatibility with T4 Shouldn't be a problem ;) - To unsubscribe, e-mail: [EMAIL PROTECTED] For ad

Re: Creating a Tabbed Panel

2006-04-26 Thread Andreas Bulling
On 26. Apr 2006 - 19:06:34, Izak Wessels wrote: | Andreas, | | It says : Tapestry Compatibility: 3.0 Well, OK, but just because it says T3 it's not a problem to use it with T4. I don't think that the component is technically inferior just for this reason... Andreas -

Re: Creating a Tabbed Panel

2006-04-26 Thread Andreas Bulling
On 26. Apr 2006 - 17:45:23, Izak Wessels wrote: | Andreas, | | I have looked at both of them, but they seem to be more geared towards | T3, not T4 Why? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: Creating a Tabbed Panel

2006-04-26 Thread Andreas Bulling
Hi Izak, perhaps these are what your're looking for: http://www.tapestrycomponents.org/Tassel/app?service=direct/1/Search/viewComponent&sp=SpedroasTabPanel http://www.tapestrycomponents.org/Tassel/app?service=direct/1/Search/viewComponent&sp=SrobertzTabSet Cheers, Andreas -

Re: Includes with Tapestry

2006-04-26 Thread Andreas Bulling
Hi Gregor, actually "component" is just the right word and could be a possible answer/solution: http://jakarta.apache.org/tapestry/UsersGuide/components.html I you want to create bigger packages you can create libraries but I wasn't able to find the link in my bookmarks describing this possibili

Re: [Honeycomb] net.sourceforge.hivetranse.transaction.MandatoryT ransactionException

2006-04-24 Thread Andreas Bulling
On 24. Apr 2006 - 12:19:25, Schulte Marcus wrote: | And: it's completely pointless to have multiple hibernate session per | request (unless you have a very good reason and know what you do). So, you | should really declare all your methods "mandatory" (sorry, I was wrong | before). Then of course y

Re: [Honeycomb] net.sourceforge.hivetranse.transaction.MandatoryT ransactionException

2006-04-24 Thread Andreas Bulling
On 24. Apr 2006 - 09:10:32, Schulte Marcus wrote: | It seems that hivetranse implicitly marks the hibernate session methods | "mandatory", assuming that eache service using it uses at least "requires". | Which is basically sound. you might try to mark your HibernateSqueezer's | squeeze method with

Re: Real path of web application

2006-04-24 Thread Andreas Bulling
Try the following: @InjectObject("service:tapestry.globals.ServletContext") public abstract ServletContext getServletContext(); [...] String realPath = getServletContext().getRealPath("/"); Cheers, Andreas On 24. Apr 2006 - 01:48:17, Apache wrote: | Hi, how do I find out the absolute web app

Re: I have a dream...

2006-04-23 Thread Andreas Bulling
| The other thing is - instead of adding new things from scratch, why not | use Spring, for example the way James says he has done for Transactions | and ORM (I haven't seen his code yet). Because there are some people out there (including me) who don't want to put the whole spring stuff with it

Re: I have a dream...

2006-04-23 Thread Andreas Bulling
On 23. Apr 2006 - 09:36:52, James Carman wrote: | Well, Andreas, I hate to say it, but I am the man of your dreams! :-) *lol And I can tell you that it's very assuasive for me to know that this only applies to the Hibernate/Tapestry/Hivemind complex *g | I have already integrated the Spring trans

Re: tapestry/hibernate sessions & pageBeginRender()

2006-04-23 Thread Andreas Bulling
On 23. Apr 2006 - 16:00:12, Ted Steen wrote: | Tapernate looks very promising, but there some solutions to choose from. | Honeycomb, HiveMind Utilities and Tapernate (and howards ePluribus | project) should merge in to one solution for this tapestry+hibernate | problem. Yes, that's what I meant in

Re: I have a dream...

2006-04-23 Thread Andreas Bulling
Spring may provide all of the things on my list of wishes already... I don't know as I only tried to use it for several days and changed to Hivemind as it's the tool Tapestry is build upon/uses and I don't need most of Spring's stuff (at least not at the moment). That's why I wrote that I dream of

I have a dream...

2006-04-22 Thread Andreas Bulling
... that one day we have a solution to this repetitive problems with Hibernate/sessions/transactions/demarcations/etc. which is - flexible enough to allow different usages (with/without manual demarcation, session-per-request/-conversation, ...) for the people with their different needs - at the

Re: tapestry/hibernate sessions & pageBeginRender()

2006-04-22 Thread Andreas Bulling
On 22. Apr 2006 - 09:17:49, James Carman wrote: | 1. Well, here's what would happen. Suppose I want to update a Person | object on my EditPerson page. I use the "session" persistence strategy and | I just store the id of the person. So, I render the EditPage and it shows a | form. I edit some

[Honeycomb] net.sourceforge.hivetranse.transaction.MandatoryTransactionException

2006-04-22 Thread Andreas Bulling
Hi folks, I tried to integrate the Honeycomb Squeezer into my web application but I get the following exception: --- net.sourceforge.hivetranse.transaction.MandatoryTransactionException No active transaction Stack Trace: # net.sourceforge.hivetranse.transaction.hibernate3.SessionProxyFactory$Se

Re: tapestry/hibernate sessions & pageBeginRender()

2006-04-22 Thread Andreas Bulling
| Well, if you just store the id (and entity name) in the session, then you | totally circumvent the automatic optimistic locking capability of Hibernate | (you'd be reading the current version number every time instead of just | attempting to reattach the old object). Well, I have to admit that I

Re: tapestry/hibernate sessions & pageBeginRender()

2006-04-22 Thread Andreas Bulling
On 22. Apr 2006 - 08:44:59, James Carman wrote: | Yes, I'm sorry. I was thinking of my "squeezer" implementation. The | persistence strategy will store the object in the session, but reattach it | when necessary. You're right. Well, OK, but what's the advantage of your entity strategy in this c

Re: tapestry/hibernate sessions & pageBeginRender()

2006-04-22 Thread Andreas Bulling
On 21. Apr 2006 - 14:44:59, James Carman wrote: | Basically, I copied the session persistence strategy implementation and | modified it a bit to actually just store the id of the persistent object in | the session. I've taken a look into your implementation in the meanwhile. No offense, but I do

Re: tapestry/hibernate sessions & pageBeginRender()

2006-04-21 Thread Andreas Bulling
On 21. Apr 2006 - 14:44:59, James Carman wrote: | I use a custom persistence strategy for this: | | http://www.carmanconsulting.com/svn/public/tapernate/trunk/src/java/com/carm | anconsulting/tapernate/record/EntityPropertyPersistenceStrategy.java I don't use Spring but I would like to be able to

Re: Sitepath component?

2006-04-21 Thread Andreas Bulling
Thanks for your answers! I'll see if I can put something together which does what I want... ;) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Sitepath component?

2006-04-20 Thread Andreas Bulling
Hi folks, after having searched for it in the component repositories without success I decided to ask on this list if someone knows about a "sitepath" component for Tapestry 4? Something displaying the path a user has taken on the site and offering to "jump" to former pages by providing links to t

Re: For, Hidden fields, squeezers, etc! How do I use them?

2006-04-20 Thread Andreas Bulling
Hi Ted, unfortunately I can't help you with your problem but I have a question myself: | in pageB | i have a @Hidden with foo as value. I have this because I want the | various things in Foo to not be lost while doing stuff in page B. | Now, the set in the foo is used in a @For, and each element

Re: ICallback/Session problem

2006-04-18 Thread Andreas Bulling
| IMO this design can be improved: Try changing to external page instead | of direct link. then use a callback for the external page. The external | parameters should contain the "state" - thus the id of the db object you | need. creating the callback may be tricky: for that I use callbacks |

Re: ICallback/Session problem

2006-04-18 Thread Andreas Bulling
Hi James, On 18. Apr 2006 - 06:55:12, James Carman wrote: | That's how I do it. I store the user-id in the session inside one of my | ASOs. Then, I have a threaded service called SecurityContext which actually | will lazily load the actual user object during the request cycle if it's | asked for

Re: ICallback/Session problem

2006-04-18 Thread Andreas Bulling
Hi Ron, thanks for your answer! | I don't fully understand what your ICallback does and where in the work | flow it is activated - Well, actually as a first version I just took the one from the vlib example... When the user has been idle for some period of time the login page is shown again and

ICallback/Session problem

2006-04-18 Thread Andreas Bulling
Hi folks, I have a problem with the user login session in Tapestry and my custom ICallback and I would like to hear about your best-practice solutions again ;-) The problem is that if the user session gets invalidated due to a timeout for example and the user logs in again I get an exception on t

Re: Open Session in View - Tapestry

2006-04-14 Thread Andreas Bulling
On 14. Apr 2006 - 14:29:09, Andreas Bulling wrote: | Perhaps I just don't understand the problem or I don't know | enough about the session issues but for me it seems to work | without any problems: I've just put the hivetranse jars in, | defined service points for every DAO and

Re: Open Session in View - Tapestry

2006-04-14 Thread Andreas Bulling
Perhaps I just don't understand the problem or I don't know enough about the session issues but for me it seems to work without any problems: I've just put the hivetranse jars in, defined service points for every DAO and the Session in hivemodule.xml and then I can CRUD my domain objects inside the

Re: HiveUtils/HiveLock howto

2006-04-14 Thread Andreas Bulling
Hi Jean-Francois, well, yes, the homepage tells a little bit what is possible with Hivetranse etc. but you get no information on _how_ to do it (the few examples are far from complete especially after having heard from you what further features the package has). | What about a hivetranse wiki? Ac

Re: HiveUtils/HiveLock howto

2006-04-13 Thread Andreas Bulling
servlet filter | "SecurityFilter" for that purpose). | | | Cheers | | Jean-Francois | | -Original Message- | From: Andreas Bulling [mailto:[EMAIL PROTECTED] On Behalf Of | Andreas Bulling | Sent: Thursday, April 13, 2006 4:49 PM | To: Tapestry users | Subject: Re: HiveUtils/Hi

Re: HiveUtils/HiveLock howto

2006-04-13 Thread Andreas Bulling
Hi Jean-Fancois, first, thanks for your answer and help! I will take a look at the examples you mentioned to see if they can be useful for me ;) | Could you give more details of what is of interest to you in HiveUtils, or | of what kind of utility you are looking for? Well, actually as I'm quite

HiveUtils/HiveLock howto

2006-04-12 Thread Andreas Bulling
Hi folks, does anyone of you know about a (good) howto on HiveUtils/HiveLock? I would like to know what they can be used for and how - I'm mainly interested in the security stuff... I've searched the web but also on the Hivetranse homepage there doesn't seem to exist any documentation (the javado

Re: Another question concerning the For component

2006-04-12 Thread Andreas Bulling
On 11. Apr 2006 - 08:41:22, James Carman wrote: | If you remove the "doctor" property, does it complain about the "patient" | property? No, this works without any exception being thrown. I just don't understand this... *almost crying* Did I already post the code from the html template?

Re: Another question concerning the For component

2006-04-11 Thread Andreas Bulling
On 11. Apr 2006 - 06:22:33, James Carman wrote: | I mean are you ultimately extending BasePage? Yes, I do - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Java Native library and Hivemind/Tapestry

2006-04-11 Thread Andreas Bulling
Sorry, just to complete my first posting: The exception is java.lang.UnsatisfiedLinkError: Native Library already loaded in another classloader And concerning Hivemind I thought that perhaps a singleton service would solve the problem? ---

Java Native library and Hivemind/Tapestry

2006-04-11 Thread Andreas Bulling
Hi folks, as I have to integrate some functionality of a native library in my web application this time I would like to know how you are doing this. The problem is that the library is only allowed to be loaded once by the classloader and any further loadings will result in a corresponding excepti

Re: Another question concerning the For component

2006-04-11 Thread Andreas Bulling
On 10. Apr 2006 - 22:29:28, James Carman wrote: | Are you extending a page class (shot in the dark)? Yes, but what could that mean, could that be related to my problem? They are rather long, I don't know if it makes sense to post them here. Perhaps you're thinking of something more concrete I can

Re: Another question concerning the For component

2006-04-10 Thread Andreas Bulling
On 10. Apr 2006 - 11:45:52, Mark wrote: | What happens if you take the @Persist annotation out? | Just to see if the error goes away. Maybe that would be a pointer then... The exception remains exactly as it was before... - To un

Re: Another question concerning the For component

2006-04-10 Thread Andreas Bulling
On 10. Apr 2006 - 11:37:09, Mike Snare wrote: | Hmm.. Maybe a problem with the doctor class? Is it possible that the | doctor class doesn't really compile? No, I'm using it all over the place. If the class didn't compile actually the whole application wouldn't be usable at all ;) | What about A

Re: Another question concerning the For component

2006-04-10 Thread Andreas Bulling
On 10. Apr 2006 - 11:23:48, James Carman wrote: | That's what I typically do. I've seen that error message before, but it | usually meant that something else was wrong. Are there any warning/error | messages above that anywhere? I can't remember exactly what the problem | was, but it wasn't intu

Re: Another question concerning the For component

2006-04-10 Thread Andreas Bulling
On 10. Apr 2006 - 11:22:24, Mike Snare wrote: | You showed that for the EditPatient page, but not in the ShowPatient | page where the exception is occurring. Does some part (probably in | ShowPatient.page) of the page attempt to access a 'doctor' property? | If so, prove to yourself that getDocto

Re: Another question concerning the For component

2006-04-10 Thread Andreas Bulling
Hi James ;) I have the following in my page class: @Persist public abstract Person getDoctor(); public abstract void setDoctor(Person person); That should be enough, shouldn't it? Kind regards, Andreas - To unsubscribe, e-ma

Re: Another question concerning the For component

2006-04-10 Thread Andreas Bulling
Just to add the stack trace also to this thread - perhaps someone can help me with it ;-) org.apache.hivemind.ApplicationRuntimeException Error at context:/WEB-INF/pages/ShowPatient.page, line 6, column 21: Method 'public abstract de.plattform.domain.Person de.plattform.pages.ShowPatient.getDoctor

Re: component-writing question

2006-04-10 Thread Andreas Bulling
On 10. Apr 2006 - 10:29:20, Mike Snare wrote: | Clearly, some object used as an expression prefix on line 106 of | ShowAdminPanel is null. Put a breakpoint there and see what it is. Now it works - thanks! :-) - To unsubscribe, e

Re: component-writing question

2006-04-10 Thread Andreas Bulling
On 10. Apr 2006 - 10:15:16, Mike Snare wrote: | Whenever you are asking for help with an exception, it helps to | automatically post the exception with stack trace (there are often | more than one, post all of them). | | All you have said is that you are getting an | ApplicationRuntimeException.

Re: component-writing question

2006-04-10 Thread Andreas Bulling
On 10. Apr 2006 - 15:52:29, Andreas Bulling wrote: | I debugged the application step by step and the error | seems to occur in the DirectService service() method | when ResponseRenderer->renderResponse() gets called. I did some more steps and it seems as if the error occurs during page/compon

Re: component-writing question

2006-04-10 Thread Andreas Bulling
Please... Does one of the gurus have the (short) time to try to help me with my problem? As I wrote I'm able to create the DirectLinks using Java but when I click on the link I get an ApplicationRuntimeException. I debugged the application step by step and the error seems to occur in the DirectSer

Re: component-writing question

2006-04-10 Thread Andreas Bulling
On 10. Apr 2006 - 10:22:31, Andreas Bulling wrote: | Well, yes... that's what I also thought about... But the | question is: How can I fix this? Is there a way to "remove" the | body from getTabLink() after getTabLink().render(writer, cycle); | gets called? Finally I found a solu

Re: component-writing question

2006-04-10 Thread Andreas Bulling
On 09. Apr 2006 - 22:25:58, Sam Gendler wrote: | Sounds like your component output is occuring once for each tab, but | on each invocatino, it is writing content for each tab that follows | the current tab, as well as the current tab. So 1st tab get s written | once, then each tab after it. Then

Re: component-writing question

2006-04-09 Thread Andreas Bulling
Well, in the meanwhile I've reached this point: @Component(type = "DirectLink", bindings = { "listener=ognl:listeners.onTabClicked", "parameters=ognl:tab.id" }) public abstract DirectLink getTabLink(); @Component(type = "Insert", bindings = { "value=ognl:page.getMessage(tab.title)" }) pu

Re: Another question concerning the For component

2006-04-09 Thread Andreas Bulling
On 09. Apr 2006 - 14:44:04, Mark wrote: | You're missing the most important file that has the error: the | EditPatient.page file... Can you send that one too? Well, actually nothing related to the ShowAdminPanel nor to the exception occurs in this file and thats why I didn't post it (it just cont

Re: component-writing question

2006-04-09 Thread Andreas Bulling
On 09. Apr 2006 - 10:33:22, Mark Arnold wrote: | Hey Andreas, | | I'm just starting off with Tapestry, so I don't know too much about it | yet, but I just came accross the Delegator-Component after I read this | thread 30 minutes ago. | Maybe that hleps you with your problem. Here is the descrip

Re: Another question concerning the For component

2006-04-09 Thread Andreas Bulling
On 09. Apr 2006 - 08:24:01, Mike Snare wrote: | Sorry, I'm stumped. Could you post more code? The page and class | files for this might help. Sure, here we are ;) Thats the relevant part of the html file: [...]

Re: component-writing question

2006-04-09 Thread Andreas Bulling
On 09. Apr 2006 - 12:48:30, Mike Snare wrote: | Take a look at the Table and/or TableView components, as well as the | Palette components. They both allow the user of the component to | specify the css class for different elements in the component, and | images (Palette) that should be used to ren

Re: component-writing question

2006-04-09 Thread Andreas Bulling
On 09. Apr 2006 - 12:40:47, Mike Snare wrote: | Nope. The user can just pass in classes for the borders, etc as they | see fit. You just use the value of the parameter as you need to. Sorry, thanks for your answer but I don't understand this... --

Re: Best practice: Security Layer

2006-04-09 Thread Andreas Bulling
On 09. Apr 2006 - 12:10:40, James Carman wrote: | Are you using Hibernate? You can use a "filter" in Hibernate | (http://www.hibernate.org/hib_docs/v3/reference/en/html/filters.html) to | filter out the "illegal" objects from the query results. Yes, as I said... ;) That sounds as if it perhaps

Re: component-writing question

2006-04-09 Thread Andreas Bulling
On 09. Apr 2006 - 12:11:40, James Carman wrote: | Well, the question needs to be asked. Why exactly do you *have* to do all | the output in Java if you're rendering HTML? Well, that's related to the question I asked two weeks ago on this list I didn't get an answer for so far... The question was

Re: Best practice: Security Layer

2006-04-09 Thread Andreas Bulling
Hi and thanks a lot for your answer! | I'm not sure of your environment, but I use ACEGI for this (and all | other) types of security. It allows not only 'page' access, but also | method/object access security. The thing I like most about it is that it | completely (?) removes all security worries

component-writing question

2006-04-09 Thread Andreas Bulling
Hi folks, my questions don't end... ;-) I'm rewriting a component which formerly used a html template but I need to do all output in Java, now. In the template there was something like: How has the corresponding Java code to look like if I have a AbstractComponent derived class? I start

Re: Best practice: Security Layer

2006-04-09 Thread Andreas Bulling
First, thanks to all of you for your answers! But as it seems that I wasn't able to properly explain what I had in mind/what my problem is I will try again. ;) I didn't think of authentification (I also solved this using a pageValidate() method) but of a security layer for database accesses. Say f

Best practice: Security Layer

2006-04-08 Thread Andreas Bulling
Hi folks, this time I have a design-related question and I hope to get useful feedback for myself and hopefully also for others following this list. What is in your opinion or from your experience the best way to implement some sort of security layer in a Tapestry/Hivemind/Hibernate based webappl

Re: Another question concerning the For component

2006-04-08 Thread Andreas Bulling
On 07. Apr 2006 - 20:52:08, Andreas Bulling wrote: | On 07. Apr 2006 - 14:44:12, Mike Snare wrote: | | Hmm... Not sure, but I suppose that it *could* be something screwy | | where your server recognizes the new class file, but tapestry is | | trying to re-use the enhanced page class it created

Re: Another question concerning the For component

2006-04-07 Thread Andreas Bulling
On 07. Apr 2006 - 15:55:31, Gentry, Michael (Contractor) wrote: | Hahaha! Well, that explains it ... ? Sorry, I don't get it... | Not sure why it references EditPerson and EditPatient. I'm sorry about that - that's my fault and is _not_ the reason for the exception: I just forgot to rename this

Re: Another question concerning the For component

2006-04-07 Thread Andreas Bulling
On 07. Apr 2006 - 15:02:25, Gentry, Michael (Contractor) wrote: | Could you post line 6 of EditPerson.page? :-) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Another question concerning the For component

2006-04-07 Thread Andreas Bulling
On 07. Apr 2006 - 14:44:12, Mike Snare wrote: | Hmm... Not sure, but I suppose that it *could* be something screwy | where your server recognizes the new class file, but tapestry is | trying to re-use the enhanced page class it created before the change | was made? | | Have you stopped/started yo

Re: Another question concerning the For component

2006-04-07 Thread Andreas Bulling
On 07. Apr 2006 - 14:44:17, Gentry, Michael (Contractor) wrote: | In your .page file, do you have a: | | Yes, now I have it in the page specification ;) | And have you declared your EditPerson.java class to be abstract? Yes, but I still get the error message :( ---

Re: Another question concerning the For component

2006-04-07 Thread Andreas Bulling
Hi Michael, hi Mike, thanks a lot for your answers! On 07. Apr 2006 - 14:28:02, Gentry, Michael (Contractor) wrote: | I create abstract getter/setter methods for the value="" part. OK, I tried that but now I get the following error message: --- Exception invoking listener method editPerson of c

Another question concerning the For component

2006-04-07 Thread Andreas Bulling
Hi folks, and another question - I'm a blockhead as it seems... Do I have to add an abstract getter/setter to my page class if I want to use the value attribute of the For component or does Tapestry enhance the abstract class for me? Thanks! Andreas

Re: Strange error message concerning annotations

2006-04-07 Thread Andreas Bulling
Hi Chris, thanks a lot for your answer! On 07. Apr 2006 - 13:25:34, Chris Chiappone wrote: | Not sure if this is the same problem that I've experience but there is an | open JIRA issue about it http://issues.apache.org/jira/browse/TAPESTRY-848 Hm, I've read the issue... is Kent Tongs comment the

Strange error message concerning annotations

2006-04-07 Thread Andreas Bulling
Hi folks, I'm experiencing some strange behaviour of my web application at the moment - I get the following error message when I try to open several pages shortly after each other within the same session: --- Exception invoking listener method searchPerson of component SearchPerson: Error: An err

Re: page specifications in own directory

2006-03-27 Thread Andreas Bulling
Hi Leo, I know about this possibility but one has to do that for _every_ page which is quite cumbersome :( That's why I explicitly asked for a automatic solution perhaps using a custom TemplateSourceDelegate. Thanks anyway for your answer! Andreas On 27. Mär 2006 - 14:19:07, Leo Sakhvoruk wrot

  1   2   3   >