Tap4.1: DropdownDatePicker and DropdownTimePicker visualy damaged

2006-08-23 Thread Pedro Viegas
Hi all, I've been playing around with these tow components. I can't get them to show the proper layout in the corresponding dropdown interfaces. If I use the DropdownDatePicker alone it works fine, but if I mixe it with some other components and some CSS definitions of my own, it gets all mixed u

Re: Redirect to page on F1 keypress

2006-08-23 Thread Peter Dawn
ok. so i am just working on getting JS to listen to F1 keyevent. once i have that working than the question is how do i trigger a page redirect. i mean how do i pass on the info from my JS to tapestry. maybe i should treat F1 keypress as a formsubmit and then process it (but what about pages that

Re: Redirect to page on F1 keypress

2006-08-23 Thread Olivier Lemarchand
out of curiosity, what would be the easy way using tap4 (or 4.1 ? ) Olivier On Aug 23, 2006, at 3:47 PM, Jesse Kuhnert wrote: I'd have an extremely easy answer for this...but I know you are using tap3 sostart with handling getting javascript to listen to your key events and then use one

Re: Redirect to page on F1 keypress

2006-08-23 Thread Jesse Kuhnert
I'd have an extremely easy answer for this...but I know you are using tap3 sostart with handling getting javascript to listen to your key events and then use one of the IEngineServices to create a url to do the action you want. On 8/23/06, Peter Dawn <[EMAIL PROTECTED]> wrote: guys, i am t

Redirect to page on F1 keypress

2006-08-23 Thread Peter Dawn
guys, i am trying to implement this, when the user presses F1 on any of my web app pages, i want to take them to the help section. now for starters how can i capture the F1 key, and even if i do using javascript, how can i pass on this info to tapestry and then perform a page redirect. any ideas

Re: OpenSessionInViewFilter configuration

2006-08-23 Thread Vinicius Carvalho
BTW Henri, I'm using (I guess yours) implementation of OSIVF (HibernateRequestFilter), so far its working great (I've dump the Spring version, cuz when I add friendly urls for direct service. It quit working, I guess I needed another filter mapping on web.xml) Just wanna now, if spring transactio

Re: Updating table model

2006-08-23 Thread Mind Bridge
Hi, Try lazy initialization -- create a propery, say TitleList: public abstract List getTitleList(); public abstract void setTitleList(List titleList); Modify the method getTitles() so that it gets the title list via getTitleList(). If it is null, then the provided code should be executed and t

Re: Tapestry with Hibernate vs JSF with Hibernate (Object binding question)

2006-08-23 Thread Henri Dupre
I don't fully understand your problem... Tapestry doesn't create objects for you by default (except ASOs)... Page properties are only holders of values. I'm not sure where you get a second copy of one of your hibernate objects. Also you should not override equals and hashcode! This might just hid

Re: Friendly URLs messing style of ExceptionPage

2006-08-23 Thread Henri Dupre
Hmm looks like somehting is screwed up with the tapestry css include... Did you disable the base tag in the @Shell? On 8/23/06, Vinicius Carvalho <[EMAIL PROTECTED]> wrote: Hello there! I've noticed that after defining a friendly url for direct service, I lost all the formatting of the Excepti

Re: Why Howard choose testNG in tapestry test module

2006-08-23 Thread Henri Dupre
I second that TestNG is no harder to learn than Junit. Actually I find TestNG documentation much better than the current JUnit 4. TestNG has an excellent Eclipse plugin... What I like better about TestNG is that it evolves often and has many more features than JUnit. On 8/22/06, Jesse Kuhnert <[

Re: OpenSessionInViewFilter configuration

2006-08-23 Thread Henri Dupre
I wouldn't have any concerns about performances. An empty hibernate session is lightweight. We did originally consider not opening hibernate sessions for some pages but the impact on performances was so low that we did not bother doing anything like that. What does matter on the performance side h

Re: How to handle components and filesystem wysiwyg design?

2006-08-23 Thread Malin Ljungh
Thank you Henrik for your input. I do have a separate CSS - the whole idea is that my designer should only need to bother about that file. Also, I like to have a static version of the whole app, with functional menu on all pages that link to all other pages. But I guess thats utopia... or a lot o

Possible bug in Tap 4.1 Ajax with forms

2006-08-23 Thread Denis Souza
Hi, Now that Ajax with forms is working for me in Tapestry 4.1 I found what might be a bug. Consider this example: In this specific case I set updateComponents to update the form itself. Whenever I submit something the following error appears on my page

Friendly URLs messing style of ExceptionPage

2006-08-23 Thread Vinicius Carvalho
Hello there! I've noticed that after defining a friendly url for direct service, I lost all the formatting of the Exception page (the blue headers, and highlight and stuff) Why is that? Am I missing something in my configuration? Regards -

How to be redirected from login form to BasePage?

2006-08-23 Thread CIJOML
Hi, I wrote little application which now I want secure. So I developped login form, but I am unable to be redirected to BasePage after successfull login. When I call such page directly in DP.application, it renders: http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd";> DP Michal Sem

Tapestry 4.0.2 Dojo Editor and IE bugs

2006-08-23 Thread Xiaoshu Wang
Hi, I have a pecular problem with using Dojo's Editor in IE. I can take a textarea and built a Dojo Editor around it, something like dojo.widget.fromScript("Editor", editorArgs, textarea); It works fine in Firefox, but the cursor seems always goes to the first character in IE whenever the area

Re: include-script question

2006-08-23 Thread andyhot
use include-script for resources in your classpath, i.e. and put ajaxRequest.js in that package Vinicius Carvalho wrote: > Hello there! I'm trying to include a script with my .script file, but > it is not being loaded by the browser: > > My script is located at context/WEB-INF/components/ajaxSen

Re: Variable columns in Table Component

2006-08-23 Thread andyhot
use and add a method in your component class that each time returns whatever is appropriate... [EMAIL PROTECTED] wrote: > Hi, > > I've simplified this example code to make things (hopefully) clearer, > because what I think I'm trying to do shouldn't be too hard... > > I have a page with a custo

Re: Variable columns in Table Component

2006-08-23 Thread Karthik N
instead of hardcoding the value as :orderId, ? filename, ? size, ? !delete: :delete, ? !moveUp: :moveUp, ? !moveDown: :mov

include-script question

2006-08-23 Thread Vinicius Carvalho
Hello there! I'm trying to include a script with my .script file, but it is not being loaded by the browser: My script is located at context/WEB-INF/components/ajaxSend.script When creating the page its rendering: Well, it seems ok, but the browser is not loading it. Isn't WEB-INF a protect

Variable columns in Table Component

2006-08-23 Thread Thomas.Vaughan
Hi, I've simplified this example code to make things (hopefully) clearer, because what I think I'm trying to do shouldn't be too hard... I have a page with a custom component that uses the Table component to render a list of files that a user has uploaded to my system. On one screen, I want to s

RE: Async form in Tap4.1 does not work...

2006-08-23 Thread Denis Souza
Yes, solved it for me too. Thanks Jesse! -Original Message- From: Pedro Viegas [mailto:[EMAIL PROTECTED] Sent: terça-feira, 22 de agosto de 2006 19:48 To: Tapestry users Subject: Re: Async form in Tap4.1 does not work... That solved it Jesse! It really was the cache. Guess those handy ol

Re: DirtyFormWarning and tacos:AjaxForm

2006-08-23 Thread andyhot
Mike Oestereter wrote: > Hi > > The DirtyFormWarning and tacos:AjaxForm does not seem to work to > nicely together. I've got those working very nicely, what seems to be the problem? Which tacos version are you using? Anyway, if you feel there's a bug, add it at http://tacoscomponents.jot.com/BugRe

Updating table model

2006-08-23 Thread anil
Hi - I was wondering if anyone knew of a resource which details the order in which calls get made to an IBasicTableModel implementation? I've created a IBasicTableModel which retrieves a full set of titles from the database and allows pagination. i.e. select * from title. I've also created a me

DirtyFormWarning and tacos:AjaxForm

2006-08-23 Thread Mike Oestereter
Hi The DirtyFormWarning and tacos:AjaxForm does not seem to work to nicely together. Also, not with refresh events. I know everything is in flux at the moment with Tap4.1 and seeing how/where the tacos components will fit in. But in the meantime.. are there any (current) plans to make the Dirty

Re: Tapestry (4.0.2) / Hivemind (1.1.1) in OC4J 10.1.3 - Dig a little bit more, anyone please give me a ladder to climb up

2006-08-23 Thread Vinicius Carvalho
Well, I'll check it deeper tonight (from 10pm-midnight) it's the free time I have to fix OC4J to work with tapestry. I do have commons-logging 1.0.4 and Log4J 1.2.9 bundled on my application. I'm also forcing the oracle container to load applications libs first. Best Regards On 8/23/06, hv @ Fa

Re: Noscript check

2006-08-23 Thread hv @ Fashion Content
To my knowledge can be placed anywhere within , regardless of where your

Re: Tapestry (4.0.2) / Hivemind (1.1.1) in OC4J 10.1.3 - Dig a little bit more, anyone please give me a ladder to climb up

2006-08-23 Thread hv @ Fashion Content
Are you testing your app against a local test db like hypersonic/mysql ? I should think that you would weed out all the trivial blunders if you get a local db working, or even an in memory db first. "Vinicius Carvalho" <[EMAIL PROTECTED]> skrev i en meddelelse news:[EMAIL PROTECTED] > Hello the

Re: Server side push for Tapestry 3

2006-08-23 Thread Jesse Kuhnert
I think the dojo and jetty developers have been working together to do this one. (though I should note that it looks like the jetty and activemq guys already had another solution for the same thing, it's in activemq already...which makes sense to me to have as a jms service). http://www.cometd.co

RE: For component and Validation Deligate

2006-08-23 Thread Firas Adiler
Hello Simon, I assume you've subclassed org.apache.tapestry.form.validator.Validator? The "false" field is passed as a parameter to the method: validate(IFormComponent formField, ValidationMessages messages, Object object) But you don't need to worry about passing it to the validation delegate.

Re: Tapestry (4.0.2) / Hivemind (1.1.1) in OC4J 10.1.3 - Dig a little bit more, anyone please give me a ladder to climb up

2006-08-23 Thread Paul Field
It's worth checking the versions of commons-logging and log4j that you have in your war/ear are up-to-date and whether there are older versions of those libraries in OC4J. The stack trace looks like the system is trying to construct some logging object but the constructor in that object is dif