Re: [T5] Passing Pages into Components

2007-07-18 Thread Bill Holloway
Howard, maybe you should hide the internal interfaces by making them package-private or something. Then mark internal classes "final" like Spring does! Bill On 7/18/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: So you missed the great big warning signs about not using internal classes? Pa

Re: Custom exception page

2007-07-18 Thread Nick Westgate
Yeah, it's not documented yet but Tapestry's "ExceptionReport" page is what you have to override. It's mentioned here: (or check the T5 source) http://tapestry.apache.org/tapestry5/tapestry-core/guide/request.html http://tapestry.apache.org/tapestry5/tapestry-core/apidocs/org/apache/tapestry/core

Re: [T5] redundant declaration of meta tag

2007-07-18 Thread Nick Westgate
Are you using the UTF-8 patch on the wiki? http://wiki.apache.org/tapestry/Tapestry5HowTos Cheers, Nick. Marcelo lotif wrote: Hi all, I'm trying to use some special characters on my pages but i had to put the meta tag in all of them, even when they have a Layout component wrapping it. I thou

Re: Re[2]: T4.1.2 EventListener _ symbol in the name of element

2007-07-18 Thread Jesse Kuhnert
1522 doesn't matter as I'm about to deploy a fix in the next few minutes anyways. (4.1.3-SNAPSHOT) On 7/18/07, Sergey Kashin <[EMAIL PROTECTED]> wrote: Hello Could you please specify Jira issue identificator, cant't find it. Thursday, July 19, 2007, 8:06:18 AM, you wrote: JK> There's

Re[2]: T4.1.2 EventListener _ symbol in the name of element

2007-07-18 Thread Sergey Kashin
Hello Could you please specify Jira issue identificator, cant't find it. Thursday, July 19, 2007, 8:06:18 AM, you wrote: JK> There's a JIRA report open for itI guess I'll work on that next after I JK> finish what is bugging me first. ;) JK> On 7/18/07, Patrick Klein <[EMAIL PROTECTED]> wr

Re: Overriding default location of properties files

2007-07-18 Thread Steven Coco
On Wed July 18 2007 3:59:05 pm you wrote: > I am wondering if anyone has any pointers on how I could change the > location of where my properties files are. I am looking to move them > to a separate directory to clean up my application. > > Thanks, One way is to use Maven... If I understand what

Re: [4.1.2] OGNL bug?

2007-07-18 Thread Jesse Kuhnert
Ah yes - please do file it. (with as much of the details/types / etc as possible) http://jira.opensymphony.com/browse/OGNL You should be sure to try 2.7.1-SNAPSHOT before filling just to save any time though. (but please do file it if it happens there as well, now that the struts people are go

Re: security in Tapestry

2007-07-18 Thread Jesse Kuhnert
First - you should be able to "inject" that request object instead of going through so many get calls: public abstract WebRequest getRequest(); Define that property and it will all work magically. .. I have no idea why isUserInRole wouldn't work though - it's just a wrapper that hands the metho

RE: T5: Grid component - available properties

2007-07-18 Thread Joost Schouten
Thomas, You can explicitly add your column to the BeanModel like: @Inject private BeanModelSource bms; @Inject private ComponentResources resources; private BeanModel model; private YourRowObject myRow; @SetupRender void initialize(){ model = bms.create(YourRowObject.class, false, res

Re: InlineEditBox questions

2007-07-18 Thread Jesse Kuhnert
Good point. If you add a JIRA issue for it it should be super easy for to add a "listener" parameter. On 7/18/07, Julian Wood <[EMAIL PROTECTED]> wrote: I've been playing with InlineEditBox and I have a few questions. First, my use case: I have a project which has a set of notes. Both project

Re: Overriding default location of properties files

2007-07-18 Thread Jesse Kuhnert
Sure - I would look at "org.apache.tapestry.namespace-properties-name" : http://tapestry.apache.org/tapestry4.1/usersguide/configuration.html#Configuration%20Properties I also recently made a few changes such that you could - in theory - have one single monolithic properties file for everything.

Re: T4.1.2 EventListener _ symbol in the name of element

2007-07-18 Thread Jesse Kuhnert
There's a JIRA report open for itI guess I'll work on that next after I finish what is bugging me first. ;) On 7/18/07, Patrick Klein <[EMAIL PROTECTED]> wrote: Hello, I can confirm this behavior. This problem was bugging me for at least two days now. Thanks for this info :) Regards,

Re: is json supported in tapestry-4.0 ?

2007-07-18 Thread Jesse Kuhnert
I don't think tacos has that either. On 7/18/07, Andrea Chiumenti <[EMAIL PROTECTED]> wrote: no, at least i you don't use tacos (if I remember) kiuma On 7/17/07, Ken nashua <[EMAIL PROTECTED]> wrote: > > > > Best regards > Ken in nashua > >

[4.1.2] OGNL bug?

2007-07-18 Thread Julian Wood
This is a very simple expression, but I always get an error in the log, even though the output is calculated correctly: I've tried it with various combinations of brackets and operators (eg. "ognl:(budget - (timeBilled + itemsBilled))" ) but I always get a si

security in Tapestry

2007-07-18 Thread Alexa22
Hi, I have a problem, I'm developing a Tapestry's aplication and I need to active the security in there, but the page is autenticated by WAS (WebShere A lication Server), I asked to the role's server to this way: admin1 = getRequestCycle().getRequestContext().getRequest().isUserInRole("MMC_ADM

Gerenating Response -- Component

2007-07-18 Thread Daniel Ruiz
Hello, I´ve been looking the docs and I couldn't find how to do this in the proper way.. Using the following structure: public abstract class Viewer extends BasePage { @InitialValue("literal:default value message..") public abstract void setMessage(String message); publ

InlineEditBox questions

2007-07-18 Thread Julian Wood
I've been playing with InlineEditBox and I have a few questions. First, my use case: I have a project which has a set of notes. Both project and note are hibernate objects. You can add as many notes as you want to a project. It's nice to be able to edit the note text inline. So I list the

Re: T5: Can I redirect to another page in setupRender()?

2007-07-18 Thread dtrebbien
Thank you very much, Nick. This was what I was looking for. Nick Westgate wrote: > > Access validation should be done in onActivate(): > http://tapestry.apache.org/tapestry5/tapestry-core/guide/pagenav.html > > Cheers, > Nick. > > > dtrebbien wrote: >> I have two pages: ListRepositories and

Overriding default location of properties files

2007-07-18 Thread Chris Chiappone
I am wondering if anyone has any pointers on how I could change the location of where my properties files are. I am looking to move them to a separate directory to clean up my application. Thanks, -- ~chris - To unsubscribe, e

RE: contrib:Timeout

2007-07-18 Thread Henry Chen
Just post it on jira. -Original Message- From: Hugo Palma [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 18, 2007 10:44 AM To: Tapestry users Subject: Re: contrib:Timeout It looks like a bug. Can you please create a jira issue for it ? Thanks Henry Chen wrote: > Yes, you are right

Re: user access control

2007-07-18 Thread Andrea Chiumenti
like mine :), anyway On 7/18/07, Siddhartha Argollo <[EMAIL PROTECTED]> wrote: I think so too. My solution was to contribute to MasterDispatcher with a SecurityDispatcher, that is responsible to verify if the user is authenticated, before he has access to a page. It is a request filter, bu

Re: [T5] Passing Pages into Components

2007-07-18 Thread Howard Lewis Ship
So you missed the great big warning signs about not using internal classes? Page is an internal interface; you classes don't implement Page. You'd be better off making nextPage type java.lang.Object. On 7/17/07, bayk <[EMAIL PROTECTED]> wrote: Hi! I have a problem passing a page into a compon

Re: user access control

2007-07-18 Thread Siddhartha Argollo
I think so too. My solution was to contribute to MasterDispatcher with a SecurityDispatcher, that is responsible to verify if the user is authenticated, before he has access to a page. It is a request filter, but inside the tapestry framework, not a servlet filter. Chris Lewis wrote: I apolog

Re: contrib:Timeout

2007-07-18 Thread Hugo Palma
It looks like a bug. Can you please create a jira issue for it ? Thanks Henry Chen wrote: Yes, you are right. Is this a bug? Can somebody fix it? FireBug reported the following error: TimeoutConfirm is not defined tapestry.TimeoutTimerConfirm = window.setTimeout("TimeoutConfirm()", 8

RE: contrib:Timeout

2007-07-18 Thread Henry Chen
Yes, you are right. Is this a bug? Can somebody fix it? FireBug reported the following error: TimeoutConfirm is not defined tapestry.TimeoutTimerConfirm = window.setTimeout("TimeoutConfirm()", 8)... -Original Message- From: Hugo Palma [mailto:[EMAIL PROTECTED] Sent: Wednesday, J

Re: [T5] Passing Pages into Components

2007-07-18 Thread Jordan Howarth
Hi Klaus Take a look at http://tapestry.apache.org/tapestry5/tapestry-core/guide/coercion.html: "Type coercions occur when a value passed into a parameter (as bound in template or in an annotation) does not match the type of the parameter." The exception message indicates that the TypeCoercer Serv

Re: user access control

2007-07-18 Thread Andrea Chiumenti
Chris, you haven't read carefully!!! look here: http://tapestry-jfly.svn.sourceforge.net/viewvc/tapestry-jfly/trunk/JFlyWebCommons/src/main/java/org/jfly/webcommons/filters/SynchronizerFilter.java?view=markup and here: http://tapestry-jfly.svn.sourceforge.net/viewvc/tapestry-jfly/trunk/JFlyWebCom

Re: T4.1.2 EventListener _ symbol in the name of element

2007-07-18 Thread Patrick Klein
Hello, I can confirm this behavior. This problem was bugging me for at least two days now. Thanks for this info :) Regards, Patrick > Hello > > I'm found one strange bug in EventListener, > EventListener method not execute if '_' symbol occurs in in the name > of element, pageBeginRender meth

Re: user access control

2007-07-18 Thread Chris Lewis
I apologize for being vague. I don't mean a servlet filter, I mean a filter/filtering system with in the tapestry framework. Something that might allow me to supply access logic before page rendering, so that I don't have to require pages to know about the access control system used. I know thi

[T5] Any way to replace service from InternalModule?

2007-07-18 Thread Ivan Luzyanin
I need to change a behavior of a service provided by Tapestry's InternalModule. Is is possible? If so, how? -- View this message in context: http://www.nabble.com/-T5--Any-way-to-replace-service-from-InternalModule--tf4103794.html#a11670429 Sent from the Tapestry - User mailing list archive at N

[T5] redundant declaration of meta tag

2007-07-18 Thread Marcelo lotif
Hi all, I'm trying to use some special characters on my pages but i had to put the meta tag in all of them, even when they have a Layout component wrapping it. I thought it is a bit redundant. If i remove the meta tag from the layout(that have not special chars), letting it just into the start pag

Re: user access control

2007-07-18 Thread Andrea Chiumenti
Of course there is a filter: check my project for some filter samples: http://tapestry-jfly.svn.sourceforge.net/viewvc/tapestry-jfly/trunk/JFlyWebCommons/src/main/ ciao, kiuma On 7/18/07, Chris Lewis <[EMAIL PROTECTED]> wrote: Thank you for your insights. I guess my only complaint is I don't l

T4.1.2 EventListener _ symbol in the name of element

2007-07-18 Thread Sergey Kashin
Hello I'm found one strange bug in EventListener, EventListener method not execute if '_' symbol occurs in in the name of element, pageBeginRender method in that situation executed. Ajax create request for onchange request. Usally i'm use '_' symbol in beanform for custom input, there for it very

Re: user access control

2007-07-18 Thread Chris Lewis
Thank you for your insights. I guess my only complaint is I don't like forcing pages to implement their security, even through inheritance. I don't guess there's a filtering system of some sort? Page extention isnt the end of the world, I'm just curious if this way is a best practice. Andrea C

service throws java.lang.IllegalStateException (T5)

2007-07-18 Thread Jordan Howarth
Hi all I have been cribbing from "Enjoying Web Dev with Tapestry" to create a download service in T5 (5.0.5). Working on the basis that this was not a wheel worthy of reinvention, I went looking for anything that resembled this in the T5 code base: enter [core ..]/internal/services/ResourceStreame

Custom exception page

2007-07-18 Thread Michał Glogaza
Hi, I want to override the default tapestry exception page with my own. I've searched the documentation and mailing list, but can't find any information about it. Can anyone help me out? Thanks, Michał Glogaza

Integarting EJB 3 to Tapestry 4

2007-07-18 Thread Dwi Ardi Irawan
i've been curious on EJB... and already search the archive in this mailing list one of that is the post from : http://www.nabble.com/Inject-EJB-3-into-Tapestry-4-page-tf2841494.html#a8468544 but i still don't get the idea. i change the code (becouse it gives me some err when i follow the intruc

Re: contrib:Timeout

2007-07-18 Thread Hugo Palma
Ok, the first one is actually the desired behaviour. Check this for more details http://mail-archives.apache.org/mod_mbox/tapestry-users/200504.mbox/[EMAIL PROTECTED] On 7/18/07, Hugo Palma <[EMAIL PROTECTED]> wrote: Ok, i've actually tested the component and have confirmed that it doesn't wor

Re: contrib:Timeout

2007-07-18 Thread Hugo Palma
Ok, i've actually tested the component and have confirmed that it doesn't work for me either. After some fiddling there seems to be two problems with the component: - The XTitle implementation is adding this javascript code: requestObject.onreadystatechange = function() {if (requestObject.readyS

Re: T4.1.2 When will it reach ibiblio?

2007-07-18 Thread Geoff Callender
I see - new location. Thanks. On 18/07/2007, at 4:17 PM, [EMAIL PROTECTED] wrote: http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/tapestry/ tapest ry-framework/4.1.2/ ? -Original Message- From: Geoff Callender [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 17, 2007 11:32 PM

Re: is json supported in tapestry-4.0 ?

2007-07-18 Thread Andrea Chiumenti
no, at least i you don't use tacos (if I remember) kiuma On 7/17/07, Ken nashua <[EMAIL PROTECTED]> wrote: Best regards Ken in nashua _ http://newlivehotmail.com ---

Re: user access control

2007-07-18 Thread Andrea Chiumenti
And if you are practice you can also implement you custom jaas login module, so to keep atuhentication and authorization business logic outside your web application, like I do un my WL or JBoss counsultancy activity. Good work, kiuma On 7/18/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > T