Persisted Object with session scope is getting lost between the pages.

2007-03-29 Thread tapuser
Hi, I am new to Tapestry. I am facing a problem with Mater-Detail Pages [ Orders List -> Item List -> Item Edit/Add/Delete.] OrderList Page displays: OrderId - OrderNumber - ItemDetails 123-ABC123 -Link to ItemDetails (OrderId is passed as parameter) ItemList Page Displays:

T5: FCKEditor Component

2007-03-29 Thread Ted Steen
Hi! We made a FCKEditor component for a project and it is available on Google Code for anyone who is interested. http://code.google.com/p/tapestry5-fckeditor/ Please do give some feedback. - To unsubscribe, e-mail: [EMAIL PROT

Re: Latest OGNL 2.7-SNAPSHOT and Tapestry

2007-03-29 Thread Jesse Kuhnert
Sorry I've been away for a couple days... I'm sure things must look very dire indeed. Though they do appear out of hand right now I promise it's moving forward by leaps and bounds. The only crappy part is that the compiler is extremely unforgiving, so the slightest slip up and you're hosed.. I d

Re: IFormComponent questions

2007-03-29 Thread Jesse Kuhnert
No ...IFormComponent is only meant to be implemented (generally speaking) by components that have some sort of direct form input counterpart in the browser. Ie things that need to get at submitted form data and do things with it. On 3/27/07, Martino Piccinato <[EMAIL PROTECTED]> wrote: Is IFormC

Re: spans leaving behind extra whitespace after page generation

2007-03-29 Thread Howard Lewis Ship
Tapestry 4 doesn't have any real knowledge of the content of your page. It leaves a lot of excess whitespace in place because it can't tell if it is significant (and if you use, say , it might be). I tend to put extra whitespace INSIDE the tags, i.e.: Something Looks ugly, but works. Also is

spans leaving behind extra whitespace after page generation

2007-03-29 Thread Josh Joy
Hi, I generate a lot of dynamic content using @If and @Else and @For within span tags. Within these span tags is the actual content that becomes generated. This works, no issues so far. My only concern, is that these span tags containing the jwcid with the various tags leave behind empty lines

Customizing TableColumns component

2007-03-29 Thread Michal Vojtíšek
Hi, I am using TableView component together with TableColumns to render the table header. I would like to customize the generated HTML of the header, as I don't feel comfortable with the wrapping every text in the header cell. I am quite new to Tapestry, so I tried to extend the TableColumns,

Re: T5 CSS

2007-03-29 Thread Adrian Bele
Thank you guys, Having default.css configurable will be nice, but I think, as you say Howard, it's a low priority. (better have hibernate archetype done first :-). One remark which I figure out : common place for .css files can be set in following way: -webapp -- ASSETS ---

Re: T5 Hibernate and t:layout

2007-03-29 Thread Howard Lewis Ship
Hibernate creates its own class loaders; I need to make some of the Tapestry code smarter about noticing that and updating itself to seach for classes in those loaders. Yes, the tapestry-hibernate stuff at this point is pretty much a placeholder. On 3/28/07, Bill Holloway <[EMAIL PROTECTED]> wro

More problems with Tapestry-Prop

2007-03-29 Thread Matt Brock
No one has noticed this yet? Crazy. Well how about this: BigDecimals don't get cast correctly, (improperly cast to Strings), which causes values bound to prop:bigDecimalVariable to blow up with a ClassCastException on form submit. -- View this message in context: http://www.nabble.com/tapestry

Re: Has anyone managed to deploy 'HILO' onto Oracle's J2EE Container successfully.

2007-03-29 Thread Jan Vissers
I need to correct myself on OC4J 10.1.3 /hilo/ returns 403 (Directory Browsing Not allowed) /hilo/start returns 404 (Not found) /hilo/start/ returns 404 (Not found) Any ideas...? > Does /hilo/start work? > > I've noticed a few oddities w.r.t. filtering "/". Servlet containers > don't ag

Re: Has anyone managed to deploy 'HILO' onto Oracle's J2EE Container successfully.

2007-03-29 Thread James Carman
Shouldn't you just filter "/*"? On 3/29/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: Does /hilo/start work? I've noticed a few oddities w.r.t. filtering "/". Servlet containers don't agree on this! On 3/29/07, Jan Vissers <[EMAIL PROTECTED]> wrote: > Hilo on Apache Tomcat (as it is buid

Re: Has anyone managed to deploy 'HILO' onto Oracle's J2EE Container successfully.

2007-03-29 Thread Howard Lewis Ship
Does /hilo/start work? I've noticed a few oddities w.r.t. filtering "/". Servlet containers don't agree on this! On 3/29/07, Jan Vissers <[EMAIL PROTECTED]> wrote: Hilo on Apache Tomcat (as it is buid from the Tapestry tutorial) behave differently when deployed onto Oracle's J2EE Container (OC

Re: BeanEditForm

2007-03-29 Thread Howard Lewis Ship
It is possible, and involves obtaining the BeanModel and modifying it before passing it as the model parameter of the BeanEditForm component. I'm travelling now, so that's as specific as I have time to answer! On 3/29/07, Graham Ford <[EMAIL PROTECTED]> wrote: Hi, I'm loving Tapestry 5 so far

Re: T5: page redirect

2007-03-29 Thread Howard Lewis Ship
That should be how it works and a blank page is really odd. I'll check to make sure I have an integration test that proves it works. On 3/29/07, Sven Homburg <[EMAIL PROTECTED]> wrote: hi folks, i want to check if the user is authentificated if he request a page. i use the RequestEvent-Method "

Re: T5 CSS

2007-03-29 Thread Howard Lewis Ship
Yes, that's the intention; Tapestry puts the default.css first, with the expectation that any additional CSS links or

menu X roles

2007-03-29 Thread Allan Wojcik
Which menu solutions do you guys have been using with Tapestry to control menu X roles (like struts-menu)? Thanks in advance. Allan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Tapestry 5 tutorial: classes don't exist on package

2007-03-29 Thread dindin
the code is out of date, just remove the annotations. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: T5 CSS

2007-03-29 Thread Bill Holloway
I'm not sure about shutting off the default.css, but the "C" in "CSS" means cascading, which means you can override the styles set in default.css. For a particular page, put your CSS files in src/main/resources/org/example/myapp/pages/mystyles.css, where org/example/myapp is your project package

T5: page redirect

2007-03-29 Thread Sven Homburg
hi folks, i want to check if the user is authentificated if he request a page. i use the RequestEvent-Method "String onActivate()" looks like this: String onActivate() { VisitStateObject visitStateObject = getVisitStateObject(); if (this instanceof IRestrictedPage) { if (visitSt

EventListener and InlineEditBox probs

2007-03-29 Thread Yiannis Mavroukakis
Hello fellow listers :) I am having some trouble getting using EventListener with the InlineEditBox in my source I have the following @EventListener(targets="flightNumber" , events = "onSave") public void processFlightNumberEdit() { Master master = getMasterDao().find(getMasterId());

Re: Cant get Ajax @EventListener to work :(

2007-03-29 Thread Daniel Anguita O.
Hi mxc mxc escribió: Hi all, I cant get dojo EventListener to work. I am trying to build a drop down combo box so that when one selects a country the child drop down box of cities is automatically updated. However I cant get even a simple eventlistener to work :( Below is my TestPage. Basicall

Re: T5 vs T4 vs Community

2007-03-29 Thread Martino Piccinato
Well, I know it's not T4 => T5, I was just adding a possible source of bad perception due to this misconception (and to misnaming...?) I think that the fact of not having a stable T4 "ajax ready" release add confusion to this. A customer thinking that T4 => T5 might think "well they are not pushi

Re: Converting From tapestry 4.0 to 4.1. Stale Link Errors

2007-03-29 Thread Bryan Lewis
Just in case it helps We had a surprise StaleLinkException in our 4.0.1 apps recently, after creating a complex component with multiple loops and conditions. The reason was that we were still using the old Foreach component for our loops; it hadn't given us any trouble before. Switching fro

Re: T5 vs T4 vs Community

2007-03-29 Thread Andrea Chiumenti
Martino, your comment is because you consider T4=>T5 as the major part of people does. On 3/29/07, Martino Piccinato <[EMAIL PROTECTED]> wrote: I think another bad perception might origin from the fact of having the T4 "Ajax ready" 4.1 release still not released as stable after quite a long tim

Re: T5 vs T4 vs Community

2007-03-29 Thread Martino Piccinato
I think another bad perception might origin from the fact of having the T4 "Ajax ready" 4.1 release still not released as stable after quite a long time and a completely new not retrocompatible T5 appear (the same to me: not critiques, just observations).

Re: Latest OGNL 2.7-SNAPSHOT and Tapestry

2007-03-29 Thread Kalle Korhonen
Oh functional requirements were long satisfied with 2.6, 2.7 doesn't do anything to change it. The performance benefits are well proven on paper, but it was known from the begininning there'd be corner cases that would emerge later. As painful as it is, I think Jesse made the right choice by deplo

Re: Converting From tapestry 4.0 to 4.1. Stale Link Errors

2007-03-29 Thread Amir Kamran
this is sample code *

Processing component before render

2007-03-29 Thread Wojtek Ciesielski
Hi there, I can't find a place to plug-in some custom preprocessing functionality into my component... The component is receiving some data via a parameter: called like here it comes But I need to perform some preprocessing on dataItem before MyComponent is rendered. Where can I plug such

Has anyone managed to deploy 'HILO' onto Oracle's J2EE Container successfully.

2007-03-29 Thread Jan Vissers
Hilo on Apache Tomcat (as it is buid from the Tapestry tutorial) behave differently when deployed onto Oracle's J2EE Container (OC4J). On Tomcat it works, on OC4J I get "404 Not found" for everything. http://host:port/hilo/ works on Tomcat, but 404's on OC4J. Thanks for any suggestion, -J.

BeanEditForm

2007-03-29 Thread Graham Ford
Hi, I'm loving Tapestry 5 so far but I have a question about the BeanEditForm. If I have an object, say Person, which has a property of another object, say Address, is there a way of getting the details from the Address object into the form as well as the person's details? Thanks, Graham --

Re: Converting From tapestry 4.0 to 4.1. Stale Link Errors

2007-03-29 Thread Andrea Chiumenti
plz. give a sample code of your .page and .html On 3/29/07, Amir Kamran <[EMAIL PROTECTED]> wrote: In my application there are some complex forms generated by loops and conditions. Every thing is working fine using tapestry 4.0 ... but after switching to 4.1 on form submit Stale Link Error occ

Converting From tapestry 4.0 to 4.1. Stale Link Errors

2007-03-29 Thread Amir Kamran
In my application there are some complex forms generated by loops and conditions. Every thing is working fine using tapestry 4.0 ... but after switching to 4.1 on form submit Stale Link Error occurs. What needs to be done for switching to 4.1 ? thnx -- View this message in context: http://www.

Re: Does one need to manually include dojo.js?

2007-03-29 Thread Andrea Chiumenti
no On 3/29/07, mxc <[EMAIL PROTECTED]> wrote: Hi all, I am using tapestry 4.1. I am not sure if I need to download dojo separately or if it is automatically included with tapestry. I am using maving and have the following fependencies in my pom.xml org.apache.tapestry

Does one need to manually include dojo.js?

2007-03-29 Thread mxc
Hi all, I am using tapestry 4.1. I am not sure if I need to download dojo separately or if it is automatically included with tapestry. I am using maving and have the following fependencies in my pom.xml org.apache.tapestry tapestry-framework 4.1.1

InlineEditBox events

2007-03-29 Thread Yiannis Mavroukakis
Hello :) Is there anywhere I can look for the dojo events that come with the InlineEditBox that can be used with the @EventListener ? Thank you, Yiannis. Note:__ This message is for the named person's use only. It may contain conf

Re: T5 - HTML Templating

2007-03-29 Thread Peter Dotchev
Here is a comment from Howard on his blog. http://tapestryjava.blogspot.com/2007/02/t5-screencast-4-beaneditform.html#comment-8358363237605682208 http://tapestryjava.blogspot.com/2007/02/t5-screencast-4-beaneditform.html#comment-8358363237605682208 Jan Vissers wrote: > > A very simple questio

Re: tapestry 4 to focus on specified field

2007-03-29 Thread Matt Brock
flyabovesun wrote: > > I know these. But I just think that may be useful and helpful to add focus > fields order list to form. The problem is that it's difficult to know what field you want to first take focus if you are trying to do it automatically. For instance, if you have a page with a he

Re: Latest OGNL 2.7-SNAPSHOT and Tapestry

2007-03-29 Thread Renat Zubairov
Very good comment. I can understand that SNAPSHOT releases are very instable and in our project we are using snapshot releases because the project is not in production yet and we are trying to get the most out of new AJAX functionality in Tap 4.1.2. However based on my experience it is simpler (pe

Re: "No engine service is available" problem - solved

2007-03-29 Thread Alec leamas
With a little help, and some more time, I've been able to solve this. The solution iwas not that simple, so lets share it. Short answer: RTFM i. e., the workbench example ;-) Long answer: To summarize: I have a page which needs to invoke an external service, with some parameters. The external s

T5 CSS

2007-03-29 Thread Adrian Bele
Hi, I'm new here. Can anybody know how to replace with my own stylesheet, and where it should be place? Thanks Adrian

Unable to parse OGNL expression

2007-03-29 Thread Borut Bolčina
Hello Jesse, Addendum to http://jira.opensymphony.com/browse/OGNL-16 Unable to parse OGNL expression 'offsetAttribute + ': ' + (((contentProvider.hasChildren(value) ? 0 : 1) + treeIterator.depth) * offset) + 'px;'': Error compiling expression on object [EMAIL PROTECTED]

Re: T5 vs T4 vs Community

2007-03-29 Thread Andrea Chiumenti
+1 It's getting very difficult to convince customers to switch to Tapestry and all because T5 name. This all because T5 is not the evolution of T4. imho it would be sufficient to change name both on T4 and T5, T5 because it's a new framework, T4 because it will give a fresh look to it. This not fo