Re: Parameter problem with names using '[' and ']'

2013-05-09 Thread Lukasz Lenart
Hi Chris, Have you tried to use 2.3.14? For some reasons 2.3.12 was a bit impaired ;-) Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2013/5/9 CRANFORD, CHRIS chris.cranf...@setech.com: Up until 2.3.12, we've used forms that contained parameter names that used '[' and ']' and

Re: OGNL Exception after upgrading from 2.3.4 to 2.3.14

2013-05-09 Thread Lukasz Lenart
Thanks Chris! There was a security release between - 2.3.4.1 - have you tried it? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2013/5/8 CRANFORD, CHRIS chris.cranf...@setech.com: After some final digging, this appears to only surface in devMode=true on builds 2.3.12 and

Re: Parameter problem with names using '[' and ']'

2013-05-16 Thread Lukasz Lenart
Wireless BlackBerry -Original Message- From: Lukasz Lenart lukaszlen...@apache.org Date: Fri, 10 May 2013 06:42:55 To: Struts Users Mailing Listuser@struts.apache.org Reply-To: Struts Users Mailing List user@struts.apache.org Subject: Re: Parameter problem with names using '[' and ']' Hi

Re: OGNL Exception after upgrading from 2.3.4 to 2.3.14

2013-05-16 Thread Lukasz Lenart
-Original Message- From: Lukasz Lenart lukaszlen...@apache.org Date: Fri, 10 May 2013 06:51:52 To: Struts Users Mailing Listuser@struts.apache.org Reply-To: Struts Users Mailing List user@struts.apache.org Subject: Re: OGNL Exception after upgrading from 2.3.4 to 2.3.14 Thanks Chris

Re: interceptor init twice

2013-05-16 Thread Lukasz Lenart
Maybe your problem is related to: https://issues.apache.org/jira/browse/WW-3870 Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2013/5/9 Steven Yang kenshin...@gmail.com: thanks good to know i am not being forgotten :) On Thu, May 9, 2013 at 12:51 PM, Lukasz Lenart lukaszlen

Re: interceptor init twice

2013-05-16 Thread Lukasz Lenart
I have been looking into that and I am sure that's the problem, could you register an issue with JIRA? Thanks in advance -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2013/5/16 Lukasz Lenart lukaszlen...@apache.org: Maybe your problem is related to: https://issues.apache.org/jira

Re: interceptor init twice

2013-05-16 Thread Lukasz Lenart
Fix is ready, I just need a JIRA task :-) 2013/5/16 Lukasz Lenart lukaszlen...@apache.org: I have been looking into that and I am sure that's the problem, could you register an issue with JIRA? Thanks in advance -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2013/5/16 Lukasz

Re: interceptor init twice

2013-05-17 Thread Lukasz Lenart
Committed, please check with the latest snapshot. Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2013/5/17 Steven Yang kenshin...@gmail.com: Wow that's fast here it is https://issues.apache.org/jira/browse/WW-4067 thanks On Fri, May 17, 2013 at 3:42 AM, Lukasz Lenart

Re: How to process HTTP HEAD requests?

2013-05-18 Thread Lukasz Lenart
2013/5/18 Paul Benedict pbened...@apache.org: In one particular action, I need to handle HTTP HEAD requests. Is this possible using Struts 2? What must I customize if it doesn't work out of the box? Check this out [1] or maybe Struts filter just do the job ;-) If not, please request an

[ANN] Struts 2.3.14.1 GA (fast track | security)

2013-05-23 Thread Lukasz Lenart
The Apache Struts group is pleased to announce that Struts 2.3.14.1 is available as a General Availability release. The GA designation is our highest quality grade. Apache Struts 2 is an elegant, extensible framework for creating enterprise-ready Java web applications. The framework is designed

Re: S2 Validation XML + Bootstrap

2013-05-23 Thread Lukasz Lenart
Have you tried validate=true in s:form/ ? It should work, maybe just add s:actionerror/ Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2013/5/23 Frans Thamura fr...@meruvian.org: Hi All anyone have idea how to implement validation xml inside s2 (serverside), and link with

Re: Custom error message per converter

2013-05-23 Thread Lukasz Lenart
Could you show source code of your DateConverter? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2013/5/23 Alfredo Manuel Osorio Martinez alfredo.oso...@afirme.com: Hello, Is it possible to configure a custom error message per converter? For example I have this in my

Re: Custom error message per converter

2013-05-23 Thread Lukasz Lenart
) public String convertToString(Map context, Object o) { if (o instanceof Date) { SimpleDateFormat sdf = new SimpleDateFormat(MM/dd/); return sdf.format((Date)o); } return ; } } -Mensaje original- De: Lukasz Lenart

Re: Actions as welcome files

2013-05-31 Thread Lukasz Lenart
2013/5/31 Antonio Sánchez inganto...@gmail.com: 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 Action mapped for namespace [/] and action name [] associated with context path

Re: maven artifacts

2013-06-04 Thread Lukasz Lenart
2013/6/4 Antonios Gkogkakis gkogk...@tcd.ie: Hi all, version 2.3.14.3 is not available in maven repo and actually I can't find at the release pages either http://struts.apache.org/download.cgi#struts23143 Is under Vote and should be released today. Regards -- Łukasz + 48 606 323 122

Re: maven artifacts

2013-06-04 Thread Lukasz Lenart
2013/6/4 Antonios Gkogkakis gkogk...@tcd.ie: Thanks guys, I'd also note that last version on maven repo is 2.3.14. All versions are available http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22org.apache.struts%22%20AND%20a%3A%22struts2-core%22 Regards -- Łukasz + 48 606 323 122

Re: maven artifacts

2013-06-04 Thread Lukasz Lenart
2013/6/4 Antonios Gkogkakis gkogk...@tcd.ie: Sorry Lukasz, I was actually checking http://mvnrepository.com/artifact/org.apache.struts/struts2-parent and not maven central :) No problem, Central is our target ;-) Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/

[ANN] Struts 2.3.14.3 GA (fast-track) release available

2013-06-04 Thread Lukasz Lenart
The Apache Struts group is pleased to announce that Struts 2.3.14.3 is available as a General Availability release. The GA designation is our highest quality grade. Apache Struts 2 is an elegant, extensible framework for creating enterprise-ready Java web applications. The framework is designed

Re: Access result name from JSP

2013-06-10 Thread Lukasz Lenart
2013/6/10 JOSE L MARTINEZ-AVIAL jlm...@gmail.com: Hi, I have an action where all the possible results show the initial screen. I do that by using a * result action name=DoPublishDocument class= xxx.yyy.zzz.PublishDocument interceptor-ref name=my-stack

Re: Access result name from JSP

2013-06-10 Thread Lukasz Lenart
2013/6/11 JOSE L MARTINEZ-AVIAL jlm...@gmail.com: Actually, what I want is to get the result name returned by the action, not the action name. Is there a simple way I can access the result from the JSP? Hm... I think the same, but the interceptor must be the last one in chain - as other

Re: Restful2ActionMapper tests

2013-06-14 Thread Lukasz Lenart
You mean to add section about testing? Maybe it would better to show sample code with sample unittest, could you post something like that here? Thanks in advance! -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2013/6/14 Antonios Gkogkakis gkogk...@tcd.ie: Hi all, I've made a

Re: Restful2ActionMapper tests

2013-06-17 Thread Lukasz Lenart
= MovieAction.class.cast(proxy.getAction()); proxy.setExecuteResult(false); String result = proxy.execute(); //assertions ... assertEquals(1, movieAction.getId()); } } Thanks, Antonios On 14 June 2013 12:36, Lukasz Lenart lukaszlen...@apache.org wrote

Re: s:action tag showing result

2013-06-20 Thread Lukasz Lenart
Have you tried to use the previous versions? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2013/6/20 Felipe Lorenz felipe.lor...@idealogic.com.br: Hi all, I have been using struts quite a long time, but in the last days I have faced a strange behaviour of s:action tag. In

Re: Struts2 Exception Handling

2013-06-21 Thread Lukasz Lenart
2013/6/21 Sreekanth S. Nair sreekanth.n...@egovernments.org: Hi, Can anyone point me a tutorial or reference for how to handle exception (uncaught or all exception). There are so many tutorial available online but all are different.

Re: Struts2 Exception Handling

2013-06-21 Thread Lukasz Lenart
please tell me how to do it. -- Thanks Regards Srikanth Software Developer eGovernments Foundations www.egovernments.org Mob : 9980078913 On Fri, Jun 21, 2013 at 11:50 AM, Lukasz Lenart lukaszlen...@apache.orgwrote

Re: Struts2 Exception Handling

2013-06-21 Thread Lukasz Lenart
not using exceptionStack in my custom error page) -- Thanks Regards Srikanth Software Developer eGovernments Foundations www.egovernments.org Mob : 9980078913 On Fri, Jun 21, 2013 at 12:14 PM, Lukasz Lenart lukaszlen

Re: s:action tag showing result

2013-06-21 Thread Lukasz Lenart
Could you try with the latest (almost released) version 2.3.15? I was checking locally with struts2-blank app and everything works, but maybe my setup is a bit different. If so I will need an example app (maven based the best). Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/

Re: s:action tag showing result

2013-06-21 Thread Lukasz Lenart
that using executeResult = false should be respected. Att, Felipe Lorenz Gerente de Projetos Idealogic Software Fone: (51) 3715 5523 - (51) 3715 5548 www.idealogic.com.br Em 21/06/2013, às 10:15, Lukasz Lenart escreveu: Could you try with the latest (almost released) version 2.3.15

Re: Blank Archetype i18n fails

2013-06-22 Thread Lukasz Lenart
2013/6/21 Antonio Sánchez juntandolin...@gmail.com: Also blank application example. My default locale is es_ES . Clicking on English still returns Spanish text. Renaming package.properties to package_en.properties makes it work. I'm not sure if this is the right place to report

Re: s:action tag showing result

2013-06-22 Thread Lukasz Lenart
) 3715 5548 www.idealogic.com.br Em 21/06/2013, às 10:47, Lukasz Lenart escreveu: I have tested with struts2-blank and it works - I mean, executeResult is respected (as in 2.3.15). You can test that by simple removing all result definitions from struts.xml for that action. 2013/6/21 Felipe

Re: s:action tag showing result

2013-06-22 Thread Lukasz Lenart
2013/6/22 Litman, Bruno blit...@alabamainteractive.org: We are also experiencing issues with tags and theme files, we are upgrading many applications from 2.3.4.1 to 2.3.14.3 I am not sure if this is related - if not and if I need to start a new discussion please let me know and accept my

[ANN] Struts 2.3.15 GA release available

2013-06-24 Thread Lukasz Lenart
The Apache Struts group is pleased to announce that Struts 2.3.15 is available as a General Availability release. The GA designation is our highest quality grade. Apache Struts 2 is an elegant, extensible framework for creating enterprise-ready Java web applications. The framework is designed to

Re: Struts2 with Jersey

2013-06-26 Thread Lukasz Lenart
Struts2 doesn't support JAX-RS spec, so you cannot mix those two. If you annotated your action as a JAX-RS bean, Jersey will take control over, Struts2 won't be engaged Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2013/6/25 lily vch...@gmail.com: Have anybody tried with using

Re: Struts 2.3.14.3 seems to drop .action from the generated form action

2013-06-26 Thread Lukasz Lenart
Hi Bruno, You already mentioned that, right now I don't have any solution and this looks like a bug. As I understand it happens randomly, it isn't a common pattern? And using s:form action=login ... is the proper way Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2013/6/24

Re: redirectAction result - parameter in URL problem

2013-06-26 Thread Lukasz Lenart
Struts2 version? There is constant struts.url.includeParams which can be set to all, get or none and by default it's set to none (from some 2.3.x or 2.2.x version). So define constant in struts.xml to disable including params from GET constant name=struts.url.includeParams value=none/ Regards

Re: s:action tag showing result

2013-06-26 Thread Lukasz Lenart
+\]\.nmCidade /param /result /action /package /struts Thanks for all your help! Felipe Lorenz Em 22/06/2013, às 04:27, Lukasz Lenart escreveu: 2013/6/22 Litman, Bruno blit...@alabamainteractive.org: We are also

Re: redirectAction result - parameter in URL problem

2013-06-26 Thread Lukasz Lenart
Hi Jan, Yes, you are right but the problem is you are mixing two things - slashes in action names and RESTful urls. If you want to have RESTfull urls take a look on RestfulActionMapper [1] or REST plugin [2] [1] http://struts.apache.org/development/2.x/docs/restfulactionmapper.html [2]

Re: Difficulty in understanding Struts 2 distribution

2013-06-26 Thread Lukasz Lenart
2013/6/26 Sreekanth S. Nair sreekanth.n...@egovernments.org: I dont think this is correct, we are not using velocity then how come struts2 depends on velocity, same for junit. These all are not required dependency for strust2 to up and running. Please read about Maven dependencies first. Both

Re: Difficulty in understanding Struts 2 distribution

2013-06-26 Thread Lukasz Lenart
Yes, you are right that's why we are using Maven to manage dependencies and not to do it by hand. Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2013/6/26 Sreekanth S. Nair sreekanth.n...@egovernments.org: Thanks for clarifying all these but don't you think its better to make

Re: redirectAction result - parameter in URL problem

2013-06-26 Thread Lukasz Lenart
Have you tried to use RestfulActionMapper or Restful2ActionMapper? Anyway, this is the desired behaviour, request parameters are transferred to Result to allow expose them (if you would like to use them on jsp for example). You can always define your own CustomerServletActionRedirectResult which

Re: Struts dispatcher apparently not started

2013-06-26 Thread Lukasz Lenart
What URL do you enter to get the exception? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2013/6/26 Fabian Richter frich...@mtg.de: Hello all, I am faily new with struts, and to get a grip on the mechanics I volunteered to migrate one of our applications from Webwork to

Re: intercepter parameters in actions

2013-06-26 Thread Lukasz Lenart
Interceptors are singletons per stack - if you referencing them with interceptor-ref from within actions you are reusing the same instance. Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2013/6/26 Cameron Morris cmor...@part.net: Hello Strut-ers, When I override an

Re: s:action tag showing result

2013-06-27 Thread Lukasz Lenart
the origin behaviour. I hope it could help you. Thanks, Felipe Lorenz Em 26/06/2013, às 04:45, Lukasz Lenart escreveu: As I understand you use s:action executeResult=false/ ? Which means result named json shouldn't be executed, you can even remove it. Regards -- Łukasz + 48 606 323 122

Re: Struts 2.3.14.3 seems to drop .action from the generated form action

2013-06-27 Thread Lukasz Lenart
Hi Bruno, Could you share your struts.xml? One problem was identified in RestActionProxyFactory, maybe your is related as well. Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2013/6/26 Lukasz Lenart lukaszlen...@apache.org: Hi Bruno, You already mentioned that, right now I

Re: Struts dispatcher apparently not started

2013-06-27 Thread Lukasz Lenart
2013/6/27 Fabian Richter frich...@mtg.de: I am getting that on every call: for example the root path: https://localhost/app/ Do you have IndexAction or so defined? which forwards to https://localhost/app/index.html Could you share your struts.xml? Regards -- Łukasz + 48 606 323 122

Re: Struts dispatcher apparently not started

2013-06-27 Thread Lukasz Lenart
2013/6/27 Fabian Richter frich...@mtg.de: I am using http://struts.apache.org/release/2.3.x/struts2-core/apidocs/org/apache/struts2/dispatcher/ng/filter/StrutsPrepareFilter.html then sitemesh, my own filter then

Re: Struts dispatcher apparently not started

2013-06-27 Thread Lukasz Lenart
2013/6/27 Fabian Richter frich...@mtg.de: Uhm, its a 500 line file thats including a few others. I might have to anonymize and put it on pastebin or something. What exactly are you looking for? Maybe I can extract parts into an email. How did you define index action? Regards -- Łukasz + 48

Re: Struts dispatcher apparently not started

2013-06-27 Thread Lukasz Lenart
2013/6/27 Fabian Richter frich...@mtg.de: The questions is what its doing? If something that doesn't depend on Struts, before. It handles the certificate based authentication and configures the user session before displaying any web content. So before it is? In my opinion, yes. Regards

Re: Struts dispatcher apparently not started

2013-06-27 Thread Lukasz Lenart
2013/6/27 Fabian Richter frich...@mtg.de: Am 27.06.2013 08:31, schrieb Lukasz Lenart: How did you define index action? bean id=indexAction class=my.webapp.action.IndexAction singleton=false property name=roleIdentifiers list valuerole.id/value

Re: Struts dispatcher apparently not started

2013-06-27 Thread Lukasz Lenart
2013/6/27 Fabian Richter frich...@mtg.de: Sorry, after I sent it, I was wondering if that was what you meant :) action name=index class=indexAction method=index result name=success/WEB-INF/pages/index.jsp/result result name=success-tcop.tcop.role.id/WEB-INF/pages/index.jsp/result

Re: Struts dispatcher apparently not started

2013-06-27 Thread Lukasz Lenart
2013/6/27 Fabian Richter frich...@mtg.de: I meant when I call https://localhost/app/ the url is rewritten by the app to https://localhost/app/index.html Looks like one of your filters messing things up. Try to comment out this filter-mapping filter-nameappFilter/filter-name

Re: Struts dispatcher apparently not started

2013-06-27 Thread Lukasz Lenart
2013/6/27 Fabian Richter frich...@mtg.de: Am 27.06.2013 08:59, schrieb Lukasz Lenart: 2013/6/27 Fabian Richter frich...@mtg.de: I meant when I call https://localhost/app/ the url is rewritten by the app to https://localhost/app/index.html Looks like one of your filters messing things up

Re: s:action tag showing result

2013-06-27 Thread Lukasz Lenart
2013/6/27 Felipe Lorenz felipe.lor...@idealogic.com.br: felipe.lorenz You should have Create Issue on the top right? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ - To unsubscribe, e-mail:

Re: class has set member, how s:iterator to access it?

2013-07-01 Thread Lukasz Lenart
2013/6/29 john lee sh_thorn_b...@yahoo.com: but, i try to access partxref {component(subset) } of parts, failed. s:iterator id=part value=parts status=st s:property value=pid/ s:property value=manufacture.manu_name/

Re: Best practice for protecting JSPs

2013-07-01 Thread Lukasz Lenart
2013/7/1 Antonio Sánchez juntandolin...@gmail.com: 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. These two options are the best to avoid direct access to JSPs - not all containers

Re: Best practice for protecting JSPs

2013-07-01 Thread Lukasz Lenart
2013/7/1 Antonio Sánchez juntandolin...@gmail.com: What do you mean with 'fake' auth. constraints? security-constraint display-nameNo access/display-name web-resource-nameJSP/web-resource-name web-resource-collection url-pattern*.jsp/url-pattern /web-resource-collection

Re: DateTimePicker not showing

2013-07-02 Thread Lukasz Lenart
2013/7/2 Fabian Richter frich...@mtg.de: Then I excluded pattern/struts/dojo/*/pattern pattern/struts/ajax/*/pattern Maybe change to /struts/* ? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/

Re: class has set member, how s:iterator to access it?

2013-07-02 Thread Lukasz Lenart
2013/7/3 john lee sh_thorn_b...@yahoo.com: I use Lucas's suggestion, but still can not get value out please advise how to get list member of an class from stack. thanks in advance john s:iterator id=partxref value=partxrefs s:property value=xref_type_code/

Re: ServletResponseAware - request can be null?

2013-07-08 Thread Lukasz Lenart
2013/7/5 Christian Grobmeier grobme...@gmail.com: I am implementing the ServletResponseAware interface and found out that sometimes the HttpServletResponse is null when I execute() the action. ServletConfigInterceptor is definitely executed before. Actually often the HttpServletResponse is

Re: Extending Template

2013-07-09 Thread Lukasz Lenart
2013/7/9 Alireza Fattahi afatt...@yahoo.com: Hi, I want to extend the css_xhtml. 1- /WEB-INF/classes/template/mytemp 2- Put the theme.properties in it . 3- Add the parent = css_xhtml 4- Update the the struts.xml as below: constant name=struts.ui.theme value=mytemp / constant

Re: WW if question

2013-07-09 Thread Lukasz Lenart
Have you tried this: ww:if test=%{!searchResult.empty || !#searchResult.empty} 2013/7/9 Fabian Richter frich...@mtg.de: Hey, quick question (I know WW is EOL maybe someone will help me nonetheless): Why does ww:if test=!searchResult.empty || !#searchResult.empty not work as expected?

Re: WW if question

2013-07-09 Thread Lukasz Lenart
2013/7/9 Fabian Richter frich...@mtg.de: Am 09.07.2013 11:07, schrieb Lukasz Lenart: Have you tried this: ww:if test=%{!searchResult.empty || !#searchResult.empty} Yes, I did, didnt work :( getters? And maybe use just one value instead of two searchResult? Regards -- Łukasz + 48 606 323

Re: convention redirect to slash

2013-07-09 Thread Lukasz Lenart
2013/7/9 Alireza Fattahi afatt...@yahoo.com: The constant name=struts.convention.redirect.to.slash value=false / is not working ! It keeps redirecting to slash any comments ?! Could you share your struts.xml? Os some snippets with results? Regards -- Łukasz + 48 606 323 122

Re: convention redirect to slash

2013-07-09 Thread Lukasz Lenart
name=struts.convention.redirect.to.slash value=false / constant name=struts.custom.i18n.resources value=messages / /struts ~Regards, ~~Alireza Fattahi From: Lukasz Lenart lukaszlen...@apache.org To: Struts Users Mailing List user@struts.apache.org

Re: convention redirect to slash

2013-07-09 Thread Lukasz Lenart
2013/7/9 Alireza Fattahi afatt...@yahoo.com: I do not use any configuration. There is an index.jsp: % response.sendRedirect(index.action); % Try to use % response.sendRedirect(/namespace/); % and the index.action is has a execute and simple return SUCCESS and redirects to a jsp. As I

Re: Using Two Parent Pakages!!

2013-07-09 Thread Lukasz Lenart
2013/7/10 Alireza Fattahi afatt...@yahoo.com: Hi, I am using the convention in with json plugin so I add: constant name=struts.convention.default.parent.package value=json-default / Now I want to use the REST plugin so I should add: constant name=struts.convention.default.parent.package

Re: Using Two Parent Pakages!!

2013-07-09 Thread Lukasz Lenart
2013/7/10 Alireza Fattahi afatt...@yahoo.com: Thanks ! I found a code here:http://struts.apache.org/release/2.0.x/docs/zero-configuration.html @ParentPackage({my-parent-package1, my-parent-package2}) package com.mycompany.myapp.actions import org.apache.struts2.config.ParentPackage;

Re: Using Two Parent Pakages!!

2013-07-10 Thread Lukasz Lenart
2013/7/10 Alireza Fattahi afatt...@yahoo.com: Hi, So I define some thing like package name=myPackage extends=json-default,rest-default namespace=/ /package Is it possible that I say the struts that this the default package for all packages ?! There is nothing like that - a

Re: REST Plugin with convention plugin

2013-07-10 Thread Lukasz Lenart
2013/7/10 Alireza Fattahi afatt...@yahoo.com: Hi, I am trying to use REST Plugin with convention plugin . For all REST actions I should extend RestActionMapper, After I extend RestActionMapper instead of ActionSuppor, the convention plugin those not find the action any more ! Check this

Re: Possible client side validation bug in Struts 2.3.15

2013-07-10 Thread Lukasz Lenart
2013/7/5 Bruno Klava bkl...@gmail.com: As far as I can tell, this difference is due to changes made in org.apache.struts2.components.Form.getValidators(String name) I would say that now is ok and previously it was a bug ;-) But you are right, that breaks backward compatibility Regards --

Re: Possible client side validation bug in Struts 2.3.15

2013-07-10 Thread Lukasz Lenart
2013/7/10 Lukasz Lenart lukaszlen...@apache.org: 2013/7/5 Bruno Klava bkl...@gmail.com: As far as I can tell, this difference is due to changes made in org.apache.struts2.components.Form.getValidators(String name) I would say that now is ok and previously it was a bug ;-) But you are right

Re: Global Validation

2013-07-10 Thread Lukasz Lenart
2013/7/10 Alireza Fattahi afatt...@yahoo.com: Hi, Are there Global Validation in struts 2 ?! What you mean by that? Validations which affects each and every action? If so, no. Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/

Re: Define the a property

2013-07-11 Thread Lukasz Lenart
2013/7/11 Alireza Fattahi afatt...@yahoo.com: Any way, I expect that when this happens a warning message displayed to the developers not a full stack trace. You know, usually when you see this stack, it shows that something terribly bad happened !! Stacktraces are useful only for

Re: Global Validation

2013-07-11 Thread Lukasz Lenart
/validator validator type=required param name=fieldNameAddress/param messageAddress must be string./message /validator ~Regards, ~~Alireza Fattahi From: Lukasz Lenart lukaszlen...@apache.org To: Struts Users Mailing List user@struts.apache.org Sent

Re: Using Two Parent Pakages!!

2013-07-11 Thread Lukasz Lenart
2013/7/11 Alireza Fattahi afatt...@yahoo.com: If the struts finds the result-type json,in struts2-json-plugin.jar , why doesn't it make this result-type available to all actions ? Why should I address struts where this result type is defined ? Results are defined per package, actions are

Re: Possible client side validation bug in Struts 2.3.15

2013-07-12 Thread Lukasz Lenart
On Wed, Jul 10, 2013 at 6:18 AM, Lukasz Lenart lukaszlen...@apache.orgwrote: 2013/7/10 Lukasz Lenart lukaszlen...@apache.org: 2013/7/5 Bruno Klava bkl...@gmail.com: As far as I can tell, this difference is due to changes made in org.apache.struts2.components.Form.getValidators(String name

Re: Servlet 3.0 supported ?

2013-07-15 Thread Lukasz Lenart
2013/7/15 Sreekanth S. Nair sreekanth.n...@egovernments.org: What are feature supported by struts2 wrt servlet3.0 (specifically anything from async) Nothing as far I know. Also async support if for servlets, but S2 bases on filter. Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/

Re: problem while integrating struts 2 hibernate3.5 and tiles

2013-07-15 Thread Lukasz Lenart
Could you post the whole stacktrace? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2013/7/14 alok mazumdar alokmazumdar...@gmail.com: hello user, when iam integrating struts and hibernate it is working fine,struts with tiles fine,but when i am integrating all three it shows

Re: Plug in page link broken

2013-07-15 Thread Lukasz Lenart
Thanks for reporting, corrected in the source. For now you can use this https://cwiki.apache.org/confluence/display/S2PLUGINS/Home Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2013/7/12 Alireza Fattahi afatt...@yahoo.com: Hi, The plugin page link :

Re: Error while using struts-jquery-plugin 3.6.0 + sitemesh-2.4.2.jar + struts 2.3.15

2013-07-15 Thread Lukasz Lenart
2013/7/13 Sreekanth S. Nair sreekanth.n...@egovernments.org: Hi, I'm getting the following exception when i try to use strust2-jquery-plugin, My web.xml fragment for struts2 as follows. filter-mapping filter-namestruts2Prepare/filter-name url-pattern*.action/url-pattern /filter-mapping

Re: Error while using struts-jquery-plugin 3.6.0 + sitemesh-2.4.2.jar + struts 2.3.15

2013-07-15 Thread Lukasz Lenart
performance). Since i have posted a query long back regarding the performance tuning part, but the answer i got doesn't cover from which all jars and what are the files have to be extracted. -- Thanks Regards Srikanth On Mon, Jul 15, 2013 at 12:28 PM, Lukasz Lenart lukaszlen

Re: Error while using struts-jquery-plugin 3.6.0 + sitemesh-2.4.2.jar + struts 2.3.15

2013-07-15 Thread Lukasz Lenart
2013/7/15 Sreekanth S. Nair sreekanth.n...@egovernments.org: Struts2-core dojo-plugin is fine and its straight forward. But in jquery plugin there is no static folder, one template folder is there (this contains both flt and some js and css). Why do you mix dojo plugin (deprecated) with

Re: Error while using struts-jquery-plugin 3.6.0 + sitemesh-2.4.2.jar + struts 2.3.15

2013-07-15 Thread Lukasz Lenart
2013/7/15 Sreekanth S. Nair sreekanth.n...@egovernments.org: Some legacy jsp's are still using dojo tags, to keep it we are maintaining dojo. And about Jquery, template/jquery/ folder contains .flt, what i have to do with this? once i extracted where i suppose to add in My web app, static or

Re: Error while using struts-jquery-plugin 3.6.0 + sitemesh-2.4.2.jar + struts 2.3.15

2013-07-15 Thread Lukasz Lenart
2013/7/15 Sreekanth S. Nair sreekanth.n...@egovernments.org: Sorry to bother you, templates (.flt) has to be put inside template folder thats quite right but still confused with freemarker template to be moved or not. My doubt is not about template files but about the these static contents.

Re: json validation with utf-8 error messages

2013-07-15 Thread Lukasz Lenart
2013/7/15 Alireza Fattahi afatt...@yahoo.com: Any comments?! Any example?!?!?!?!?!?! Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional

Re: Tags Attributes

2013-07-15 Thread Lukasz Lenart
2013/7/15 Alireza Fattahi afatt...@yahoo.com: Hi, Does anyone why: s:fielderror un_defined_attribute=test/ generates error: Attribute un_defined_attribute invalid for tag fielderror according to TLD But s:textfield name=amount key=form.label.amount un_defined_attribute=test/ Does

Re: json validation with utf-8 error messages

2013-07-16 Thread Lukasz Lenart
2013/7/15 Alireza Fattahi afatt...@yahoo.com: Hi, I used to save the messages.resources with UTF-8 encoding and the s:text name=some.text / showed correctly but the json validation messages not! I saved mesages.resource with ansi encoding and chaned all strings from native to ascii ( by

Re: Error while using struts-jquery-plugin 3.6.0 + sitemesh-2.4.2.jar + struts 2.3.15

2013-07-16 Thread Lukasz Lenart
2013/7/15 Sreekanth S. Nair sreekanth.n...@egovernments.org: Sorry i didn get you. You mean directly under WebContant folder? Is like this the following struts2-core.jar/ template to WebContent/template struts2-jquery-plugin/template to WebContent/template (as it is or static and .flt

Re: Extending Template

2013-07-16 Thread Lukasz Lenart
2013/7/9 Alireza Fattahi afatt...@yahoo.com: Yes it is a typo. I have this constant name=struts.ui.templateDir value=template / in the struts.xml Anyway, this constant isn't needed if you don't change the default location (template). Right now there is a bit mess with theme support.

Re: Actions now require INPUT result after installing struts2-spring plugin

2013-07-17 Thread Lukasz Lenart
2013/7/18 David Greene da...@securelink.com: Unfortunately, I don't really have much more information to go on. What other information might be helpful to debug this? note: this is Struts 2.3.15 and Spring 3.2.3 Prior to adding Struts2-Spring plugin Spring, the Actions were all happy.

Re: Fix typos in Upload Interceptor documentation

2013-07-18 Thread Lukasz Lenart
Done :-) http://struts.apache.org/development/2.x/docs/file-upload-interceptor.html 2013/7/18 Antonio Sánchez juntandolin...@gmail.com: http://struts.apache.org/release/2.2.x/docs/file-upload-interceptor.html Example code in Example Action class: Remove p/ typos. Regards.

Re: Trouble using getText() with parameter substitution

2013-07-19 Thread Lukasz Lenart
2013/7/18 Paul Benedict pbened...@apache.org: I have a global properties file with this key: emailSent=The email was sent to {0}. I add a message in my action: addActionMessage(getText(emailSent, Arrays.asList(email))); And the {0} stays in the output. Why is this? Strange, it is well

Re: HTML code not displaying in site documentation

2013-07-19 Thread Lukasz Lenart
2013/7/19 Antonio Sánchez juntandolin...@gmail.com: 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:

Re: HTML code not displaying in site documentation

2013-07-19 Thread Lukasz Lenart
2013/7/19 Lukasz Lenart lukaszlen...@apache.org: 2013/7/19 Antonio Sánchez juntandolin...@gmail.com: 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

Re: Defining actions for i18n

2013-07-24 Thread Lukasz Lenart
action name=someOtherSimpleActionWithLocalizationRequired result/WEB-INF/jsp/I18nedPage.jsp/result /action This way should be simpler and maybe you can use wildcard matching. You can also define default-class-ref/ or default-action-ref/ Regards -- Łukasz + 48 606 323 122

Re: Changing locale for any current request

2013-07-25 Thread Lukasz Lenart
2013/7/25 Antonio Sánchez juntandolin...@gmail.com: But I still need to know which is the current request to re-request with the new locale. Anyway, I have no problem with changing the locale. I guess this is a design issue, maybe a web pattern, and goes beyond Struts. Anyway, how do you

Re: Error on every concurrent deployment.

2013-07-26 Thread Lukasz Lenart
Do you put framework's lib in JBoss shared library folder? I mean all the app instances use the same libs? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2013/7/26 Sreekanth S. Nair sreekanth.n...@egovernments.org: Hi, I'm using eclipse + jboss 7 to deploy my struts2 latest

Re: conversionError interceptor is causing ModelDriven to fail

2013-07-26 Thread Lukasz Lenart
2013/7/26 Sreekanth S. Nair sreekanth.n...@egovernments.org: Hi, conversionError interceptor in the interceptor stack breaking the ModelDriven, can't able to bind Model which have custom object association My magic ball is broken today and I cannot do any magic, sorry, shop is closed ;-)

Re: Error on every concurrent deployment.

2013-07-26 Thread Lukasz Lenart
Developer eGovernments Foundations www.egovernments.org Mob : 9980078913 On Fri, Jul 26, 2013 at 1:08 PM, Lukasz Lenart lukaszlen...@apache.orgwrote: Do you put framework's lib in JBoss shared library folder? I mean all the app

Re: Error on every concurrent deployment.

2013-07-26 Thread Lukasz Lenart
eGovernments Foundations www.egovernments.org Mob : 9980078913 On Fri, Jul 26, 2013 at 1:11 PM, Lukasz Lenart lukaszlen...@apache.orgwrote: So you have many war archives in one ear archive? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl

<    6   7   8   9   10   11   12   13   14   15   >