Could someone point me at a resource that shows how to wrap http/response
with hibernate transactions.
I assume it involves setting up a "filter" in Hivemind.
i.e.
On receipt of the "http" post/get a transaction is started within the
Hivemind code.
The Tapestry code is then called.
When the resp
You can write your own PersistentPropertyDataEncoder and which uses the
squeezers instead. You'd have to override the implementation of the
tapestry.persist.PersistentPropertyDataEncoder service using your custom
class instead. The ClientPropertyPersistenceStrategy class uses a
PersistentProperty
2006/4/24, James Carman <[EMAIL PROTECTED]>:
>
> There are multiple ways to use it. You can have a DirectLink which uses
> parameters to call a listener method (the parameters will be
> squeezed). You
> can have a Hidden component in a form that has its value set to some
> squeezable object.
>
Hi Mat.
Your problem here is that your value is one (String?) property.
Try pointing to a cell in an array, or if you want to keep your
iterator-based approach, wrap the String into an object where
you can mutate the String. E.g. value="ognl:currentValue.value".
Cheers,
Nick.
Mat Gessel wrote
There are multiple ways to use it. You can have a DirectLink which uses
parameters to call a listener method (the parameters will be squeezed). You
can have a Hidden component in a form that has its value set to some
squeezable object.
-Original Message-
From: Jun Tsai [mailto:[EMAIL PRO
2006/4/24, James Carman <[EMAIL PROTECTED]>:
>
> The client persistence strategy doesn't use the "squeezers."
How to use it ?thanks.
Jun Tsai
The client persistence strategy doesn't use the "squeezers."
-Original Message-
From: Jun Tsai [mailto:[EMAIL PROTECTED]
Sent: Sunday, April 23, 2006 10:56 PM
To: Tapestry users
Subject: Re: T4 DataSqueezer/SqueezeAdaptor, Spring & Hibernate
How to use MySqueezeAdaptor ?
?
Jun Tsai
How to use MySqueezeAdaptor ?
?
Jun Tsai
2005/9/8, Adam Henderson Azudio <[EMAIL PROTECTED]>:
>
> Adam,
>
> OK got it to work, the following is what I did along with a little
> bit of code.
>
> In hivemodule.xml:
>
> interface="com.azudio.project1.MySqueezeAdaptor">
>
>
Well, that's a good question. I just kind of poked around the API docs and
source to and figured out how to do it. I don't think the enhancement
framework is documented, since it's not really something the general user
will mess with. I don't really know the internals of Tapestry very well
eithe
Hi James,
Yes, I'm aware that there are different approaches too. It seems to me
that this same topic has been bandied back and forth across the list
several times in the last month or so.
Most of you can probably stop reading now, being used to this answer and
question routine yourselves.
I'm trying to understand how exactly your auto-wiring works (I know
it'll just work, but I'd like to understand how Tapestry works under the
hood), and I have a vague idea, but I'm missing some kind of documentation.
Do you have any references or links to how EnhancementWorkers work in
general (
There's nothing wrong with it at all. It's just a different approach. I
had to write much less code to achieve the same result. And, I'm reusing a
proven technology (the Spring classes) which people are familiar with
already.
-Original Message-
From: Nick Faiz [mailto:[EMAIL PROTECTED]
I still don't see what's wrong with HiveUtils - it just works for me. I
spent around 30 minutes configuring it 6 weeks ago and they've been no
problems.
Nick
Andreas Bulling wrote:
Spring may provide all of the things on my list of wishes already...
I don't know as I only tried to use it for
I have looked at your component and its interesting. I have just a slightly
different requirement.
Invalid should be detected and an error message should be recorded on the form
delegate. I can see how to detect the invalid date
(Calendar.setLenient(false)), but how to manage the error message.
Well, all you have to do is declare a getter which returns an
ApplicationStateManager in any page that you want. Then, if you use my
auto-wiring stuff, it will be there for you automagically.
-Original Message-
From: Mark [mailto:[EMAIL PROTECTED]
Sent: Sunday, April 23, 2006 8:19 PM
T
Problem with this can be solved this:
change in
org\apache\tapestry\form\Form.js
line
var Tapestry = new Object();
with this
try{
if (Tapestry == undefined) {
var Tapestry = new Object();
}
}catch (e){
var Tapestry = new Object();
}
Working DatePicker.js in IE change in
o
No, what I mean is be able to manually specify the wiring in one global
file. Something like a global ".page" file.
That way you would not have to rely on the "auto-" to do the right
thing, and you would have one central place where you specify things.
Of course you'd have to do some parsing, but
Well, at least I only have to inject one thing and won't have to modify
the .page file if I need modify or add services/beans.
I don't know the internals of Tapestry yet, but I assume there has to be
some page factory. Couldn't I extend that factory in a way that it does
the injection of the ASM
Hi,
I have trouble to make a client side required validation for a radio group.
femme
homme
On submission server side submission is properly handled but I have no client
side validation. If I add a TextField with a required constraint on the same
form, the r
> Because there are some people who would like to use a lightweight
> container instead of a heavy one?
Spring is a lightweigth container. You can use as much or as little as
you want. You determine the weight of the container by your needs.
It's dependencies are only as extensive as your needs. T
I have question about
org\apache\tapestry\form\validator\RegExValidator.js
org\apache\tapestry\form\Form.js
Why is this separated ?
If i have two form in different portlet one with pattern validator and
one without in IE is Tapestry.validate_regex undefined.
-
The autowiring happens after everything else. So, if you've manually wired
anything up, it doesn't get overwritten.
-Original Message-
From: Mark Arnold [mailto:[EMAIL PROTECTED]
Sent: Sunday, April 23, 2006 12:49 PM
To: Tapestry users
Subject: Re: What to do if annotations are not avail
Ok, I see you point.
So then it would have to be done in a way that lets you chose which way
to go. Which would really cause additional work...
But it would be cool if there would be interfaces for certain
functionality and then you could configure whether you want to use the
hivemind implement
There was an xslt file written by at some point. I just created the wiki
page http://wiki.apache.org/jakarta-tapestry/Tapestry3ToTapestry4
pointing to it and I linked this page from the main page (in the
Tapestry 4 section).
JPB
James Carman wrote:
Wouldn't this be better as an XSLT file? J
| The other thing is - instead of adding new things from scratch, why not
| use Spring, for example the way James says he has done for Transactions
| and ORM (I haven't seen his code yet).
Because there are some people out there (including me) who don't want to
put the whole spring stuff with it
Thank you for your input. Thankfully, I do not need to embed the For
in the Form in this case. Also, the Set seems to persist fine by
default. Thanks again.
On 4/23/06, James Carman <[EMAIL PROTECTED]> wrote:
> If it's saying that it can't find a strategy for class Foo, then that means
> that it's
external link component is very useful, but the link
it generates is not friendly for search engine or
tools to fetch the whole site. So I developed
SimpleLinkService to convert url
http://localhost:8080/app?page=Address&service=external&sp=1&sp=2
into http://localhost:8080/Address,1,2.html
I like
Yes, please - maybe that way I could get at least some of the fuses that
my brain has blown while trying to get started with Tapestry fixed again...
Andreas Bulling wrote:
On 23. Apr 2006 - 16:00:12, Ted Steen wrote:
| Tapernate looks very promising, but there some solutions to choose from.
| H
Cool, thanks for the quick work.
I'll take a look at it.
MARK
James Carman wrote:
Okay. I've got the auto-wire thing working. It's in my tapernate-example
application. The source for it can be found here:
http://www.carmanconsulting.com/svn/public/tapernate-example/trunk/src/java/
com/carma
I agree, but I would add a way for manual wiring - in case the "auto"
part does the wrong thing for whatever reason.
James Carman wrote:
What we really need is the ability to "autowire" services into our
components/pages. Maybe we should set something up that does that? So, if
a page has a se
But by all means I didn't want to start another Hivemind vs. Spring flamewar
so please keep calm ;)
I haven't been on the list that long, so if there was one I missed it... ;-)
Anyway - no, I don't want to start that. I also don't want to suggest
that Spring is just plain better than Hive
It would be sweet.. :)
Thanks to HiveMind that should be possible, now I'm just waiting for
people (smarter than me) to do it (better than I could do it)
On 4/23/06, Andreas Bulling <[EMAIL PROTECTED]> wrote:
> On 23. Apr 2006 - 16:00:12, Ted Steen wrote:
> | Tapernate looks very promising, but t
On 23. Apr 2006 - 09:36:52, James Carman wrote:
| Well, Andreas, I hate to say it, but I am the man of your dreams! :-)
*lol
And I can tell you that it's very assuasive for me to know that this only
applies to the Hibernate/Tapestry/Hivemind complex *g
| I have already integrated the Spring trans
On 23. Apr 2006 - 16:00:12, Ted Steen wrote:
| Tapernate looks very promising, but there some solutions to choose from.
| Honeycomb, HiveMind Utilities and Tapernate (and howards ePluribus
| project) should merge in to one solution for this tapestry+hibernate
| problem.
Yes, that's what I meant in
Hi!
Is this something that will be a part of the HiveMind project in the
near future?
com.javaforge.hivemind.spring.hibernate3.HibernateService
Or is it just for Tapernate?
By the way, I think Tapernate looks very promising!
The E-Pluribus project Howard is working on at javaforge have some
clever
Tapernate looks very promising, but there some solutions to choose from.
Honeycomb, HiveMind Utilities and Tapernate (and howards ePluribus
project) should merge in to one solution for this tapestry+hibernate
problem.
On 4/22/06, James Carman <[EMAIL PROTECTED]> wrote:
> Oh, and all of that stuf
Well, Andreas, I hate to say it, but I am the man of your dreams! :-) I
have already integrated the Spring transaction/ORM support into HiveMind.
HiveTranse basically took a "grow your own" strategy, because the author
wasn't familiar with Spring (at least that's what I remember being one of
the r
One thing that HiveMind does that Spring does not is configurations. Spring
doesn't have the rich configuration facilities that HiveMind does. Don't
get me wrong. I love Spring. That's why I use the Spring transaction/ORM
stuff within HiveMind. To borrow a phrase from Howard, it's all just
"ob
If it's saying that it can't find a strategy for class Foo, then that means
that it's trying to "squeeze" it (if you wrote a class named Charmin, would
it say "I can't squeeze the Charmin"?). The reason it's trying to squeeze
it is because you're using the @For component ("it will automatically st
Spring may provide all of the things on my list of wishes already...
I don't know as I only tried to use it for several days and changed
to Hivemind as it's the tool Tapestry is build upon/uses and I don't
need most of Spring's stuff (at least not at the moment).
That's why I wrote that I dream of
I know that HiveMind is more than the web-frontend and that you can use
it through all the layers of your application. That's not what I meant
to say.
I probably should have said - and please note that I started this
sentence with "as far as I am concerned" - "Hivemind will only be used
for the
... or of course you can manually call Tapestry.fireObservedChange() at
the end of your listener...
Regards,
Norbi
Norbert Sándor wrote:
You CAN embed For in Form. Actually For supports Form more closely by
the "volatile" parameter.
"Could not find a strategy instance for class Foo.": maybe
You CAN embed For in Form. Actually For supports Form more closely by
the "volatile" parameter.
"Could not find a strategy instance for class Foo.": maybe your Foo is not
serializable, so it cannot be stored in the session? (And you haven't provided a custom
squeezer.)
Set, Map or other colle
43 matches
Mail list logo