Re: More html:form TAG in one page for struts 1

2008-10-22 Thread Antonio
ion, but the same form bean can be associated to more than one action. Antonio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: R: More html:form TAG in one page for struts 1

2008-10-22 Thread Antonio
orm name (or "id") is translated into the name of the form bean, each action (of tag) is translated into a Struts action. This way, you can see that the two forms are completely independent, so Struts won't get confuse

Re: The Struts dispatcher cannot be found

2008-10-23 Thread Antonio
for this tag. - [unknown location] Maybe the last comment of this issue can help you: https://issues.apache.org/struts/browse/WW-2640 Antonio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: TAG embeded inside TAG struts 1

2008-10-23 Thread Antonio
2008/10/22 D'Ottavio Alessandro <[EMAIL PROTECTED]>: > name="readonlyproperties" property="myproperty"> /> You cannot nest tags in JSP, but you can use EL (if you are using at least Servlet 2.4): HTH Antonio

Re: R: TAG embeded inside TAG struts 1

2008-10-23 Thread Antonio
Il 23 ottobre 2008 15.54, D'Ottavio Alessandro <[EMAIL PROTECTED]> ha scritto: > I'm using struts 1.3.8 and JSTL 1.0.6 JSP 1.2 This is the problem, you need at least JSP 2.0 and Servlet 2.4 (and JSTL 1.1.x). What application server are

Re: R: R: TAG embeded inside TAG struts 1

2008-10-23 Thread Antonio
Il 23 ottobre 2008 16.18, D'Ottavio Alessandro <[EMAIL PROTECTED]> ha > That mean that with my Application Server version I can't set any attribute dynamically inside the STRUTS TAG? You have to use the EL version of Struts tags: http://struts.apache.org/1.3.8/struts-el/

Re: R: R: TAG embeded inside TAG struts 1

2008-10-23 Thread Antonio
y to use EL I will import only tags-html and not > tags-html-el Right, Struts EL is incompatible with JSP 2.0 Antonio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: different tiles definition depending on the package of the action mapping

2008-10-28 Thread Antonio
Definitely a wrong mailing list. Please ask the Tiles Users mailing list: http://tiles.apache.org/mail.html Antonio 2008/10/28 Stephan Schröder <[EMAIL PROTECTED]>: > > hi, > > my app has three packages public, sucurity (login,register,...) and private. > These packages c

Re: Struts 2 + Tiles 2

2008-10-30 Thread Antonio
2008/10/29 Carlos Curotto <[EMAIL PROTECTED]>: > javax.servlet.ServletException: Error including path > '/WEB-INF/layout/common.jsp'. org/apache/tiles/ListAttribute Please post the complete stacktrace. Antonio --

Re: sitemesh and frame

2008-11-03 Thread Antonio
2008/11/3 Hardik Shah <[EMAIL PROTECTED]>: > please help me Wrong place to ask a Sitemesh question, see: http://opensymphony.com/sitemesh/userForums.action Antonio - To unsubscribe, e-mail: [EMAIL PROTECTED] For a

Re: Struts Download Action - renaming download file

2008-11-05 Thread Antonio
ides only info about the content type and the input stream. Antonio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: struts 2 + java 1.4 + maven

2008-11-06 Thread Antonio
2008/11/6 Antonio <[EMAIL PROTECTED]>: > 2008/11/4 Andrei Ivanov <[EMAIL PROTECTED]>: >> I'm forced to use java 1.4 and I was very happy to see there are jars >> that work with it. >> The thing is I also want to use maven for managing dependencies and I >

Re: struts 2 + java 1.4 + maven

2008-11-06 Thread Antonio
ependent on the fact that Tiles publishes retrotranslated version of its packages with the "j4" classifier! Moreover, it could be possible that the software you are trying to depend on might not have published a retrotranslated version of the package. HTH Antonio -

Re: upgrading Eclipse problem with tiles

2008-11-06 Thread Antonio
tch > "(icon?,display-name?,description?,put*,putList*)" This is a DTD validation error. Probably your tiles.xml is not valid. Antonio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Struts 2 + Tiles 2

2008-11-12 Thread Antonio
2008/11/12 Carlos Curotto <[EMAIL PROTECTED]>: > > org.apache.tiles > tiles-jsp > 2.0.4 > I suggest to use version 2.0.6 Antonio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additi

Re: Tiles and Validate

2008-11-26 Thread Antonio
r, they are used in two different aspects of the application. Antonio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: struts data-source

2008-12-15 Thread Antonio
A layer. Or a simple JNDI call, configuring you data source in your container. Antonio - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: Oops... ignore the stupid job posting I just allowed through.

2008-12-16 Thread Antonio
2008/12/16 Dave Newton : > I hit the wrong button. I hope it wasn't red and big Antonio - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: [OT] EL expressions

2008-12-17 Thread Antonio
2008/12/17 Lorenzo Carnevale : > I don't understand why my EL expressions aren't being evaluated. > They are printed just like they in the source code ("${param}"). What servlet version is specified in web.xml? Antonio --

Re: call javascript from an action class

2008-12-18 Thread Antonio
2008/12/18 elyes sallem : > i'm not sure Yes he did - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: call javascript from an action class

2008-12-18 Thread Antonio
Java programs, not about displaying a popup via JavaScript into an HTML page, through the use of Action classes (or better, JSP or whatever presentation layer). Antonio - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org

Re: call javascript from an action class

2008-12-18 Thread Antonio
er invokes everything, the Javascript is rendered and executed and the popup magically appears. > have a nice day ... You too. Antonio - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additi

Re: Pls convert this code using struts2 tags

2008-12-23 Thread Antonio
Sorry to disturb, Nils, but it seems that you are writing to yourself, I cannot see any of the replies from taj, except of the first thread. Antonio 2008/12/23 Nils-Helge Garli Hegvik : > Yikeshow hard is it to read curly braces and numbers... Could > someone please sponsor me a pair

Re: Pls convert this code using struts2 tags

2008-12-23 Thread Antonio
other replies > were only addressed to me, but I tried taking the conversation back to > the list. Sorry if it's to noisy. All replies should be in the message > history. In fact I was thinking that taj was not writing to the mailing list but to you directly. Well... Get rea

Re: Tiles with Struts 2.1.5

2009-01-07 Thread Antonio
gether, stop complaining and start contributing. Ciao Antonio - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: Problem with multiple tiles-defs.xmls in struts

2009-01-12 Thread Antonio
2009/1/12 kondalrao N : > I am using struts1.3. What version of Struts 1.3 are you using? Antonio - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: [S2] Accept-language problem with tomcat/struts/tiles

2009-01-14 Thread Antonio
2009/1/14 Andreas Sachs : > i have a strange problem with tomcat/struts/tiles. I'm not sure which > component is responsible. >... > Environment: > Windows Vista > Tomcat 5.5 > Struts 2.0.14 Version of Tiles? Antonio --

Re: Tiles with Struts2 & Tomcat

2009-11-16 Thread Antonio Petrelli
you using? It might be an old bug. Antonio - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: Tiles with Struts2 & Tomcat

2009-11-16 Thread Antonio Petrelli
2009/11/16 Antonio Petrelli : > 2009/11/16 CRANFORD, CHRIS : >> >> Whenever Tomcat starts up it appears that the validation of the Tiles2 >> XML document is trying to be verified against the DTDs.  The 2.1 DTD is >> in the tiles JAR file.  I have tried to specify the

Re: (clearly O/T) use of ThreadLocal vs Synchronized

2009-11-21 Thread Antonio Petrelli
2009/11/21 Martin Gainty : > >  yes in all probability still at > > > pingback when you posted pics of "sunny and dry ga" when you get a chance Really? I like sun and dry ga. Do you like them? Antonio P.S.:

Re: (clearly O/T) use of ThreadLocal vs Synchronized

2009-11-22 Thread Antonio Petrelli
2009/11/21 Martin Gainty : > > Buona-sera Antonio > > ga is nice but i've heard italy has more sunny days > > is this true? Yes. By the way, what is ga? Antonio P.S.: Still not mad ;-) - To unsubscribe

Re: OT- Versioning in Struts

2010-01-05 Thread Antonio Petrelli
rk, but two different products, connected only by their name. Antonio - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: Beginner Query on Struts tiles

2010-01-05 Thread Antonio Petrelli
xternal resource. For questions about Tiles, please ask the Tiles Users mailing list: http://tiles.apache.org/mail.html Antonio - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: Struts2 Tiles: specify the part of template that is to be rendered

2010-01-17 Thread Antonio Petrelli
tuff >   >    only this section will be inserted >   >  other random stuff >   > > > I'm missing this, since I've played with wicket before > and now I'm wondering, if tiles2 allows this too. Short answer: no. For the long answer p

Re: Struts2 :Tiles request page without action class

2010-01-22 Thread Antonio Petrelli
when your app failed to load definitions. Do you see an exception at the start of your app? Where are Tiles definitions stored? How do you configure the StrutsTilesListener? Antonio - To unsubscribe, e-mail: user-unsubscr...@s

Re: Struts2 :Tiles request page without action class

2010-01-22 Thread Antonio Petrelli
are stored in tiles.xml and the xml is avilable at the classpath. It is not loaded, since, as mentioned above, the default file loaded is /WEB-INF/tiles.xml Antonio - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For

Re: Tiles2.2.1, Struts2.1.8.1, Spring2.5.6 ===> "UnresolvingLocaleDefinitionsFactory.java:102" ???

2010-01-29 Thread Antonio Petrelli
2010/1/28 Emi Lu : > I think both struts2 & Tiles2' official websites should highlight this in a > very prominent position! It's only a matter of Struts, Tiles is totally independent to Struts. Antonio - To

Re: Cannt connect Struts + Tiles with mysql

2010-02-25 Thread Antonio Petrelli
2010/2/25 abhishek jain : > I get the error message: Can't get definitions factory from context. > I know due to the datasource it cannot find the tiles defs file, but why? Because the application failed starting, probably. Check the log related to the start of your applicatio

Re: Cannt connect Struts + Tiles with mysql

2010-02-25 Thread Antonio Petrelli
t or missing library dependency. > java.lang.NoClassDefFoundError: org/apache/commons/pool/ObjectPool The error says it all, you need commons-pool: http://commons.apache.org/pool/ Antonio - To unsubscribe, e-mail: user-unsubscr...@st

Re: [Struts 2.1.8.1] Internationalizing Tiles ?

2010-03-21 Thread Antonio Petrelli
2010/3/21 Celinio Fernandes : > does anyone know how to internationalize Tiles ? http://tiles.apache.org/2.1/framework/tutorial/advanced/l10n.html Ciao Antonio - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org

Re: Confusing model with controller

2010-05-25 Thread Antonio Petrelli
rgument: the model exists *without* the need of any controller part, especially actions. Antonio - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: Confusing model with controller

2010-05-25 Thread Antonio Petrelli
And services, DAO, EJBs (if present) are part of the model too. Antonio - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: Confusing model with controller

2010-05-25 Thread Antonio Petrelli
yond getting/setting > properties and you may in fact have instances of "model" classes that live > (at least temporarily) outside the "model" domain. "business logic" methods are, in fact, part of the model. Let th

Page composition strategy

2010-06-22 Thread Antonio S.
. So, my questions are: 1. Can you recommend the best practice for page composition in Struts2? 2. Can I use Struts2 for implementing above mentioned strategies i. and ii.? How? Thanks for your time. Regards. Antonio. - To unsu

Type-specific application-scoped error messages for standard conversion

2010-07-07 Thread Antonio S.
Date... By the way, is is possible such an override of default converters for standard types? Thanks for your time. Antonio. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: internationalization via tiles definition files

2010-07-16 Thread Antonio Petrelli
Try to ask the Tiles Users mailing list: http://tiles.apache.org/mail.html Antonio 2010/7/16 Ryan Beckes : > Hello, > > I'm new to struts 2, so I read the "Starting Struts 2" book by Ian Roughley > (very good intro!) and started playing around with the Struts blank &

Setting Content-Length for monitoring response progress in user agent

2010-10-06 Thread Antonio Sánchez
n and the container? Should I avoid it and reject the idea of displaying the response progress? Thanks and regards. Antonio. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: u

Apidocs locally

2010-10-06 Thread Antonio Sánchez
complains: [INFO] Cannot execute mojo: resources. It requires a project with an existing pom.xml, but the build is not using one. Thanks. Antonio. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional c

Re: Tiles2 error with javax.portlet.PortletRequest not found

2010-10-08 Thread Antonio Petrelli
Please ask the Tiles users mailing list: http://tiles.apache.org/mail.html Antonio 2010/10/5 Jose Luis Martinez Avial : > Hello, >    I'm using Struts 2.1.8.1 with Tiles 2.1.4. I'm getting the following > error when I try to deploy the application in WL 10.3: > java.lan

Encoding in

2010-10-14 Thread Antonio Sánchez
tputs: "EspaÑa". And: "Content-Type: text/xml;charset=UTF-8" What am I doing wrong? Thanks. Antonio. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: Encoding in

2010-10-15 Thread Antonio Sánchez
> Escaping HTML. It doesn't work; same results. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: Encoding in

2010-10-15 Thread Antonio Sánchez
Testing a servlet that forwards to a simple JSP using standard JSP. request.setAttribute("myValue", "EspaÑa"); getServletContext().getRequestDispatcher("/myJSP.jsp").forward(request, response); --- <%= request.getAttribute("myValue") %> It works. Why is not encoding properly? Is it a b

Re: Encoding in

2010-10-15 Thread Antonio Sánchez
didn't think that scape also means encoding here. Even more, I'm outputting xml, not html, and escapeXml didn't work. Now I have one more question. Do I have to add escapeHtml attribute in all property tags? Can I set a default value of "false" for escapeHtml?

Re: SAMRALA?

2011-01-27 Thread Antonio Petrelli
2011/1/27 Martin Gainty : > > Good Morning Fellow Struts Geeks > > Anyone come across the term SAMRALA??? A bot deserves a very bot answer: http://lmgtfy.com/?q=samrala Antonio - To unsubscribe, e-mail: u

Re: SAMRALA?

2011-01-27 Thread Antonio Petrelli
a bot wandering in several mailing lists. The purpose of this behaviour is, however, obscure. Antonio - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: Strus2-tiles-plugin-2.2.1

2011-03-29 Thread Antonio Petrelli
configuration > loader > but that it's only with tiles no in combination with struts2-plugin. > Another reason that confirms that the plugin is not maintained. Spring MVC/Tiles integration is better. So my suggestion is to use the configuration via DEFINITIONS_CONFIG parameter. Antonio

Re: Any Cross Site Scripting(XSS) Vulnerabilities with Tiles 2.0.6

2011-08-08 Thread Antonio Petrelli
ease ask the Tiles users mailing list: http://tiles.apache.org/mail.html Antonio

Re: Struts is not recommended by Craig..

2012-02-12 Thread Antonio Petrelli
me I read from him he wrote that he was using Ruby on Rails. Antonio

Actions as welcome files

2013-05-31 Thread Antonio Sánchez
Hello. My name is Antonio, I'm beginning with Struts2 and this is my first post. Where should store struts.xml if I need to use an action as a welcome file? In example "Hello World" (maven): http://struts.apache.org/development/2.x/docs/hello-world-using-struts-2.html

Re: Actions as welcome files

2013-05-31 Thread Antonio Sánchez
Sorry, second link is this: http://struts.apache.org/development/2.x/docs/crud-demo-i.html El 31/05/13 20:17, Antonio Sánchez escribió: Hello. My name is Antonio, I'm beginning with Struts2 and this is my first post. Where should store struts.xml if I need to use an action as a welcome

Re: Actions as welcome files

2013-05-31 Thread Antonio Sánchez
;t work. A warning would help here. I think I will post this to JIRA. El 31/05/13 20:19, Paul Benedict escribió: It's not possible at the moment. It's a feature that I would like to have too. On Fri, May 31, 2013 at 1:17 PM, Antonio Sánchez wrote: Hello. My name is Antonio, I'

Re: Actions as welcome files

2013-06-03 Thread Antonio Sánchez
ernes, 31 de mayo de 2013 21:00:24 Lukasz Lenart escribió: > 2013/5/31 Antonio Sánchez : > > I have to move struts.xml (originally inside resources folder) inside > > maven > > 'main' folder to make it work and avoid > > > > HTTP 404 - There is no

Re: Best Advanced Struts2 Book

2013-06-21 Thread Antonio Sánchez
Books and more: http://struts.apache.org/development/2.x/docs/other-resources.html Perhaps MailReader example application: http://struts.apache.org/development/2.x/docs/tutorials.html El Viernes, 21 de junio de 2013 19:01:29 Sreekanth S. Nair escribió: > Can anyone suggest a best advanced Str

Blank Archetype i18n fails

2013-06-21 Thread Antonio Sánchez
ase let me know. Regards. Antonio. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Choosing locale from browser settings

2013-06-25 Thread Antonio Sánchez
Hello. I need to return content localized to the browser locale from the very first visit. I guess I need: 1. Detect browser locale. 2. Apply that locale in response and subsequent session. How can I do it? Thanks! Antonio

Re: Choosing locale from browser settings

2013-06-26 Thread Antonio Sánchez
.html > > An example: > http://www.mkyong.com/struts2/struts-2-i18n-or-localization-example/ > > On Tue, Jun 25, 2013 at 5:27 AM, Antonio Sánchez > > wrote: > > Hello. > > > > I need to return content localized to the browser locale from the very > > firs

Best practice for protecting JSPs

2013-07-01 Thread Antonio Sánchez
I need to protect JSPs. Some options: 1. Put JSPs under WEB-INF and, optionally, use the conventions plugin. 2. Declare authorization constraints in web.xml. 3. Use some external tool, perhaps Spring Security. 4. Some other options. Which is the best practice in Struts2? Thanks.

Re: Best practice for protecting JSPs

2013-07-01 Thread Antonio Sánchez
What do you mean with 'fake' auth. constraints? El Lunes, 1 de julio de 2013 10:38:56 Lukasz Lenart escribió: > 2013/7/1 Antonio Sánchez : > > I need to protect JSPs. Some options: > > > > 1. Put JSPs under WEB-INF and, optionally, use the conventions plugin. &g

Re: Best practice for protecting JSPs

2013-07-01 Thread Antonio Sánchez
mation about what kind of protection you > want to have Sent from BlackBerry® on Airtel > > -Original Message- > From: Antonio Sánchez > Date: Mon, 01 Jul 2013 10:24:15 > To: > Reply-To: "Struts Users Mailing List" > Subject: Best practice for pro

Re: Best practice for protecting JSPs

2013-07-01 Thread Antonio Sánchez
in web.xml ) > and if the resource uri ends with .jsp we return an http 403 error. > > Antonios > > On 1 July 2013 09:38, Lukasz Lenart wrote: > > 2013/7/1 Antonio Sánchez : > > > I need to protect JSPs. Some options: > > > > > > 1. Put JSP

Re: Best practice for protecting JSPs

2013-07-01 Thread Antonio Sánchez
Oh!, ok, thanks! El Lunes, 1 de julio de 2013 11:05:01 Lukasz Lenart escribió: > 2013/7/1 Antonio Sánchez : > > What do you mean with 'fake' auth. constraints? > > > No access > JSP > > *.jsp > > > no-jsp-access-possib;e > > > > > Regards

S2 custom authentication: remembering original request

2013-07-10 Thread Antonio Sánchez
Use Case: request some protected resource -> redirect action for authentication -> access protected resource. I'm using a custom interceptor that redirects (redirectAction) to a global result if no user object is found in session. The final action result then redirects to a login page. The i

Re: S2 custom authentication: remembering original request

2013-07-10 Thread Antonio Sánchez
not available How should I "forward" to actions? El Miércoles, 10 de julio de 2013 07:43:38 Dave Newton escribió: > Second question: because it's a redirect, hence a new request. > > Dave > On Jul 10, 2013 7:28 AM, "Antonio Sánchez" > > wrote:

Re: S2 custom authentication: remembering original request

2013-07-10 Thread Antonio Sánchez
am just learning Struts and exploring its capabilities. How would a Struts developer implement a use case like this? > > Sent from my Verizon Wireless BlackBerry > > -----Original Message- > From: Antonio Sánchez > Date: Wed, 10 Jul 2013 14:27:29 > To: Struts Users Ma

Re: S2 custom authentication: remembering original request

2013-07-10 Thread Antonio Sánchez
8 Dave Newton escribió: > > Second question: because it's a redirect, hence a new request. > > > > Dave > > On Jul 10, 2013 7:28 AM, "Antonio Sánchez" > > > > wrote: > > > Use Case: request some protected resource -> redirect action for >

Re: S2 custom authentication: remembering original request

2013-07-12 Thread Antonio Sánchez
want to do chaining: > > http://struts.apache.org/release/2.3.x/docs/action-chaining.html > > > > > > autenticar > > > > > > > > On Wed, Jul 10, 2013 at 10:00 AM, Antonio Sánchez > > wrote: > > > > > Can't forward even

Re: S2 custom authentication: remembering original request

2013-07-12 Thread Antonio Sánchez
requirement. El Miércoles, 10 de julio de 2013 10:07:36 Paul Benedict escribió: > Forwarding to another action means you want to do chaining: > http://struts.apache.org/release/2.3.x/docs/action-chaining.html > > > autenticar > > > > On Wed, Jul 10, 2013 at

Re: S2 custom authentication: remembering original request

2013-07-12 Thread Antonio Sánchez
El Viernes, 12 de julio de 2013 12:33:43 Antonios Gkogkakis escribió: > try > request.setAttribute("url",invocation.getInvocationContext().getName()) in > your interceptor. Same result. Even using "invocation.getProxy().getNamespace()". > > Antonios >

Re: S2 custom authentication: remembering original request

2013-07-12 Thread Antonio Sánchez
kakis escribió: > Have you added the Chaining interceptor ? > > Antonios > > > On 12 July 2013 12:41, Antonio Sánchez wrote: > > > El Viernes, 12 de julio de 2013 12:33:43 Antonios Gkogkakis escribió: > > > try > > > request.setAttribute("u

Re: S2 custom authentication: remembering original request

2013-07-12 Thread Antonio Sánchez
7; url parameter is blank and login is success then forward it > to the home page. > > > > > On Wed, Jul 10, 2013 at 5:57 PM, Antonio Sánchez > wrote: > > > Use Case: request some protected resource -> redirect action for > > authentication -> acces

Re: S2 custom authentication: remembering original request

2013-07-15 Thread Antonio Sánchez
l parameter is blank and login is success then forward it > > to the home page. > > > > > > > > > > On Wed, Jul 10, 2013 at 5:57 PM, Antonio Sánchez > > wrote: > > > > > Use Case: request some protected resource -> redirect action

Re: S2 custom authentication: remembering original request

2013-07-15 Thread Antonio Sánchez
nstance: select picture -> click upload -> authentication -> upload action. El Lunes, 15 de julio de 2013 10:29:26 Antonios Gkogkakis escribió: > Hi Antonio, > > You can't modify the parameter map from the Servlet request, but you can > pass the extra params from your first

Re: S2 custom authentication: remembering original request

2013-07-16 Thread Antonio Sánchez
El Martes, 16 de julio de 2013 09:16:12 Antonios Gkogkakis escribió: > Hi Antonio, > > I don't see anything different with the multipart requests, are you > experiencing issues? I'll try to test multipart requests and will let you know. I must first review file uploading.

Re: S2 custom authentication: remembering original request

2013-07-16 Thread Antonio Sánchez
ploading. I don't know how it works (uploading binary data), I must review first. > > Antonios > > > On 16 July 2013 09:51, Antonio Sánchez wrote: > > > El Martes, 16 de julio de 2013 09:16:12 Antonios Gkogkakis escribió: > > > Hi Antonio, > > &g

Re: S2 custom authentication: remembering original request

2013-07-16 Thread Antonio Sánchez
2013 09:16:12 +0100 > > Subject: Re: S2 custom authentication: remembering original request > > From: gkogk...@tcd.ie > > To: user@struts.apache.org > > > > Hi Antonio, > > > > I don't see anything different with the multipart requests, are you > > experienci

Fix typos in Upload Interceptor documentation

2013-07-18 Thread Antonio Sánchez
http://struts.apache.org/release/2.2.x/docs/file-upload-interceptor.html Example code in "Example Action class:" Remove "" typos. Regards. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e

Re: S2 custom authentication: remembering original request

2013-07-18 Thread Antonio Sánchez
d on where/when you extract the params from the original request > > Antonios > > > On 16 July 2013 09:51, Antonio Sánchez wrote: > > > El Martes, 16 de julio de 2013 09:16:12 Antonios Gkogkakis escribió: > > > Hi Antonio, > > > > > > I don'

HTML code not displaying in site documentation

2013-07-19 Thread Antonio Sánchez
I'm noting this since a few days ago, in many pages like; http://struts.apache.org/development/2.x/docs/message-resource-files.html http://struts.apache.org/release/2.3.x/docs/message-resource-files.html Javascript alert dialog: SyntaxHighlighter Can't find brush for: html ---

Re: HTML code not displaying in site documentation

2013-07-19 Thread Antonio Sánchez
El Viernes, 19 de julio de 2013 12:45:20 Lukasz Lenart escribió: > I made a change to the page and right now exporting it, please check > after some time. The original url will be updated with new release. > > [1] http://struts.apache.org/development/2.x/docs/message-resource-files.html At this m

Using Util class inside JSP

2013-07-23 Thread Antonio Sánchez
Hi. How can I use utilities classes inside JSPs? For instance, currently I'm using: for asking if user is in session, but I wan to use a Java method instead. One option is defining a basic Action class and make all action extend it, but in some cases I rather prefer something like: Util.i

Re: Using Util class inside JSP

2013-07-23 Thread Antonio Sánchez
s > > > > On Tue, Jul 23, 2013 at 7:27 AM, Antonio Sánchez > wrote: > > > Hi. > > > > How can I use utilities classes inside JSPs? > > > > For instance, currently I'm using: > > > > > > > > for asking if user is in sessio

Defining actions for i18n

2013-07-24 Thread Antonio Sánchez
Hello. I'm defining some actions with no logic, they only result in some JSP. Usually this is defined like this: /WEB-INF/jsp/Page.jsp But l10n is required, so I'm doing this: /WEB-INF/jsp/I18nedPage.jsp /WEB-INF

Re: Using Util class inside JSP

2013-07-24 Thread Antonio Sánchez
th arbitrary static method access. > > Personally, I wouldn't, and would instead defer things like that to a > custom tag or, as you said, a method in the base class, properly named, > allowing simple getter access without the parens. > > Dave > > > > On Tue, Ju

Re: Defining actions for i18n

2013-07-24 Thread Antonio Sánchez
I have both defined and . I need both because I'm using as a welcome action. In more complicated cases I can always define a 'localize' method. Thank you very much. El Miércoles, 24 de julio de 2013 15:10:36 Lukasz Lenart escribió: > > /WEB-INF/jsp/I18nedPage.jsp > > > This way sho

Changing locale for any current request

2013-07-25 Thread Antonio Sánchez
I will include a header in all pages that displays links for translating current page (at any moment) to different locales. Something like: ES | EN | IT These links will render current page (query, action... ) in the requested locale. How is this usually performed? I guess I must remember all

Re: Changing locale for any current request

2013-07-25 Thread Antonio Sánchez
_only_locale=en_US > your locale would not be stored in the session, it's just for this request > > > > On Thu, Jul 25, 2013 at 10:15 AM, Antonio Sánchez > wrote: > > I will include a header in all pages that displays links for translating > > current page (

Iterating constants in iterator tag

2013-07-29 Thread Antonio Sánchez
Given: Use it in: ... How to? Injecting with @Inject? Any direct access method from OGNL? Thanks. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.

Re: HTML code not displaying in site documentation

2013-07-30 Thread Antonio Sánchez
Also: http://struts.apache.org/development/2.x/docs/struts-control-tags.html El Viernes, 19 de julio de 2013 23:26:20 usted escribió: > El Viernes, 19 de julio de 2013 12:45:20 Lukasz Lenart escribió: > > I made a change to the page and right now exporting it, please check > > after some time. Th

Re: HTML code not displaying in site documentation

2013-07-30 Thread Antonio Sánchez
http://struts.apache.org/development/2.x/docs/processing-forms.html I believe all or almost all of getting started tutorial have the problem. El Martes, 30 de julio de 2013 11:30:56 Lukasz Lenart escribió: > Updating > > 2013/7/30 Antonio Sánchez : > > Als

Translating submit tag

2013-07-30 Thread Antonio Sánchez
I'm using: Trying to simplify: Displays a warning of unexpected exception ('enter' method not found) in JSP display, via . Is it possible to avoid evaluation expression for setting the text from resource bundle? Maybe excluding parameters? Any other method? Thanks.

  1   2   3   4   5   6   7   8   9   10   >