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
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
Hi,
I am having a problem with using tacos dialog
here is my dialog code
code
div jwcid=[EMAIL PROTECTED]:Dialog hidden=ognl:callHidden bgColor=white
bgOpacity=0.5
/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
Hi,
I am having a problem with using tacos dialog
here is my dialog code
code
div jwcid=[EMAIL PROTECTED]:Dialog hidden=ognl:callHidden bgColor=white
bgOpacity=0.5
/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
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
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
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
Hi,
T5 currently renders markup that is not XHTML compliant.
E.g. the element 'meta http-equiv=Content-Type content=text/html;
charset=utf-8 /' is rendered as 'meta content=text/html;
charset=utf-8 http-equiv=Content-Type' - the tag is not closed
properly.
Is there any way to force T5 to
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):
img alt=[Error] class=t-error-icon t-invisible id=cancel:icon
src=/app/assets/tapestry/field-error-marker.png
AFAICS with
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 'meta http-equiv=Content-Type content=text/html;
charset=utf-8 /' is rendered as 'meta content=text/html;
charset=utf-8 http-equiv=Content-Type' -
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
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
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 as
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 Order.
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
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
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):
img alt=[Error] class=t-error-icon t-invisible
To elaborate; Tapestry uses the !DOCTYPE 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
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)
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,
Our template uses the following DOCTYPE definition:
!DOCTYPE html
PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN
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
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
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
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 set
You should be getting an error there, ApplicationDefault's
configuration is a MapString,String.
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
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
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
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.
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
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.
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(ConfigurationAliasContribution
configuration,
final SymbolSource
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 something ?
L.
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:
I
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?
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
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.
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
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,
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 user
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
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
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,
${formSubmitFunctionName});
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
Hi,
I'm using T3 and new to Tapestry.
I'm validating text fields as below.
tr
td width=1% nowrap
span jwcid=@FieldLabel field=ognl:components.inputUserLogin
User Login: /span
/td
td width=99%
input type=text jwcid=inputUserLogin size=20/
/td
/tr
component id=inputUserLogin
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
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
46 matches
Mail list logo