Re: T5: built-in numeric validator

2011-03-31 Thread Chris Norris
The Tapestry NumericValidator seems to rely on whether Double.valueOf(String) will throw an exception, which it does for '1k'. How are you configuring and using your validator? On Tue, Mar 29, 2011 at 5:19 PM, Adam Zimowski wrote: > It is server side. Looks like if input starts with a digit, Tap

Re: Runtime configurable Validators in T5... this was easy in T4

2011-03-29 Thread Chris Norris
at 12:56 PM, Thiago H. de Paula Figueiredo wrote: > On Fri, 25 Mar 2011 13:23:25 -0300, Chris Norris > wrote: > >> I have a loop which generates form components. Each one needs some >> very custom validation. I know I can create a validator that will take >> in a constr

Runtime configurable Validators in T5... this was easy in T4

2011-03-25 Thread Chris Norris
In T4 we could new up a Validator, provide it with whatever information we wanted, and pass that directly to a form component for validation. I miss this. I have a loop which generates form components. Each one needs some very custom validation. I know I can create a validator that will take in a

Re: login with stored procedure

2010-10-16 Thread Chris Poulsen
27;t had the time to play with that one yet.) Sorry for being a little vague on the tapestry side of the things, but I guess others are much better qualified to help you there. -- Chris - To unsubscribe, e-

Re: Should Tapestry phone home?

2010-10-11 Thread Chris Pall
And no, it should not phone home - it should be invoked. On Mon, Oct 11, 2010 at 2:50 PM, Chris Pall wrote: > You probably would get much better compliance if you were giving them > something back - if you're giving them a tool that lets them know hey -- > there is a bugfix fo

Re: Should Tapestry phone home?

2010-10-11 Thread Chris Pall
You probably would get much better compliance if you were giving them something back - if you're giving them a tool that lets them know hey -- there is a bugfix for your version. --cgp On Mon, Oct 11, 2010 at 2:46 PM, Howard Lewis Ship wrote: > So, Alessio had a good idea ... some way of fin

ANTLR + JBoss 5.1.0 + Tapestry 5.1.0.5 - NoClassDefFoundError

2010-09-07 Thread Chris Mylonas
d...@1042994848[path=antlr.jar context=file:/Users/chrismylonas/Documents/_17_Software/_13_JBoss/jboss-5.1.0.GA/common/lib/ real=file:/Users/chrismylonas/Documents/_17_Software/_13_JBoss/jboss-5.1.0.GA/common/lib/antlr.jar] Extra info: It's my first jboss-5.1 project with tapestry 5.1.0.5 Cheers Chris

Re: Tapestry + GAE + Eclipse + Maven

2010-09-04 Thread Chris Mylonas
tml > Sent from the Tapestry - User mailing list archive at Nabble.com. > > ----- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Chris Mylonas Consulting Systems Administrator Communications, Internetworking, Software Design & Prototyping Free & Open Source Software Projects www.opencsta.org

Re: No tapestry pages available in deployment

2010-08-31 Thread Chris Mylonas
Thanks - no more to add to this thread from me :) Chris On 01/09/2010, at 12:41 PM, Chris Mylonas wrote: > Thanks for the pointer Thaigo - tapestry has made my pages available (got my > own coding to deal with now!) > > javax.servlet.ServletException: Filter execution threw

Re: No tapestry pages available in deployment

2010-08-31 Thread Chris Mylonas
au.com.vltest.admin.web app org.apache.tapestry5.TapestryFilter app /* Cheers Chris

No tapestry pages available in deployment

2010-08-31 Thread Chris Mylonas
11:32:27,571 INFO [EJB3Deployer] Deployed: file:/Users/chris/Documents/_17_Software/_13_JBoss/jboss-4.2.3.GA/server/all/tmp/deploy/tmp8925637803076123353vlchris.ear-contents/vlchrisPersistence.jar 11:32:27,606 INFO [TomcatDeployer] deploy, ctxPath=/vltest, warUrl=.../tmp/deploy/tmp892563780307612

Re: Integrating with 3rd Party

2010-08-26 Thread Chris Mylonas
652704p2652704.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Chris Mylonas Consult

Re: repo?.maven.org/.../tapestry*/5.2.0 ?!?!

2010-08-18 Thread Chris Mylonas
> I'm just a Tapestry lover that happens to be a Maven lover too. :) Maven has > its quirks, but, to me, it saves me more time than consume. > >> We use ant-dependencies which chucks everything into my ~/.maven folder >> similar to maven2, so I don't feel I'm missing out a lot, > > You're using

Re: repo?.maven.org/.../tapestry*/5.2.0 ?!?!

2010-08-18 Thread Chris Mylonas
nking or the process, because I want to host my own maven repository for the libs in my F/OSS project at the end of the day :) which I can already do with apache-archiva so that I can write some maven/opencsta/ejb/tapestry/jquery tutorials Chris-Ms-MacBook:tapuserlist chris

Re: repo?.maven.org/.../tapestry*/5.2.0 ?!?!

2010-08-18 Thread Chris Mylonas
light on this ejb/javaee maven problem? Chris-Ms-MacBook:Downloads chrismylonas$ mvn archetype:generate -DarchetypeCatalog=http://tapestry.apache.org [INFO] Scanning for projects... [INFO] Searching repository for plugin with p

Re: [Tapestry Central] Tapestry Frequently Asked Questions

2010-08-18 Thread Chris Mylonas
cs to convert at a later date) Flame away! :) Cheers Chris On 18/08/2010, at 10:33 AM, Howard wrote: > I'm taking some time to work on the Tapestry documentation ... starting > with the FAQ. It's great fun, though this could get to be quite large. > I'm just spewi

Re: Dynamic Label name

2010-08-10 Thread Chris Mylonas
It helps us noobs see easy examples too though! So thank you! On 10/08/2010, at 11:23 PM, Borut Bolčina wrote: > Thanks, embarrassing easy. > > 2010/8/10 Thiago H. de Paula Figueiredo > >> On Tue, 10 Aug 2010 10:07:21 -0300, Borut Bolčina >> wrote: >> >> Hi, >>> >> >> Hi! >> >> is it pos

Re: Why would I choose JQuery?

2010-08-09 Thread Chris Mylonas
Safari - O'Reilly: jQuery, 218 results Scriptaculous - 94 results Amazon.com jQuery - 184 Scriptaculous - 31 Packtpub jQuery - 2 pages, i.e. more than 20 scriptaculous - 7 The creator of jQuery, John Resig works at Mozilla, so it's not going away either. Enough from me! Cheers

Re: Why would I choose JQuery?

2010-08-05 Thread Chris Mylonas
Awesome contrib! I'll hopefully find some time to work with it this month - have you got any publicly accessible demos of it in action? On 06/08/2010, at 4:46 AM, Robin Komiwes wrote: > I might be not objective since I'm in love with jQuery, but imho, choosing > jQuery over others will avoid you

Re: T5.1.05 always runing slowly when it handle the page requests

2010-07-30 Thread Chris Mylonas
uld be a few seconds, but when you're expecting a phone call to start straight away, those few seconds are noticeablesame thing here maybe. Just a guess. have a good weekend, Chris On Fri, Jul 30, 2010 at 9:10 PM, Joachim Van der Auwera wrote: > I my case I was using wireshar

Re: Lots of Tapestry problems - quickstart and tutorial

2010-07-21 Thread Chris Mylonas
Try this mate mvn archetype:generate -DarchetypeCatalog=http://tapestry.formos.com/maven-repository 1: http://tapestry.formos.com/maven-repository -> quickstart (Tapestry 5.1.0.5 Quickstart Project) Choose a number: (1): 1 Define value for groupId: : org.example Define value for artifactId

tapestry validation queries?

2010-07-20 Thread Chris Mylonas
ion? e.g. all strings within forms will be required and they'll need to be between 5 and 10 characters. Just asking... Is there a difference between @Validate and t:validate in the tml? Do both methods create the javascript unFocus pop up? Cheers Chris

Re: using a js confirm to cancel an async eventlink

2010-07-14 Thread Chris Mylonas
Thanks Thiago - I've read the follow ups to this from you and Josh, and the "nevers" are good to know early on. "...because of the page pooling" is a good enough reason to make it register. There seems to be a shortage of "never do this" cheat sheet library in the 21st century :) .java

Re: using a js confirm to cancel an async eventlink

2010-07-14 Thread Chris Mylonas
list*** Cheers Chris On 15/07/2010, at 12:23 AM, Erick Erickson wrote: Making the enough-but-not-overwhelming decision is always a tough one. What *I* want is an example that shows only and exactly what I want to see at the moment I'm looking. Oh, and I want it to come up first on whatever

Re: using a js confirm to cancel an async eventlink

2010-07-14 Thread Chris Mylonas
d to jumpstart at version $ {addedJumpstartVersion} on ${addedJumpstartDate} ;) Cheers Chris On 14/07/2010, at 11:47 PM, Geoff Callender wrote: Chris, Hmmm, I'm always tossing up between keeping the examples simple and making them complete. Your request is pretty compelling so I'll c

Re: using a js confirm to cancel an async eventlink

2010-07-14 Thread Chris Mylonas
Geoff that's a great example of some more advanced layout/theme possibilities. Sorry to hijack the thread somewhat, Any chance of adding to jumpstart a "Date added" and/or "Last modified" section to each example? Cheers Chris On 14/07/2010, at 7:01 AM, Geoff Cal

AjaxFormLoop - repopulate a form for editing

2010-07-06 Thread Chris Mylonas
quot;parameterName" I've saved in the database How would I do that so it renders what i've already saved? Thanks Chris - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Re: Tapestry 5 + Google App Engine - initial success!

2010-07-05 Thread Chris Mylonas
see at 01:23PM the app loads fine but even 2 minutes later it takes nearly 10 seconds. Looks like the the paid reserve instance when it becomes available will be the most reliable way to keep the app "warm". I'm only fetching / Chris • 07-05 01:25PM 06.806 / 200 6096

Re: Tapestry 5 + Google App Engine - initial success!

2010-07-03 Thread Chris Mylonas
OK - that seems to work. GAE has a cron facility configurable with a cron.xml file in the WEB- INF directory. I've set it to request the application root "/" every 2 minutes - should keep things crisp. Have a good weekend, Cheers Chris On 03/07/2010, at 10:58 PM, Andreas An

Re: Tapestry 5 + Google App Engine - initial success!

2010-07-03 Thread Chris Mylonas
is something within GAE that can be configured or some tapestry do-not-let-me-unload setting which I haven't encountered in my tapestry devving. I'll post further once there's a bit more work done to it (or if there are still the problems you mentioned) Thanks for your feedbac

Tapestry 5 + Google App Engine - initial success!

2010-07-02 Thread Chris Mylonas
ith a link to Christophe's instructions. I googled for tapestry appengine and there didn't appear to be any recent success stories so thought I'd let you all know. Cheers Chris

Re: AjaxFormLoop AddRow Location

2010-06-29 Thread Chris Mylonas
http://tapestry.apache.org/tapestry5.0/tapestry-core/ref/org/apache/tapestry5/corelib/components/AjaxFormLoop.html I've removed addrow as per the example in the Edit.tml (you end up with only the one addrow) This is on tapestry-5.0.x though... NB: Geoff's jumpstart has it - YMMV On 30/06/20

Re: T5: ProgressiveDisplay - Possibly not reloading properly on Safari when user uses browser 'Back' Button

2010-05-27 Thread Chris Darlaston
Thanks Josh, that worked a treat and solved the issue. Josh Canfield wrote: > > Try adding autocomplete="off" on your radio button element. I haven't > tried it, but it works for input fields. > > On Wed, May 26, 2010 at 9:09 AM, Chris Darlaston > wrote: &

Re: T5: ProgressiveDisplay - Possibly not reloading properly on Safari when user uses browser 'Back' Button

2010-05-26 Thread Chris Darlaston
Using cmd-R, I get the right page shown again. If this is a browser related problem does anyone have any ideas how to get Safari to reload the page or not to cache the radio button information? thanks Chris Howard Lewis Ship wrote: > > It can be hard to say; too ofte

T5: ProgressiveDisplay - Possibly not reloading properly on Safari when user uses browser 'Back' Button

2010-05-25 Thread Chris Darlaston
Hi, I have a t:radiogroup set of buttons in a t:progressivedisplay. On selection of the radio button, another zone is updated (which contains a drop down list) is done via a t:mixins. In Firefox 3, IE 8, it works perfectly and on using 'Back' from the browser, the t:progressivedisplay componen

Re: Grid -> Create ActionLink to get details or record

2010-03-11 Thread Chris Mylonas
ork's task? In a way it behaves like the PHP My Admin web app Cheers Chris On Fri, Mar 12, 2010 at 4:09 PM, Chris Mylonas wrote: > Thanks for putting it like that Kalle, > > I'll read up a bit on these annotations I think. > > Cheers > Chris > > >

Re: Grid -> Create ActionLink to get details or record

2010-03-11 Thread Chris Mylonas
Thanks for putting it like that Kalle, I'll read up a bit on these annotations I think. Cheers Chris On Fri, Mar 12, 2010 at 3:48 PM, Kalle Korhonen wrote: > There's no service typed CustData, exactly as the error message says. > You are trying to @Inject CustData but it'

Re: Grid -> Create ActionLink to get details or record

2010-03-11 Thread Chris Mylonas
Sorry - figured it out looking at JumpStart @Inject//this should be @Property private CustData user ; And it works On Fri, Mar 12, 2010 at 3:07 PM, Chris Mylonas wrote: > Hi, > > I've got a pretty basic problem that has had me stuck for a couple of > days. I have

Grid -> Create ActionLink to get details or record

2010-03-11 Thread Chris Mylonas
${user.omlitedbnum} How do I get to my next step?/What am I doing fundamentally wrong? Has anyone get any pointers? Thanks Chris

Re: Name of application module class too complicated?

2010-03-11 Thread Chris Mylonas
he future and should admit that I'm currently "punching above my weight" on this topic. Kind Regards, Chris On Thu, Mar 11, 2010 at 6:17 PM, Igor Drobiazko wrote: > A fixed name like "AppModule" would have been a much better decision but it > is just too late. We

Re: Query regarding Tapestry Grid

2010-03-10 Thread Chris Mylonas
Hi, Could you just add a record to the List before it goes onto rendering? Are there hooks for that? - I'm only new to tapestry, just throwing an idea out there. Cheers Chris On Thu, Mar 11, 2010 at 4:35 PM, Jagadesh Paladugula < jagadeshpaladug...@gmail.com> wrote: >

Re: Tapestry Scaling

2010-03-02 Thread Chris Mylonas
Hi Ben, This is very handy info - thanks for sharing. Kind Regards, Chris Mylonas On Wed, Mar 3, 2010 at 8:04 AM, Ben Gidley wrote: > The benchmarks were done on our production replica which is > nearly identical to our live hardware. > > The key parts of the system is >

Re: Tapestry 5.1: Wait for Page

2009-03-06 Thread Chris Lewis
Will this be configurable? While it can be a useful feature, there are times where clicking a link (etc) before the page is ready won't break the app. Additionally, I get a little freaked out at any non-essential feature I can't control. So, will it be configurable? sincerely, chr

Re: Switch from Prototype to jQuery?

2009-01-31 Thread Chris Lewis
Whether or not one "likes" jQuery or not isn't the point. Tapestry is built with prototype, and it works. That's the point. Were it built with jQuery, I would have raised the same question if the suggestion of switching to prototype had been brought up. It's not my preference that's behind my r

Re: Switch from Prototype to jQuery?

2009-01-31 Thread Chris Lewis
Thanks for pointing out that ui link. I will have to give jQuery another look at some point. I still can't agree with a rigid switch, but that says nothing of jQuery's viability. Onno Scheffers wrote: On Fri, Jan 30, 2009 at 5:32 PM, Chris Lewis wrote: that it is less than

Re: Switch from Prototype to jQuery?

2009-01-30 Thread Chris Lewis
I have a great deal of experience with prototype, and not so much with jQuery. From my brush with it, it seems to me that it is less than ideal for building front end widgets, as it's primary focus is more on easily navigating the DOM and affecting elements in various, insulated ways. It doesn'

Re: OnActivate question

2009-01-26 Thread Chris Lewis
James Sherwood wrote: Hello, Hi. I have security through page Activate. All my pages extend a page that has a method: @OnEvent("activate") Object onSecurityCheck(){ Check security if fails return Index.class } This works however any page that has its own onActivate() m

Re: Weird error

2009-01-21 Thread Chris Lewis
And also how exactly you bind your service implementation in your app module. Stephane Decleire wrote: Hi Could you show us the code of your class tibox.allert.fastSupport.services.UserSessionImpl ? Stephane Sid Ferreira a écrit : Based on http://wiki.apache.org/tapestry/Tapestry5HowToCo

Re: T5: ValueEncoderSource and Select's default encoder

2009-01-19 Thread Chris Lewis
I'd be surprised if I've overlooked it that long, but given how much the framework and its docs have evolved, it's certainly possible. Thanks again! Ulrich Stärk wrote: I believe this was added back in 2007... Uli Chris Lewis schrieb: Wow. Is that recent behavior? I've n

Re: T5: ValueEncoderSource and Select's default encoder

2009-01-19 Thread Chris Lewis
ctory or something). The correspondig Encoder is selected by the Select components defaultEncoder() method, when no encoder parameter is provided (see the "Computed Parameter Binding Defaults" section at http://tapestry.apache.org/tapestry5/guide/parameters.html). Cheers, Uli Chri

Re: T5: ValueEncoderSource and Select's default encoder

2009-01-19 Thread Chris Lewis
ect's source does the it access the ValueEncoderSource service. So, where/when/how does a default encoder get set? Thiago H. de Paula Figueiredo wrote: Em Mon, 19 Jan 2009 13:54:11 -0300, Chris Lewis escreveu: Hi list, Hi! I simply want to know how the Select component gets its en

T5: ValueEncoderSource and Select's default encoder

2009-01-19 Thread Chris Lewis
Hi list, I simply want to know how the Select component gets its encoder from the ValueEncoderSource service, when an encoder isn't explicitly provided as a parameter. Thanks! -- http://thegodcode.net - To unsubscribe, e-ma

Re: Tapestry 5 + Scala : an hello world example

2009-01-07 Thread Chris Lewis
wow. Let me get this straight - to get scala to work with T5, all you did was use scala source files and the scala maven plugin??? That's it!?! If that's all it takes I guess the reason is that scala files compile directly to normal java classes, and that's all done by maven. Man that's awesome!

Re: Tapestry-IoC: binding service without code, just convention over configuration

2008-11-20 Thread Chris Lewis
mponents, but the point is the same. What value then do you gain from not interacting your DAOs directly, and why does that satisfy your architectural wants? Thanks again for sharing, I value such conversation :-). chris Thiago H. de Paula Figueiredo wrote: > Em Wed, 19 Nov 2008 17:37:48 -0300

Re: Tapestry-IoC: binding service without code, just convention over configuration

2008-11-19 Thread Chris Lewis
Hi Thiago, Out of architectural curiosity, what do you use a UserController for in your example? Thiago H. de Paula Figueiredo wrote: > Em Wed, 19 Nov 2008 15:31:16 -0300, Howard Lewis Ship > <[EMAIL PROTECTED]> escreveu: > >> Interesting idea. You could probably put something together around >>

Re: unique ids for a select boxes

2008-11-17 Thread Chris Hannam
want it to or not. Anything else is > bad form. > > -Original Message- > From: Chris Hannam [mailto:[EMAIL PROTECTED] > Sent: Monday, November 17, 2008 8:58 AM > To: Tapestry users > Subject: Re: unique ids for a select boxes > > Hi, > Its gets stranger. That

Re: unique ids for a select boxes

2008-11-17 Thread Chris Hannam
> blankOption="NEVER" value="selectedPlaylist"/> > > -Original Message- > From: Chris Hannam [mailto:[EMAIL PROTECTED] > Sent: Monday, November 17, 2008 8:26 AM > To: Tapestry users > Subject: Re: unique ids for a select boxes > > Yes, it se

Re: unique ids for a select boxes

2008-11-17 Thread Chris Hannam
Yes, it sets a unique id on the name e.g. select:12o34nkasi98 I need to know the id to access the select box. CH On Mon, Nov 17, 2008 at 3:21 PM, Gabriel Rodriguez < [EMAIL PROTECTED]> wrote: > > Have you tried setting the clientId property? > > -Original Message- &g

unique ids for a select boxes

2008-11-17 Thread Chris Hannam
Hi, I`m trying to find the id of a select component from the following .tml file: The tapestry generated id when rendered in the browser has a unique identifier e.g. select:11daaf3019f when means I cant access the select box from my javascript. Can anyone point me in the right direction? CH

Re: My Tapestry5 suggestion list

2008-10-02 Thread Chris Lewis
Good point. Markus Joschko wrote: > Talking about configurable URLs: Don't forget i18n issues. > We once had a product where customers wanted to have the URL > internationalized to be meaningful in different countries. > This requirement is not uncommon in Europa at least. > >

Re: My Tapestry5 suggestion list

2008-10-02 Thread Chris Lewis
Hello, The only one of these that I'm interested in is the ability to have class-less components (just markup, no logic). I filed an issue for this many months ago, and am no longer certain where in the mix it is. I'll add one: Configurable URL-mapping service. I loathe - /loathe/ the fact that

Re: t5: using a non primary key field as context

2008-09-04 Thread Chris Lewis
entities. good luck and please share any troubles/victories chris Angelo Chen wrote: > Hi, > > I like the feature that we can now pass Hibernate entity to the onActivate > and T5 automatically picks up object from database. however it assumes what > passed is the primary key,

Re: T5 : [ANN] The book - next steps

2008-09-03 Thread Chris Lewis
Awesome! I'll try to have a look in a couple of hours, and if I can make the time, I'd like to contribute either in raw content and/or collaborative editing. As for a discussion channel for the book, why not use google-groups? Alex Kotchnev wrote: > I've created a new project for the proposed book

Re: T5: RenderSupport in XHR requests

2008-09-02 Thread Chris Lewis
Thanks Howard. Is the availability of RenderSupport within component event handlers a candidate for a new feature? Without such support I'm not sure how an app can return JS code to be executed to the client as the result of an action (ie a fired component event). chris Howard Lewis Ship

T5: RenderSupport in XHR requests

2008-09-02 Thread Chris Lewis
script code via renderSupport.addScript("");. Have I missed something? Thanks in advance, chris -- http://thegodcode.net - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: inject services into dispatcher

2008-09-02 Thread Chris Lewis
service as a constructor argument, or via setter injection in a service builder method. chris Natia Gdzelishvili wrote: > i have read this but, from there i understand how can i use aso, but how can > i inject services? > > On Tue, Sep 2, 2008 at 3:12 PM, Chris Lewis <[EMAIL P

Re: inject services into dispatcher

2008-09-02 Thread Chris Lewis
Hello, I assume you haven't yet read these articles: http://wiki.apache.org/tapestry/Tapestry5HowToCreateADispatcher http://wiki.apache.org/tapestry/Tapestry5HowToCreateADispatcher2 They answer both of these questions. sinerely, chris Natia Gdzelishvili wrote: > hello, > i h

T5: order of CSS via @IncludeStylesheet

2008-08-28 Thread Chris Lewis
ght it was an environmental. I actually think it /was/ an envoronmental and assume the change to an actual class modification was made for performance reasons. So... would this be a possible addition to the core @IncludeStylesheet annotation, or should I look in to writing my own? thanks, ch

Re: Multiple file upload

2008-08-28 Thread Chris Lewis
form will need to know about that component and how to bind a value to it. Input on this subject is sorely needed. chris Lance Java wrote: > The html file object only supports 1 file at a time, it's also locked down > by browser security so you can't set the value via javascript. >

Re: T5 : Let's write a book !

2008-08-26 Thread Chris Lewis
d have to write some XSL to do our conversions and we'd all have to stick to an agreed upon format. chris Thiago H. de Paula Figueiredo wrote: > Em Mon, 25 Aug 2008 18:56:52 -0300, Hugo Palma > <[EMAIL PROTECTED]> escreveu: > >> 2. I definitely think that this would have t

Re: Trying to Implement RedirectException in Tapestry 5

2008-08-20 Thread Chris Lewis
Ben Wong wrote: > I decided against the dispatcher approach for the reasons ville.virtanen > brought up. The dispatcher will have to know what pages are secured and > which aren't. > > Whatever authentication system you use will be burdened with the same issue. After all it is a critical var

Re: [t5] Is there anyway of passing parameters to expressions?

2008-08-19 Thread Chris Lewis
Hello, This is a classic case of needing client-side behavior with server-side knowledge, and would be handled well by OO javascript. You could create a component for this but is seems like a mixin might be more appropriate. Checkout this article: http://wiki.apache.org/tapestry/Tapestry5AndJavaS

Re: T5: Form Field from an embedded component

2008-08-18 Thread Chris Lewis
Filip, I had actually thought about that, but the explicit cast to Field prompted me ask the list. I hadn't tried that method until you mentioned it, and it does indeed work. If anyone can suggest a cleaner method I'd love to hear it, but for now this will do. Thanks again Filip! chri

T5: Form Field from an embedded component

2008-08-17 Thread Chris Lewis
anks in advance, Chris Lewis -- http://thegodcode.net - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: T5: dynamically created form components

2008-08-11 Thread Chris Lewis
ught would throw exceptions. But no, T5 knows they're being looped and just handles it. Awesome! Chris Lewis wrote: > Hello again, > > I have another issue related to the one about checkboxes that I've known > would be an issue at whatever point I needed to use dynamically creat

Re: T5: checkboxes for selecting a sub group of hibernate entities

2008-08-11 Thread Chris Lewis
ivate final class to do essentially the same thing as the included value encoder, I have to ask.. chris Chris Lewis wrote: > Hello, > > I have a collection of entities that need to be displayed in a form. A > user must be able to indicate any number of these entities in which they >

Re: t5 newbie's question: how to understa nd onActivate?

2008-08-10 Thread Chris Lewis
you should be ready to dig in a bit deeper into how pages are handled: http://tapestry.apache.org/tapestry5/guide/pagenav.html http://tapestry.apache.org/tapestry5/guide/lifecycle.html I strongly urge you to take a few hours, forget the word "servlet," I and take in the T5 perspectiv

T5: dynamically created form components

2008-08-10 Thread Chris Lewis
2) I need labels for the dynamic checkboxes, which means I need to know the t:id's of them. How is this possible when looping? Hasn't someone dealt with this? Thanks in advance, Chris -- http://thegodcode.net - T

Re: [T5] How to handle DAOs?

2008-08-09 Thread Chris Lewis
Onno, The thing to know about tapestry-hibernate is that it creates a proxy for the actual hibernate session. When you use the injected session it actually gets the session for the current thread, via the HibernateSessionManager I believe. So when you instantiate your DAO with a session in the con

T5: checkboxes for selecting a sub group of hibernate entities

2008-08-08 Thread Chris Lewis
Hello, I have a collection of entities that need to be displayed in a form. A user must be able to indicate any number of these entities in which they have interest by checking the box, and I'm at a bit of a loss at how to handle this elegantly. I've dealt with a variable number of inputs before,

Re: T5: form, action, result

2008-08-05 Thread Chris Lewis
Cool, thanks :-) Martijn Brinkers (List) wrote: > That's exactly what I do as well. > > Martijn > > On Sun, 2008-08-03 at 10:49 -0400, Chris Lewis wrote: > >> Angelo, >> >> Following are the very trimmed down versions of my template and page >> c

Re: T5: form, action, result

2008-08-03 Thread Chris Lewis
== null) content = infoRequest; } void onSuccessFromInfoRequest() { //Process form - update/save/create entity, send email, etc. //Set our content block to the messageSent block. content = messageSent; } public Block getContent() { return content

T5: form, action, result

2008-08-02 Thread Chris Lewis
er, I check if the content property is null in onActivate, and if so assign the form block. It works nicely, and I was wondering how others were handling this common use case and if something stinks about my method. Thanks! chris -- http://thegodcode.net ---

Re: T5: index page in pages package acts as a catchall

2008-08-02 Thread Chris Lewis
t? Anyway, thanks for your help :) sincerely, chris lewis kranga wrote: > Oddly enough using Start instead of Index handles this situation > correctly. > > - Original Message - From: "Lutz Hühnken" > <[EMAIL PROTECTED]> > To: "Tapestry users" >

T5: index page in pages package acts as a catchall

2008-07-30 Thread Chris Lewis
http://app.com/. Am I doing something wrong? Surely others have run into this and deem it undesirable, no? Thanks for any pointers, Chris -- http://thegodcode.net - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: T5: Service disambiguation

2008-07-29 Thread Chris Lewis
Sounds like you want @Marker: http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry5/ioc/annotations/Marker.html chris Russell Brown wrote: > Hi, > > I need to write secure session cookies and Tapestry Cookies interface > and CookiesImpl don't do that. So I e

Re: T5.0.14-SNAPSHOT: strange behavior Dispatcher when using a Session

2008-07-25 Thread Chris Lewis
wary of it in the future. chris Martijn Brinkers wrote: > This posting also report similar problems and it was 'solved' by > disabling the statement cache. > > https://jira.jboss.org/jira/browse/JBPORTAL-1287 > > > Martijn > > On Thu, 2008-07-24 at 22:57 -0700,

Re: T5.0.14-SNAPSHOT: strange behavior Dispatcher when using a Session

2008-07-24 Thread Chris Lewis
ow if anyone has seen this before, and/or if it's a known issue. I'm using a slightly outdated version of hibernate (3.2.2.ga) and for all I know this may be fixed in more recent versions. My wrists are shot so I'll try tomorrow. If anyone knows of this or gets interested/bored enou

Re: T5.0.14-SNAPSHOT: strange behavior Dispatcher when using a Session

2008-07-24 Thread Chris Lewis
, 24 Jul 2008 18:14:32 -0300, Chris Lewis > <[EMAIL PROTECTED]> escreveu: > >> This is occurring in a development environment on a fresh and small app >> with a schema with a total of 6 mapped entities, 7 tables, 3 records in >> the abstract entity's ta

Re: T5.0.14-SNAPSHOT: strange behavior Dispatcher when using a Session

2008-07-24 Thread Chris Lewis
3) Even though I'm not having this in my page class where I need all of the varying subclass entity instances in a single collection, should I be worried? I imagine the answer to #1 will answer this. I haven't verified that this happens in a non-T5 context, but I'll test that later

Re: T5.0.14-SNAPSHOT: strange behavior Dispatcher when using a Session

2008-07-24 Thread Chris Lewis
_sql=true. Grab the SQL statement, and > execute it manually. > > Also, can you change Listing to be non-abstract - even if you never use it? > > > > >> -Original Message- >> From: Chris Lewis [mailto:[EMAIL PROTECTED] >> Sent: Thursday, July 24, 200

Re: T5.0.14-SNAPSHOT: strange behavior Dispatcher when using a Session

2008-07-24 Thread Chris Lewis
27;m writing (a binary file dispatcher), but when I ran into this I was struck with a bolt of "I must understand this." A realistic use however is access control, in which you want to restrict T5-specific idioms like a "page" or "component." > > > Chris Lewis wro

Re: T5.0.14-SNAPSHOT: strange behavior Dispatcher when using a Session

2008-07-24 Thread Chris Lewis
Padawn, Per your suggestion I tried the get method with the exact same results: Listing listing = (Listing)session.get(Listing.class, Long.parseLong(sListingId)); I also changed the dispatcher so that it uses the HibernateSessionManager to get the current session explicitly on each request, to n

Re: T5.0.14-SNAPSHOT: strange behavior Dispatcher when using a Session

2008-07-24 Thread Chris Lewis
ate will look for any descendant of Listing. > > The actual object type returned will depend on the actual type for any > instance found. You can then cast to Listing without a problem. > > Get rid of load(). > > Jonathan > > >> -Original Message- >

Re: T5.0.14-SNAPSHOT: strange behavior Dispatcher when using a Session

2008-07-24 Thread Chris Lewis
+ ""; response.setContentLength(test.length()); response.getPrintWriter("text/html").append(test).flush(); return true; } } Jonathan Barker wrote: > Post your query and load code. > > >> -Original Message- >&g

Re: T5.0.14-SNAPSHOT: strange behavior Dispatcher when using a Session

2008-07-24 Thread Chris Lewis
query, but any subsequent query to a _different_ entity throws that exception. The query is also just a read (select). Any other ideas? thanks Yunhua Sang wrote: > It sounds more like a data issue, check your data in database carefully. > > Yunhua > > On Wed, Jul 23, 2008 at 1

T5.0.14-SNAPSHOT: strange behavior Dispatcher when using a Session

2008-07-23 Thread Chris Lewis
until I restart the container. Thanks in advance! chris -- http://thegodcode.net - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: T5: stream binary files

2008-07-23 Thread Chris Lewis
Thanks Kristian - I've messed with dispatchers a bit and am playing with that route. Now I've run into an interesting hibernate session issue, but that's for a new thread :-) thanks for your input chris Kristian Marinkovic wrote: > hi chris, > > instead of

Re: @Environment problem

2008-07-23 Thread Chris Lewis
Petros, Instead of RenderSupport, try DocumentLinker. It should be available in such cases, the only issue is that it's internal. I don't remember if the "rules" are not to use internal services at all, or simply not to extend them. chris Petros Petrou wrote: > Tha

T5: stream binary files

2008-07-23 Thread Chris Lewis
all, it's not a page). Has anyone take a non-page approach to this? Thanks for any input. chris -- http://thegodcode.net - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

<    3   4   5   6   7   8   9   10   11   12   >