RE: honeycomb: acquiring session not in a tapestry page

2006-04-19 Thread Schulte Marcus
yes, that's exactly my experience. The ui looks pretty - and sucks. Functionality is quite good, e.g., I like being able to mount the docs-&-download area as a webdav folder. And unless we put some peer-to-peer client into honeycomb we probably won't need sf's big download pipes. marcus > -Ori

T4 and https

2006-04-19 Thread Mark
Hi everyone, a while back, before T3 was out, somebody I talked to said that doing https with Tapestry was a pain because of some special things that had to be considered. Unfortunately, that was before I worked with Tapestry, and I don't remember what exactly the problem was there. So I am

Re: Refresh an AjaxForm

2006-04-19 Thread Jesse Kuhnert
You can get around this by using the http://tacos.sourceforge.net/components/AjaxEventSubmit.html component. (Just set clientSideValidationEnabled to false ) There are also other ways of doing it. I don't remember if it will work for sure but you can also try doing document.getElementById("your fo

Re: Refresh an AjaxForm

2006-04-19 Thread Cluster
Yep, I checked this file and "tacos.js" before post. I think have found all related javascript, but until now I can't figure out how to do a refresh. I will keep trying. Cluster Mensagem original - [EMAIL PROTECTED] em 19/04/2006 22:38 : Can't help much for now but you can dig in https://svn.

Re: Tapestry in oc4j

2006-04-19 Thread Vinicius Carvalho
I can't resist... I work in an Oracle Advantage Partner company, and I hate Oracle AS. it gives us nightmares... thanks for this post, we just had the same problem when trying to deploy tapestry app on OC4J. Regards On 4/19/06, Martijn Hinten <[EMAIL PROTECTED]> wrote: > > For iAS that would be:

Re: Refresh an AjaxForm

2006-04-19 Thread andyhot
Can't help much for now but you can dig in https://svn.sourceforge.net/svnroot/tacos/trunk/src/java/net/sf/tacos/ajax/components/Form.js and maybe find a solution. Tacos replaces Tapestrys default form handlers, etc... >From Cluster <[EMAIL PROTECTED]>: > Hi, > > I'm working with an AjaxFor

Re: Get Locale in a Tapestry request life cycle

2006-04-19 Thread James Carman
HiveMind has a ThreadLocale (notice the 'e' at the end) service which can hold the locale for the current thread. Tapestry sets this during the request cycle. > Hi, > >What is the best place to get current locale in a tapestry > request life cycle to put it in a variable ThreadLocal for a

Refresh an AjaxForm

2006-04-19 Thread Cluster
Hi, I'm working with an AjaxForm component and need to execute a refresh on this form. With Tapestry Form component I just use "this.form.events.refresh()", but this code doesn't work on AjaxForm. I need a refresh to avoid data validation. How do I call refresh for an AjaxForm? Thanks,

Get Locale in a Tapestry request life cycle

2006-04-19 Thread Eduardo Valentim
Hi, What is the best place to get current locale in a tapestry request life cycle to put it in a variable ThreadLocal for access in my business layer? This is necessary because I have integrated a validation framework with AOP and construct a AOP Validation Framework, but exist a little pro

Re: Deploying a Tapestry app to Geronimo

2006-04-19 Thread Bryan Noll
FYI... http://issues.apache.org/jira/browse/GERONIMO-1871 Bryan Noll wrote: Thanks for responding Jesse. I'm still working through the issue with some of the Geronimo folks. I'm still curious though whether that was the intended behavior of the code or not. Seems odd to me you would call o

RE: PopupLinkRenderer

2006-04-19 Thread Craig Spry
I did it a little bit differently to the way described below here is how I did it: In the .html file: Link In the Page.java public class Page extends BasePage { public static PopupLinkRenderer LINK_RENDERER = new PopupLinkRenderer(); public void pageBeginRender(PageEvent arg0)

Setting a cookie and throwing PageRedirectException

2006-04-19 Thread Bryan Dotzour
We have some fairly twisted logic around the login to our site (sometimes you have to fill out a login form, but sometimes you can hit a special URL which will automatically log you in) which is apparently no longer working the way it used to under Tapestry 3. Basically, in the pageBeginRender() o

Re: wrong squeezer used when trying to @Persist("client")

2006-04-19 Thread Ted Steen
Ah, ok.. that explains it. I'll go for the @Hidden instead, that was what I wanted anyway. On 4/19/06, James Carman <[EMAIL PROTECTED]> wrote: > We've discussed this before > (http://mail-archives.apache.org/mod_mbox/jakarta-tapestry-user/200602.mbox/ > [EMAIL PROTECTED]). I was burned > by the s

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

2006-04-19 Thread Ted Steen
Hi! My Class C contains various things including a set. In a listener in page A i get page B (by injection) and I call pageB.setFoo(c) (where c is an instance of class C) and then i activate pageB. in pageB i have a @Hidden with foo as value. I have this because I want the various things in Foo

Re: reference properties from bundle in java file

2006-04-19 Thread stacey wilson
Thank you Chris, getMessages().getMessage("key") works perfect from pages and components.(IComponent method) Do we have any hierarchical references for(in) the property bundles? meaning .. say if the property is not found in the component bundle, looks it up in the application.properties(glob

Re: RE: User propertys in a Portlet

2006-04-19 Thread [EMAIL PROTECTED]
Yes, But, How Can I acces the username for the portal, for example? How know I, the security level of the User, and other ettributes? Thanks . -- Mensaje Original -- De: James Carman [EMAIL PROTECTED] Para: Tapestry users [EMAIL PROTECTED] Cc: Asunto: RE: User propertys in

Re: reference properties from bundle in java file

2006-04-19 Thread Konstantin Ignatyev
http://java.sun.com/j2se/1.3/docs/api/java/util/ResourceBundle.html stacey wilson <[EMAIL PROTECTED]> wrote: I was wondering if there was a way to use the properties defined in the .properties file from within the .java file? Any ideas? _

Re: reference properties from bundle in java file

2006-04-19 Thread Chris Chiappone
page.getMessages().getMessage("key"); On 4/19/06, stacey wilson <[EMAIL PROTECTED]> wrote: > > I was wondering if there was a way to use the properties defined in the > .properties file from within the .java file? > Any ideas? > > > > __ > Do You Y

reference properties from bundle in java file

2006-04-19 Thread stacey wilson
I was wondering if there was a way to use the properties defined in the .properties file from within the .java file? Any ideas? __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

RE: User propertys in a Portlet

2006-04-19 Thread James Carman
You mean user attributes? http://jakarta.apache.org/tapestry/tapestry-portlet/coding-issues.html#User+ Attributes -Original Message- From: César García [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 19, 2006 12:09 PM To: Tapestry users Subject: User propertys in a Portlet Hi, How I

RE: servlet-path property

2006-04-19 Thread James Carman
I think you have to change that in web.xml in your servlet-mapping. -Original Message- From: Larry Sherrill [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 19, 2006 11:57 AM To: Tapestry users Subject: servlet-path property I am trying to set the configuration property "org.apache.tapes

Re: Deploying a Tapestry app to Geronimo

2006-04-19 Thread Bryan Noll
Thanks for responding Jesse. I'm still working through the issue with some of the Geronimo folks. I'm still curious though whether that was the intended behavior of the code or not. Seems odd to me you would call out to a method that can never return, but then have code that can be executed

User propertys in a Portlet

2006-04-19 Thread César García
Hi, How I can access the User propertys in a portlet using Tapestry? Thanks -- CEOS Integradores de Sistemas, C.A. Ing. César García, Presidente Telf/fax. +58-281-2749969 Movil: (0416) 6810399 - To unsubscribe, e-mail: [EMA

servlet-path property

2006-04-19 Thread Larry Sherrill
I am trying to set the configuration property "org.apache.tapestry.servlet-path" in tapestry 4. I have put this in my application specification: MyApp I am tyring to change the default of /app to /qs. Am I setting this in the right place. It is having no effect. Thank you, Larry

Re: PopupLinkRenderer

2006-04-19 Thread Chris Chiappone
Here is some code examples: In .jwc or .page: In .html file: Hope that helps... ~chris On 4/19/06, Mark <[EMAIL PROTECTED]> wrote: > > If it's not too much code, can you post it for others who might have the > same problem, please?

Re: honeycomb: acquiring session not in a tapestry page

2006-04-19 Thread Hugo Palma
If i may join the discussion :o) JavaForge does have some bugs in the site ui, yet i've been using their hosting for 4 months now i'd i haven't had a any serious problem with it. The availability has been 100%, the access is fast, the site provides all the management stuff that's needed and th

RE: Nested Contrib:Table - strange behaviour

2006-04-19 Thread Bode, Bianca
I will not be able to read and reply to your answers untill Friday as I have to leave now. Just to let you know that I'm not being inpolite here ;) -Original Message- From: Bode, Bianca Sent: woensdag 19 april 2006 17:28 To: Tapestry users Subject: Nested Contrib:Table - strange behavio

Nested Contrib:Table - strange behaviour

2006-04-19 Thread Bode, Bianca
Hello all, I'm currently working on a page on which I have a nested Contrib:Table component and it works not as expected. Now I'm not sure if I am doing something wrong, or that this is happening because of the nesting..can anyone help me? The .html file has two tables that use the Contrib:Table

RE: honeycomb: acquiring session not in a tapestry page

2006-04-19 Thread James Carman
Nothing with the SVN, but JavaForge is really not that intuitive and seems quite buggy IMHO (previous email is just one example). Try logging out (top right). Then click on the "Projects" tab at the top. Then look over at the top right where the "Logout" button was. It's still there! Oops. --

RE: honeycomb: acquiring session not in a tapestry page

2006-04-19 Thread James Carman
Maybe we should create an OpenSessionInViewInterceptor which does essentially the same exact thing that the OpenSessionInViewFilter does, but around service method calls. Spring has something like that. Maybe we could just "borrow" some logic from it, like I did for my OpenSessionInViewFilter. -

RE: honeycomb: acquiring session not in a tapestry page

2006-04-19 Thread Schulte Marcus
As I said: I'm not very interested in getting yet another config management / environment working (after sf, cvs, javaforge, svn, maven). Which problems do you have with javaforge-svn? > -Original Message- > From: Jesse Kuhnert [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 19, 2006

RE: honeycomb: acquiring session not in a tapestry page

2006-04-19 Thread James Carman
We may also need a way to "intercept" the jobs to add in support for other stuff (like opening/closing hibernate sessions). -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 19, 2006 11:00 AM To: 'Tapestry users' Subject: RE: honeycomb: acquiring

Re: honeycomb: acquiring session not in a tapestry page

2006-04-19 Thread bėgantis debesis
I use java.util.Timer to run the periodical task. I don't really need more features that quatz has (and more dependancies). I thought I could just acquire SessionFactory from the registry, and invoke getSessionFactory method, but this method is protected. If I understand correctly, when I make my

Re: honeycomb: acquiring session not in a tapestry page

2006-04-19 Thread Jesse Kuhnert
I can check in my ~other~ items once I'm up and running again with some sort of svn server . ( ie jms / drools / quartz / etc ) I really don't want to do this unless you are ok with it though Marcus, as you are the project leader I think we'd need your blessing obviously :) On 4/19/06, Schulte Ma

RE: honeycomb: acquiring session not in a tapestry page

2006-04-19 Thread James Carman
Yeah, that's what I was thinking, that we'd do the fireThreadCleanup() stuff using a wrapper on each job that's submitted. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 19, 2006 11:00 AM To: 'Tapestry users' Subject: RE: honeycomb: acquiring s

RE: honeycomb: acquiring session not in a tapestry page

2006-04-19 Thread Schulte Marcus
OK guys, it took me some time to move to the shiny new javaforge. If you want to move back, you do the dirty work ;). Meanwhile, I add you to the team manually ... I've just checked the code. It seems straightforward to do. The scheduler is a service and the Runnable has a wrapper to fire hivemind

Re: PopupLinkRenderer

2006-04-19 Thread Mark
If it's not too much code, can you post it for others who might have the same problem, please? Craig Spry wrote: Don't worry about my question I figured it out for myself. Craig - To unsubscribe, e-mail: [EMAIL PROTECTED] Fo

RE: tapestry for a webwork developer

2006-04-19 Thread James Carman
I don't think so, but I've never tried it. I use HiveMind for my transaction/hibernate support. I actually use the Spring classes inside HiveMind. -Original Message- From: Payne, Matthew [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 19, 2006 10:50 AM To: Tapestry users Subject: RE: t

RE: honeycomb: acquiring session not in a tapestry page

2006-04-19 Thread James Carman
I don't know if Jesse has told you or not yet, but we plan to move the Honeycomb over to SourceForge. I was trying to join the project, but we couldn't figure out how to do it at JavaForge. It seems to need some work. On the projects list page, a whole bunch of projects show up for me with the "l

Re: honeycomb: acquiring session not in a tapestry page

2006-04-19 Thread Jesse Kuhnert
Sure. I've integrated quartz into hivemind as well. Was fairly easy. On 4/19/06, Schulte Marcus <[EMAIL PROTECTED]> wrote: > > don't really know. I have to admit that I did all my scheduling with > cron/java.util.Timer up to now ... > And I seem to have blown javaforge by trying to browse the repo

RE: tapestry for a webwork developer

2006-04-19 Thread Payne, Matthew
Since pages/actions in Tapestry are abstract, does this interfere with the ability to put spring transaction advise on a page/action? matt -Original Message- From: James Carman [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 19, 2006 5:42 AM To: 'Tapestry users' Subject:

RE: honeycomb: acquiring session not in a tapestry page

2006-04-19 Thread Schulte Marcus
don't really know. I have to admit that I did all my scheduling with cron/java.util.Timer up to now ... And I seem to have blown javaforge by trying to browse the repo ??? ;) > -Original Message- > From: James Carman [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 19, 2006 4:16 PM > To:

RE: honeycomb: acquiring session not in a tapestry page

2006-04-19 Thread James Carman
I'm looking at the Quartz API now trying to get ideas of how to set it up. Would you set up a Scheduler as a service? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 19, 2006 10:00 AM To: 'Tapestry users' Subject: RE: honeycomb: acquiring sessio

RE: honeycomb: acquiring session not in a tapestry page

2006-04-19 Thread Schulte Marcus
> -Original Message- > From: James Carman [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 19, 2006 3:54 PM > To: Tapestry users > Subject: Re: honeycomb: acquiring session not in a tapestry page > > > How do you run your background process? > good question - actually, I'd like to s

RE: honeycomb: acquiring session not in a tapestry page

2006-04-19 Thread Schulte Marcus
First thing, that comes to my mind is to turn your background process into a hivemind service and inject the session factory into it. Of course, you would need to manage transactions/sessions manually again, because your background task is (probably) not coupled to the standard request-response-cyc

Re: honeycomb: acquiring session not in a tapestry page

2006-04-19 Thread James Carman
How do you run your background process? > Hi, > I started using honeycomb on my project as a tapestry/hibernate glue. > Before > that, I just had a HibernateUtil with sessionFactory initialization and so > on..manual transaction management. > The thing is, I need a session in other background proc

How to get hold of an individual instance of a component within a for loop?

2006-04-19 Thread Sakura
Hi all, I want to validate some PropertySelections that are contained within a For loop, like this: _HTML: _ _PAGE:_ class="my.package.MyCustomValidationDelegate"/>

honeycomb: acquiring session not in a tapestry page

2006-04-19 Thread bėgantis debesis
Hi, I started using honeycomb on my project as a tapestry/hibernate glue. Before that, I just had a HibernateUtil with sessionFactory initialization and so on..manual transaction management. The thing is, I need a session in other background process, which is not a web page, just a periodical task.

Re: Tapestry in oc4j

2006-04-19 Thread Martijn Hinten
For iAS that would be: $middle_tier_home/j2ee/home/yourOC4J/applib. Martijn Hinten wrote: Hi Hermann, Yes, you need to put those libraries on the classpath, for example just drop xercesImpl.jar and xml-apis.jar in $OC4J_HOME/j2ee/home/applibs. All jars you drop there are visible to all appl

Re: Tapestry in oc4j

2006-04-19 Thread Martijn Hinten
Hi Hermann, Yes, you need to put those libraries on the classpath, for example just drop xercesImpl.jar and xml-apis.jar in $OC4J_HOME/j2ee/home/applibs. All jars you drop there are visible to all applications within that specific oc4j. I will send those jars to your email account directly.

Re: Tapestry in oc4j

2006-04-19 Thread yesidredondo
I did what you have said Martijn, and you were right is not big deal passing those parameters, the problem now is that when i put this parameters in the jvm arguments of the oc4j instance the application did not run and i found this error on the log: 06/04/18 16:25:16 javax.xml.parsers.FactoryConf

Re: Use AOP for Tapestry Java Page Class

2006-04-19 Thread seng kim khong
Hi, I plan to use AspectJ to perform this. It should be no problem and working fine... 2006/4/12, Eduardo Valentim <[EMAIL PROTECTED]>: > > Hi Friend, > >I have the same issue, I am need to use AOP to advice the Page > class with an Spring ThrowsAdvice for tranformation of my validat

Re: Meet at Java One Conference

2006-04-19 Thread John Menke
I will be there. Are you going to Howard Lewis Ships' BOF on Wednesday? On 4/18/06, Cliff Zhao <[EMAIL PROTECTED]> wrote: > Will anybody here be in the Java One Conference this year? Any interest > for > a gathering there? > > Thanks. > >

Loading components from classpath

2006-04-19 Thread Dennis Cieplik
Hi, I write a app with a "extendable" view. An example deployment scenario is the following: 1. a jar is placed in the classpath. 2. Tapestry detects the new components without adjusting the .application file. Detection at startup is sufficing, there is no need for a dynamic detection mechanism

RE: tapestry for a webwork developer

2006-04-19 Thread James Carman
The reason that a lot of folks like to use HiveMind in their Tapestry projects as opposed to Spring is because it's just so easy to get at the internal guts of Tapestry via HiveMind. Since Tapestry is configured/assembled via HiveMind, you can inject the Tapestry stuff right into your service impl

Re: tapestry for a webwork developer

2006-04-19 Thread adasal
One of the issues that hasn't been mentioned here is, perhaps, a bit more intangible. This is to do with the balance between declarative and procedural code. In this I can't speak for webwork, but our developer team has found the balance to be very good in tapestry/hivemind which means that increme

How to get hold of an individual instance of a component within a for loop?

2006-04-19 Thread Martijn Hinten
Hi all, ** sorry for duplicate post** I want to validate some PropertySelections that are contained within a For loop, like this: HTML: PAGE: class="my.package.MyCustomValidationDelegate"/> Wh