I think that Hivemind is great:
- the framework is well designed, hopefully 2.0 will be even better
(annotation support for example)
- the online documentation is good
- Tapestry's source code is a perfect example for almost all features
So if someone wants to learn Hivemind:
- get some info on
Aeh... I was relying on Spring doing the right thing?! (10 extra points
to Lutz ;-) )
I figured since everybody has problems with Spring closing sessions too
early and thereby causing problems with lazy-load, it should not affect
me in this case and actually work for me.
But maybe not???
I hon
Looking at hivemind mailing list aktivity I hardly believe in it.
IMO, good Eclipse plugin for Hivemind is more required ( and real ).
Peter Svensson wrote:
+Sixteen bushels of wheat
On 5/24/06, Dan Adams <[EMAIL PROTECTED]> wrote:
Any plans for a hivemind book? I, for one, would get it if su
Can anyone shed some light on my original problem? I am upgrading from
Tapestry 3.x to 4.x. I would look at something like Tapernate once the
upgrade is done.
Thank you for your help.
Shovon
--
View this message in context:
http://www.nabble.com/Lazy+Exception+in+Contrib%3ATable-t1673050.html
On 5/24/06, Mark <[EMAIL PROTECTED]> wrote:
Is there a way to set this in the hibernate.properties?
Right now I do not use OpenSessionInViewFilter...
Oops I should have read the whole thread before answering ;-)
So how do you manage your sessions?
Thanks,
Henri.
I want to write an annotation that will intercept a method and add a
property to the class. I've started digging around in some of the
annotation sources but it's going pretty slow. Can someone point me at
the right place to look for where to start?
--
Dan Adams
Software Engineer
Interactive Fact
Does anybody have a standard plain-vanilla hibernate.conf file for me so
I can compare it to mine?
Also, I am not using any hibernate.cfg.xml, but I assume I don't have to...
MARK
Lutz Hühnken wrote:
Hm... given that you don't use OpenSessionInViewFilter, I think it is
really pretty optimisti
Hm... given that you don't use OpenSessionInViewFilter, I think it is
really pretty optimistic to believe your current problem can be solved
by subclassing it and/or changing its flushing behaviour.
On 5/25/06, Mark <[EMAIL PROTECTED]> wrote:
Is there a way to set this in the hibernate.propert
On 5/24/06, Mark <[EMAIL PROTECTED]> wrote:
I am not using any OpenSessionInView filters yet - intentionally, because
I wanted to run into the lazy-load problems first in order to verify that
what I would then do will actually fix the problem.
I looked quite in details on the OpenSessionInVi
On 5/23/06, James Carman <[EMAIL PROTECTED]> wrote:
All,
I am trying to add some code into Tapernate which will "rollback" the
POJOs
that Hibernate has changed when a transaction is rolled back (the version
or
auto-generated id properties). I am going to attempt it using an
interceptor. Has a
Is there a way to set this in the hibernate.properties?
Right now I do not use OpenSessionInViewFilter...
MARK
Daniel Lydiard wrote:
Are you using OpenSessionInViewFilter (spring/hibernate)?
The default flushmode is set to NEVER, so you need to override
org.springframework.orm.hibernate3.su
perhaps i should do that. generate a new thread within a file, open up
a socket, so that it doesnt block any other processes. any other help
guys.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAI
+Sixteen bushels of wheat
On 5/24/06, Dan Adams <[EMAIL PROTECTED]> wrote:
Any plans for a hivemind book? I, for one, would get it if such a book
existed.
--
Dan Adams
Software Engineer
Interactive Factory
617.235.5857
-
To
This brings up some questions..
If I work directly on my domain model in the "tapestry layer", then
data on forms that do _not_ validate, get persisted. This on the other
hand could be solved by calling setRollBackOnly() if the form didn't
validate.
But if the edited object get passed around on
Are you using OpenSessionInViewFilter (spring/hibernate)?
The default flushmode is set to NEVER, so you need to override
org.springframework.orm.hibernate3.support.OpenSessionInViewFilter
@Override
protected Session getSession(SessionFactory sessionFactory) throws
DataAccessResourceFailureExc
By the way - I am right to assume that what I experience here is not
normal Hibernate behaviour?
MARK
Lutz Hühnken wrote:
my two cents, in three parts...
- about the problem:
well, usually, it kind of works. This may sound silly, but do you
maybe have hbm2ddl.auto set to "create-drop" ? Or
Thanks for your email, Lutz. Please see below for
comments..
my two cents, in three parts...
- about the problem:
well, usually, it kind of works. This may sound silly, but do you
maybe have hbm2ddl.auto set to "create-drop" ?
Don't know what that does but I'll try it later, once
This is the best thing to do. It buys you some excellent (though very
poorly documented) functionality for doing substitutions in your JS
code, too.
In spite of this good solution, it is really unfortunate that the
Tapestry parser doesn't understand CDATA.
P
On May 24, 2006, at 2:59 PM,
Any plans for a hivemind book? I, for one, would get it if such a book
existed.
--
Dan Adams
Software Engineer
Interactive Factory
617.235.5857
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
I'm trying the following in my hivemind.xml:
and I'm getting a NPE in NamedClassStateObjectFactory:
public Object createStateObject()
{
try
{
Class c = _classResolver.findClass(_className); NPE IS
HERE
Yeah, i know about this way but wasn't sure if i could it without
putting it in comments.
On Wed, 2006-05-24 at 15:39 -0400, Jesse Kuhnert wrote:
> try :
>
>
>
> //]]>
>
>
> ?
> On 5/24/06, Dan Adams <[EMAIL PROTECTED]> wrote:
> >
> > I have a template that has som
I am not sure if a consensus has been reached as to what constitutes the best
practice for testing a Tapestry app, so I came up with this little strategy
that is rather inelegant and I would greatly appreciate any improvements that
you would care to offer.
Step one: Have ant build a fake wa
Or choose the simple way out and put the javascript into a Tapestry
Script file.
---
Erik Husby
Senior Software Engineer
Broad Institute of MIT and Harvard
Rm. 2192, 320 Charles St, Cambridge, MA 02141-2023
mobile: 781.354.6669, office: 617.258.9227
email: [EMAIL PROTECTED] AIM: ErikAtBroad
try :
//]]>
?
On 5/24/06, Dan Adams <[EMAIL PROTECTED]> wrote:
I have a template that has something like:
//
and I get a parse exception:
Tag
I have a template that has something like:
//
and I get a parse exception:
Tag
my two cents, in three parts...
- about the problem:
well, usually, it kind of works. This may sound silly, but do you
maybe have hbm2ddl.auto set to "create-drop" ? Or when you check if
something has been stored, are you sure you're checking the right
database? I'm not making fun of you, I have
All,
I am in need of a Tapestry person for a project at my client. They would be
billing through me. We need someone who can work on-site here in
Cincinnati, OH. I hope this isn't inappropriate use of this mailing list.
James
-
Yes, that's correct. Using an ORM requires a different mindset. In fact,
there was a pretty interesting post on TheServerSide.com yesterday about
this very topic:
http://www.theserverside.com/news/thread.tss?thread_id=40581
-Original Message-
From: Marcus Matèrn [mailto:[EMAIL PROTECT
One question,
If I retrieve an object from my DAO and change something in that
object without doing a session.update(...), the change will be
persisted (to the DB). Is this the way it should work (not having to
do a manual update) ?
public Product getProduct()
{
Product product;
:-P
There seems to be an issue in 3.2.14 - I would recommend using 3.2.13
instead until I get a chance to look at it.
Pls check the existing bug about 3.2.14 at sf and add a comment/attach
your log file.
thx.
G
On 5/24/06, Francis Amanfo <[EMAIL PROTECTED]> wrote:
Hi Dan,
Don't expect a qui
In data Wed, 24 May 2006 17:09:27 +0200, marcopar ha scritto:
> In data Wed, 24 May 2006 16:54:27 +0200, Schulte Marcus ha scritto:
>
>> It's a so-called "binding-prefix". This has a long and venerable history ;).
>
> many thanks!
>
i finally found the docs about that... i think i should read
Henri,
http://www.carmanconsulting.com/svn/public/
James, I'm also very greatful. Thanks!
On 5/24/06, Henri Dupre <[EMAIL PROTECTED]> wrote:
Hi James,
On 5/24/06, James Carman <[EMAIL PROTECTED]> wrote:
>
>
> 2. Taperate now has support for three types of property persistence,
> reattach-
It's available via svn from my server
http://www.carmanconsulting.com/svn/public/tapernate/trunk
Or, you can download the example application which has all the jars you'll
need already set up for you to use.
http://www.carmanconsulting.com/svn/public/tapernate-example/trunk
-Original Messa
Hi James,
to you first question - since I am ultimately the one who has to fix
problems once stuff goes into production - yes, I do want to know the
internals of things. I am pretty convinced that without that knowledge
you only get that far.
Sure it's nice to use something that will just magi
Hi James,
On 5/24/06, James Carman <[EMAIL PROTECTED]> wrote:
2. Taperate now has support for three types of property persistence,
reattach-merge (used to be called "entity"), reattach-lock, and
reattach-update, corresponding to the three different types of reattach
strategies. You can choo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
oh, now - raked isn't at all what I was going for... although it does
have a certain ring to it. :-)
I've got a push going on this week but will be opening it up this
weekend. To be clear - I _will_ be putting up the current as well as the
'unicorn' l
I have just moved my application into production using tapernate. So far so
good nothing unexpected.
On 5/24/06, Hugo Palma <[EMAIL PROTECTED]> wrote:
I agree, still, the intention of my post was to get a clearer picture of
how
complete Tapernate really was so that i can predict if i'll have t
Despite expressing doubts and getting raked over the coals by Brian's sarcasm,
I'm still +1 for contest. So who is taking that on?
As an aside, here are some comps (remember, just ideas, not refined) put
together by a designer. I like the following the best:
http://www.thelabllc.com/lab/tapes
Or, if he doesn't have a current investment in Hibernate, use Cayenne
(which doesn't have lazy loading problems/etc).
/dev/mrg
-Original Message-
From: James Carman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 24, 2006 11:19 AM
To: 'Tapestry users'
Subject: RE: Hibernate persisted dat
Unless you really want to know the guts of what's going on, I'd suggest
using a framework (like tapernate for example) to get you up and running. Are you ever committing your transaction?
_
From: Mark [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 24, 2006 11:16 AM
To: Tapestry
Hi everybody,
I have a problem with my persistence and I am not sure if it has to do
with the often-discussed Hibernate-Tapestry interaction,
OpenSessionInView filters (and me not using any), just my cache
settings or something entirely different altogether.
I am running Tapestry with Spring
In data Wed, 24 May 2006 16:54:27 +0200, Schulte Marcus ha scritto:
> It's a so-called "binding-prefix". This has a long and venerable history ;).
many thanks!
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
I agree, still, the intention of my post was to get a clearer picture of how
complete Tapernate really was so that i can predict if i'll have to spend
some time extending it, or finding bugs, which in some project it's time i
don't have.
On 5/24/06, Schulte Marcus <[EMAIL PROTECTED]> wrote:
I'v
Thanks for the overview
You got me convinced Tapernate is the way to go :o)
On 5/24/06, James Carman <[EMAIL PROTECTED]> wrote:
Oh, and I'd wait on using the "squeezer" feature until Tapestry 4.1 comes
out. Tap4.1 will turn the data squeezer into a pipeline rather than just
a
regular servi
I've not used it, but I had a look at the code-base. It's so concise and
easy-to-change that you'll certainly be better off starting with it than
starting with something self-made from scratch. That's the real benefit
of open-source, after all (imo).
> -Original Message-
> From: Hugo Palma
It's a so-called "binding-prefix". This has a long and venerable history ;).
In the beginning there were only "literal" (no prefix), "message" and "ognl"
binding.
Back then most interesting bindings were "ognl:" and people used to access a
lot
of interesting things via special collections of pages
On Wednesday 24 May 2006 06:42, James Carman wrote:
> Can you give an example of the "things it shouldn't"?
Here's one:
var unappliedAmount = 0;
updateTotal((+document.getElementById("startingUnapplied").innerHTML));
// alert("startingUnapplied = "+unappliedAmount);
function updateTotal(
pageBeginRender gets run every time the page renders -- which happens
every time the user navigates the table. Check that.
Have you tried the standard System.out.println debugging or -- better
yet -- real debugging?
-Mike
On 5/24/06, Rui Pacheco <[EMAIL PROTECTED]> wrote:
I am sorry for insis
To verify you hunch, why not try replacing your "query" with a static list
of objects rather than something that's retrieved from the db. If it's
still slow, then maybe it's something you're doing wrong with the table
classes. If not, then I'd look into your query again.
-Original Message---
I am sorry for insisting on this, but its really confusing me.
I am using a normal table, fed from a ResultSet with 30 rows. I've set the
table to show 10 rows at each iteraction.
The problem is, after navigating back and forth on the data 3 or 4 times,
the page becomes unusable. It simply wont l
Oh, and I'd wait on using the "squeezer" feature until Tapestry 4.1 comes
out. Tap4.1 will turn the data squeezer into a pipeline rather than just a
regular service. I have a patch in Jira for this. I just need to add some
test cases to it. I guess I could build the logic into Tapernate which
r
It depends. If you want to use transaction-per-request with
open-session-in-view, then it could work for you now. If you need
conversation support (something we're working to build in), then it's not
ready for you just yet. Tapernate can automagically reattach your
persistent page properties (th
In data Wed, 24 May 2006 15:12:02 +0200, Schulte Marcus ha scritto:
>>> > delegate="beans.delegate">
>
> try: delegate="ognl:beans.delegate"
whoaaa... the ognl way worked. thank you.
i still remain dubious on when i should use ognl:, listener:, delegate: or
nothing. What does it mean really tha
Hi Dan,
Don't expect a quick response from Geoff on this one anytime soon because
he's currently swiming and enjoying himself in the new warm and nice GWT
swiming pool ;-)
F
On 5/24/06, Daniel M Garland <[EMAIL PROTECTED]> wrote:
Hi all
When I load a particular tapestry project in Eclipse, s
I know it's a WIP, still, how confident can i be when choosing to use
Tapernate in a project starting in a few weeks ?
Is there any estimate to when the project will be rock solid, with the
production ready stamp ?
I mainly looking for Jame's opinion and from everyone that has used
Tapernate in a
Oops! I'm sorry, Massimo. I was up late last night coding that stuff, so I
must have been a bit tired. I meant to reply to Marcus Matèrn. He was
having an issue with rollbacks in Tapernate.
-Original Message-
From: Massimo Lusetti [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 24, 20
On 5/24/06, James Carman <[EMAIL PROTECTED]> wrote:
No problem! Just to be clear about why your situation is working now, I
removed the transaction interceptor from the persistence strategies and the
"squeezer." With transaction-per-request turned on, these features work
just fine. You can di
> > delegate="beans.delegate">
try: delegate="ognl:beans.delegate"
or: delegate="bean:delegate"
hth, marcus
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
One more thing - when component (extending BaseComponent) without template is
found I see that my custom ITemplateSourceDelegate.findTemplate() method is
called. But when Tapestry can't find page template it just throws exception
without calling this method (page not found in namespace IIRC). Ac
that could be a problem but right now Tapestry whines at the @Form line
that is before that.
btw, isn't the % used for localized messages? I want to hard code them for
now. One step at a time :)
In data Tue, 23 May 2006 11:03:28 -0700 (PDT), Carl Pelletier ha scritto:
> A quick look at your code
I have similar problem. Here is my script-block
/*
Hi all
I have a table with 30 elements, showing 10 on each page. When I navigate
the table more than 4 times, it becomes so slow that its impossible to use.
The way I load my table is I call a stored procedure when my page loads, put
the result in an object, put that object inside an ArrayList an
What about commenting out the javascript (), or embedding it
in a CDATA block ()?
BR,
Norbi
Mário Lopes wrote:
Is there any tag to avoid a certain block of code from being parsed on
a .html?
I have some javascript on that file and it complains about things it
shouldn't.
Regards.
-- Mário
Can you give an example of the "things it shouldn't"?
-Original Message-
From: Mário Lopes [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 24, 2006 6:35 AM
To: Tapestry users
Subject: Avoid template parsing
Is there any tag to avoid a certain block of code from being parsed on a
.html?
I'm trying to make custom component, which fetch its template from database.
@Component
abstract class DBTemplate extends BaseComponent
{
// templateId is PK of stored in database template
@Parameter
public asbtract String getTemplateId();
}
Example:
I've made my own implementation
Is there any tag to avoid a certain block of code from being parsed on a .html?
I have some javascript on that file and it complains about things it shouldn't.
Regards.
-- Mário
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
No problem! Just to be clear about why your situation is working now, I
removed the transaction interceptor from the persistence strategies and the
"squeezer." With transaction-per-request turned on, these features work
just fine. You can disable transaction-per-request, but I would imagine
that
Don't you use a own thread for it?
-Original Message-
From: Peter Dawn [mailto:[EMAIL PROTECTED]
Sent: Mittwoch, 24. Mai 2006 11:53
To: tapestry-user@jakarta.apache.org
Subject: Socket Communication
i am trying to enable socket comm in my web app. the problem is that
once i start a new s
On 5/24/06, James Carman <[EMAIL PROTECTED]> wrote:
First of all, no I have not moved Tapernate as of yet. But, I wanted to let
you know about a few new features...
Thanks James!
--
Massimo
http://meridio.blogspot.com
-
To
i am trying to enable socket comm in my web app. the problem is that
once i start a new socket on a port and am waiting for messages, the
page wouldnt load up any further till i have received some message.
what i am trying to do is get it to run in the background while the
app runs as usual in the
Can someone please temporarily unsubscribe Mr. Grimwood? I don't really
want to get a message from him for every message sent to the list. Jesse,
maybe we can set him up as moderated temporarily?
Thanks.
-Original Message-
From: Paul Grimwood [mailto:[EMAIL PROTECTED]
Sent: Wednesda
There is an example application downloadable via SVN at:
www.carmanconsulting.com/svn/public/tapernate-example/trunk
Tapernate will be moving very soon to the tapestry-javaforge project. Your
code shouldn't have to change much once we do.
-Original Message-
From: Shovon [mailto:[EMAIL P
Hi All
I have implemented a custom engine class extending BaseEngine so that I
could override activateExceptionPage in order to have different error pages
for development and production purposes.
Inside my custom activateExceptionPage function I have the following code:
cycle.activate("CustomExc
The new version of Tapernate seems to solve this problem completely.
Thank you!
On 5/24/06, James Carman <[EMAIL PROTECTED]> wrote:
Okay. I'm seeing it now, too. Unfortunately, the Spring interceptor throws
an exception when the global transaction is marked as rollbackOnly when it's
partic
Hi all
When I load a particular tapestry project in Eclipse, spindle will flag
a component as an unknown component. If I amend the file, say by adding
a whitespace somewhere and saving it again, the problem goes away. I
don't know if this a bug, or if anyone has experienced this before?
I'm
Ok, 4 days * 24 hours = 96 "out of office" replies.
Can a committer please unsubscribe this guy?
Cheers,
Nick.
Paul Grimwood wrote:
I will be out of the office starting 24/05/2006 and will not return until
29/05/2006.
I will respond to your message when I return.
-
I will be out of the office starting 24/05/2006 and will not return until
29/05/2006.
I will respond to your message when I return.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
IncludeLink is used to include another html file into
current file, it is a sub-class of ExternalLink, so
you can use paramter page and parameters to control
the included page.
use include, we can seperate pages into small pieces,
which will have better reusabilty and can have
different caching c
78 matches
Mail list logo