RE: T5 validation error images displayed withform.clientValidation="false"

2007-06-18 Thread ASTI Araza, Ariel D.
Oops, I misread the post. Please ignore my previous post. -Original Message- From: ASTI Araza, Ariel D. [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 19, 2007 10:50 AM To: Tapestry users Subject: RE: T5 validation error images displayed withform.clientValidation="false" I was wondering a

RE: T5 validation error images displayed withform.clientValidation="false"

2007-06-18 Thread ASTI Araza, Ariel D.
I was wondering about the presence of that tag myself, until I realized that for client-side validation to avoid having to go back to the server, the images must already be in the page, but it should remain hidden until needed. I just ensured that I had the right CSS (I used tapestry.css) and the c

T3: DatePicker

2007-06-18 Thread Nazmul
Hi, I'm using T3 and new to Tapestry. I'm validating text fields as below. User Login: How do I do the similar validation for DatePicker as required filed? Thanks Naz - To unsubscr

Re: T5: Problem with onload event in latest snapshot

2007-06-18 Thread Jesse Kuhnert
I'm sure they wouldn't dare .but just to be certain. TinyMCE isn't doing anything like window.onload = theirFunction(){} ? That would be really bad and unnecessary as the basic core dom API supports adding multiple events if you use the API calls (such as window.addEventListener) instead of j

Re: Tap 4.1.2 / Palette

2007-06-18 Thread Jesse Kuhnert
This sounds really weird. I think I won't know what the problem is without a test case. On 6/18/07, Lionel Touati <[EMAIL PROTECTED]> wrote: It looks like I can fix the issue by adding the following line dojo.event.connect(dojo.byId("${formName}"), "submit", tapestry, "${formSubmitFunctionNa

Re: [T4] Question on TableRows

2007-06-18 Thread Jesse Kuhnert
Use double quotes for your javascript function parameters? Either that or try writing a javascript template via http://tapestry.apache.org/tapestry4.1/usersguide/script.html. Also, it's questionable whether or not you need to actually quote those characters at all. Apart from that it looks lik

T5: Problem with onload event in latest snapshot

2007-06-18 Thread DougS
I have recently added most recent T5 snapshot, that includes the Upload component (which is a great addition by the way!). One of the changes in this latest version is adding all scripts created using the PageRenderSupport class (via the DocumentScriptBuilder class) to an “onload” event that is p

Re: T5 best pattern for grid and beaneditform

2007-06-18 Thread Howard Lewis Ship
Explicit parameters to handle this are coming; in the bean time search the mailing list archives, this came up before. By pre-building the model passed to the Grid, you can control which columns are visible. On 6/18/07, Gabriel Lozano <[EMAIL PROTECTED]> wrote: Hi, I'm right now working in use

Re: T5: class workers and method workers

2007-06-18 Thread Howard Lewis Ship
They're a bit different in T5, it's now ComponentClassTransformWorker: http://tapestry.apache.org/tapestry5/tapestry-core/apidocs/org/apache/tapestry/services/ComponentClassTransformWorker.html it's a bit different ... it's all about transforming the bytecode as it is loaded. On 6/18/07, Robin

Re: T5: Inject/Path and Contexts

2007-06-18 Thread Howard Lewis Ship
Sorry if the docs are lagging; your example is valid. The file will be src/main/webapp/images/tapestry_banner.gif. On 6/18/07, Bruce Petro <[EMAIL PROTECTED]> wrote: In the documentation, I see the path details but I cannot find anywhere a listing of the possible values of "context:" - the only

Re: T5 IOC questions

2007-06-18 Thread Howard Lewis Ship
Making contributions to the Alias service can be somewhat tricky, there's a chicken-and-the-egg problem. You're contributing into the Alias service, but the Alias service is used to disambiguate injections ... such as the SymbolSource and AssetSource parameters to the contribution method. That's

Re: Tap 4.1.2 / Palette

2007-06-18 Thread Igor Drobiazko
Actually you don't need to connect your method call to any event. You only need to specify the required parameters: 'selected' and 'model'. When you click on the button the list 'selected' is updated with new values automatically. On 6/18/07, Lionel Touati <[EMAIL PROTECTED]> wrote: It looks li

T5: Inject/Path and Contexts

2007-06-18 Thread Bruce Petro
In the documentation, I see the path details but I cannot find anywhere a listing of the possible values of "context:" - the only one I see listed in the documentation is classpath. But for assets in general, wouldn't you tend to want to find images kept in a shared location such as under webapps?

Re: Tapestry 4.1.1 "Hello World" not working on Oracle 10.1.3.2.0

2007-06-18 Thread Kalle Korhonen
Jesse et al, do you have any more information on Hivemind 1.1.2 and any plans to change the version in Tap 4.1.2? AFAIK, there's also 1.2.1 branch and 2.0.-alpha-1release but otherwise it looks to me Hivemind development has stalled. Kalle On 5/9/07, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:

Re: Tap 4.1.2 / Palette

2007-06-18 Thread Lionel Touati
It looks like I can fix the issue by adding the following line dojo.event.connect(dojo.byId("${formName}"), "submit", tapestry, "${formSubmitFunctionName}"); instead of dojo.event.connect(dojo.byId("${formName}"), "onsubmit" , tapestry, "${formSubmitFunctionName}"); Any idea if I miss some

Re: T5 IOC questions

2007-06-18 Thread David Avenante
Humm I'm very confuse with your input. The documentation and the tapestry code source don't help me too :( I use the Alias approche like this : public static void contributeAlias(Configuration configuration, final SymbolSource symbolSource, final AssetSourc

RE: Using Hibernate detached objects in Tapestry (thread-safety question)

2007-06-18 Thread Michael Sims
Steve Shucker wrote: > The only problem I've seen is if a user tries one of a > few long operations and then changes their mind and clicks on > something else. My filter still waits for the long operation to > complete or timeout (configured to 20 seconds) before beginning the > user's new request

Tap 4.1.2 / Palette

2007-06-18 Thread Lionel Touati
Hi List, It seems there's a bug in the form submission mechanism. When you have a page with the palette component it seems the onsubmit listener is never called when clicking on a submit button. Does this tells anyone something ? If not, I'll try to create a test case for it Thanks -

T5 best pattern for grid and beaneditform

2007-06-18 Thread Gabriel Lozano
Hi, I'm right now working in user administration. So I have a page that list the users I have but I don't want to show passwords so I use the 'NonVisual' anotation in the User class. But, in the edit page, I want to insert some new password for a user and because of the anotation I am not able. W

Re: T4: when a session http is closed?, where a session http is closed?

2007-06-18 Thread Mikaël Cluseau
I think you are perfectly right, it was the answer I was going to give. A session expire a given amount of minutes after the last request, generally 30, so when your session expires, there have been 30 minutes since the last ThreadLocal has been used. If you want to clean a ThreadLocal, do it with

Re: Using Hibernate detached objects in Tapestry (thread-safety question)

2007-06-18 Thread Steve Shucker
I'm serializing the requests to prevent hibernate from trying to associate an entity with more than one session. Most of the research that led to this approach was done in the hibernate2/tapestry3 days, so some of it may be outdated. I believe the rest of my state is sufficiently thread-safe

Re: T5 IOC questions

2007-06-18 Thread Howard Lewis Ship
You should be getting an error there, ApplicationDefault's configuration is a Map. You override built-in services by contributing to the Alias service (or the AliasOverrides service). On 6/18/07, David Avenante <[EMAIL PROTECTED]> wrote: Hi, I've two questions about the configuration of my ioc

Re: T5 validation error images displayed with form.clientValidation="false"

2007-06-18 Thread Martin Grotzke
Created https://issues.apache.org/jira/browse/TAPESTRY-1588, a patch will follow soon hopefully :) Cheers, Martin On Mon, 2007-06-18 at 10:26 -0700, Howard Lewis Ship wrote: > An issue or a patch will be fine. > > On 6/18/07, Martin Grotzke <[EMAIL PROTECTED]> wrote: > > Hi, > > > > even if you

T5: class workers and method workers

2007-06-18 Thread Robin Ericsson
Hi, I'm looking for the ClassWorkers and ModuleWorkers enhancement from T4. Are they yet to be found in T5? -- regards, Robin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PRO

T5 IOC questions

2007-06-18 Thread David Avenante
Hi, I've two questions about the configuration of my ioc container. First i would be able to override the default configuration to use my own DocumentScriptBuilder i've wrote some code in my appModule to try to overide the default config but without succes !!! public static void contributeAppli

Re: T5 XHTML compliant markup

2007-06-18 Thread Martin Grotzke
Our template uses the following DOCTYPE definition: http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";> What's wrong with this to get well-formed XML? Thx && cheers, Martin On Mon, 2007-06-18 at 10:29 -0700, Howard Lewis Ship wrote: > To elaborate; Tapestry uses the of the component templa

Re: Using Hibernate detached objects in Tapestry (thread-safety question)

2007-06-18 Thread Norman Franke
The main issue with that is getPageService().getLink(false, getPageName()) will return URLs too long for IE for my pages. Other browsers like Safari grind to a near halt with really, really long URLs, too. -Norman On Jun 16, 2007, at 10:03 AM, Thiago H de Paula Figueiredo wrote: Em Fri, 1

Call for Papers Opens for OS Summit Asia 2007

2007-06-18 Thread Howard Lewis Ship
Call for Papers Opens for OS Summit Asia 2007 The call for papers is now open for OS Summit Asia, to be held November 26-30 at the Cyberport in Hong Kong. This joint conference between the Apache Software Foundation and the Eclipse Foundation will be consist of two days of tutorials (Nov 26-27)

Re: T5 XHTML compliant markup

2007-06-18 Thread Howard Lewis Ship
To elaborate; Tapestry uses the of the component template to determine the type of markup it will send; when the !DOCTYPE is omitted, it is assumed to be legacy HTML as defined by SGML, where many element are unclosed. When you provide an explicit !DOCTYPE, Tapestry switches over to rendering ou

Re: T5 validation error images displayed with form.clientValidation="false"

2007-06-18 Thread Howard Lewis Ship
An issue or a patch will be fine. On 6/18/07, Martin Grotzke <[EMAIL PROTECTED]> wrote: Hi, even if you set clientValidation="false" on a form, T5 renders the validation error image for all input components (for validation errors that might occur): AFAICS with clientValidation="false" this s

Re: Using Hibernate detached objects in Tapestry (thread-safety question)

2007-06-18 Thread Norman Franke
On Jun 18, 2007, at 11:48 AM, Michael Sims wrote: To persist a detached object, I call a clone() function on all of my DB objects that converts it back to a normal POJO (from whatever Hibernate does to it.) That's a good idea, and I might end up doing the same thing. The only thing I don't

RE: Using Hibernate detached objects in Tapestry (thread-safety question)

2007-06-18 Thread Michael Sims
Hi Steve, Steve Shucker wrote: > I'm not sure if this will completely solve your problem, but I wrote > my own WebRequestServicerFilter that only applies the > session/transaction wrapping on non-asset requests. Interesting! Thanks for that. There will still be some non-asset requests in my app

RE: Using Hibernate detached objects in Tapestry (thread-safety question)

2007-06-18 Thread Michael Sims
Hi Geoff, thanks for the response, Geoff Callender wrote: > Do any of these problems exist if you get a session bean to do the > work for you? > > For example, a page to edit the user, using a session bean called > OrderService and an entity bean (using Hibernate if you like, as I > do) called Ord

RE: Using Hibernate detached objects in Tapestry (thread-safety question)

2007-06-18 Thread Michael Sims
Hi, Thanks for taking the time to respond, this is really helpful information. Norman Franke wrote: > My application only uses detached objects that it persists in the > client page for change detection (to determine if the record they > were editing changed while they were editing, which I flag

Re: What's the process for submitting patches?

2007-06-18 Thread Howard Lewis Ship
Nope, that's actually considered sufficient. By submitting a patch, you are implicitly granting ownership of that code to the ASF. It's just a matter of someone picking up, evaluating and committing the patch. On 6/18/07, Dan Adams <[EMAIL PROTECTED]> wrote: Hey guys. I submitted patches for TA

Re: Using Hibernate detached objects in Tapestry (thread-safety question)

2007-06-18 Thread Steve Shucker
I'm not sure if this will completely solve your problem, but I wrote my own WebRequestServicerFilter that only applies the session/transaction wrapping on non-asset requests. public void service(WebRequest request, WebResponse response, WebRequestServicer servicer) throws IOExceptio

Re: T5 XHTML compliant markup

2007-06-18 Thread Robin Ericsson
On 6/18/07, Martin Grotzke <[EMAIL PROTECTED]> wrote: Hi, T5 currently renders markup that is not XHTML compliant. Yes and no. E.g. the element '' is rendered as '' - the tag is not closed properly. Is there any way to force T5 to generate XHTML compliant markup? If your template uses HTM

T5 validation error images displayed with form.clientValidation="false"

2007-06-18 Thread Martin Grotzke
Hi, even if you set clientValidation="false" on a form, T5 renders the validation error image for all input components (for validation errors that might occur): AFAICS with clientValidation="false" this should not be needed and markup could be improved + page load time reduced. Shall we submit

T5 XHTML compliant markup

2007-06-18 Thread Martin Grotzke
Hi, T5 currently renders markup that is not XHTML compliant. E.g. the element '' is rendered as '' - the tag is not closed properly. Is there any way to force T5 to generate XHTML compliant markup? Thx && cheers, Martin signature.asc Description: This is a digitally signed message

[ANN] Tapestry 4 Tutorial, issue 13

2007-06-18 Thread Kolesnikov, Alexander GNI
Please have a look: http://www.devshed.com/c/a/Apache/Tapestry-and-AJAX-Autocompleter-and-In lineEditBox/ Alexander -- CONFIDENTIALITY NOTICE: If you have received this email in error, please immediately notify the sen

Re: T4: when a session http is closed?, where a session http is closed?

2007-06-18 Thread Renat Zubairov
The same question I'm asking myself. Usualy under threadLocal I understand http://java.sun.com/j2se/1.4.2/docs/api/java/lang/ThreadLocal.html Which is a threaded storage for the objects in Java 1.4 (and later). It's a typical pattern for transaction,connection,resource management where transacti

What's the process for submitting patches?

2007-06-18 Thread Dan Adams
Hey guys. I submitted patches for TAPESTRY-1372 and TAPESTRY 1576. Is there anything I need to do other than just attaching and leaving a comment? -- Dan Adams Senior Software Engineer Interactive Factory 617.235.5857 - To unsu

Dialog tacos problem the bgcolor is not spread over the page

2007-06-18 Thread padam_chhetri
Hi, I am having a problem with using tacos dialog here is my dialog code The problem is that my page is long so has a scroller and when this tacos dialog is shown up then the background gets dimmed but the user can scroll down the page and can see that the lower portion of the page is n

Dialog tacos problem the bgcolor is not spread over the page

2007-06-18 Thread padam_chhetri
Hi, I am having a problem with using tacos dialog here is my dialog code The problem is that my page is long so has a scroller and when this tacos dialog is shown up then the background gets dimmed but the user can scroll down the page and can see that the lower portion of the page is not

Re: T5 encoding issue

2007-06-18 Thread Martin Grotzke
On Sun, 2007-06-17 at 23:24 +0200, Martin Grotzke wrote: > I just stepped through the sources to see where the URI get's > decoded to the activation context arguments, and found that the > o.a.t.internal.services.PageRenderDispatcher.dispatch invokes > convertActivationContext with the path info to

Re: T4: when a session http is closed?, where a session http is closed?

2007-06-18 Thread #Cyrille37#
César Augusto Mateus a écrit : is some way to capture the moment at which a session HTTP is closed? (perhaps with a service in hivemind) I need to do this: clear a threadLocal just when the session http is closed. (Purpose: the threadLocal must be clean before returning to pool of threadLocals