just remove the InjectService annotation from your service
method and try it again :)
Martin Grotzke [EMAIL PROTECTED]
02.07.2007 16:50
Bitte antworten an
Tapestry users users@tapestry.apache.org
An
Tapestry users users@tapestry.apache.org
Kopie
Thema
Re: Antwort: RE: T5 Decoupling a
Hi!
I just tried to switch over to Tapestry 4.1.2 and use the EventListeners
and AJAX functionality. However, as soon as i add an EventListener to
any page-class file i get the following log output:
02.07.2007 15:46:00 org.apache.tapestry.asset.AssetService service
WARNUNG: Classpath resource
On Tue, 2007-07-03 at 08:27 +0200, Kristian Marinkovic wrote:
just remove the InjectService annotation from your service
method and try it again :)
Cool, really easy :)
Thanx a lot,
cheers,
Martin
Martin Grotzke
[EMAIL PROTECTED]
02.07.2007 16:50
Bitte antworten an
AFAICS that would be:
Errors.properties:
default-banner=You must correct the following errors before you may continue.
ValidationMessages.properties:
required=You must provide a value for %s.
minimum-string-length=You must provide at least %d characters for %s.
maximum-string-length=You may
Thanks Jesse,
I've changed it to
@EventListener(targets = {myButton}, events = onclick, async =
true, autoSubmit = false)
public void showMyDialog()
and the same exception is thrown. Any more info?
Paul.
Jesse Kuhnert wrote:
Components implementing IFormComponent that are targeted
Which servlet/filter handles which request is configured in web.xml.
Apparently, yours is set up in a way that a request which should go to
the WingS-Servlet is handled by the Tapestry filter, although it
shouldn't be.
Check the filter-mapping for the TapestryFilter, does it include
The actual images are defined within .css files
that are incorporated (at runtime) into the HTML files like so:
link rel=stylesheet type=text/css
href=/ref/asset.svc?digest=d48075819ceb9ef581572e3ed592649bamp;path=%2Fcss%2Fpage.css
link rel=stylesheet type=text/css
Jesse,
Thanks, but I'm sad to say that there are no other error messages to
go on.
However, dojo was patched in April for an almost identical problem:
http://trac.dojotoolkit.org/ticket/2723 - PopupContainer load
error within a cross-domain IFRAME
Would you be able to have a quick
I find a meta annotation in tapestry5.but i didn't to inject the meta.
thanks
jun tsai
--
Welcome to China Java Users Group(CNJUG).
http://cnjug.dev.java.net
I find use ComponentResource to get the meta value;
@Inject
private ComponentResources componentResources;
componentResources.getComponentModel().getMeta(key);
2007/7/3, Jun Tsai [EMAIL PROTECTED]:
I find a meta annotation in tapestry5.but i didn't to inject the meta.
thanks
jun tsai
--
Hello Everybody,
I am new to T5, can anyone point me to some tutorial on T5 that I can
download, I know there is documentation online but I don't have regular
internet access for the moment. I downloaded a PDF file sometime ago
(t5-tutorial.pdf) but its incomplete, chapter 3 is missing.
Ken nashua a écrit :
I declared an id to a widget and trying to reference a property of
that widget further below in html.
Here is the code..
html jwcid=[EMAIL PROTECTED]
title=ognl:page.components.headComponent.title
stylesheet=ognl:assets.stylesheet
body jwcid=@Body
div id=page
Ken,
At this point, you would benefit more by going through some CSS
tutorials. (I don't know of any useful CSS forums). There, you will
probably be exposed to even more neat things you can do. You can
search Digg for CSS and you should be able to find some good tutorial
sites.
Good luck!!
Hello,
After many mails on that list and many read on the web I get something
running (Tap4.1.2, Spring2, Hibernate3, Acegi, Json-Rpc).
Ouf !
I would like to make only one page for Login and LoginFailed but I could
not find how the Login page can know that it is coming back from the
ACEGI
Here is a sample working login...
Best I can provide at this point.
public abstract class LoginPage extends BasePage {
private static final Log LOG = LogFactory.getLog(LoginPage.class);
public abstract String getUsername();
public abstract String getPassword();
Hi,
We would like to use Acegi with tapestry 5, but we see a NPE (we put Acegi
filter before Tapestry 5 filter (for security reason).
If someone has successfully integrated Aceji with T5, can he send us his
web.xml ? We would like to see how filters are defined.
You will find bellow
Ken nashua a écrit :
Here is a sample working login...
Best I can provide at this point.
public abstract class LoginPage extends BasePage {
private static final Log LOG = LogFactory.getLog(LoginPage.class);
public abstract String getUsername();
public abstract String
Salut Cyrille
This trick has two parts:
1) the acegi configuration:
bean id=authenticationProcessingFilter
class=org.acegisecurity.ui.webapp.AuthenticationProcessingFilter
property name=authenticationManager
ref=authenticationManager/
Alejandro Scandroli a écrit :
Salut Cyrille
This trick has two parts:
1) the acegi configuration:
bean id=authenticationProcessingFilter
class=org.acegisecurity.ui.webapp.AuthenticationProcessingFilter
property name=authenticationManager
ref=authenticationManager/
Hello,
1. Is it possible to run more than one T5 applications per servlet context?
2. Is it possible to override a service (like in Hivemind)?
Thanks:
Norbi
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Yeap, you are absolutely right Jesse, the unit test succeeds. Must have had
the wrong snapshot version in the classpath. However, a more complex case
still fails in latest 2.7.1, opened
http://jira.opensymphony.com/browse/OGNL-105 for it with a unit test to show
the problem (sorry for the
Sébastien,
Perhaps it would not help (Im' so beginer) : perhaps pages are loaded
before a HttpRequest exists, just the time for Tapestry to add some code
decoration.
cyrille
Deleuze Sébastien a écrit :
Hi again,
During our login process, in
Hi,
I try to create sub compponent in T5 (5.0.5).
My template is :
div t:type=myComponent1
div t:type=myCompopnent2
h1Content/h1
/div
/div
In myComponent2 class when i try to access to the Container :
@Inject
private ComponentResources componentResources;
does anyone can give me a little example of using tapestry 5 and EJB 3 ?
thnx u
dwi ardi irawan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
does anyone can give me a little example of using tapestry 5 and EJB 3 ?
thnx u
dwi ardi irawan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
I spent a lot of time for discovering the Java World. After used Php,
C++ and C# for years, this new learning adventure need a lot of energy.
But today Tapestry make my feel really Happy !
Yesterday I started a fresh project with Tapestry 4.1.2, Acegi,
Hibernate3, Spring2, Tomcat6,
Thanks Petros, your example is one of a few I've been working with.
My main issue now is where to assign the principal to an ASO, so I
don't have to look it up in the security context all the time.
This is a normal/proper thing to do, right? In my previous non-Acegi
applications where a user
I just want to ask one question, but why not T5?
I just try Tap too, and I do straight coding in T5 (to my opinion, because
it is the latest, and it should be the only choice)
Is the current T5 can not do the same ?
Thank you in advance!
2007/7/4, #Cyrille37# [EMAIL PROTECTED]:
Hi,
I spent a
Yess!!!
That was very helpful crowd!
Thank you very much!
2007/7/3, Nick Westgate [EMAIL PROTECTED]:
Another option is to use the negate parameter.
Then you only need the one logic method,
and you can have the if's wherever you want:
t:if test=ifSummaryActive
...
/t:if
...
t:if
The tutorial is now online:
http://tapestry.apache.org/tapestry5/tutorial1/
Cheers,
Nick.
Olasoji Ajayi wrote:
Hello Everybody,
I am new to T5, can anyone point me to some tutorial on T5 that I can
download, I know there is documentation online but I don't have regular
internet access
There is T5 tutorial (HTML) on the T5 site, you didn't found it?
http://tapestry.apache.org/tapestry5/tutorial1/
在 Tue, 03 Jul 2007 16:01:09 +0800,Olasoji Ajayi [EMAIL PROTECTED] 写道:
Hello Everybody,
I am new to T5, can anyone point me to some tutorial on T5 that I can
download, I know
Dear community,
I use jetty as the mean to achieve hot development in Maven.
And it works very fine.
But, when I try to package it into WAR and have it deployed to Tomcat, it
doesn't works.
And when I try to understand what happen, I realize that in the WAR there
are required JAR missing.
Such
All components declared in a template or class for a component/page are
embedded components. They all share the same parent component/page
which is returned by getContainer() as you've seen.
This is completely separate from the DOM hierarchy that T5 builds as it
renders. In that case you can
Norbert Sándor wrote:
Hello,
1. Is it possible to run more than one T5 applications per servlet context?
Search for the thread T5: web.xml - multiple applications?
2. Is it possible to override a service (like in Hivemind)?
Search for the thread T5 IOC questions mid June.
You override
Should I log this in Jira Jesse?
Paul Stanton wrote:
Thanks Jesse,
I've changed it to
@EventListener(targets = {myButton}, events = onclick, async =
true, autoSubmit = false)
public void showMyDialog()
and the same exception is thrown. Any more info?
Paul.
Jesse Kuhnert wrote:
35 matches
Mail list logo