Just wanted to share how I hooked up T5 with my domain model.
I'm using jpa for persistence, so the thing I needed was injection of
the EntityManager into the objects providing access to my top level
domain objects.
And for just that simple IoC, Spring is way too overkill. Guice on the
other hand w
This is because with parentheses ognl starts looking for a method and
not for a property.
See:
http://www.ognl.org/2.6.9/Documentation/html/LanguageGuide/index.html
for more info.
--
"Water, taken in moderation, cannot hurt anybody."
-- Mark Twain --
-Oorspronkelijk bericht-
V
Thanks for the quick reply.
I resolved it by adding a .jar with only the manifest file as library in
eclipse.
I have an m2 project setup with inheritance where all code (and then
with manifest file) is built into jars anyway which are then included in
the war. So for the integration and test serve
dear all,
I have method named getImageAsset in the java class.
and I have this code in HTML template file:
when I run the application, there was error saying
"java.lang.NoSuchMethodException imageAsset(java.lang.String)".
why does tapestry search for method named imageAsset in the java class,
Every request is a page redirect in T5. Check the URLs in the browser
as you work through the application.
On 4/11/07, Weisu <[EMAIL PROTECTED]> wrote:
Thanks everyone. In T4, you can throw redirect-exception, don't think there
is one in T5.
Peter Schröder-2 wrote:
>
> dont know exactly, but
Thanks everyone. In T4, you can throw redirect-exception, don't think there
is one in T5.
Peter Schröder-2 wrote:
>
> dont know exactly, but i think you have to throw a redirect-exception
> while you are not using some listener method.
> but that might be T4 way to do it.
>
> i like this state
It's actually going to change a bit such that the Spring beans will be
more first-class citizens within T5 IoC. I'll have to relax T5 IoC a
bit, to allow for beans that aren't proxied and don't have a specific
service interface.
On 4/11/07, Massimo Lusetti <[EMAIL PROTECTED]> wrote:
On 4/11/07,
On 4/11/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
integrations also need to be nailed down. Right now, I'm busy with
clients (alas, using T4) and various speaking engagements (NFJS,
JavaOne) so T5 progress has slowed back down for a bit.
Rember you promised AJAX for JavaOne :)
BTW Spr
By now , as already mentioned several times , javascript support in tap 5
is not yet fully implemented.
Till then , the way to go is using OutputRaw (i think.. ) for dinamic
javascript and adding JS file links for static jsvascript.
For dinamic javascript it will be changed probably but can't sa
If i read this, you're dumping the body of the script into the page via a
OutputRaw. (I can't see the actual content of the code on the java side w/o
decompiling the class file, right?) I'm also thinking that this isn't quite
5.0.3 since u'r using t:type="OutputRaw" rather than the OutputRaw t
You might want to use this datepicker component
http://code.google.com/p/tapestry5-jscalendar/
And you can also look into it for an example of how to include javascript.
Cheers ,
Alex
On 4/11/07, Daniel Drasin <[EMAIL PROTECTED]> wrote:
Can anyone point me to an example or how-to for includi
Can anyone point me to an example or how-to for including/using javascription
in T5.0.3? (like i want to drop a datepicker in...)
Thanks in advance,
Dan
Daniel Drasin
[EMAIL PROTECTED] 8612 Long Meadow Ct
(c) 614 330 7795Columbia, MD 21045
(c)
Sure in my copious free time :-)
I have every expectation of writing a book, but I need to get the code
to settle down first, and the Ajax features and Spring/Hibernate
integrations also need to be nailed down. Right now, I'm busy with
clients (alas, using T4) and various speaking engagements (N
Sorry to bring this up again, but I was too quick with my positive
feedback, although it IS better than before ;). There are still problems
which the workaround doesn't catch:
Unable to process client request: Unable to parse OGNL expression '
value || !okOnly': Unable to add method java.lang.Obje
Yes , with javascript :
You have a sample in the integration tests -> BlockDemo
Cheers ,
Alex
On 4/11/07, Bruce Petro <[EMAIL PROTECTED]> wrote:
Is there a way to cause a select (drop down) action of selecting a value
to send an event back to the java side?
Is there a way to cause a select (drop down) action of selecting a value
to send an event back to the java side?
Well I tried to do the following:
@Component(id="deleteButton", type="DirectLink", bindings={
"parameters=ognl:currCase",
"renderer=bean:buttonRenderer",
"listener=listener:deleteCaseListener",
"onclick=ognl:confirmC
Servlet class loaders do not look for META-INF/Manifest.mf inside the WAR.
I believe you could place it WEB-INF/classes/META-INF/Manifest.mf.
From what you describe, I'm not sure that the manifest file is showing
up in the right place.
I would not rely on the manifest approach for a web appli
When you click the browser back button, the page that is displayed
often comes from the browser cache. T5 does not yet have the ability
to set the response headers that prevent the browser from caching
pages.
On 4/10/07, Weisu <[EMAIL PROTECTED]> wrote:
Hi,
I have a login page, when user login
Ok, I'm doing something wrong here.
I'm working on a T5 project where I have a T5 module. I made a
manifest file which is in the META-INF folder that is in the classpath
(m2 resource folder, that is added as a source folder under eclipse).
I'm running jettylauncher to test the project, but the mod
Howard,
Do you plan to launch a new book of tapestry (Tapestry in Action, 2nd
edition?) about Tapestry 5? New version of framework, new way to work, a new
framework, so, that will be nice if you write a new version of your book to
us
Hi,
Currenty I'm using tapestry 3.0.4. I have a problem with the tree component.
If the tree contains a small amount of data, it works fine. But if the amount
is to big (asume 1 root and 200 child) then no events are fired, so I can't
expand it.
Is there any solution?
Sujith
---
I am having some trouble getting using EventListener with the
InlineEditBox
in my source I have the following
@EventListener(targets="flightNumber" , events = "onSave")
public void processFlightNumberEdit() {
Master master = getMasterDao().find(getMasterId());
master.setFlight
Thanks
--
View this message in context:
http://www.nabble.com/Page-property-initialization-in-T4-for-both-newly-created-page-and-page-activated-from-pool-tf3558213.html#a9935941
Sent from the Tapestry - User mailing list archive at Nabble.com.
--
Hi Howard,
I do really appreciate T5. It's quite impressive right now and expect
it to be the definitive framework when completed.
for now I have a remark. Page http://tapestry.apache.org/tapestry5/
tapestry-core/guide/localization.html includes a strange translation
of "Welcome Back" :
yeah, i'm thinking that would be good too :o)
Does that mean it's fixed in the next snapshot ?
On 4/10/07, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
"oops"
Guess I need to run the ognl unit tests in 1.4 occasionally...
On 4/10/07, Hugo Palma <[EMAIL PROTECTED]> wrote:
> I'm asking because
dont know exactly, but i think you have to throw a redirect-exception while you
are not using some listener method.
but that might be T4 way to do it.
i like this statement:
if (!_user.isLogin()== true)
very creative!
-Ursprüngliche Nachricht-
Von: Weisu [mailto:[EMAIL
27 matches
Mail list logo