Hi,
I can not make Tiles work with the 2.0.5, and I have the same problem with
the Showcase app bundled with this version. It is exactly the same log :
"org.apache.jasper.JasperException: /common/layoutTemplate.jsp(8,9) Aucun
tag attribute dans la librairie de tag importée avec le préfixe tiles"
Hi Dave
I finally found quite the same solution (but without the interface control)
, and it works great.
Thank you for your answer.
Sebastien
On 2/9/07, Dave Newton <[EMAIL PROTECTED]> wrote:
--- Sébastien LABEY <[EMAIL PROTECTED]> wrote:
> I would like to forward some
Hi all,
I've already asked for this problem, but I did not have any answer, I think
my explanation was not very clear...
I have an interceptor that makes some controls and in the case these
controls are not OK, the interceptor redirects to a special action. I would
like to forward some values fro
Hi all experts,
I've the following problem : I have an Interceptor whose goal is to check if
the user is logged and do some controls. If the user is not logged, the
Interceptor returns to the login page, and after having logged-in the user
may be redirect to the action he asked before the Interce
th a simple user management system; S2 is one of its many
mvc options
even if you don't use appfuse it is a good source to pick up ideas about
how
to setup all the layers
HTH
Sébastien LABEY wrote:
>
> Hi all (sorry for the previous unterminated mail),
>
> I would like to know if S2 p
r photos. In our implementation, we
kept the database queries and always retrived the business object, but
then compared the business objects' user to the user logged in (and
throw an Exception if they are not equal).
HTH,
Thorsten
> -Original Message-
> From: Sébastien LABEY [mail
tores the user object
into the session. In all subsequent requests, you can check the user
object in the session to determine which user did log in. This works for
S1, but I'd think that it's the same in S2.
Cheers,
Thorsten
> -Original Message-
> From: Sébastien LABEY [mailto:[EMA
Hi all (sorry for the previous unterminated mail),
I would like to know if S2 provides a solution to manage user
authentication.
I also would like to know if someone could lead me to best practice for user
creation / authentication to a web application. I'm worried about security
after the user h
Hi all,
I would like to know if S2 provides a solution to manage user
authentication.
I also would like to know if someone could lead me to best practice for user
creation / authentication to a web application. I'm worried about security
after the user has logged in, because of the parameters tha
Dave Newton <[EMAIL PROTECTED]> wrote:
From: Sébastien LABEY [mailto:[EMAIL PROTECTED]
> I know that getParameters().get("myParamater") returns an array of
> objects,
> but isn't it supposed to return not only String[], but arrays of
> Objects
> dependin
type (Integer
vs String)...
Am I wrong?
On 1/4/07, Dave Newton <[EMAIL PROTECTED]> wrote:
From: Sébastien LABEY [mailto:[EMAIL PROTECTED]
> [...] when I use getParameters().get("id"), I receive a String[]...
"getParameters" is plural; it r
Hi all,
I've experienced something that I think strange, but I would like to know if
it is a normal behavior.
I'm using Struts 2.0.1 with the default interceptors configuration.
I have a generic Action that implements ParametersAware (and
ServletRequestAware and SessionAware) and I have the gette
to load their data on startup.
Don
On 12/13/06, Sébastien LABEY <[EMAIL PROTECTED]> wrote:
> Thank you Don,
>
> In fact, I don't want to have the name of my properties file to be hard
> coded... So I thought about the "key initialization parameters" that
allowed
&g
te a file, say,
WEB-INF/classes/db.properties, then load it in your Java code via:
Properties props = new Properties();
props.load(this.getClass
().getClassLoader().getResourceAsStream("/db.properties");
and away you go...
Don
On 12/13/06, Sébastien LABEY <[EMAIL PROTECTED]> wrote:
>
Hi all,
I'd like to load a file containing the parameters to connect to DB at the
application startup. In the S2 documentation I read about the "key
initialization parameters" (http://struts.apache.org/2.x/docs/webxml.html)
and so I add the 2 lines to my web.xml like this :
action2
is not in the request (ex. select "fr" when my
request_locale is now "en"), Firefox opens a new tab. But when I select the
link for the locale that is already in the request (ex. select "fr" when my
request_locale is now "fr") this works fine and the page is
Hi Kim,
No, sorry, no resolution to this :-(
I'm waiting for an answer. I hope David will have a solution soon...
If ever you find something to help, could you post it?
Thanks.
Sebastien
On 11/27/06, Kim <[EMAIL PROTECTED]> wrote:
>
> On 11/22/06, Sébastien LABEY
Sorry :
java.lang.NoClassDefFoundError: org/apache/tiles/TilesContext...
On 11/22/06, Sébastien LABEY <[EMAIL PROTECTED]> wrote:
David,
I downloaded the struts2-core-2.0.2-SNAPSHOT-20061122.jar and the
tiles-core-2.0-SNAPSHOT-20061122.jar as you told me in your previous mail,
but it d
the Tiles listener in the web.xml, Tomcat starts, my
webapp works, but when I ask for a page build with tiles, I have a
ClassDefNotFoundException on the TilesContext class...
Maybe this can help you to help me ;-)
Sebastien
On 11/22/06, Sébastien LABEY <[EMAIL PROTECTED]> wrote:
Hi David
po/m2-snapshot-repository/org/apache/struts/tiles/tiles-core/
Let me know if you need more info.
David
Sébastien LABEY wrote:
> Hi all,
>
> I've been trying for the past 2 days to configure Struts2 to work with
> tiles. In the Struts 2.0.1 release, I found the jar to deal wit
Hi all,
I've been trying for the past 2 days to configure Struts2 to work with
tiles. In the Struts 2.0.1 release, I found the jar to deal with tiles that
was not included in the Struts2.0.0-SNAPSHOT release (
struts2-tiles-plugin-2.0.1.jar), but in the end I can't resolve this error
that is laun
ou tell me where I can find it?
Thank you very much.
Sebastien
On 11/15/06, Wendy Smoak <[EMAIL PROTECTED]> wrote:
On 11/15/06, Sébastien LABEY <[EMAIL PROTECTED]> wrote:
> I don't understand how to configure Tiles2 (with Struts 2.0.0).
> I have downloaded a tile
Hi all,
I don't understand how to configure Tiles2 (with Struts 2.0.0).
I have downloaded a tiles-core-2.0-SNAPSHOT.jar in
http://people.apache.org/maven-snapshot-repository/org/apache/struts/tiles/tiles-core/2.0-SNAPSHOT/and
put it in my /WEB-INF/lib directory (maybe, I should have renamed it
to
Hi all,
I need to display and submit a form with 3 levels of indexed properties. The
3 indexed properties are not constant in size. I have a form with a
MyObject1[] array with getters and setters for indexed properties. MyObject1
object has a List of MyObject2 objects and MyObject2 has a List of
fluence/display/WW/Execute+and+Wait+Interceptor
HTH, Ted.
* http://www.husted.com/struts/
On 10/13/06, Sébastien LABEY <[EMAIL PROTECTED]> wrote:
> Hi,
> Is it always possible with Struts2 to manage the Token manually with
> saveToken(), resetToken().. ? I'm trying to upgrade fro
Hi,
Is it always possible with Struts2 to manage the Token manually with
saveToken(), resetToken().. ? I'm trying to upgrade from Struts1.2.8 to
Struts2.0, and I would like not to modify all the existing (and working)
code...
I've seen there is a TokenTag to put a token (into request I suppose) an
OK I'm a little surprised because so many parameters are defined with
constants, but I will do it with "location".
Thanks
On 10/11/06, Don Brown <[EMAIL PROTECTED]> wrote:
I don't believe there is a constant for the "location" string; just
use "locati
10/11/06, Dave Newton <[EMAIL PROTECTED]> wrote:
From: Sébastien LABEY [mailto:[EMAIL PROTECTED]
> I was used to specify a scope (request or session) for in the action
> configuration in struts-config.xml with struts1.x, and I used it to know
> where to store some parameters.
My unders
Hi,
I was used to specify a scope (request or session) for in the action
configuration in struts-config.xml with struts1.x, and I used it to know
where to store some parameters. So my struts-config.xml was like this :
But I can't find the "scope" attribute in the DTD fo
Hi,
I would like to read the parameters of a ResultConfig. But I can't find the
constant for the parameter "location"... Someone could guide me?
Thanks.
Sebastien
uot;?
Thanks.
Sebastien
On 10/10/06, Dave Newton <[EMAIL PROTECTED]> wrote:
> From: Sébastien LABEY [mailto:[EMAIL PROTECTED]
> But with Struts 2, I cannot find how to build these
> ActionErrors / ActionError...
ActionSupport exposes getFieldErrors for access to the field-speci
Hi,
I was using Struts 1.x before and I was used to generate ActionErrors (that
contains ActionError) from the errors returned by my 3rd party side (my own
framework to access DB). But with Struts 2, I cannot find how to build these
ActionErrors / ActionError... what are now the class to deal with
32 matches
Mail list logo