Hmm, the question is, how important it is to inject Tapestry IOC services
into Spring beans compared to just being able to use the Spring beans as
usual.
I would think the latter option is much less effort overall. If I want to
inject something into a spring bean I have to define it as a bean and
Oops, the last line survived the editing. It should have been deleted.
Jonathan,
On Fri, 2 Jan 2009, Jonathan Barker wrote:
Search the list for the Jumpstart application. It has been kept right
up to date with the latest release of T5. I think you will find it has
many good examples. (Also, search the Wiki for titles with "Tapestry5".
It's not all up to date,
One use of injecting Tapestry services into Spring beans would be to take
advantage of Spring's transaction management. Or convenience features for
setting up a Quartz scheduler. Or making Tapestry services available via JMS
or SOAP or whatever. Spring does have a rich feature set.
Some service
Kevin,
Almost three years ago, I climbed learning curves for T4 (and Hivemind),
Spring, Acegi, and Hibernate simultaneously. It was... challenging.
Make sure you really need ManyToMany with Hibernate. Often, two OneToMany
relationships will suffice.
Take your time with Hibernate. See how the
I hope you're starting to see, this is a bigger than "backward
compatibility". This is totally scrapping a huge piece of
functionality. Exposing tapestry services as beans it totally new and
different from exposing my spring beans within tapestry. They serve
totally different purposes, needs
You can return a URL no problem. The trick is to generate a proper
URL even when behind a firewall.
On Fri, Jan 2, 2009 at 9:51 AM, Jonathan O'Connor wrote:
> Hi,
> it must be too much Christmas cheer, but I am not sure how to jump to a
> non-Tapestry URL in the same web app.
>
> A little backgr
Howard,
I tried the following:
HttpServletRequest req = getRequest();
String page = "http://"; + req.getLocalAddr() + ":8080/" +
req.getContextPath() + "/myStrutsPage.jsp";
return new URL(page);
But, that returned http://127.0.0.1:8080/myApp/myStrutsPage.jsp
Howard,
yes, as I suspected, when I return a URL with http://localhost:8080 etc,
the jump to the struts page works. Unfortunately, the HttpServletRequest
object doesn't know the port (it thinks it's -1), and the localAddr is
the ip address as a number, not a symbolic address, and the remote
ad
Kevin,
I'm a believer in Samson and Delilah. Cutting your hair is making you
weak! As a chess player, I never play chess the week after I get a
haircut, as I just loose. Also, Garry Kasparov, former world champion,
used to say that the brain worked better if it was 1 degree warmer than
the res
Hello,
I'm using a bean edit form with the select object component (taken from
Tapestry Wiki http://wiki.apache.org/tapestry/Tapestry5SelectObject).
Because the class of the method returning the object for the bean edit form
is an abstract
11 matches
Mail list logo