Re: [T5] every user sharing the same session

2007-10-04 Thread Robert A. Decker
ms and hyperlinks so that I can identify the session, etc. R On Oct 4, 2007, at 5:52 PM, Robert A. Decker wrote: I'm working on an application where a user logs into the action and from there every action they take is audited by being saved in the database, tied to that user in the dat

[T5] every user sharing the same session

2007-10-04 Thread Robert A. Decker
I'm working on an application where a user logs into the action and from there every action they take is audited by being saved in the database, tied to that user in the database. I've been trying to follow the examples, but it seems that in my app all users share the same session when I us

Re: coercion error?

2007-10-04 Thread Robert A. Decker
to fix it up. Now I just need to figure out how to do the else... R On Oct 4, 2007, at 4:00 PM, Robert A. Decker wrote: I'm getting an error: "Could not find a coercion from type com.pgp.licenseserver.pages.Main to type com.pgp.licenseserver.pages._PGPLicenseServerPage. A

coercion error?

2007-10-04 Thread Robert A. Decker
I'm getting an error: "Could not find a coercion from type com.pgp.licenseserver.pages.Main to type com.pgp.licenseserver.pages._PGPLicenseServerPage. Available coercions:..." But my Main.java extends _PGPLicenseServerPage and so there shouldn't be any coercion necessary. And besides, wh

How can this be made session safe?

2007-10-04 Thread Robert A. Decker
I have a question about this demo: http://lombok.demon.co.uk/tapestry5Demo/test/actionlink/one here's the source: http://lombok.demon.co.uk/tapestry5Demo/test/actionlink/onesource When I use this demo and look at the generated source code I see nothing in the html that looks like a session ide

Re: simple Layout component

2007-10-03 Thread Robert A. Decker
o work fine. What would the path be for the components html directory? Mine is currently at: project/webapp/WEB-INF/. My pages html files are here too. R On Oct 3, 2007, at 4:27 PM, Robert A. Decker wrote: I'm trying to create the simple layout component described here: http://tapestry

simple Layout component

2007-10-03 Thread Robert A. Decker
I'm trying to create the simple layout component described here: http://tapestry.apache.org/tapestry5/tapestry-core/guide/templates.html (I've also read the wiki info on components) But I'm getting an exception: java.lang.IllegalStateException This markup writer does not have a current element. T

How to turn off element type warnings/errors in Eclipse?

2007-10-03 Thread Robert A. Decker
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd doesn't seem to be complete and so I want to turn of warnings/errors in the html/xml part of my project. However, for the life of me I can't find where in the eclipse preferences I can do this. These are the errors like: "Element type t:f

basic ASO question

2007-10-02 Thread Robert A . Decker
In the docs they use the example: public class MyPage { @ApplicationState private MyState _myState; . . . } and: "Any other component or page that declares a field of the same type, regardless of name, and marks it with the ApplicationState annotation will share the same value. It's tha

session state vs application state?

2007-09-24 Thread Robert A. Decker
I've read: http://tapestry.apache.org/tapestry5/tapestry-core/guide/appstate.html I understand that when using an ApplicationState it's really more of a Session state (the default way). What if I want to store something that's shared across all sessions as more of what I would think of as a

basic dev question

2007-09-23 Thread Robert A. Decker
I'm just starting out in Tapestry (WO developer since 3.51) Does everyone automatically create a .properties file for their pages/ components and put their validation, messages, etc in there? Or is it more selective? The tutorial gave some great examples of using the properties file for va

Re: [T5] more tutorials or sample projects?

2007-09-21 Thread Robert A. Decker
c up tapestry and build with subversion each evening, and do the same with my local project to be working against the latest version. If you've done this, am I on the right track? Thanks, Robert A. Decker On Sep 21, 2007, at 12:48 AM, Davor Hrg wrote: you can run "mvn install&

Re: [T5] more tutorials or sample projects?

2007-09-20 Thread Robert A. Decker
mport org.apache.tapestry.beaneditor.OrderBefore; It looks like those annotation classes exist in the latest version (the svn export) but not in version 5.0.5. What's the old way (version 5.0.5) way of doing: @OrderAfter("lastName") and @OrderBefore("citizen") Thanks, Robert A. Decker

[T5] more tutorials or sample projects?

2007-09-20 Thread Robert A. Decker
I'm just about done with the tapestry 5 tutorial - working on the Form Fields section now. When I'm done with that I was wondering if I should start going through the tapestry 4 tutorials, or is 4 different enough from 5 where it doesn't make sense? What I'd like to do next is write a simpl

[T5] tutorial question

2007-09-20 Thread Robert A. Decker
I've also tried something like: GameOver _gameOver = new GameOver(); _gameOver.setup(_count); return _gameOver; (the WebObjects way) but that leads to an even weirder exception... Thanks, Robert A. Decker - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [T5] Tutorial question

2007-09-19 Thread Robert A. Decker
pages. 3) Tapestry will only enhance private variables. Your declaration: @InjectPage GameOver _gameOver should be: @InjectPage private GameOver _gameOver Check the tapestry logging output; it should warn you that it didn't enhance the _gameOver field. Cheers, Robert On Sep 19, 20

[T5] Tutorial question

2007-09-19 Thread Robert A. Decker
I've also tried something like: GameOver _gameOver = new GameOver(); _gameOver.setup(_count); return _gameOver; (the WebObjects way) but that leads to an even weirder exception... Thanks, Robert A. Decker - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]