Hi,
I have a scenario like below
Page A.tml
==
Now, in the above i have noticed the behaviour as below
1) I am able to catch the validate event in side MyComponent.java
2) I am able to catch , validate, validateform,success, failure, submit
events in PageA.java
3) No other event except
Can i inject (via @SessionState) SSO objects into services? I'm try
but value of field always null.
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
Hello Andrey,
Andrey Larionov schrieb am 14.10.2009 09:40:29:
> Can i inject (via @SessionState) SSO objects into services? I'm try
> but value of field always null.
@SessionState works only in page and component classes.
You can add the parameter "ApplicationStateManager asm" to the construct
Thanks. Obivious solution. i should be more attentive.
On Wed, Oct 14, 2009 at 11:53, wrote:
> Hello Andrey,
>
> Andrey Larionov schrieb am 14.10.2009 09:40:29:
>
>> Can i inject (via @SessionState) SSO objects into services? I'm try
>> but value of field always null.
>
> @SessionState works on
Hi
Actually you can only handle Validate event for the components declared in
'MyComponent'. During submission process each text field triggers an event
that can be handled by the parent components. In your case, if you have
field components inside 'MyComponent' you will be only allowed to handle
v
Thanks, I did and put the following in my pom.xml
org.chenillekit
chenillekit-project
1.2.0
then I got this from my eclipse console output
Missing artifact org.chenillekit:chenillekit-project:jar:1.2.0:compile
Maven Builder: AUTO_BUILD
other dependencies was running fine, what sh
I tried your dependency and got the same error. Change
"chenillekit-project" to "chenillekit-tapestry". The complete dependency
from my pom is:
org.chenillekit
chenillekit-tapestry
1.2.0
jboss
j
Hi,
If this ever gets published in English we will buy one copy for sure, so
plase :)
- Ville
Igor Drobiazko wrote:
>
> Not yet but I'll ask the publisher again.
>
> On Tue, Oct 13, 2009 at 9:02 PM, Borut Bolčina
> wrote:
>
>> Hi,
>>
>> any news on when the book will be available in En
Thanks Christophe.
You are right, the fact that process submission has validate event only,
makes it possible to only catch the validate event.
cordenier christophe wrote:
>
> Hi
> Actually you can only handle Validate event for the components declared in
> 'MyComponent'. During submission proc
Hi!
I'm working on a Tapestry 5.1 site that frequently gets hammered
by DDOS attacks. We recently talked about it in our team, and one
idea I'm currently investigating is to have a flag in our system
that I can turn on dynamically that would require all users to be
logged in.
So, real users would
On what kind of page do you want to interact? A Tapestry page or a simple
HTML page (which I think should be better when are under a DDOS attack) ?You
have a lot of places where you can interact, depending on the previous
question :-)
On Wed, Oct 14, 2009 at 2:08 PM, Mats Henricson wrote:
> Hi!
I'd do it with a RequestFilter.
Uli
Am 14.10.2009 14:08 schrieb Mats Henricson:
Hi!
I'm working on a Tapestry 5.1 site that frequently gets hammered
by DDOS attacks. We recently talked about it in our team, and one
idea I'm currently investigating is to have a flag in our system
that I can tur
Em Wed, 14 Oct 2009 09:08:35 -0300, Mats Henricson
escreveu:
Hi!
Hi!
So, what would you guys do? Is there a simpler solution? A filter?
I would use a ResquestFilter or a Dispatcher checking some service (that
would hold the underDDoS field) and redirecting to a given page when
neede
Sorry, did a mistake, correct reply is:
On what kind of page do you want to redirect? A Tapestry page or a simple
HTML page (which I think should be better when are under a DDOS attack) ?
You have a lot of places where you can interact, depending on the previous
question :-)
On Wed, Oct 14, 2009 a
A simple HTML probably seems like the best idea, or I could go
into an infinite loop. And even if there was no such loop, a
simple HTML would stand up best under a DDOS attack.
Mats
> Sorry, did a mistake, correct reply is:
> On what kind of page do you want to redirect? A Tapestry page or a simp
>> Hi!
>
> Hi!
Hi!
You Tapestry guys are slow today. It took a whopping 8 minutes to
get an answer... ;-)
>> So, what would you guys do? Is there a simpler solution? A filter?
>
> I would use a ResquestFilter or a Dispatcher checking some service (that
> would hold the underDDoS field) and red
Hi,
I am migrating the project from Tapestry 4 to Tapestry 5.
I had used ControlCheckBox controller in my project, where by selecting in
the header all the content data gets automatically selected. I am unable to
find the same in Tapestry5.
If anyone have come across any such requirement or com
Yes, it works perfectly!! Thanks everyone!!!
I tried your dependency and got the same error. Change
"chenillekit-project" to "chenillekit-tapestry". The complete dependency
from my pom is:
org.chenillekit
chenillekit-tapestry
1.2.0
Hi everyone.
I've been developing using Eclipse+Jetty and everything runs fine in
that environment. I decided I needed to test deployment, so I built
the WAR, fired up Geronimo (with Tomcat as the servlet engine, not
Jetty), and installed. When I hit the main page I get this error:
org.apache.t
Hello
What version of Tapestry are you using ? It reminds me a bug report on JIRA
that has been fixed.
Regards
Christophe.
2009/10/14 Michael Gentry
> Hi everyone.
>
> I've been developing using Eclipse+Jetty and everything runs fine in
> that environment. I decided I needed to test deployment
I found this also : https://issues.apache.org/jira/browse/TAP5-541
2009/10/14 cordenier christophe
> Hello
> What version of Tapestry are you using ? It reminds me a bug report on JIRA
> that has been fixed.
>
> Regards
> Christophe.
>
> 2009/10/14 Michael Gentry
>
> Hi everyone.
>>
>> I've bee
I'm using 5.1.0.5.
On Wed, Oct 14, 2009 at 10:51 AM, cordenier christophe
wrote:
> Hello
> What version of Tapestry are you using ? It reminds me a bug report on JIRA
> that has been fixed.
>
> Regards
> Christophe.
>
> 2009/10/14 Michael Gentry
>
>> Hi everyone.
>>
>> I've been developing usin
That bug report sure looks like what I'm encountering. I'll see if I
can figure it out.
Thanks!
On Wed, Oct 14, 2009 at 10:53 AM, cordenier christophe
wrote:
> I found this also : https://issues.apache.org/jira/browse/TAP5-541
>
> 2009/10/14 cordenier christophe
>
>> Hello
>> What version of
It looks like Geronimo has an older version of Woodstox:
./repository/woodstox/wstx-asl/3.2.1/wstx-asl-3.2.1.jar
Versus what my application packaged:
./repository/default/PWR/1255532550665/PWR-1255532550665.war/WEB-INF/lib/woodstox-core-asl-4.0.3.jar
I'm not sure if that is the real reason, bu
I created a bug (https://issues.apache.org/jira/browse/TAP5-892).
So when I use tapestry-spring-5.0.18 with Tapestry 5.1.0.5, it works fine.
Whatever the problem is, it seems to have been introduced in the new version of
tapestry-spring. Hopefully, this can get fixed soon. :)
---
Hi!
I have had some problems with T5 5.1.0.5 and tapestry-spring-security 2.1.0
and the logout behaviour.
After logging out, numerous java.lang.IllegalStateExceptions are thrown from
all over the place, due to @Persist and @SessionState objects that want's to
get stuffed back to the session.
I di
> Wouldn't the JAR in my lib supercede the one provided by the container?
The default classloader implementation (ie java.lang.Classloader) is to
attempt to resolve the class in the parent classloader before trying the
current classloader. Different containers provide different configuration
option
Em Wed, 14 Oct 2009 12:29:08 -0300, Olle Hallin
escreveu:
Hi!
Hi!
I have had some problems with T5 5.1.0.5 and tapestry-spring-security
2.1.0 and the logout behaviour.
After logging out, numerous java.lang.IllegalStateExceptions are thrown
from all over the place, due to @Persist and @
[If this question has been answered, please send me a link. I'm new to
Nabble, I couldn't find such an answer, I apologize if it's there.]
I'm new to T5. After much experimenting and Googling, I thought I'd try a
list.
I need a form with several submit buttons. It has to be a form, because
th
Perhaps a pretty ignorant question, but:
I have a searchresults-page with a zone-component which is updated through
an ajax call.
Another component lives within the zone-component and it's
setuprender-method is called.
In this method I need to access the 'searchresults-object' which is stored
Why don't you just give us your complete specs and let us do your work. For
free of course!
Uli
Am 14.10.2009 19:16 schrieb Lindsay Ridgeway:
[If this question has been answered, please send me a link. I'm new to
Nabble, I couldn't find such an answer, I apologize if it's there.]
I'm new to
Hi, Ulrich. Are you saying my request for assistance in understanding how to
submit from JavaScript was inappropriate?
I could have followed the approach of other posts I've seen on this list: I
could have copy/pasted all the false trails I've been down and all the
useless error messages I've go
http://catb.org/~esr/faqs/smart-questions.html
Am 14.10.2009 20:00 schrieb Lindsay Ridgeway:
Hi, Ulrich. Are you saying my request for assistance in understanding how to
submit from JavaScript was inappropriate?
I could have followed the approach of other posts I've seen on this list: I
could
Persisting some property doesn't prevent Tapestry from reusing a page. If Tapestry obtains a page
from the page pool and encounters a persisted property, it will set the value from whatever source
is specified as the persistence mechanism (flash and session come from the session, client from the
I'd also like to have multiple Java methods that receive control depending
on which submit button is clicked.
You can accomplish this with the Submit component, which fires an event of your
choice, e.g.
@Component(parameters = "event=buttonOneClicked")
private Submit buttonOne;
void onButtonO
Have you tried the following ?
http://lombok.demon.co.uk/tapestry5Demo/test/components/checkboxgroupdemo
Please go to http://lombok.demon.co.uk/tapestry5Demo/ for source code.
The following thread might be useful.
http://www.nabble.com/Have-a-Master-Checkbox-For-T5-Grid-Component-td24752416.ht
Em Wed, 14 Oct 2009 14:16:30 -0300, Lindsay Ridgeway
escreveu:
But in addition, each submit button is associated with a different
JavaScript function. Each JavaScript function enters into a particular
dialog in order to obtain some information. The JavaScript function
needs to store that
Hi, Martin. Thanks for your response. Unfortunately, I still feel lost.
(Let me say that I have programmed computers every day for over 40 years and
have spent the last three days totally immersed in Tapestry documentation
and a large existing Tapestry code base that doesn't happen to have an
e
Inspired by http://blog.bolkey.com/2009/06/tapestry-5-recursive-tree/, I
tried to develop a simple tree component that renders a tree of nodes as
nested ul/li lists. Always good to learn Tapestry behaviour.
I know that Tapestry doesn't support recursive components, but this can
be somewhat circumv
Em Wed, 14 Oct 2009 16:47:37 -0300, ross.efi escreveu:
Is there an equivalent expression in Tapestry5 to the following Tapestry4
OGNL expression:
ognl:@com.myexample.somedomainobj...@some_constant
Just use the OGNL binding provided by ChenilleKit. Or, better yet, create
a getter in your pag
Is there an equivalent expression in Tapestry5 to the following Tapestry4
OGNL expression:
ognl:@com.myexample.somedomainobj...@some_constant
or do I have to just expose it via a getter on the page class?
Seems like more code than necessary.
Ross
--
View this message in context:
http://www.n
It is more effective to use reverse proxy like nginx as a frontend.
And use it to cut ddos requests.
You will need to setup it with a rule like "if the request does not
contain auth cookie - send error.html ". May be more complex one
because this can be hijacked with a fake cookie.
Even more effe
May be this will help you:
http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/navigation/whatiscalledandwhen
On Sun, Oct 11, 2009 at 11:40 AM, Gunnar Eketrapp
wrote:
> Hi!
>
> I have been porting a web app to T5 for some weeks now and have some
> questions on how you folks do!
>
> I s
i'd also recommend Sergey's suggestion - it also frees up
app server resources/threads since the app server won't need to wait
for clients to get all the bytes of each response.
On Wed, Oct 14, 2009 at 11:03 PM, Sergey Didenko
wrote:
> It is more effective to use reverse proxy like nginx as a fro
Perhaps something like this?
Not tested at all but I suppose it ought to work.
in your template:
window.onload = function () {
alert('about to submit');
document.forms[0].firstChild.value = 'i just set the hidden value';
document.forms[0].submit();
};
in your cla
Martin Strand-4 wrote:
>
> Perhaps something like this?
Thanks for your reply, Martin. I appreciate the time you put into it.
I've continued experimenting on my own. Here's a generic version of what
I've come up with:
THE JAVASCRIPT
function extraStep() {
alert("ENTER extraStep");
On 15/10/2009, at 11:11 AM, Lindsay Ridgeway wrote:
* I'm still not clear when to use "t:" and when not to. For
example, could
I have used "form" instead of "t:form"? I don't know.
http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/lang/previewabletemplates
--
* Naturally I'd have preferred to use "t:hidden" rather than "t:textfield"
for the hidden field. Unfortunately, I get the error "Unable to resolve
'hidden' to a component class name."
I think Hidden was added in Tapestry 5.1 so if you're using 5.0 "hidden" won't
be an existing component.
*
Hi all,
I'm using T5.1.0.5. My goal is to get page response data and cache it for
future use.
One way to achieve that is in after render phase or clean up render phase.
My questions are
+ Are data at after render phase final?
I mean does T5 inject more data after that?
+ If I want to get response
To clarify further...
You have to use a Tapestry Form component, not a regular HTML form.
Otherwise there are important things you can't do:
- you can't use the Errors component to display the errors (eg.
). Tapestry depends on it being within a T5 Form.
- you can't refer to the Form in the p
I have the following t:grid defined in the file "AccountLog.tml":
. . .
${createdOn}
${stateDescription}
${updatedOn}
Action
Not really answering your question but if you want to cache entire pages I
would recommend using a caching proxy such as squid or varnish.
Of course it depends on your specific use case...
On Thu, 15 Oct 2009 04:11:20 +0200, iapilgrim wrote:
Hi all,
I'm using T5.1.0.5. My goal is to get pag
Hello everybody!
I'm a newbie for Tapestry5 and i want to try it. But i have some problems. I
hope everyone can help me. My OS is Fedora 10 and this is my doing list:
1./ Download and install JDK1.6 update 16 from http://java.sun.com
http://java.sun.com and set the enviroment variable JAVA_HOM
Hi !
Try ...
mvn archetype:generate
-DarchetypeCatalog=http://tapestry.formos.com/maven-repository
... instead.
Also see http://tapestry.formos.com/nightly/tapestry5/
Good luck and have fun!
/Gunnar Eketrapp
2009/10/15 vhtien
>
> Hello everybody!
>
> I'm a newbie for Tapestry5 and i want
Yea thanks!
I discovered the jumpstart app after this quuestion was raised and it's a
great source for T5 newbies.
It ought to be linked from the T5 site!
2009/10/14 Sergey Didenko
> May be this will help you:
>
> http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/navigation/whati
On Wed, Oct 14, 2009 at 10:23 PM, Gunnar Eketrapp
wrote:
> It ought to be linked from the T5 site!
Right there on the home page... http://tapestry.apache.org/
Kalle
> 2009/10/14 Sergey Didenko
>
>> May be this will help you:
>>
>> http://jumpstart.doublenegative.com.au:8080/jumpstart/examples
Hi everyone!
I'm very tired! I'm exhauted! I've try many solution but i do not write and
deploy a simple Tapestry5 project HelloWorld. I never pass the maven task,
just ERROR or FAILURE. I want to cry.
Someone show me how to do it step by step ??
My OSs is Fedora 10, my IDE is Eclipse 3.5. Th
Hi,
Please copy/paste your maven error stack trace. Add the "-e" parameter
before running the command to enable debug mode.
Thanx!
On Thu, Oct 15, 2009 at 7:59 AM, vhtien wrote:
>
> Hi everyone!
>
> I'm very tired! I'm exhauted! I've try many solution but i do not write and
> deploy a simple T
Hi!
I am porting an app that have some page specific CSS files.
I added these in the page class files as
@IncludeStylesheet
... annotations.
I also have a border component that includes the main CSS file.
My question now is how do I get the main CSS to be loaded before the page
specific
59 matches
Mail list logo