Re: T5 : declaration of pages and components packages from a library

2008-01-08 Thread Chris Lewis
a personal note, I if you find yourself extending pages you may want to reexamine your design. This is just my opinion, but I'm a firm believer in shallow class hierarchies, and being that T5 provides such a rich environment for composite behavior without subclassing (via services and mi

Re: What's heartbeat ?

2008-01-07 Thread Chris Lewis
One reason Michael Courcy wrote: Gabriel Landais a écrit : Michael Courcy a écrit : If you look at this exemple : TreeGridComponent http://tapestry5-treegrid.googlecode.com/svn/trunk/tapestry5-treegrid/src/main/java/org/codelutin/tapestry/components/TreeGrid.java a hearbeat.begin is called

T5: var: in 5.0.8

2008-01-07 Thread Chris Lewis
I like the new var: prefix for temp variables, although I can't find any docs on how to properly use it. Here's my template code: xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";> ${var:post} ${var:post.title} ${var:post.body} ${var:post.created}

Re: [T5][Announce] Tapestry + Spring + Acegi : New version of Phone Book is Available

2008-01-07 Thread Chris Lewis
Well while we're talking about international policy violations, there's always tunnels ;-). Mohammad Shamsi wrote: On Jan 7, 2008 9:59 PM, Chris Lewis <[EMAIL PROTECTED]> wrote: Wow - that's a bit of a reality check! Strange to me that you're allowed to upload fi

Re: [T5][Announce] Tapestry + Spring + Acegi : New version of Phone Book is Available

2008-01-07 Thread Chris Lewis
not the magic pill I keep hoping for (that is, a way to not have to learn spring). At any rate, documentation and comments would be helpful. Thanks again for the effort. Sincerely, Chris Mohammad Shamsi wrote: I'm an Iranian, and because of politic problems between iran and usa,

Re: [T5][Announce] Tapestry + Spring + Acegi : New version of Phone Book is Available

2008-01-07 Thread Chris Lewis
Mohammad, Thanks for that - I've been wanting such an example (for acegi). I checked out the source via svn and see that your repository is empty, so I assume the archives you've uploaded have the source. Can I convince you to use the svn repo? thanks :-) chris Mohammad Shamsi

Re: What's heartbeat ?

2008-01-07 Thread Chris Lewis
TED]> 07.01.2008 16:17 Bitte antworten an "Tapestry users" An Tapestry users Kopie Thema Re: What's heartbeat ? Hi Chris, Chris Lewis a écrit : I'm not an expert on this, but I can offer you a real need for defer(). Suppose you have a mixin that attaches s

Re: What's heartbeat ?

2008-01-07 Thread Chris Lewis
ce for heartbeat's implementation as well as what really happens inside form support's defer method. You're not alone in your questions and expanded docs on this would be helpful. sincerely, chris PS - irc.freenode.net #tapestry Michael Courcy wrote: Gabriel Landais a éc

Re: T5: access control (again)

2008-01-06 Thread Chris Lewis
tion system with users and roles has to be so complicated. Again it's clearly not your job to document acegi, but a simple quick start or common use case would get us close to not needing spring docs, or require us to digest the whole acegi manual. My 2 cents. Thanks for listening and contributi

Re: T5: access control (again)

2008-01-06 Thread Chris Lewis
bashing spring, acegi, or the tapestry integration. What I am saying is that as a developer with no use for spring, using the t5 acegi module appears to be a bad choice for me as I do not know acegi at all, and learning it, by way of transitive dependencies, requires me to learn spring. chris R

Re: T5: access control (again)

2008-01-06 Thread Chris Lewis
.. Anyway, thanks for the input and do let me know how you find it. sincerely, chris Jonathan Barker wrote: Chris, I'm about to embark on access control for a T5 app I'm building. Two years ago, I built a T4 app with Spring / Hibernate / Acegi. I had already digested much of the Sprin

T5: access control (again)

2008-01-05 Thread Chris Lewis
us T5ers using for this? Packaged tools? Home grown? I'm home growing one at the moment (specific to a project) and would love to share, but I want to know what anyone else is doing to solve this classic problem. sincerely, chris

Re: T5: jscalendar and prototype

2008-01-04 Thread Chris Lewis
u. This is nice for me because every time I've used these annotations I happened to need prototype as well, but there is concern about this autonomous behavior as well as the tight coupling to prototype. chris Foror wrote: jscalendar requires prototype and scriptaculo libs? If is not req

Re: T5: get tapestry event, action and params of current page request

2008-01-04 Thread Chris Lewis
Expansion on why you need these specifics would be interesting, but to get nitty-gritty info like this you can just @Inject Request and ask it. chris Foror wrote: How to keep a URL of current page (event, action and context) that then to repeat this request? URL: /mailmessage:trash?t:ac=400

Re: [T5] How to format java.lang.Date when using expansion

2008-01-04 Thread Chris Lewis
to Output/OutputLocaleNumber which handle various situations. This limitation, on the other hand, makes it easier to use: Just pass it a date (article.created is a page property) and a date format as supported by java's SimpleDateFormat, and that's all. chris Dapeng wrote: hi guys i a

Re: JSR-168/JSR-286 revisited --- what's happening at the 'neighbours'

2008-01-03 Thread Chris Lewis
are falling on dead ears here. If you seek an audience, kindly find a more receptive one on which to spew your bile. However out of respect for the users that constructively seek to support and use this framework, and out of respect for your own professional profile, please stop with such messages.

Re: T5: template parser XHTML-well formed --> javascript goes wrong

2008-01-02 Thread Chris Lewis
port CDATA blocks - this has been addressed in svn. chris Britske wrote: Hi , I have a template which includes a javascript-function: function asyncCall (){ if(($('quickTextField').value.length > 2)) { new Ajax.Request ('${quickSearchBoxLink}', {asynchron

Re: HAPPY CHRISTMAS,

2007-12-31 Thread Chris Lewis
And best wishes to you! Mohammad Shamsi wrote: HAPPY CHRISTMAS, let pray for peace and better world in new year. with the best wishes in new year for all my friends in tapestry mailing list. - To unsubscribe, e-mail: [EM

T5: Interesting bug in error reporting

2007-12-30 Thread Chris Lewis
for some erroneous reason, reports as coming from the ViewPost component (it even highlights the PageLink to the erroneous page). Maybe this is some kind of off by one error - I'm not sure. Is this known about? I haven't noticed anything on JIRA. This is 5.0.7, btw. sincerely, chris

T5: gc-tapestry-components library update

2007-12-28 Thread Chris Lewis
I'm working on getting a snapshot repo up for seamless integration with maven based projects, so stay tuned. In the mean time please share any uses, ideas, etc etc via the project site. Happy holidays and happy hacki

Re: why special position for pages, components and ...?

2007-12-26 Thread Chris Lewis
hat there are hundreds or thousands of loaded classes in the JVM, and then assuming you could do something like System.getLoadedClasses() you get the idea. On Dec 26, 2007 4:44 PM, Chris Lewis <[EMAIL PROTECTED]> wrote: Aside from the reason I just mentioned, T5 has to know where to loo

Re: why special position for pages, components and ...?

2007-12-26 Thread Chris Lewis
just know that Tapestry use this location for looking up pages. how about a simple Annotation for page classes instead of ? just with using a simple Annotation (for exmaple @Page) for a Page Class we code place classes every where that we like. On Dec 26, 2007 3:16 PM, Chris Lewis <[EMAIL PROT

Re: [T5] : tapestry + spring

2007-12-26 Thread Chris Lewis
support is Tapestry problems too. On Dec 26, 2007 3:12 PM, Chris Lewis <[EMAIL PROTECTED]> wrote: I couldn't disagree with you more. For people like you who are familiar with spring, you may think the ioc part of T5 is a waste of time. That makes sense if you use and are happy

Re: why special position for pages, components and ...?

2007-12-26 Thread Chris Lewis
Because it removes the necessity to think about something that generally doesn't deserve thought. If you want them elsewhere, make a contribution in your app module. chris Mohammad Shamsi wrote: Hi, i want to know that why i should place my pages and components in special folder ? any

Re: [T5] : tapestry + spring

2007-12-26 Thread Chris Lewis
aven't used, but I can say that starting w/ T5 was cake, and I see no hole that needs filling by something like spring. Again this is my perspective - use what works best for you. chris Mohammad Shamsi wrote: Dear Friends, With this abilities that all we know about Frameworks like Sp

Re: T5 & Ajax - Which Ajax/Javascript framework will be next?

2007-12-25 Thread Chris Lewis
I'd say you are missing something: this is Tapestry 5. If I'm not mistaken prototype has been the choice since the beginning of T5 - hardly 'du jour'. There has been chatter here and there about having a pluggable system for using the JS of your choice, however I don't think this has received a

T5 component lib (another one) snapshot available

2007-12-23 Thread Chris Lewis
Hello list. T5 5.0.7 should be available shortly, so I've decided to publish the first snapshot artifact of my component library. The project site is: http://code.google.com/p/gc-tapestry-components/ Currently it includes only one component - my custom slideshow component. I've also linked to

Re: T5: best approach in testing a service

2007-12-21 Thread Chris Lewis
You could also consider checking out the source code (at least for tapestry-hibernate) and looking into its testing suite. If I remember correctly, it also does what you want to do, which may very well be the same as what Davor posted. sincerely, chris Davor Hrg wrote: I've recently p

Re: "error" image near fields and text browser : remove it ?

2007-12-15 Thread Chris Lewis
x27;m right ;-)) Of course the T5 IoC, or perhaps the TapestryModule could be loosened up a bit so you could simply provide a class name (autobinding) of your validator, instead of (re)implementing the filter. Thoughts? chris Kristian Marinkovic wrote: Hi Francois, the images are generate

Re: using properties file from java source in tapestry 5

2007-12-10 Thread Chris Lewis
Hi Salamon, If you havent already, read this: http://tapestry.apache.org/tapestry5/tapestry-core/guide/localization.html I'm assuming you're trying to localize your app, so this is all you'll need. chris Salamon Zsolt wrote: Hello! I have a component class, and a properti

T5: BeanEditForm and PasswordField

2007-12-09 Thread Chris Campbell
endered as Can anyone tell me what I am doing wrong? Thanks. Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: T5 - BeanEditForm server side validation question

2007-12-09 Thread Chris Campbell
Very good. For completeness for anyone else reading this, I did the following: Added to the java class @Component private BeanEditForm _form; public BeanEditForm getForm() { return _form; } and changed template to ( notice the Thanks! Filip S. Adamsen wrote: > Hi Chris, > &g

T5 - BeanEditForm server side validation question

2007-12-09 Thread Chris Campbell
impressed with T5 so far. Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Problems Deploying T5 Apps with Component Modules in Jetty

2007-12-09 Thread Chris Lewis
of an app module. In the test version I simply use @SubModule to 'include' the usual app module. Don't mistake my input as criticism - I just want to know if you were aware of these seemingly emerging T5 best practices and had found reasons to avoid them. If so, please share! sinc

Re: T 4.1 Strange Asset Context problem

2007-12-06 Thread Chris Chiappone
Anyone have any idea on this. It is utterly annoying to have to hard code the Context in the page spec. On Dec 5, 2007 10:13 AM, Chris Chiappone <[EMAIL PROTECTED]> wrote: > I have an assets defined in my page spec as follows: > > > > > The images seem to be u

Re: T5: Anyone using PageTester?

2007-12-05 Thread Chris Lewis
er to any extent. sincerely, Chris Howard Lewis Ship wrote: PageTester, Kent Tong's unit/integration testing layer for T5, is increasingly becoming difficult to maintain properly ... how many people are currently rel

T 4.1 Strange Asset Context problem

2007-12-05 Thread Chris Chiappone
? Thanks, -- ~chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Problems Deploying T5 Apps with Component Modules in Jetty

2007-12-05 Thread Chris Lewis
Nice catch :-). Does TIoC 'know' which modules it has loaded? If so perhaps an exception should be thrown, or at least a log message made, if an app attempts to (indirectly) load a module more than once. Thiago HP wrote: On 12/5/07, Steve Eynon <[EMAIL PROTECTED]> wrote: java.lang.RuntimeE

Re: Problems Deploying T5 Apps with Component Modules in Jetty

2007-12-05 Thread Chris Lewis
You say you've tried auto binding, but have you tried explicitly setting the id? Like so: public static void bind(ServiceBinder binder) { binder.bind(AssetFinder.class, AssetFinderImpl.class).withId("AssetFinderWithExplicitId"); } Auto binding assigns the class name as the service id,

Re: Nightly docs fixed - and some general notes

2007-12-04 Thread Chris Lewis
Full time on T5? That is good news :-). I do hope that maven will not be abandoned... Howard Lewis Ship wrote: The nightly docs are now fixed. My hatred of Maven is growing quickly. You may not be aware of this, but Jesse "fixed" the Surefire plugin for Maven almost two years ago and that STIL

Re: T5: problem in web.xml

2007-12-04 Thread Chris Lewis
Post a link to the JIRA if you create one. I think it's a good idea to allow the container to handle requests not handled by T5, but should be configurable and probably NOT the default. Perhaps web.xml would be the appropriate place to toggle this behavior. Ritesh.S wrote: Hello Davor, Thank

Re: T 4.1.3 upgrade exception

2007-11-30 Thread Chris Chiappone
ed... > so, can you move to that? > > > On Nov 30, 2007 8:02 PM, Chris Chiappone <[EMAIL PROTECTED]> wrote: > > I think its definately a jdk 1.4 incompatibility considering > > string.replace(CharSequence, CharSequence) is not a 1.4 method. Is it > > poss

Re: T 4.1.3 upgrade exception

2007-11-30 Thread Chris Chiappone
I think its definately a jdk 1.4 incompatibility considering string.replace(CharSequence, CharSequence) is not a 1.4 method. Is it possible to get this fixed quickly and merged into the 4.1.3 binary? On Nov 30, 2007 10:42 AM, Chris Chiappone <[EMAIL PROTECTED]> wrote: > Oh and this wa

Re: T 4.1.3 upgrade exception

2007-11-30 Thread Chris Chiappone
Oh and this was working in 4.1.2. Also I am forced to use java 1.4 so could this be an issue with that? Thanks. On Nov 30, 2007 10:37 AM, Chris Chiappone <[EMAIL PROTECTED]> wrote: > I just upgraded from 4.1.2 to 4.1.3 and am not recieving the following > exception for every page

T 4.1.3 upgrade exception

2007-11-30 Thread Chris Chiappone
java.lang.String.replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String; Stack Trace: * org.apache.tapestry.contrib.table.model.simple.SimpleTableColumn.setDisplayName(SimpleTableColumn.java:161) -- ~chris - To unsubscribe

Re: Authentication Tapestry 5

2007-11-20 Thread Chris Lewis
nd the IoC container that whenever a page is attached to a request, it must populate the state objects according to the attached session. Thanks :-) Richard Kirby wrote: Hi Chris, You wrote: manager to retrieve page members marked as state objects with the @ApplicationState annotation. Wh

Re: Authentication Tapestry 5

2007-11-20 Thread Chris Lewis
round this understanding, so if it's wrong then I'm in trouble ;-). Share some code if you have some that suggests otherwise, and hopefully Howard will chime in if I'm off. sincerely, chris Peter Stavrinides wrote: Hi Chris, Thanks for the clarification, this is what I had initially

Re: Authentication Tapestry 5

2007-11-20 Thread Chris Lewis
o the current request, NOT the page. Its up to the IoC container to resolve exactly what request (session) is associated with the requesting user, and ultimately which instance of your ASO class. I'm quite sure this work is done by the state manager. hope that helps sincerely, chris Peter S

Re: T5 How to get all page names?

2007-11-20 Thread Chris Lewis
loaded the pages is assumed to be the same one that loads the Start page class. I don't know that this is a safe assumption... If you're looking for a more intelligent method that can be plugged in to 5.0.6, you'll probably have to look in to service decoration: http://tape

Re: T5 How to get all page names?

2007-11-20 Thread Chris Lewis
I've created a JIRA and included a patch: https://issues.apache.org/jira/browse/TAPESTRY-1923. I actually had use for this as well - I'm working on a T5 component lib that includes a demo app for showcasing the components. I wanted to simply enumerate all known pages (excluding Start) and creat

Re: T5: testing T5

2007-11-19 Thread Chris Lewis
be found here: http://maven.apache.org/plugins/maven-surefire-plugin/ In any case, this thread doesn't have much to do with Tapestry anymore, so it probably belongs in the Maven user group... -Original Message- From: Chris Lewis [mailto:[EMAIL PROTECTED] Sent: Saturday, November 17, 2

Re: T5 How to difine dynamic path for image

2007-11-19 Thread Chris Lewis
I've not seen AssetResource - what is the advantage to using it like this as opposed simply to injecting the asset? lasitha wrote: On Nov 19, 2007 2:37 PM, Doublel <[EMAIL PROTECTED]> wrote: public void onActivate(String id){ if (lw.hnSunny.equals(bc.getLogWeather())){ t

Re: Authentication Tapestry 5

2007-11-19 Thread Chris Lewis
r you. Note that the same thing can be achieved using a Tapestry filter: http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry/services/RequestFilter.html Sincerely, Chris Peter Stavrinides wrote: Hi all My question is more of a best practice related question, I want to use a

Re: T5: Decorating A Service In a Sub Module

2007-11-17 Thread Chris Lewis
ed decoration so I'm assuming that the same principles apply (your exception suggests it as well). sincerely, chris David Kendall wrote: I am working on a sizable application where I am trying to decorate the PageRenderRequestHandler service. I have two modules - a Main Module and a Sub Module.

Re: T5: testing T5

2007-11-17 Thread Chris Lewis
n is able to find a basic simple test first. Another thread of mine that may be useful: http://www.nabble.com/Using-PageTester-with-tapestry-spring-tf4508561.ht ml Hope that helps, Joel -Original Message- From: Chris Lewis [mailto:[EMAIL PROTECTED] Sent: Friday, November 16, 2007 3:32 PM T

Re: T5: testing T5

2007-11-16 Thread Chris Lewis
eclipse I get a different exception: FAILED: testEffects java.lang.NoClassDefFoundError: javax/servlet/ServletContext .. .. I want to get a test suite together, and among other things, test for JS errors (via selenium). If anyone can point out my errors I;d be very grateful. sincerely, chris

T5: testing T5

2007-11-16 Thread Chris Lewis
dule to add the component lib to its component package list. However, neither does the ones (app2) used by T5! Can anyone point out what I need to do? Thanks tons! Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: T5.0.6 about Tapestry ioc

2007-11-16 Thread Chris Lewis
ly pass it arguments. Of course if these object is based on the current request, that's a different story. Be sure to read: http://tapestry.apache.org/tapestry5/tapestry-ioc/module.html Sincerely, chris lyifan wrote: Hi Chris, Do you mean that any constructor parameters can be repla

T5: expression language

2007-11-16 Thread Chris Lewis
There's been a lot of interest in and expanded version of the T5 expression language. I know T4 was equipped with ognl and people seem to have liked that very much. I could very well be off base here, and there may be a good reason for having chosen ognl before - but I'm curious - if what is de

Re: T5.0.6 about Tapestry ioc

2007-11-16 Thread Chris Lewis
I'm not sure I understand the constructor parameters. Do you mean they come from some other object (HttpRequest)? If so, why not just take HttpRequest as a constructor argument? If you do that then you can auto bind this service and IoC will know how to create it. If you insist on the parameter

Re: T5: entities in literal:

2007-11-14 Thread Chris Lewis
ered as an entity for the same reason my JS was. Chris Lewis wrote: I understand, and I don't particularly want to get into a discussion about pros/cons of that, but at the moment that may leave me stranded. The correct way to handle this would be to declare the script block as CDATA ins

Re: T5.06 Project tree

2007-11-14 Thread Chris Lewis
Where is your template for the start page (Start.tml)? If I'm not mistaken the archetype sticks it in WEB-INF, which I believe is wrong. I didn't run into a bug until I contributed a LibraryMapping to the component class resolver... Michael Bernagou wrote: So is it why my start.tml is not fou

Re: T5: entities in literal:

2007-11-14 Thread Chris Lewis
I just found this JIRA and added my vote: https://issues.apache.org/jira/browse/TAPESTRY-1818 No one is assigned to it and it doesn't have a 'Fix Version', so let this follow-up illustrate the importance of the issue to me :). chris Chris Lewis wrote: I understand, and I don

Re: T5: entities in literal:

2007-11-14 Thread Chris Lewis
ner. However it needs some wiring, and at the moment I'm unable to do this wiring. Sincerely, Chris Howard Lewis Ship wrote: Well, we are going for XHTML compliance with Tapestry, so the characters need to be escaped. I supposed we could bypass that (we already generate SGML style HTML rat

Re: T5: How to access user-defined component's properties

2007-11-13 Thread Chris Lewis
I will feed that param using the page's property function where "getCustomDataStructure" of that page will return an instance of MyOwnDataStructure? thx! Ronald Chris Lewis-5 wrote: Ronald, Tapestry receives input (and fires events) u

Re: T5: entities in literal:

2007-11-13 Thread Chris Lewis
ead of Element#raw in DocumentHeadBuilderImpl#updateDocument, since where writing script code and not markup? sincerely, chris Chris Lewis wrote: My component takes a parameter with a default binding prefix of 'literal'. This parameter needs to be able to receive strings with ch

Re: T5: thoughts on components using javascript

2007-11-13 Thread Chris Lewis
After reading a bit on Selenium, it seems that it can in fact test JS for errors - how cool :-). Chris Lewis wrote: Hello all. I'm working on a component that makes a 'slide show.' It doesn't accept input as its only every used do display images. I'm writing it so

Re: T5: How to access user-defined component's properties

2007-11-12 Thread Chris Lewis
llowing in your template: Then you must have a boolean property named 'wantsMail' in your component/page class, with appropriate getters/setters (getWantsMail, setWantsMail). chris ronaldlee wrote: Hi, I wrote a simple component which contain a check list (using checkboxes). I pu

T5: entities in literal:

2007-11-12 Thread Chris Lewis
omponent as a parameter? Thanks, Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

T5: thoughts on components using javascript

2007-11-12 Thread Chris Lewis
component would face the same problem - how does it test if the error rendering effect works or not (in terms of the JS)? Thanks for your input! Sincerely, Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: T5 how to control login state

2007-11-08 Thread Chris Lewis
at they remain resistant and flexible in the face of changes. I'd go as far to say that there are very few reasons one page should extend another. These are my thoughts. I'm glad that a couple people are after this - there's sure to be some good hacking as a result. sincerely, c

Re: T5 how to control login state

2007-11-07 Thread Chris Lewis
e. Anyway, someone with more knowledge on the workings would be good to hear. I'd like to know how you fare as I'm always in the market for a better way to do things. Sincerely, chris Nguyen, Michael wrote: Thiago, I know that on pages or components navigation is controlled by the ret

Re: T5 how to control login state

2007-11-07 Thread Chris Lewis
I've created a new article to supplement the first, showing how to access thread-specific ASOs from a singleton service. It's on the wiki: http://wiki.apache.org/tapestry/Tapestry5HowToCreateADispatcher2 sincerely, chris Angelo Chen wrote: Hi Chris, I'm interested in your ap

Re: T5 how to control login state

2007-11-05 Thread Chris Lewis
I would like to expand on this as it does seem perferable. chris Marcus wrote: Hi Massimo, Can you post some code about this RequestFilter solution ? Thanks, Marcus - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional c

Re: T5 how to control login state

2007-11-05 Thread Chris Lewis
uld be the way to go. I'll post a new wiki covering the @ApplicationState problem, and then perhaps we can explore using RequestFilters and address the issues listed at the end of the first article. Thanks for the good idea Massimo :-). Massimo Lusetti wrote: On Nov 5, 2007 2:02 PM, Chri

Re: T5 how to control login state

2007-11-05 Thread Chris Lewis
ation on a per-request basis. I'll update the wiki. chris lyifan wrote: Thanks a lot everyone. Finally the BasePase way works But the dispatcher way still doesn't work. lyifan wrote: I am a 100% new user for tapestry. Currently I'm working on 5.0.5, but I got stuck from

Re: NPE loading default.css?

2007-11-04 Thread Chris Campbell
Never mind, I found that my AppModule was failing. Chris Campbell wrote: > Hi, new to Tapesty 5 here, using 5.0.6 > > I am setting up a simple webapp along the lines of the tutorial. > Running in tomcat, I get the following error. The strange thing is > that the tutorial itself r

NPE loading default.css?

2007-11-04 Thread Chris Campbell
Hi, new to Tapesty 5 here, using 5.0.6 I am setting up a simple webapp along the lines of the tutorial. Running in tomcat, I get the following error. The strange thing is that the tutorial itself runs fine in the same environment. It seems that the TapestryModule cannot find a default asset ? I ca

Re: T5 Image Upload Client Side Resize

2007-11-01 Thread Chris Lewis
With 'native' javascript, that's not possible. That would at the least require access to an imaging api, and that unfortunately doesn't exist in pure javascript. With an applet or activex or flash object, its possible. Josh Penza wrote: Is there a way to resize images on the client side before

Re: Expression syntax Tapestry 5

2007-10-31 Thread Chris Lewis
ser" property via a method getUser(). For it to resolve the "email" property on the user object, the user object must have a method getEmail(). hope that helps. chris Peter Stavrinides wrote: Hi all Can anyone point me to some documentation on writing expressions in tapes

Re: T5 book: update

2007-10-29 Thread Chris Chiappone
; > > > > > > ----- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > -- > Howard M. Lewis Ship > Partner and Senior Architect at Feature50 > > Creator Apache Tapestry and Apache HiveMind > > -- > CONFIDENTIALITY NOTICE: If you have received this email in error, please > immediately notify the sender by e-mail at the address shown. This email > transmission may contain confidential information. This information is > intended only for the use of the individual(s) or entity to whom it is > intended even if addressed incorrectly. Please delete it from your files if > you are not the intended recipient. Thank you for your compliance. > Copyright 2007 CIGNA > == > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- ~chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Antwort: Re: Antwort: T5: 'wrapping' hibernate DAOs as services

2007-10-29 Thread Chris Lewis
That is nice :-). Thanks for the tips - I've just been poking around the source. chris Kristian Marinkovic wrote: it is a proxy that implements the org.hibernate.Session interface :) Chris Lewis <[EMAIL PROTECTED]> 29.10.2007 13:37 Bitte antworten an "Tapestry users

Re: Antwort: T5: 'wrapping' hibernate DAOs as services

2007-10-29 Thread Chris Lewis
or On 10/29/07, Chris Lewis <[EMAIL PROTECTED]> wrote: Kris, My DAOs are ignorant of Tapestry - I have no @Inject annotations in them. Instead they receive the Session object in the constructor, so technically they do have state. This is why I thought I might need to configure them as p

Re: Antwort: T5: 'wrapping' hibernate DAOs as services

2007-10-29 Thread Chris Lewis
Session that gets passed to my DAO constructor is actually a proxy to the actual hibernate session, and that this proxy takes care of getting a valid session. Is that right? Thanks :) Chris Kristian Marinkovic wrote: hi chris, i did this too :) it is not necessary to make your DAOs have per

T5: 'wrapping' hibernate DAOs as services

2007-10-28 Thread Chris Lewis
major? Thanks for the input! Sincerely, Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: T5 / Spring / Hibernate Lazy Loading

2007-10-24 Thread Chris Lewis
Ah - so your issue is you already have Spring managing your Sessions - I understand. Unfortunately I don't use Spring, but I know integration with it is the goal of tapestry-spring. I wish I could be of more help, but I know someone else should be. sincerely, chris trekmbikes wrote

Re: T5 / Spring / Hibernate Lazy Loading

2007-10-24 Thread Chris Lewis
I'm showing my inexperience with hibernate in web applications here, but tapestry-hibernate provides a thread-safe session-per-request implementation by default (http://tapestry.apache.org/tapestry5/tapestry-hibernate/). Is this not sufficient? trekmbikes wrote: I'm brand new to Tapestry. I

Re: T5 - t:label component.

2007-10-17 Thread Chris Lewis
: http://tapestry.apache.org/tapestry5/tapestry-core/guide/localization.html chris Mohammad Shamsi wrote: hi, Label component in T5, just have a parameter named "for". Tapestry use this value with some changes as a label text. this value also used for validation messages. but : 1 - for exam

Re: T5: tapestry-hibernate failing in today's 5.0.6 snapshot and eclipse + jetty launcher

2007-10-17 Thread Chris Lewis
the framework being used at runtime. To prove this I removed the T5 project and refreshed+cleaned my app project. Now, it works. So this comes back to an apparent bug in the eclipse/maven 2 plugin. If there is a fix for this, someone let me know, otherwise users of this beware! chris Krist

Re: T5: tapestry-hibernate failing in today's 5.0.6 snapshot and eclipse + jetty launcher

2007-10-16 Thread Chris Lewis
ibernate configuration was changed recently for this defect: https://issues.apache.org/jira/browse/TAPESTRY-1372 it could be related ( I have done only cursory investigation) Josh On 10/16/07, Chris Lewis <[EMAIL PROTECTED]> wrote: I updated and built 5.0.6-SNAPSHOT to

Re: T5: tapestry-hibernate failing in today's 5.0.6 snapshot and eclipse + jetty launcher

2007-10-16 Thread Chris Lewis
ect: https://issues.apache.org/jira/browse/TAPESTRY-1372 it could be related ( I have done only cursory investigation) Josh On 10/16/07, Chris Lewis <[EMAIL PROTECTED]> wrote: I updated and built 5.0.6-SNAPSHOT today, and now I get a goofy error when running my app through the eclips

T5: getting a Field's value (textfield, textarea) from another component or mixin

2007-10-16 Thread Chris Lewis
y retrieve the value of a textfield or textarea, from another component or mixin outside of the containing form? Why is it methods like TextField#getValue, TextArea#getValue, or Checkbox#isTicked don't exist? sincerely, chris -

T5: tapestry-hibernate failing in today's 5.0.6 snapshot and eclipse + jetty launcher

2007-10-16 Thread Chris Lewis
I updated and built 5.0.6-SNAPSHOT today, and now I get a goofy error when running my app through the eclipse jetty launcher (which has worked fine). Firstly let me say that I've been building 5.0.6 daily for a week or 2 now, and I've not run into this before now. If I try to access a page tha

Re: T5: wiki on creating a transparent access control system

2007-10-16 Thread Chris Lewis
I'd love to extend it, specifically to address the issues I summarized at the end. If you have input please share. BTW, I'm currently located in Italy :-) Massimo Lusetti wrote: On 10/15/07, Chris Lewis <[EMAIL PROTECTED]> wrote: The article doesn't answer all the

Re: T5: Pluggable javascript libraries?

2007-10-15 Thread Chris Lewis
layer for Javascript (=adapter) in T5 with JQuery as default library right!? :) see: http://www.nabble.com/Prototype-vs.-JQuery-vs.-Dojo-0.9-vs.-tf4559353.html#a13017828 g, kris Chris Lewis <[EMAIL PROTECTED]> 15.10.2007 17:03 Bitte antworten an "Tapestry users" An

Re: Tapestry 5 service configuration

2007-10-15 Thread Chris Lewis
Someone correct me if I'm wrong, but you can't inject ComponentResources into a module because it doesn't yet exist. I believe ComponentResources is created when the rendering is actually underway, and modules are processed before this happens. chris Peter Stavrinides wrot

Re: T5: Pluggable javascript libraries?

2007-10-15 Thread Chris Lewis
same interface as the original based on prototype (time consuming) That may be all. If you embark on this do share. chris Olivier wrote: Hi, Is it easily possible to use another javascript library in stead of prototype? Is anyone trying to do something like that? I, for one, have more exper

T5: wiki on creating a transparent access control system

2007-10-15 Thread Chris Lewis
estry/Tapestry5HowToCreateADispatcher The article doesn't answer all the questions, but what I feel are the bigger ones are covered. Feedback most welcome, and even more welcome on the IRC CHANNEL - #tapestry - irc.freenode.net (chrislewis). sincer

Re: Tapestry 5 service configuration

2007-10-15 Thread Chris Lewis
e and is worth noting (even if sometimes violated for the sake of pragmatism). sincerely, and hopefully not confusingly, chris Peter Stavrinides wrote: As far as I'm concerned service is an ugly word everyone likes to throw around, what you are really dealing with is the concept of per

Re: Tapestry 5 service configuration

2007-10-14 Thread Chris Lewis
o chime in. 2) @Inject it. Assuming you bound or built your service, you can simply inject it using @Inject as the general type (usually an interface) of object, and Tapestry IoC will resolve it for you. sincerely, chris Peter Stavrinides wrote: Hi all, Following on from a previous post on this

<    6   7   8   9   10   11   12   13   14   >