On Nov 22, 2007 8:37 AM, lasitha <[EMAIL PROTECTED]> wrote:
> A follow up for anyone keeping score: i've just verified that
> hibernate does _not_ automatically flush a Session when it is closed.
> If anyone is interested i can pass along my learning test.
That's clearly written in the API.
Che
On Nov 20, 2007 9:32 AM, lasitha <[EMAIL PROTECTED]> wrote:
> ... In previous versions of hibernate, just
> closing a session automatically triggered a flush.
A follow up for anyone keeping score: i've just verified that
hibernate does _not_ automatically flush a Session when it is closed.
If any
There appears to be a small bug with the Request.isXHR() method, the
value of the "X-Requested-With" header that Prototype sets by default
for all of its AJAX calls is:
"XMLHttpRequest"
Tapestry checks against the value:
"XmlHttpRequest"
The RequestImplTest has the header value hard
It's a very good point; Translator really looks like a super-set of
ValueEncoder. I don't see a reason why we couldn't eliminate
ValueEncoder and switch the code that uses it to Translator.
Please add an issue to JIRA about this.
On Nov 19, 2007 3:07 PM, Kevin Menard <[EMAIL PROTECTED]> wrote:
>
I think you are missing "t:value" in your template.
It should be :
Jeffrey Ai
Jean-Philippe Steinmetz-2 wrote:
>
> Hi All,
>
> I'm getting the following error
>
> Error persisting field Users/Create:username:
> java.lang.NullPointerException
>
> In my page class I have...
>
> @Persist
[INFO] TapestryFilter Startup time: 187 ms to build IoC Registry, 609 ms
overall.
java.lang.NullPointerException
[ERROR] Create Listener ComponentPageElement[Users/Create] failed during
page detach: Error persisting field Users/Create:username:
java.lang.NullPointerException
org.apache.tapestry.ioc
full stack trace ?
On Nov 21, 2007 10:17 PM, Jean-Philippe Steinmetz <[EMAIL PROTECTED]> wrote:
> Is there anyone that can help with this problem? Thanks
>
> > -Original Message-
> > From: Jean-Philippe Steinmetz [mailto:[EMAIL PROTECTED]
> > Sent: Friday, November 16, 2007 1:36 PM
> > T
Is there anyone that can help with this problem? Thanks
> -Original Message-
> From: Jean-Philippe Steinmetz [mailto:[EMAIL PROTECTED]
> Sent: Friday, November 16, 2007 1:36 PM
> To: 'Tapestry users'
> Subject: [T5] Cannot persist field exception
>
> Hi All,
>
> I'm getting the follow
Angelo,
It's a solid base surrounded by shifting sands.
The situation now with T5 is a bit like that with T4 a year an a half ago.
If you don't mind a long-winded explanation, I'll describe my past
experience. My choice should make more sense.
I was (and really still am) new to the "web thing"
On Wed, 21 Nov 2007 13:43:44 -0200, Yunhua Sang <[EMAIL PROTECTED]>
wrote:
Hi Renat,
Do you have some good ideas to prevent LazyInitializationException be
thrown out after form submitting? My current solution looks not smart:
explicitly call collection.size() in the first thread.
Take a loo
Fernando,
Thank you very much, that's exactly what I was looking for!
Andy
On Wed, 2007-11-21 at 06:52 -0800, Fernando Padilla wrote:
> You don't like the pages just calling request.getServerName() themselves?
>
> ps - request could be a tapestry Request object, or it might have to be
> a requ
Kevin Menard wrote:
Does anyone have any hints on getting BeanEditForm to play nicely with
collections?
For now, BeanEditor (or BeanEditForm) is not really aware of collection
as a property. I think it's in the todo list (T5 still alpha, etc ;)
So, for now I think that the only solution is to
Hi Renat,
Do you have some good ideas to prevent LazyInitializationException be
thrown out after form submitting? My current solution looks not smart:
explicitly call collection.size() in the first thread.
Thanks
Yunhua
On Nov 21, 2007 9:54 AM, Renat Zubairov <[EMAIL PROTECTED]> wrote:
> There i
There is a simpler solution that works is to rollback the DB transaction in
case validation fails. So we are actually get a transaction from the
Hibernate session and roll it back therefore no changes are efficient in the
session.
There is not very flexible solution but works for simpler cases.
The
You don't like the pages just calling request.getServerName() themselves?
ps - request could be a tapestry Request object, or it might have to be
a requestGlobals.getHttpServletRequest() object, depending on what's
available in the api...
Andy Huhn wrote:
All,
I'm writing an app that will
All,
I'm writing an app that will make use of virtual hosts (so that
domain1.com, domain2.org, etc. will all point to the same application).
The sticky piece is that each page will need to know the hostname by
which it was referenced--the data displayed on the page will be
different for each virtu
Hi Jonathan,
I'm new to this web thing, I'm using now Tapestry with Hibernate and found
them so convenient together, I'd like to know what is the advantage of using
Spring with Tapestry, particularly T5 considering T5 has its own Ioc as
well. Thanks,
Tapestry-Hibernate is working very well, of c
Hi,
I am still working on how to get access, from my Tapestry webapp in
Tomcat,
to a Spring bean called "nodeService" which is from a different
webapp of
Tomcat (Alfresco in this case).
In my previous post, I have run into a problem with the load order:
Alfresco
was loaded by Tomcat after
OK I will study the links you provided. Thanks for your help.
Thiago H de Paula Figueiredo-2 wrote:
>
> On Wed, 21 Nov 2007 10:57:46 -0200, Ritesh.S <[EMAIL PROTECTED]> wrote:
>
>> If I am not bothering you, I will like to ask you for which classes or
>> situations this equals method overridin
On Wed, 21 Nov 2007 10:57:46 -0200, Ritesh.S <[EMAIL PROTECTED]> wrote:
If I am not bothering you, I will like to ask you for which classes or
situations this equals method overriding is necessary. If you like to
answer I would
like to know.
If your objects can be added to a collection, you
If I am not bothering you, I will like to ask you for which classes or
situations
this equals method overriding is necessary. If you like to answer I would
like to know.
Thanks.
Ritesh.S wrote:
>
> Thanks Thiago H de Paula Figueiredo-2.
> You are right I didn't have the overriden method equals
Thanks Thiago H de Paula Figueiredo-2.
You are right I didn't have the overriden method equals for select option.
After adding it working correctly. Thank you very much for your reply.
Thiago H de Paula Figueiredo-2 wrote:
>
> On Wed, 21 Nov 2007 03:46:22 -0200, Ritesh.S <[EMAIL PROTECTED]> wro
On Wed, 21 Nov 2007 03:46:22 -0200, Ritesh.S <[EMAIL PROTECTED]> wrote:
Means select component shows first default option after action performed
though there is a persisted value from previous
request in variable.
Have your select options class overrides the equals() method? If not,
there'
http://labs.jboss.com/portletswap/portlets_framework.html
2007/11/21, cometta <[EMAIL PROTECTED]>:
>
> looking for portlet example in tapetry. anyone can recommand one?
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For add
looking for portlet example in tapetry. anyone can recommand one?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi Gabriel
I have a similar setup using a JDBC realm as well as multiple
applications running on the domain so the best solution for me was to
look for the authorization header in the browser and use this info to
authenticate
Chris posted a great wiki article on how to implement a Dispatcher
Peter Stavrinides a écrit :
Hi all
My question is more of a best practice related question, I want to use
a filter to extract my authentication code from the rest of the
application logic, [...]
Thanks in advance,
Peter
Hi,
First, I'm a real Tapestry newbie, and I believe that Tapestry has
27 matches
Mail list logo