http://tapestry.1045711.n5.nabble.com/file/n3410456/web.xml web.xml
Hi,
I have attached web.xml.
Thanks
Raj jaiswal
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Exception-starting-filter-test-tp3407524p3410456.html
Sent from the Tapestry - User mailing list archive at N
The typos are intentional so that HTML is not rendered when i post. Was in a
hurry, sorry about that.
Managed to get passed by using: ${myValueHere} directly in tml ( as you
suggested ).
Thanks all for the replies,
Bogdan.
--
View this message in context:
http://tapestry.1045711.n5.nabble.c
2nd try to get through spam filter...
Perhaps the text editor you are using for editing your property files and
templates is not character code aware, for instance old versions of Notepad.
If you are using Eclipse for editing these files it may be set to auto-detect
the character encoding, and
> We want to handle exceptions in a centralized way
My first approach would be to see how Tapestry already does it. In
TapestryModule there is a RequestFilter configured:
configuration.addInstance("ErrorFilter", RequestErrorFilter.class);
One approach would be to add your own filter to c
> But when I change the data in the submit event like
> "onSelectedFromMoveUpButton". the sorting is overwritten by the form
> submission values.
How is it getting overwritten? How are you doing the ordering? What
you've described could work, here is a really simple example:
The Component class:
But, for example, access control errors are very common across the
application, so having a common place to handle them appears to be
reasonable. Is there another way to centralize aspects like commons error
handlings (access control, objects not found, requests without the expected
context paramet
On Fri, 04 Mar 2011 14:40:54 -0300, rektide
wrote:
At present, I'm trying to build a MethodAdvice implementation that
modifies the behavior of a PerThread Scope'd service.
The fact that your service has perthread scope shouldn't change anything.
The MethodAdvice needs access to the public
My approach would be not to throw exceptions all the time. The exception
handler is only used for fatal stuff, I don't throw stuff there by design.
--
View this message in context:
http://tapestry-users.832.n2.nabble.com/Centralize-error-handling-tp6089256p6089399.html
Sent from the Tapestry User
Hello everyone. I'm new here, so let me just say hello. I'm rektide, I've
been using
Tapestry 5.1 since July 2010. Been mostly great, with the main caveat being
trying to
figure out how to coax my app into having enough context when I run Ajax
requests. The
component model is awesome, the IO
On Fri, Mar 4, 2011 at 1:49 AM, Magnus Kvalheim wrote:
> This post is mostly related to tapestry-security, but I hope it's ok to post
> here in tapestry mailing list (now that Kalle is a committer and all.. :) )
> So I finally decided to implement tapestry-security. Had a few bumps in the
> road,
Have you checked if the jvm property file.encoding is set to iso88591 in
both systems ?
On Fri, Mar 4, 2011 at 14:52, Ivano Luberti wrote:
> Hello I have a question I believe is not strictly Tapestry related.
>
> I'm developing a web site using T 4.1.6
> My dev environment is Eclipse 3.5 + Tomca
We want to handle exceptions in a centralized way, so in a Page or Component
we just throw an exception and "someone" handles that exception and shows
the error message accordingly. For this, we override RequestExceptionHandler
to show custom error messages depending on the type of error.
The prob
You don't need multiple pages for it, you can just do it all in one
page if you don't mind some ajax (no scripting needed).
ProgressiveDisplay is ideal for this
(http://tapestry.apache.org/current/tapestry-core/ref/org/apache/tapestry5/corelib/components/ProgressiveDisplay.html).
Kalle
On Fri, M
On Fri, 04 Mar 2011 11:57:05 -0300, Stephan Windmüller
wrote:
Of course. I have a page like this
---
---
The userlist is my component. It contains an editable list of users.
Now I want to add buttons for actions like "move up" or "delete". When
the surrounding form is subm
On 04.03.2011 13:57, Thiago H. de Paula Figueiredo wrote:
>> But the component itself does not contain a form. Is it possible to call
>> methods during submission of this component without triggering it using
>> the outside page? For example, onSuccess is not called in the component
>> because it
Hello I have a question I believe is not strictly Tapestry related.
I'm developing a web site using T 4.1.6
My dev environment is Eclipse 3.5 + Tomcat 5.5 on Windows Vista where
everything works fine (I know I know...).
Instead when I deploy the website on another machine, characters loaded
from
One hacky way of doing it is with onValidateFromXXX. Before the actual value
is copied over from a field to the java object, this method is called. Not
to be confused with onValidateForm.
--
View this message in context:
http://tapestry-users.832.n2.nabble.com/Handling-form-events-inside-componen
On Fri, 04 Mar 2011 08:03:06 -0300, Stephan Windmüller
wrote:
Hi!
Hi!
I defined a component which consists of several form elements and is
used inside a form.
HTML doesn't allow nested forms.
But the component itself does not contain a form. Is it possible to call
methods during submi
Use a meta refresh (it'll probably have to be in the tag somehow). Or
javascript, to hit the same url.
@Inject
private ComponentResources componentResources;
@OnEvent("calculate")
ResultPage calculate() { }
public String getCalculateUrl()
{
return componentResources.createEventLink("calcul
On Fri, 04 Mar 2011 08:38:44 -0300, Nikola Milikic
wrote:
Hi to all,
Hi!
I'm a newbie to Tapestry and would be grateful for a small assistance.
Welcome to hte mailing list!
Since in my Tapestry 5.2 application I'm doing some calculations which
can take up to 30 seconds, I wanted to i
Can you send to us your web.xml .
Emmanuel
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Exception-starting-filter-test-tp3407524p3409390.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
On Fri, 04 Mar 2011 06:11:59 -0300, Dany wrote:
Hi,
Hi!
This works an data don´t blood in requester but at the you have to
controll in your code. We follow this pattern because our application is
complex and we have to make component, following 3 layers (with EJB
(business logic) + hib
If I understand your question
yourFirstPage.java
@Inject
private myCalculatePage mySecondPage;
void onClickFromMyButton(){
//Call a method to set all the parameters needed for the next page
mySecondPage.setParam(...);
return mySecondPage;
}
yourCalculatePage.java
@Inject
private myResultP
Great, I hope I'll get the opportunity to try it out!
2011/3/4 Kalle Korhonen
> 0.0.1 version of tynamo-federatedaccounts with Facebook Oauth is now
> released! Additional openID & Oauth providers to follow. More at
> http://tynamo.org/tynamo-federatedaccounts+guide. The following blog
> entry a
Hi to all,
I'm a newbie to Tapestry and would be grateful for a small assistance.
Since in my Tapestry 5.2 application I'm doing some calculations which can
take up to 30 seconds, I wanted to implement when a user clicks on a button
e.g. 'Calculate' to be transferred to a separate page on which t
Hi!
I defined a component which consists of several form elements and is
used inside a form.
But the component itself does not contain a form. Is it possible to call
methods during submission of this component without triggering it using
the outside page? For example, onSuccess is not called in t
Hi,
This post is mostly related to tapestry-security, but I hope it's ok to post
here in tapestry mailing list (now that Kalle is a committer and all.. :) )
So I finally decided to implement tapestry-security. Had a few bumps in the
road, as I will come back to, but all in all I must say it's bee
Hi,
Ok i provide you an example. Our objective is to build small component like
personal data, address etc... This small components are included in a Page.
Page will controller the validation for all components and general events.
For example:Page Tml
>
>
>
>
>
Page POJ
28 matches
Mail list logo