The best references here are Open Session in View pattern
http://hibernate.org/43.html and, if you use Hibernate 3.1, generic DAO
pattern http://hibernate.org/328.html and the latest Caveat Emptor (alpha 5)
http://caveatemptor.hibernate.org/ constantly updated for Hibernate in
Action 2nd edition co
I'm trying to add a link to update the table's pagesize by setting the
tablemodel's pagingstate's pagesize at a directLink's listener, but it
seems the pagesize was altered back to the value set by the component
binding before calling getCurrentRow();
i'm using TableView with BasicTableModel.
Hi,
I have been trying to create a UI based on the no. of inputs specified in a
file.
Now the problem is how to capture the values entered in the text box and send
it to the next page.
As the no. of text box may vary there is no way i can specify a particular
name to it.
Has anyone ever tried so
I just went thru Hibernate In Action (edition 1), chapter 8.2 (Implementing
Application Transactions). This chapter talks about the two options we talked
about, and a third option: Long Session.
It seems that "Hibernate in Action" recommends Long session on a web
application over other two. Th
What's best depends on what kind of app you'll build.
Be sure to have look at http://www.hibernate.org/42.html.
I prefer the session-per-conversation pattern for the apps I usually do. A
first shot
at an implementation (still with the session (ab-)used as conversation) can
be found
at http://kick
Thanks for the response Jesse.
Yes.I think it is.
My page starts with a search option and an empty list...I do a search and
render the result using PartialFor (a list of divs with ids corresponding of
the ids of the objects'result query).
Each generated div include an AjaxDirectLink to show adition
Oh right, so are you adding an element that doesn't already exist on your
client side page? Ie, if you did a view->source on your web browser (more
likely dom inspector with firefox will be better since view source is only
good for the original page render) would you be able to find the element
who
Hi! something similar its happening to me. i add another element to the
updateComponents outside of PartialFor and that element works nice, but the
inside one doesnt.
The log4j says that AjaxDirectServiceImp is refreshing the 2 components but
the DojoResponseBuilder only do cleanupAfterRender on
Have you followed the tutorial here
http://tacos.sourceforge.net/userguide/Debugging.html on installing and
using the debug console?
It is very hard to be completely sure without more information, but I would
definitely start with that..I also noticed your code pasted earlier had a
selectItem bind
Jesse,
Thanks for the input. You were correct in that by wrapping my
currCase.id in a String would fix the problem. So currently it seems
to be working except for the linkToggle listener.
I have been staring for hours at this code and still cannot under
stand why my currSelected never returns tr
Hmm...That is a weird exception..Javadocs says it's because two different
types of objects are being bound into the array. It may be an oversight on
my part for the updateComponents binding, but I am guessing that
currCase.idis an integer or some other none string data that isn't
getting interprete
I'd generally be inclined to go with Option #2. Loading an object in
session A, then reattaching it to session B (with, for example,
Session.lock()) is a bit of a code smell with hibernate, especially if
there's any chance the object might have been changed by another thread
between initia
Hello:
I am using Tapestry + Spring + Hibernate (based on Appfuse 1.8.2).
I had earlier posted a message in the Spring forum:
http://forum.springframework.org/showthread.php?t=21231
I was trying to figure out how to transparently re-attach hibernate sessions to
objects saved in the http ses
Sorry I wrote too soon, I didn't put '{ }' around the updateComponents binding.
Unfortunately I still get an exception. This time without much debug
that I can make sense of:
org.apache.hivemind.ApplicationRuntimeException
component: [EMAIL PROTECTED]
location: context:/InvestigationsConsole.htm
Hi I am trying to get the use the tacos AjaxDirectLink component. I
pretty much using the example given on the website except substituting
the .page specs in annotations.
Here is the following exception I am getting:
org.apache.tapestry.BindingException
Error converting value for parameter update
Damn, every time I get excited about another framework I always find
something equally unexciting, like JSF. arghh
Still though, I agree that providing a very clear and easy to use path for
making using things like hibernate with tap apps is a must. It's on my todo
list to be sure that either the
I have not seem an architecture document for tapestry 4. In tapestry
3, the yellow book (Howard's) was basically an architecture document.
I have not heard of plans for Howard to write a new edition for
tapestry 4, it's possible that Ken Tong does it, but have not heard of
it.
Your best document
Found it in the previous e-mail. It caught my eye just as I sent it :-O.
regards,
Mark
-Original Message-
From: Mark Stang [mailto:[EMAIL PROTECTED]
Sent: Tue 1/10/2006 12:11 PM
To: Tapestry users; Tapestry users
Subject: Global Properties file for "getString(key)"
All,
We haven't ma
All,
We haven't made the switch yet to 4.0, however, one of our other in-house
projects is built on 4.0. They are embedding error messages in the .java
files. As I understand it, "getString()" or format will use a global IMessage
that is loaded from a properties file, is it hard-coded or how d
I can't answer all your questions, but here's what works for me in
Tap4. I put it in my custom Page class.
@InjectObject("engine-service:restart")
public abstract IEngineService getRestartService();
/**
* This is called on explicit logout. Invalidates the HttpSession.
*/
I'm digging some more, maybe I could override the getMessage() in every page
component? It's a little overkill but it would solve the problem.
I can't find any documentation on this global resources, but I found one
webpage that says it's available in 3.1?
Thanks,
Greg
m2
I've recently upgraded from Tapestry 3.03 to 4.0 and have a minor
problem with the acegi security configuration I'm using. The
login/logout code used currently came from the Hispacta example on
sourceforge which worked a treat until the upgrade to tapestry 4.0.
The problem is this, in 3.0 I would
Hi Brian,
How about passing the data in the Visit? Or if it's so large that
the resulting HTTPSession will be too big, keep it in a database (or
some in-memory data source) and pass just the key(s) for the data
from the first page to the report generator?
...Richard
---
Too large for a GET!?! What the heck are you passing?
Make your own ISqueezeAdapter, one that is more efficient than the
Serializable adapter - which I assume your parameters are being
serialized.
Geoff
On 1/10/06, SECPay Brian Sperryn <[EMAIL PROTECTED]> wrote:
> Hello everyone,
>
> I am using
hahaha, probably a good idea but it's a little late now since the
project is about 3/4 finished already and when we started tapestry 4.0
was only beta and thus not an option.
On Tue, 2006-01-10 at 18:00 +0100, Ron Piterman wrote:
> upgrade to tapestry 4.0 ;-)
>
> SECPay Brian Sperryn wrote:
> > H
The configuration point to add validators is very limited given that you
can only pass a class name to it. It would be really nice if it was
something more flexible like a service or object (like the
tapestry.portlet.resolver.PageResolvers configuration)...
Anybody tried to get around this by
Indeed, that would be better.
Meanwhile, I'll just inject services into an interface like Ron suggested.
Hadn't thought of that before.
On Tue, 10 Jan 2006 15:38:26 +0100, Norbert Sándor <[EMAIL PROTECTED]>
wrote:
I won't like this. @InjectObject is for injecting objects, so it
shouldn't
upgrade to tapestry 4.0 ;-)
SECPay Brian Sperryn wrote:
Hello everyone,
I am using tapestry 3.0.3
I have been having problems using a service with a service link.
My service is one that accepts data and generates a report based on the
data. Initially it didn't want to work at all and wasn't
Yes, in fact, what I'm trying to do is serialize the stream of
operations that occur during the rewind cycle, without actually
re-doing the render. This is a much more natural approach I think.
Certainly, everything that works today will work in the future, but a
lot of things become more simple an
in Tapestry 3.0 its not possible.
in tapestry 4.0 read here:
http://jakarta.apache.org/tapestry/UsersGuide/localization.html#localization.namespace
Cheers,
Ron
gcormier wrote:
Currently each of my pages has to have a properties file named the same. So let's say I have "Page1.page" I
need "
Hello everyone,
I am using tapestry 3.0.3
I have been having problems using a service with a service link.
My service is one that accepts data and generates a report based on the
data. Initially it didn't want to work at all and wasn't returning me
any form of exception or any other information
Currently each of my pages has to have a properties file named the same. So
let's say I have "Page1.page" I need "Page1.properties", "Page2.page" and
"Page2.properties", etc.
A lot of my application shares a lot of common text between pages, such as Ok
and Cancel buttons.
Would it be possible
Only tapestry 4 is supported. The integration with Spindle will be donne as
Geoff's work on updating Spindle to T4 goes along.
On 10/01/06, Chris Chiappone <[EMAIL PROTECTED]> wrote:
>
> The site mentions tapestry 4? Since your based of spindle is this
> currently
> just for tap3?
>
> On 1/10/06,
Jesse,
thanks for the cheer-up! - it's the first one I get for this. From what I've
seen in tacos, your code will be most appreciated. Just start code-dumping
;). Javaforge would also be OK for me, the sample-app thing sounds very
interesting to me. I'll check it out.
Marcus
> -Original Messa
thought this forum would post to the mailing list automatically?
tapestry.ResetEventCoordinator is not on the list btw :-(
m2f
Sent from www.TapestryForums.com
Read this topic online here: <>
http://www.tapestryforums.com/viewtopic.php?p=12892#12892
This is great news, Hugo; I'll be watching out for your release.
Shawn
Quoting Hugo Palma <[EMAIL PROTECTED]>:
> Hi all, i'd like to announce the "Tapestry plugin for IntelliJ"
> project
> (still haven't found a cool name for it, any sugestions would be
> great). You
> can access the project w
The site mentions tapestry 4? Since your based of spindle is this currently
just for tap3?
On 1/10/06, Hugo Palma <[EMAIL PROTECTED]> wrote:
>
> Working on it right now. Problably update the site today with some
> screenshots.
>
> On 10/01/06, Geoff Longman <[EMAIL PROTECTED]> wrote:
> >
> > Fand
On 1/10/06, Schulte Marcus <[EMAIL PROTECTED]> wrote:
> To be honest, I don't really know, since I didn't try. Just "suggesting"
> would be probably easy.
> But: they're using Spring for hibernate-integration now, I use hivemind for
> the same thing. Appfuse also supports Struts, I have no interes
Thanks!
m2f
Sent from www.TapestryForums.com
Read this topic online here: <>
http://www.tapestryforums.com/viewtopic.php?p=12889#12889
m2f
Working on it right now. Problably update the site today with some
screenshots.
On 10/01/06, Geoff Longman <[EMAIL PROTECTED]> wrote:
>
> Fandamtastic! Any screenshots?
>
> Geoff
>
> On 1/10/06, Hugo Palma <[EMAIL PROTECTED]> wrote:
> > Hi all, i'd like to announce the "Tapestry plugin for Intelli
why use the forum? there is this greatest Mailing list of all - post
directly to the list :)=
look here
http://jakarta.apache.org/tapestry/tapestry/hivedocs/index.html
Cheers,
Ron
tmarx wrote:
Where can I find a list of all Tapestry service-ids?
There is one in the documentation, but for in
http://jakarta.apache.org/tapestry/tapestry/hivedocs/index.html
On 1/10/06, tmarx <[EMAIL PROTECTED]> wrote:
>
> Where can I find a list of all Tapestry service-ids?
> There is one in the documentation, but for instance
> tapestry.ResetEventCoordinator is missing there...
>
>
> ---
Where can I find a list of all Tapestry service-ids?
There is one in the documentation, but for instance
tapestry.ResetEventCoordinator is missing there...
m2f
Sent from www.TapestryForums.com
Read this topic online here: <>
http://www.tapestr
To be honest, I don't really know, since I didn't try. Just "suggesting"
would be probably easy.
But: they're using Spring for hibernate-integration now, I use hivemind for
the same thing. Appfuse also supports Struts, I have no interest in doing
that. So, I'm a bit skeptical about how easy it wou
This is degenerating. The Tapestry list has progressed for something
like 5 years (SF+Apache) with useful discourse and little useless
blathering. This is the closest I've seen the list has ever come to a
flame war. (if you except the JBOSS dude's post years ago).
If Howard said something dumb, he
Hi,
We're trying to adjust the default servlet mapping of Tapestry (We user
Tapestry 3.0.3) into: /admin/app . We do need the extra path after admin
for security reasons. The mapping in the web.xml looks as follows:
outTapestryServlet
/admin/app
Unfortunately the Tapestry t
Fandamtastic! Any screenshots?
Geoff
On 1/10/06, Hugo Palma <[EMAIL PROTECTED]> wrote:
> Hi all, i'd like to announce the "Tapestry plugin for IntelliJ" project
> (still haven't found a cool name for it, any sugestions would be great). You
> can access the project web site here http://tapidea.jav
Hi all, i'd like to announce the "Tapestry plugin for IntelliJ" project
(still haven't found a cool name for it, any sugestions would be great). You
can access the project web site here http://tapidea.javaforge.com
The goal of this project isn't to re-implement Spindle for IDEA IntelliJ.
Instead i
Howard,
You also said "No bashing of other frameworks." yet you went ahead and did
exactly that with this post at TSS:
http://www.theserverside.com/news/thread.tss?thread_id=38407#196558
That's not nice.
F
On 1/9/06, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
>
> Please visit the article,
>
I won't like this. @InjectObject is for injecting objects, so it shouldn't
default to injecting a service...
BUT :)
What about a new InjectService annotation:
@InjectService
public abstract MyService getMyService();
would be equivalent to
(MyService)registry.getService(MyService.c
Now I think both yours and mine ideas are problematic because they don't
work in a changing services enviourenment.
If one adds a new MyService service in a jar, say tacos, you have to
rewrite all your @InjectObject annotations. wow.
The same if one adds a new Service defined for a certain inter
No, it would be really nice if it will inject the (single) Service
defined for its return type.
so
@InjectObject
public IRequestCycle getRequestCycle()
will inject the request cycle.
it if functions for hivemind it should function for tapestry...
Cheers,
Ron
Martin Strand wrote:
Just a thoug
All talk and no code make Jack a dull boy
--
Massimo
http://meridio.blogspot.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
What about the namespace ? From what namespace would it look for the service
?
On 10/01/06, Martin Strand <[EMAIL PROTECTED]> wrote:
>
> Just a thought, wouldn't it be nice if InjectObject by default injected
> the service with an id equal to the return type's fully qualified name?
>
>
> @InjectOb
>This is all a bunch of hot air. Howard is doing what he thinks he needs to
do in order to defend Tapestry interests. I'm sure he wasn't talking down to
anyone.
Agreed.
Howard thanks for the job well done and I know EXACTLY where you are coming
from with posting that. I have played the role of n
I read the article as well :) I don't think anyone wants to get rid of the
functionality that the rewind cycle provides, just the way that the current
rewind cycle behaves. (It could be much more efficient/intuitive )
I too would be incredibly sad if the functionality provided went away, as
I'm su
Just a thought, wouldn't it be nice if InjectObject by default injected
the service with an id equal to the return type's fully qualified name?
@InjectObject
public abstract MyService getMyService();
would be the same as
@InjectObject("service:my.package.MyService")
public abstract MyService
Now, this blog post (specially the rewind cycle description) is what the
user docs should look like. Great explanation of the rewind cycle,
Nathan! I think if you help Tapestry developers specify those current
capabilities you don't want to lose, there should be no problem (and we
can always re
Hmmm how hard would it be to suggest your changes to AppFuse? Just
wondering...
--
Ing. Leonardo Quijano Vincenzi
DTQ Software
Schulte Marcus wrote:
Hi all,
I've set up a small sourceforge project, called "KickStart". It's aims are
- make getting started with a full-stack (DB/Hibernate-ba
I think this is great Marcus! Keep up the good work :) Any chance you'd
ponder moving over to javaforge instead of SF for your work? Javaforge will
let you actually run a demo web-app, as well as use subversion.
I've got a ton of hivemind/hibernate code I'd like to contribute to a
seperate project
Hm, yes, we've an overlap of interests, obviously.
But:
- developing on OS-X, I cannot even have a look at your stuff (cvs seems
to be empty)
- Including eclipse and my-sql seems a bit too fat for my taste
- Besides a convinient combined download I think the glue-code between
persistence and
This is all a bunch of hot air. Howard is doing what he thinks he
needs to do in order to defend Tapestry interests. I'm sure he wasn't
talking down to anyone.
Geoff
On 1/10/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
> I'm sure Howard's email was meant for the few overly ambitious zealout type
I'm sure Howard's email was meant for the few overly ambitious zealout type
of users that will sometimes blindly fight or insight flaming in a way that
makes tapestry look weird. (I'm sure I've personally done this a few times
at one point or another in my life..)
Is it really this important? Who
These guidelines are nothing new. The essential principles are:
1) People respond to criticism negatively, however wrong they are and
however right you are. This is true of the person on death-row, the white
color criminal, the 80 year old grandma. Therefore, don't criticize.
2) Never debate u
Patrick Casey adelphia.net> writes:
> Wouldn't Howard's proposed approach of serializing and compressing
> all relevant page data in the outbound stream and then echoing it back in
> the POST still let you do things like loops, but without having to muck
> around with the rewind cycle? I don
I think Howards email was great, you take what you want out of it.
I think everyone can agree that the more Tapestry flourishes, the better
it is for it's users and the product itself. Like many things,
being a good product alone is not aways good enough to ensure reasonable
popularity - goo
You migth want to take a look at EWAD
ewad.sourceforge.net
maybe we have common interests
Regards,
Lennart
>-Original Message-
>From: "Tapestry users"
>Sent: 01/10/06 - 03:08
>To: "Tapestry users"
>Subject: RE: New project forTapestry / Hibernate web-app template
>
>Hi all,
>
>I've
Howard,
This is really cheating! We are all grown ups and need no suggetions as to
how we should compose our e-mails. We are not babies that need to be spoon
fed.
F
On 1/9/06, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
>
> Please visit the article,
> http://www.theserverside.com/news/thread.ts
I am afraid there is no way around adding some logic to the listener method.
You could delegate the logic of the validation to a service. This might
be cumbersome if you want real friendly validation messages (which
include field label names).
Cheers,
ROn
Christian Mittendorf wrote:
Hello!
Hello!
Tapestry offers a couple of methods for validating form fields.
Version 4 is pretty great
and the new features are really helpful. Congratulations to the new
release!
My question now is focussing on validating complex objects. And I
think that I don't get
the big picture yet. Each
actually, the hibernate guys have improved their docs on this recently. I'd
first have a look at http://www.hibernate.org/42.html, choose your favourite
pattern from there (there's definitively more than one way to do it), then
see, how to go use it with tapestry...
You can have a look at what I us
On Monday 09 January 2006 17:41, Yura Tkachenko wrote:
> Hello,
> How I can integrate spring ( spring + hibernate managers ) with Tapestry
> 4.0
follow these instructions:
http://wiki.apache.org/jakarta-tapestry/Tapestry4Spring
hth
ido
-
Apologies for hitting alt-S to early!
So what I wanted to add:
If you are starting with Tapestry /Hibernate you might want to have look at
http://kickstart.sourceforge.net - if nothing else, you'll find some code to
get started with hivemind services using hibernate and an example of where
one can
Hi all,
I've set up a small sourceforge project, called "KickStart". It's aims are
- make getting started with a full-stack (DB/Hibernate-backed) Tapestry
web-app easy.
- provide a platform to discuss the merits of different approaches towards
integrating Tapestry and backend-stuff based on r
74 matches
Mail list logo