Re: [s2] broken documentation in web site

2010-05-06 Thread Lukasz Lenart
2010/5/6 hernan gonzalez : > Not a cache issue on my side, I try this on several servers around the > world and get the same: > > [vps1]~ $ wget --quiet -O- > http://struts.apache.org/2.x/docs/resources/space.css | grep resource > /* Could not locate resource: /includes/css/master.css */ > /* Could

Re: [s2] broken documentation in web site

2010-05-06 Thread Lukasz Lenart
Ok, I copied space.css from 2.1.8 and now it works, just temporary solution! Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org

Re: Struts 2 : redirect to action method on type conversion fail ?

2010-05-10 Thread Lukasz Lenart
Use Preparable interface instead http://struts.apache.org/2.x/struts2-core/apidocs/com/opensymphony/xwork2/Preparable.html Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscri

Re: Struts release >2.1.9

2010-05-10 Thread Lukasz Lenart
2010/5/10 : > When will there be a GA release of 2.1.9 or above? Hope soon! We're planing to use Nexus to make a release and right now I'm waiting for access. Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl

Re: Online docs messed up

2010-05-14 Thread Lukasz Lenart
2010/5/14 Greg Lindholm : > It appears the online docs are messed up: > > http://struts.apache.org/2.x/docs/tag-reference.html > > Sorry if I'm repeating well know information. > > Or, is there a better URL to use? > > This URL looks about the same. > http://struts.apache.org/2.1.8.1/docs/guides.ht

Re: Manipulating Strings with Struts²

2010-05-17 Thread Lukasz Lenart
2010/5/17 Michaël JERUSALMI : > I'm working on a Java Web App under Struts², and i'm having trouble using the > taglib s:if. > I have a test , but instead of writing a test like this test="string == myValue">, > I'd like to write something like this : test="string.contains(myValue)"> , or using

Re: Online docs messed up

2010-05-17 Thread Lukasz Lenart
2010/5/14 nuwan chandrasoma : > I also noticed that, i think the wiki .css is messed up, It's because of new Confluence and auto export plugin :-( I can restore the previous version of the css file but it looks like everyday a new export is generated :P Regards -- Łukasz http://www.lenart.org.p

Re: Now the wiki is also messed up

2010-05-28 Thread Lukasz Lenart
2010/5/27 Greg Lindholm : > On this page > https://cwiki.apache.org/S2WIKI/troubleshooting-guide-migrating-from-struts-20x-to-21x.html > > All the code samples are missing, they show up as a squiggly line. I don't know exactly why but it's probably related to Autoexport plugin, if you check the or

Re: Blank Extension Bug Report

2010-06-06 Thread Lukasz Lenart
Hi, Here you can submit the bug https://issues.apache.org/jira/browse/WW Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@str

Re: Error in Weblogic

2010-06-08 Thread Lukasz Lenart
2010/6/8 Abhishek Doctor : >  am trying to deploy simple hello world application from APACHE STRUTS > TUTORIAL on weblogic after exporting war files from Eclipse. I am Do you have xwork jar included? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://ja

Re: tag attributes evaluation

2010-06-14 Thread Lukasz Lenart
2010/6/13 Oleg Mikheev : > Guys, > > It took me some quite some time to understand how to pass a > dynamic value to a textfield label. > It appeared that I needed to use this strange notation: %{#var} > like this: > > > > > I haven't found any description that would list which > Struts2 tag attri

Re: [s2] broken documentation in web site

2010-06-15 Thread Lukasz Lenart
2010/6/15 hernan gonzalez : > More than 40 days passed, and still broken. > http://struts.apache.org/2.1.8.1/docs/tag-reference.html > This is getting depressing, it makes Struts2 look as an dying project. The problem isn't with Struts itself but with Confluence Autoexport plugin and the latest ve

Re: [s2] broken documentation in web site

2010-06-15 Thread Lukasz Lenart
2010/6/15 Greg Lindholm : > I've whined about this several times and nobody seems to care enough > about it to fix it.  So maybe it is a dying project. Any help is appreciated, so feel free to propose a solution... > Blaming Confluence doesn't actually help the situation if no one is > working wi

Re: Model Driven Action doesn't return value when model gets reassigned to some other value - hibernate problem

2010-06-29 Thread Lukasz Lenart
2010/6/29 Greg Stasica : > 2. get the MyBean object in getModel() method but i don't think this method > should do any dao/business operations You can always use Preparable interface Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl

Re: OutOfMemoryError: PermGen space!!!! Dont know why?

2010-07-09 Thread Lukasz Lenart
Try to build just a war file and deploy it without MyEclipse help. Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apa

Re: Struts2 remote commands execution

2010-07-10 Thread Lukasz Lenart
2010/7/10 Meder Kydyraliev : > There's a critical remote commands execution vulnerability in XWork(used by > Struts2), which fixed in 2.2.0, which isn't released yet but can be > downloaded here: http://people.apache.org/builds/struts/2.2.0/ > > More details about this vulnerability can be found he

Re: Struts2 remote commands execution

2010-07-13 Thread Lukasz Lenart
2010/7/13 Johannes Geppert : > is version 2.2.0 also available with maven? Not yet, still in stagging repo only and still under the Vote :-( Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl --

Re: struts2+hibernate+spring - lazyInitaializationException

2010-07-19 Thread Lukasz Lenart
Hi, I really don't see how Struts2 can messed it up. Would you try to write a unit test to check that? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe

Re: Issue with hibernate 3 + jboss-5.1.0.GA +mySql with Struts 2

2010-07-19 Thread Lukasz Lenart
Hi, You have plenty of errors in XML, take a look on that with some validation tool, for example.: * root - first tag closed * ... - double ee in the first tag Use better tool instead asking questions! Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 20

Re: REST and Non-REST actions

2010-07-20 Thread Lukasz Lenart
2010/7/20 Kevin Jones : > Simple question (I think), > > when using the REST plugin, can I have two 'controllers' one that > expects REST urls/verbs and one that is a standard Struts2 Action, > i.e. where I can map incoming URLs to action methods? Take a look on PrefixBasedActionMapper [1], it was

Re: lost URL parameters with tag

2010-07-20 Thread Lukasz Lenart
2010/7/20 Emi Lu : > > It's the expected behavior as you don't have these properties in your action. You're looking throughout message resources and not for action's variable. Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl -

Re: Whereabouts of Struts 2.2

2010-07-20 Thread Lukasz Lenart
2010/7/20 Rohan Ranade : > Hi all, > > Sorry in advance for a potentially silly question. > > I have been seeing a couple of mails on the list about Struts 2.2. Is it > released already? The struts.apache.org page doesn't seem to mention it > anywhere except a section in the migration guide - > htt

Cache improvments in Struts 2.2.1

2010-07-22 Thread Lukasz Lenart
Hi, I spent some time playing with JProfiler and measured struts2-showcase application, more precisely employee/edit.action. The results are presented under attached link https://spreadsheets.google.com/pub?key=0AqTWUdvycqiKdEF3eWxvVVpfcW1TTFYtZ0FaWk5EV2c&hl=pl&output=html If you have some spare

Re: Cache improvments in Struts 2.2.1

2010-07-22 Thread Lukasz Lenart
2010/7/22 Lukasz Lenart : > Please be aware that it's still unreleased version and voting process > is under way! You are all welcome to vote! Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://ja

Re: Cache improvments in Struts 2.2.1

2010-07-22 Thread Lukasz Lenart
2010/7/22 Philip Luppens : > As much as I like the improvements, could you please specify the parameters > for the test? Concurrency level, number of requests (Just 4 requests isn't > going to give a clear indication of the performance), and most importantly, > a comparison with some older versions

Re: Adding annotations to the interceptor stack

2010-07-26 Thread Lukasz Lenart
defaultStack [1] already has validation interceptor defined, you shouldn't duplicate it. The best way is to create your own stack and play with interceptors - not to refer to other stack. [1] http://struts.apache.org/2.x/docs/interceptors.html Regards -- Łukasz + 48 606 323 122 http://www.lenar

Re: Setting up 2.2.1 in maven for testing

2010-07-27 Thread Lukasz Lenart
Hi, You must define it in repository section of your pom -> http://maven.apache.org/pom.html#Repositories struts-staging https://repository.apache.org/content/repositories/orgapachestruts-014 default Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.p

Re: Setting up 2.2.1 in maven for testing

2010-07-27 Thread Lukasz Lenart
Thanks for your comments! Please register a ticket and I try to put some love with the docs ;-) Kind regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e

Re: Spring 2.5.6 -> 3.0

2010-07-29 Thread Lukasz Lenart
You must exclude Spring 2.5.6 in struts2-spring-plugin dependency. http://maven.apache.org/guides/introduction/introduction-to-optional-and-excludes-dependencies.html#Dependency Exclusions Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl

Re: Not able to deploy the Struts Framework application on Jboss server

2010-07-30 Thread Lukasz Lenart
2010/7/30 venkat_...@yahoo.com : > While deploying the Struts Framework application on Jboss server, I am > getting the error messages. > Here with I am attaching errors.txt file for error messages. > > Could any body guide/suggest to resolve my issue. I don't see anything related to Struts 2 in s

Re: [ANN] Struts 2.2.1 GA release available

2010-08-16 Thread Lukasz Lenart
2010/8/16 Emi Lu : > Cannot find the file: > > http://apache.parentinginformed.com/struts/binaries/struts-2.2.1-all.zip > > Not Found > > The requested URL /struts/binaries/struts-2.2.1-all.zip was not found on > this server. A tiny mistake, should be http://apache.parentinginformed.com/struts/bin

Re: Struts2 and Maven Archetypes

2010-08-16 Thread Lukasz Lenart
Hi, I added archetype catalog, could you test it? mvn archetype:generate -DarchetypeCatalog=http://struts.apache.org/ Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl

Re: [ANN] Struts 2.2.1 GA release available

2010-08-17 Thread Lukasz Lenart
2010/8/17 : > The struts-2.2.1-src.zip source link is wrong Thanks, solved, but please wait few minutes before cache will expire Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl -

Re: [S2] 2.2.1 Appended .xhml to back of the url

2010-08-17 Thread Lukasz Lenart
2010/8/17 : > After upgrade to 2.2.1, struts appended .xhtml to the url, is there anyway to > turn it off like what 2.1.8.1 was? What you have in struts.properties or/and in struts.xml ? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl

Re: [S2] 2.2.1 Appended .xhml to back of the url

2010-08-17 Thread Lukasz Lenart
Did you try to define struts.action.extension=action,, Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For

Re: [ANN] Struts 2.2.1 GA release available

2010-08-18 Thread Lukasz Lenart
2010/8/18 Per Johansson : > "The release is also available through the central Maven repository under > Group ID "org.apache.struts". " > > I cannot find version 2.2.1 under > > http://mvnrepository.com/artifact/org.apache.struts/struts2-parent Here you have http://repo2.maven.org/maven2/org/apach

Re: [S2.2.1] Javassist dependency

2010-08-18 Thread Lukasz Lenart
Reposting just for future reference 2010/8/18 Dave Newton : > Oh, you're right, it says it's provided. Which confuses me even more :/ > > On Wed, Aug 18, 2010 at 7:43 AM, Lukasz Lenart > wrote: >> >> 2010/8/18 Dave Newton : >> > Hmm, I guess I'm

Re: [S2.2.1] Javassist dependency

2010-08-18 Thread Lukasz Lenart
W dniu 18 sierpnia 2010 15:17 użytkownik Dave Newton napisał: > What, to prove to historians that I'm usually confused?! Just to put it on the list. If you didn't notice, I answered directly to you ;-) Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http:/

Re: Struts 2.2.1 - Unit Testing Interceptors

2010-08-18 Thread Lukasz Lenart
2010/8/18 Stephen Turner : > Unit tests for interceptors in Struts 2.2.1 > > In TokenInterceptorTest I see a reference to > org.apache.struts2.TestConfigurationProvider, but I can't find this class in > a jar file. I do see the source code though. > > Which jar should I be using for TestConfigurati

Re: Performance issues

2010-08-18 Thread Lukasz Lenart
Did you enabled FreeMarker cache? http://struts.apache.org/2.x/docs/freemarker.html Cache sesction Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-m

Re: Struts 2.2.1 - Unit Testing Interceptors

2010-08-18 Thread Lukasz Lenart
2010/8/18 Stephen Turner : > I'm looking in struts2-junit-plugin-2.2.1.jar that came as part of > struts2-2.2.1-all.zip and I see only these classes in the org/apache/struts2 > folder: > > StrutsTestCase.class > StrutsTestCase$1.class > StrutsSpringTestCase.class > > What am I missing? This class

Re: 2.2.1 - Validation Behavior

2010-08-20 Thread Lukasz Lenart
2010/8/19 Daniel Stephenson : > @Result(name = "input", type = "chain", >            params = {"namespace", "/sc", "actionName", > "workerScheduleCsrCreatePopup"}) > > When the chain happens and hits the method the field errors are no longer on > the request.  I just rolled back to 2.1.8.1 and the

Re: Ajax support for Struts 2.2.1

2010-08-20 Thread Lukasz Lenart
Take a look on jQuery plugin http://code.google.com/p/struts2-jquery/ Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.

Re: Release Notes for Struts 2.2

2010-08-25 Thread Lukasz Lenart
Done -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: Latest version release notes and install documentation

2010-09-09 Thread Lukasz Lenart
2010/9/9 Dave Evans : > Hello all, > > I went here to get the latest version on struts: > http://struts.apache.org/download.cgi#struts221 > > The "Release Notes" link: > http://struts.apache.org/docs/2.2.1/version-notes-221.html returns a > 404. Link corrected, give around 30 minutes when cache ex

Re: Struts2 and Maven Archetypes

2010-09-13 Thread Lukasz Lenart
2010/9/14 Roland T. Craddolph : > Sorry I've been having Outlook issues for far too long that finally got > fixed.  It works and this is a lot easier than that huge command.  My only > question is for the packaging question what would you recommend to put there? >  I'm still trying my best to fo

Re: Struts2 and Maven Archetypes

2010-09-14 Thread Lukasz Lenart
2010/9/14 Roland T. Craddolph : > I started messing around with some more and option 6 didn't work, it has a > build failure. Could you register an issue with attached error log? http://issues.apache.org/jira/browse/WW Thanks in advance -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapi

Re: Chaining Issue With Struts 2.2.1

2010-09-14 Thread Lukasz Lenart
You can put your two cents here https://issues.apache.org/jira/browse/WW-3488 Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...

Re: OutOfMemoryError: PermGen space!!!! Dont know why?

2010-09-14 Thread Lukasz Lenart
2010/9/15 abhishek jain : > I have the following in my bin/catalina.sh > > JAVA_OPTS="$JAVA_OPTS -server -Xms512M -Xmx1024M -XX:MaxPermSize=1024M > -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager" I think, you must lower the numbers, it's giving 2,5G in totla and as I remember JV

Re: Struts Support Network

2010-09-16 Thread Lukasz Lenart
2010/9/16 Frans Thamura : > hi all > > we can see there is Spring tc, Mule tc, and a lot of companies try to > open support of tomcat > > when will Struts2 follow this? Good question, but I think it will never happened ;-) S2 it's just a framework, like Hibernate and not an application server (Spr

Re: Tomcat 5.0.27 Issue

2010-09-20 Thread Lukasz Lenart
2010/9/21 Roland T. Craddolph : > I'm just wondering if anyone as any problems with building a Struts2 > archetype using Maven2, creating a war file, and deploy it to a tomcat > server running the version of 5.0.27 did it cause you any errors?  I created > a blank struts2 example project using the

Re: Struts 2.2.1 Problem

2010-09-23 Thread Lukasz Lenart
Maybe it's related to that http://blog.o0o.nu/2010/07/cve-2010-1870-struts2xwork-remote.html I've added some more restrictive rules regarding request's parameters names. Lot of special characters are disallowed, take a look on line 138 http://svn.apache.org/viewvc/struts/struts2/trunk/xwork-core/s

Re: Struts2 threading in a Java EE application server environment

2010-10-18 Thread Lukasz Lenart
It's a Struts2 specific interceptor to do background work, please read about ExecuteAndWaitInterceptor. Just that interceptor is using new Thread, normally Struts2 don't create additional threads. Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javars

Re: After upgrading from Struts 2.0.x to 2.2.x, static content no longer served...

2010-10-18 Thread Lukasz Lenart
2010/10/18 Eric Nielsen : > Here are my filters from web.xml > >     >      struts-cleanup >       > org.apache.struts2.dispatcher.ActionContextCleanUp >     >     >      sitemesh >       > org.apache.struts2.sitemesh.FreemarkerPageFilter >     >         >          Spring OpenEntityManagerInViewFil

Re: Struts2 threading in a Java EE application server environment

2010-10-19 Thread Lukasz Lenart
2010/10/19 Phil Adams : > Hi Lukasz, > Thanks for the information... I read about ExecuteAndWaitInterceptor > but it seems as though that must create a new thread as well, since it > also uses the BackgroundProcess class to execute the action, right? > In this particular situation, I need to find a

Re: Where is the JIRA?

2010-10-20 Thread Lukasz Lenart
2010/10/20 Greg Akins : > https://issues.apache.org/struts/ gives me a 404 https://issues.apache.org/issues/ Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsub

Re: Struts Tiles Problem

2010-11-05 Thread Lukasz Lenart
2010/11/5 Rafael Medeiros : > How to use plugin-tiles in struts 1.3.8: Check the documentation http://struts.apache.org/1.x/struts-tiles/installation.html Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl

Re: Struts Tiles Problem

2010-11-08 Thread Lukasz Lenart
2010/11/8 Andy T : > Hi Lukasz, > > I have struts-tiles-1.3.8.jar loaded . . . is this what you mean? Yes, it should be sufficient, could you post your struts config? Below is extract from the log you sent me. FATAL main org.apache.struts.tiles.TilesPlugin - TilesPlugin : Specified RequestProcess

Re: javax.servlet.ServletException: BeanUtils.populate

2010-11-25 Thread Lukasz Lenart
2010/11/25 Dominique JUSTE : > Although I have used Struts for five years, I have been facing a trouble > since Monday and I don't understand what's happening... "Monday, monday ... manic monday..." http://www.youtube.com/watch?v=lAZgLcK5LzI Kind regards ;-) -- Łukasz + 48 606 323 122 http://

Re: What is the status of OSGI (pref Equinox) and Struts2 integration?

2010-12-07 Thread Lukasz Lenart
2010/12/7 Andy Doddington : > There seem to be several chat threads out there on the internet, but nothing > more recent than around 2007. Given the obvious > synergies between these two technologies, I find it hard to believe that > nothing more has come of this. There are two bundles, admin an

Re: [S2.2.1] Struts Type Converter for "sub-model" objects not working?

2010-12-12 Thread Lukasz Lenart
2010/12/12 Burton Rhodes : > I know. I don't have a setIncome(String) method. But I do have > setIncome(BigDecimal) method , hence the type conversion. Normally the > class MyCurrencyCoverter will covert the String to BigDecimal, but > it's never called. I am wondering what I am doing wrong that th

Re: [S2.2.1] Struts Type Converter for "sub-model" objects not working?

2010-12-13 Thread Lukasz Lenart
Did you try to user annotation @TypeConversion ? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional

[ANN] Struts 2.2.1.1 GA release available

2010-12-21 Thread Lukasz Lenart
The Apache Struts group is pleased to announce that Struts 2.2.1.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 t

Re: [ANN] Struts 2.2.1.1 GA release available

2010-12-24 Thread Lukasz Lenart
11 > > Currently: http://struts.apache.org/2.2.1.1/version-notes-2211.html > Should be: http://struts.apache.org/2.2.1.1/docs/version-notes-2211.html > > > On Wed, Dec 22, 2010 at 1:03 AM, Lukasz Lenart > wrote: >> The Apache Struts group is pleased to announce that S

Re: Setting object from param tag fails in Struts 2.2.1

2011-01-04 Thread Lukasz Lenart
Here you have the whole packages https://hudson.apache.org/hudson/job/Struts2/lastBuild/org.apache.struts$struts2-assembly/ Kind regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia http://javarsovia.pl

Re: OptionTransferSelect problem

2011-01-04 Thread Lukasz Lenart
2011/1/4 RogerV : > Ok - looking at the page with Firebug reports "Failed to load source for: > http://localhost:8080/GenesisNg-Web/struts/optiontransferselect.js"; so that > probably explains why things aren't working as expected. Now the question is > why the script can't be found. Which jar file

Re: OptionTransferSelect problem

2011-01-04 Thread Lukasz Lenart
2011/1/4 RogerV : > No, I didn't. However I seem to have solved the problem by including the > tag in my jsp page, because now the script is being found by > Firebug and both the left and right list items are being auto selected on > submit. Aha ;-) must always be included if you want to use th

Re: retaining the values in html:select multiple="true" in jsp + collection + struts

2011-01-12 Thread Lukasz Lenart
2011/1/12 > Could some one help me on this please with some example? Please read a bit about Preparable interface http://struts.apache.org/2.x/struts2-core/apidocs/com/opensymphony/xwork2/Preparable.html http://struts.apache.org/2.2.1.1/docs/prepare-interceptor.html Regards -- Łukasz + 48 606 3

Re: retaining the values in html:select multiple="true" in jsp + collection + struts

2011-01-12 Thread Lukasz Lenart
2011/1/12 Maurizio Cucchiara : > Lukasz, > I'm afraid he is using struts 1. You're right, I missed that out ;-) Kind reagds -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia http://javarsovia.pl - To uns

Re: [S2] Struts doesn't upload 0 byte files?

2011-01-18 Thread Lukasz Lenart
2011/1/19 Burton Rhodes : > Thanks for all the help.  I ended up "solving" the issue with a "if > (file.exist())" check. > > However, in case anyone cares to dive into this, I've attached a very > simple Struts2/Maven app that demonstrates the problem.  After trying > to debug the root cause, I thi

Re: Custom Type Converter & Session data

2011-02-16 Thread Lukasz Lenart
Why do not change the format in JSP file ? Convert should do only conversion, formatting should be in view. Do you use the tag to display those dates ? If so, the first entry should be presented with full format, the following entries just with reduced format. And use hidden fields for full forma

Re: Critical question regarding JIRA issue number 'WW-3461'!

2011-02-17 Thread Lukasz Lenart
Hi, I've reopened that issue, I'm going to prepare a new patch. Could you test it ? Kind regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia http://javarsovia.pl - To unsubscribe, e-mail: user-unsu

Re: Critical question regarding JIRA issue number 'WW-3461'!

2011-02-17 Thread Lukasz Lenart
The patch is ready, could you test it ? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands,

Re: DateTimePicker Tag

2011-02-17 Thread Lukasz Lenart
2011/2/18 Jerson John : >  Can u suggest me the best way to use datetime picker tag...It seems normal > Struts 2 Tag Library does not have this... > I try to follow the code dojo library,It's only displaying the label and not > displaying the datetime colander...When I try put the code theme="ajax

Re: Critical performance issue in production environment due to OGNL 3.0 blockages!

2011-02-23 Thread Lukasz Lenart
Hi, Could you post code for MainAppLogin.jsp and StartMainApp interceptor ? And why are you using such interceptors in a production environment ? - TimerInterceptor - ProfilingActivationInterceptor - DebuggingInterceptor Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Jav

Re: Could somebody tell me where can I find struts2 sample maven archetypes?

2011-03-25 Thread Lukasz Lenart
Did you try this one ? http://struts.apache.org/archetype-catalog.xml Kind regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Warszawa JUG conference - Confitura http://confitura.pl/ - To unsubscribe, e-mail: user-un

Re: Migration from 2.1.8 to 2.2.1.1

2011-03-29 Thread Lukasz Lenart
Just read through release notes: http://struts.apache.org/2.2.1/docs/version-notes-221.html http://struts.apache.org/2.2.1/docs/version-notes-2211.html If you aren't running your application on JBoss you must add Javassist library as a dependency Regards -- Łukasz + 48 606 323 122 http://www.le

Re: Migration from 2.1.8 to 2.2.1.1

2011-03-30 Thread Lukasz Lenart
ve. > > is there any version of javaassist or an alternative library with Apache 2 > license? does existing javaassit licenses limits or puts extra restriction on > Apache 2 license that comes with struts 2? > > > > > > - Original Message > From: Lukasz Lenart &

Re: Chinese character problem

2011-03-31 Thread Lukasz Lenart
2011/3/31 Rohit : > I am trying to handle Chinese word in my application (Struts2 bases), but > when the word "沃尔沃" in UI it becomes "沃尔沃". > > How can I handle this? Are you using property files? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Warszawa JUG conference - Confitura h

Re: Struts 2.2.1.1 : reload .properties files

2011-03-31 Thread Lukasz Lenart
2011/3/31 Sami Dalouche : >  - change pom.xml: 0 "scanIntervalSeconds Optional. The pause in seconds between sweeps of the webapp to check for changes and automatically hot redeploy if any are detected. By default this is 0, which disables hot deployment scanning. A number greater than 0 enables i

Re: Struts 2.2.1.1 : reload .properties files

2011-04-04 Thread Lukasz Lenart
2011/4/1 Sami Dalouche : > So, let's continue the discussion directly on JIRA. We're (ASF community) discussing over the list, so let stick with that idea ;-) > Disabling scanIntervalSeconds is exactly what I wanted to do, because I do > not want jetty to redeploy. I directly edit the files in ta

Re: [ANN] Struts2 jQuery Plugin Version 3.0.0 is available

2011-05-06 Thread Lukasz Lenart
Great job Johannes! -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Warszawa JUG conference - Confitura http://confitura.pl/ 2011/5/6 Johannes Geppert : > The new version 3.0.0 is out now. > > Please read the Release Notes[1] and the Changelog [2] to read more > about > the new features lik

Re: Struts 2.2.3 Urls Not Working

2011-05-07 Thread Lukasz Lenart
Should be ok right now, please wait few hours for sync Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Warszawa JUG conference - Confitura http://confitura.pl/ 2011/5/6 Amol Ghotankar : > Hello, > > The download or any other url on struts2's main site not working. > > Page not fou

Re: Handling navigation language in the URL

2011-05-07 Thread Lukasz Lenart
Try to build your own action mapper [1] [2] [1] http://struts.apache.org/2.2.3/docs/actionmapper.html#ActionMapper-CustomActionMapper [2] http://struts.apache.org/2.2.3/struts2-core/apidocs/org/apache/struts2/dispatcher/mapper/ActionMapper.html Regards -- Łukasz + 48 606 323 122 http://www.le

[ANN] Apache Struts 2.2.3 GA release available

2011-05-07 Thread Lukasz Lenart
The Apache Struts group is pleased to announce that Struts 2.2.3 is available as a "General Availability" release. The GA designation is our highest quality grade. * [http://struts.apache.org/download.cgi#struts223] The release is also available from the central Maven repository under Group ID "o

Re: xwork validation dtd no longer on web (opensymphony.com is down)

2011-06-02 Thread Lukasz Lenart
2011/6/2 clancien : > http://svn.opensymphony.com/svn/xwork/tags/xwork-2_1_4/core/src/main/resources/xwork-validator-1.0.2.dtd > http://svn.opensymphony.com/svn/xwork/tags/xwork-2_1_4/core/src/main/resources/xwork-validator-1.0.2.dtd They should available here [1] soon [1] http://struts.apache.or

Re: xwork validation dtd no longer on web (opensymphony.com is down)

2011-06-02 Thread Lukasz Lenart
Could you post a stack trace for that error ? I would like to investigate problem with loading dtds from jar. Kind regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Warszawa JUG conference - Confitura http://confitura.pl/ --

Re: ognl and getText for s:textfield/placeholder

2011-06-07 Thread Lukasz Lenart
2011/6/7 Stephen Ince : > placeholder="%{getText('placeHolder.Username')}" id="j_username" > name="j_username" cssStyle="width:180px" /> What is placeHolder, a bean or a resource key ? If bean: "%{getText(placeHolder.Username)}" If key: '%{getText("placeHolder.Username")}' Regards -- Łukasz

Re: ognl and getText for s:textfield/placeholder

2011-06-07 Thread Lukasz Lenart
placeholder='%{getText("placeHolder.Username")}' id="j_username" > name="j_username" cssStyle="width:180px" /> > > Steve > - Original Message - From: "Lukasz Lenart" > > To: "Struts Users Mail

Re: ognl and getText for s:textfield/placeholder

2011-06-07 Thread Lukasz Lenart
https://issues.apache.org/jira/browse/WW 2011/6/7 Stephen Ince : > Sure. Can you point to the where I should report the issue? > placeHolder will be an issue for HTML5 and anyone wanting to use resource > keys. > > Steve > - Original Message ----- From: "Lukasz Lenart&

Re: ognl and getText for s:textfield/placeholder

2011-06-07 Thread Lukasz Lenart
> > Steve > https://issues.apache.org/jira/browse/WW-3644 > > - Original Message ----- From: "Lukasz Lenart" > > To: "Struts Users Mailing List" > Sent: Tuesday, June 07, 2011 7:07 AM > Subject: Re: ognl and getText for s:textfield/placeholder >

Re: ognl and getText for s:textfield/placeholder

2011-06-07 Thread Lukasz Lenart
2011/6/7 Stephen Ince : > Thanx a lot Lukask! That was quick. Please test it if you can, thanks in advance! Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Warszawa JUG conference - Confitura http://confitura.pl/

Re: Adding a JNDI lookup yields unexpected Struts errors (Spring injection)

2011-06-08 Thread Lukasz Lenart
It works for me ... Hello Lukasz, today is 2011/06/08 Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Warszawa JUG conference - Confitura http://confitura.pl/ 2011/6/8 Miguel : > Hi, > > I have created a test maven project to demonstrate the issue, based on > struts archetype. >

Re: Adding a JNDI lookup yields unexpected Struts errors (Spring injection)

2011-06-08 Thread Lukasz Lenart
647 > > Thanks for the help! > > Enviado a partir do meu HTC > > - Reply message - > De: "Lukasz Lenart" > Data: qua, Jun 8, 2011 13:42 > Assunto: Adding a JNDI lookup yields unexpected Struts errors (Spring > injection) > Para: "Struts Users M

Re: set struts.devMode programatically?

2011-06-11 Thread Lukasz Lenart
2011/6/11 Mitch Claborn : > Is it possible to set struts.devMode programatically, rather than hard coded > in struts.properties or struts.xml? If so, how? I don't think so, it's injected at startup, it would be hard to change that. What is the problem with having devMode in external file ? Regar

Re: How to multi select in Struts/JSP

2011-06-11 Thread Lukasz Lenart
Please try to use OptionTransferSelect tag [1] [1] http://struts.apache.org/2.x/docs/optiontransferselect.html Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Warszawa JUG conference - Confitura http://confitura.pl/ 2011/6/11 spt : > I am new to struts. > > > How do I create a mu

Re: set struts.devMode programatically?

2011-06-12 Thread Lukasz Lenart
2011/6/12 Maurizio Cucchiara : > Starting from the 2.2.3 version there is the opportunity to set DM > dynamically [1]. > [1] https://issues.apache.org/jira/browse/WW-3546 Thanks Maurizio for clarification, I've forgot about that :( Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Wa

Re: Problem with configured action method names and Testing Framework

2011-06-16 Thread Lukasz Lenart
2011/6/17 UV : > When I try to test an action with a method="actionMethod" attribute > configured in a  StrutsTestCase > the AnnotationValidationInterceptor fails in getActionMethod#75 cause it > cannot find the method Try to name your method actionMethod instead of getActionMethod and of return t

Re: access static method with request parameter

2011-06-20 Thread Lukasz Lenart
2011/6/20 k3v1n : > > aaa > Wrap call to myMethod inside your action that should implement RequestAware interface [1], like below public class MyAction implements RequestAware { private Map request; void setRequest(java.util.Map request) { this.request = request; } public boolean isMyMth

Re: access static method with request parameter

2011-06-20 Thread Lukasz Lenart
2011/6/20 k3v1n : > My request is HttpServletRequest instance! not Map! I didn't know that! My magic ball is broken! > I don't understand! I know very well Struts1! We're taking about Struts 2! You can use ServletActionContext [1] [1] http://struts.apache.org/2.x/struts2-core/

<    1   2   3   4   5   6   7   8   9   10   >