Quoting 9902468 <[EMAIL PROTECTED]>:
Is the hibernate service initialized at all? When Tapestry starts it lists
all known services, is Hibernate in that list?
- 99
It looks like it:
...
FieldValidationSupport: DEFINED
FieldValidatorDefaultSource: DEFINED
Check also that you have the mysql-connector-java-5.1.6.jar or similar in
your libraries.
I have the following list:
FieldValidatorSource: DEFINED
FormDAO: DEFINED
FormSupport: DEFINED
FreeMarkerService: DEFIN
Hi,
this is an almost great solution. Very elegant. It helps for all plain
pages. Thanks already.
But the dispatcher is not used in service method calls.
e.G. I have a service method that retreives an object from the
database that a user has uploaded before and it can be downloaded from
a
Ok, I have just checked. I have mysql-connector-java-5.1.5.jar in the
maven repository.
Code is:
-
package uk.bl.dlportal.pages.util;
import java.util.List;
import org.apache.tapestry5.ioc.annotations.Inject;
import org.hibernate.Criteria;
import org.h
its look like, that your Security class is only a helper class
and no page component.
in such classes the @Inject annotation doesnt work
2008/7/28 <[EMAIL PROTECTED]>
> Ok, I have just checked. I have mysql-connector-java-5.1.5.jar in the maven
> repository.
>
>
> Code is:
>
Yep, Injection works only in page and component classes that live the
ordinary Page or component lifecycle, and are requested from the web. :)
Move the session to a real page and have that util to take the session as
parameter, or even better move your logic to service that a page can use.
(Secur
Ok. Great gadzooks! Now I see. Thanks to you and Sven.
(I knew this was going to be obvious once pointed out!)
p.
Quoting 9902468 <[EMAIL PROTECTED]>:
Yep, Injection works only in page and component classes that live the
ordinary Page or component lifecycle, and are requested from the web.
I thought that this issue was overcome by later versions. Never done
So and it worked correctly for quite some time... . Can someone verify
That this issue is still valid?
Cheers,
Martin
PS: Renat thanks for the answer, I will give it a try! :-)
-Ursprüngliche Nachricht-
Von: Renat Zub
Hi,
if I have an abstract superclass of a page that has the abstract
definition of onActivate() defined
public abstract SuperClass {
public abstract void onActivate(E value);
}
and a subclass
public SubClass Extends SuperClass {
public void onActivate (Bar value) {
System.o
Hi,
Does anyone know some good beginners walkthrough or tutorial about creating
enterprise applications with tapestry.
Or if anyone has some good advice.
I tried by my self with Tapestry 4.15, EJB and Netbeans 6.0 with glassfish
container. When I try to run application I got "META-INF/tapestry.in
Em Mon, 28 Jul 2008 10:33:46 -0300, Moritz Gmelin <[EMAIL PROTECTED]>
escreveu:
public abstract SuperClass {
public abstract void onActivate(E value);
}
public SubClass Extends SuperClass {
public void onActivate (Bar value) {
System.out.println ("Here i am " + value);
}
T
Hi,
As far as I know it's very difficult - if not impossible - for Tapestry
to support generics in method parameters because of the way generics are
implemented in Java (type erasure).
-Filip
On 2008-07-28 15:44, Thiago H. de Paula Figueiredo wrote:
Em Mon, 28 Jul 2008 10:33:46 -0300, Moritz
Hi,
I need to HttpSession id. When I call request.getSession(false) I get
back a org.apache.tapestry5.services.Session impl called
org.apache.tapestry5.internal.services.SessionImpl. This class delegates
to an HttpSession instance. But there is no way of getting the actual
HttpSession or a delegat
Em Mon, 28 Jul 2008 13:13:21 -0300, Filip S. Adamsen <[EMAIL PROTECTED]>
escreveu:
As far as I know it's very difficult - if not impossible - for Tapestry
to support generics in method parameters because of the way generics are
implemented in Java (type erasure).
Not every type informatio
If anyone has experience using T5 with red5, I'm all ears (eyes
rather). Anyone?
Steve
On Jul 23, 2008, at 4:05 PM, Antonio wrote:
Sounds great !
First of all i´m going to learn more about this framework.
The questions would be here in the near future ... :-D
Many thanks again & good lu
Hi Russel,
Have a look at
http://wiki.apache.org/tapestry/Tapestry5ObtainingHttpServletRequest
Toby
- Original Message
From: Russell Brown <[EMAIL PROTECTED]>
To: Tapestry users
Sent: Monday, 28 July, 2008 12:17:25 PM
Subject: T5: HttpSession id. How to get it?
Hi,
I need to HttpSe
Is there a problem with simply including it it like so (in your tml).
With this in the page class:
@Property
private String yahooMin = "http://yui.yahooapis.com/2.5.2/build/yahoo/yahoo-min.js
";
etc.?
On Jul 24, 2008, at 5:42 AM, Russell Brown wrote:
Hi,
I'm wondering if I can inject as
It seems that tapestry5-acegi only works with an
DaoAuthenticationProvider. I say this because if no UserDetailsService
implementation is provided an error is thrown at startup.
So, any ideas how i can use tapestry5-acegi with an
LdapAuthenticationProvider ?
Thanks.
I went looking for the best way to do this, and didn't find anything I
like. Certainly, avoiding static fields is a step in the right
direction.
I'm going to quickly implement
https://issues.apache.org/jira/browse/TAPESTRY-2540
Once you have the Registry, you have the keys to the castle!
On Fri
Cross-site request forgeries (CSRF) is a web application vulnerability
that is often neglected by web developers. If your application is
vulnerable to CSRF and an attacker can entice you to request some URL
(this can be done for example with an image with the src set to some
Tapestry action) the at
hi,
I read from tutorial where to put start.tml file.
/myapps.war/start.tml
in .war file.
But i must but all .tml file into /myapps.war/start.tml location.
I tried also to but login.java and login.tml in same directory, but this
dosent work.
Argo
A good way would be to alter the Form object to contain (via a hidden
variable) a field that's generated per the whitepaper linked from that
wikipedia article. The form would then consume the post, and if that
field is not in the expected state, generate an error state, which
could then be
Hi Christian,
Do you have some example code of you Form extension?
Thanks,
Martijn
On Mon, 2008-07-28 at 15:18 -0400, Christian Edward Gruber wrote:
> A good way would be to alter the Form object to contain (via a hidden
> variable) a field that's generated per the whitepaper linked from that
Personally, I like a combination of the InMemoryDaoimpl to provide the
UserDetailsService (great for development and admin accounts) and then LDAP.
Here's a modified extract from an AppModule file - I've clumped together
things that could be separated, but you get the idea. This uses
bind-authen
I wonder if this could be created as a Mixin?
Also, the internal LinkFactory service has listeners that know when an
action link is created; it might be possible to automatically add a
query parameter to every link with authentication, and then provided
filters in the ComponentEventRequestHandler
On Mon, Jul 28, 2008 at 12:08 PM, Argo Vilberg <[EMAIL PROTECTED]> wrote:
> hi,
>
> I read from tutorial where to put start.tml file.
> /myapps.war/start.tml
> in .war file.
>
> But i must but all .tml file into /myapps.war/start.tml location.
>
> I tried also to but login.java and login.tml in sa
Thanks,
I'll look into that and write my findings (if I succeed ;-) on the WIKI.
Martijn
On Mon, 2008-07-28 at 12:27 -0700, Howard Lewis Ship wrote:
> I wonder if this could be created as a Mixin?
>
> Also, the internal LinkFactory service has listeners that know when an
> action link is create
Here's a question. I'm still struggling with getting Tapestry to do
the right encoding when producing output, and to set the response
encoding to the correct value before reading query parameters.
There's lots of edge cases, related to Ajax, to form uploads, and to
complex components, such as Bea
Em Mon, 28 Jul 2008 21:17:11 -0300, Howard Lewis Ship <[EMAIL PROTECTED]>
escreveu:
What if there was just a single default application character set,
which would default to UTF-8?
This is not a nice option. Web applications that need accented characters
(most Latin languages), but don't n
Hi Everyone,
Thanks to everyone on this list for their continuing support on Tapestry
technical issues. Hopefully you all can help me land some new Tapestry work
too. :-) Here's a little about me:
I have over 11 years of experience in client/server and distributed systems
- including 4 recent ye
Filip S. Adamsen wrote:
Hi,
As far as I know it's very difficult - if not impossible - for
Tapestry to support generics in method parameters because of the way
generics are implemented in Java (type erasure).
A lot of type information is still available through reflection.
Assuming concrete
31 matches
Mail list logo