Hi all,
Currently I've got a couple of dialogs within a page. Each time a dialog
is shown or hidden (via @EventLister annotation) the page's
pageBeginRender method is called and this is more work than is necessary
just do display a simple dialog.
Is there a way to detect that the call is bei
wish Jesse to fix the bug in T5.
Jun Tsai
2007/6/26, Jesse Kuhnert <[EMAIL PROTECTED]>:
I don't know if this helps or not, but I got generics working in a very
limited way with 4.1.x in that I do all the type lookup work
manually...(this probably won't work for this use case but thought I'd
th
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:
Co
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 overrid
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 na
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 a
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
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
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:
...
...
...
Cheers,
Nick.
Erik Vullings wro
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
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 log
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, Eclips
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]
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 try to create sub compponent in T5 (5.0.5).
My template is :
Content
In myComponent2 class when i try to access to the Container :
@Inject
private ComponentResources componentResources;
componentResources.getContainer(), tapestry return to me my page and
no
Can't you set up multiple resource folders, some filtered, some not?
On 7/2/07, Steven Coco <[EMAIL PROTECTED]> wrote:
Hi.
Has there been discussion about the fact that Maven can filter resources,
located in src/main/resources, and if templates are placed there, then
Maven
may munge expansions
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
org.apache.tapestry.internal.services.Intern
Hi again,
During our login process, in
org.apache.tapestry.internal.services.InternalModule,buildCookieSource(), the
first time we load our page, _requestGlobals.getHTTPServletRequest() return
null, so _requestGlobals.getHTTPServletRequest().getCookies(); throw a NPE.
The second time eve
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 trouble!
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, e
Alejandro Scandroli a écrit :
Salut Cyrille
This trick has two parts:
1) the acegi configuration:
class="org.acegisecurity.ui.webapp.AuthenticationProcessingFilter">
ref="authenticationManager"/>
value="/Login.page?login_error=1"/>
value="/j_aceg
Salut Cyrille
This trick has two parts:
1) the acegi configuration:
The important property here is "authenticationFailureUrl", pay
attention to the added parameter "?login_error=1" after the login page
name.
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 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 t
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();
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 ur
Yes, I tried all of these and also applied @Persist to try on other
properties too.
ognl:session.title
ognl:page.title
ognl:page.components.title
ognl:headComponent.title
I am stuck...
?
_
http://imagine-windowslive.com/hotmail/?l
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!!
O
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..
title="ognl:page.components.headComponent.title"
stylesheet="ognl:assets.stylesheet">
Sorry folks if this does not belong in this group but I think it might.
I have the following:
div#header {
color: black;
clear: both;
padding: 0;
height: 94px;
margin: 5px 5px 5px 5px;
background: #fff url( images/header.jpg ) top left no-repeat;
Thanks...
I just have a little question...
I declared an id to a widget and trying to reference a property of that
widget further below in html.
Here is the code..
title="ognl:page.components.headComponent.title"
stylesheet="ognl:assets.stylesheet">
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.
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
-
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
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 loo
The actual images are defined within .css files
that are incorporated (at runtime) into the HTML files like so:
Jesse Kuhnert wrote:
Tapestry doesn't process your css files or the images it
referencesunless for some reason your relative context image path is
somehow setup to match an as
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
/application/
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
Hello,
I have the following problem. I have a servlet which should be in the same context as the tapestry application but it is
built with a different framework named wings.
Wings is using another framework named dwr. dwr is sending request like "GET
/application/dwr/engine.js".
Now I get the
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 provi
41 matches
Mail list logo