Re: params not working before prepare after migration 2.1.6 to 2.1.8.1

2010-01-13 Thread David Canos
solved I use my own paramsPrepareParamsStack so I have to set in every package the interceptor although I did set up in the base package. ... might it be a bug? do i issue it? 2010/1/13 David Canos > Hi folks > after migrating I cannot use paramsPrepareParams interceptorStack b

params not working before prepare after migration 2.1.6 to 2.1.8.1

2010-01-13 Thread David Canos
Hi folks after migrating I cannot use paramsPrepareParams interceptorStack because params are not being called. I have checked setting the log to debug log4j.logger.com.opensymphony.xwork2.interceptor=DEBUG, stdout having no message so any idea? everything would be welcome thank u :) -- David

[REST] PackageLocator find nothing if in a EAR

2009-12-04 Thread David Canos
Hi folks are anyone using Struts2 + Rest plugin in a EAR environment? We are confused, It works in a independent project but after you put it in a EAR project, the packagelocator doesnt find any Controller action. any idea? thank u Struts 2.1.8.1 Glassfish 2.1 -- David Canós www.david-canos.n

Re: [Struts 2.1.8] Message properties on SUBMIT tag not working

2009-11-30 Thread David Canos
hi guys 15th of May in this list someone write: theres something like this on bug-tracking? We are suffering a very strange behavior of the submit tag in a theme=simple > form. I'm using Struts 2.0.12 with i18n done following [1]. > this s:submit give us empty value > if you replace code b

REST multiple return type problems

2009-11-28 Thread David Canos
Hi guys i'm using REST plugin in Struts 2.1.8.1 I'm using ModelDriven and also using a result (resultType stream) to output some special cases like simple "true or false" coded manually in json. It's working properly but if I define I *cannot use my own results*, it's always returning model

Re: File upload issue with Struts 2.1.6 (uploaded file is always null in action)

2009-09-28 Thread David Canos
try changing the browser, Chrome and Safari works bad with some content-type 2009/9/28 hisameer > > Hi Dave, > > Thanks for pointing out the typo in the code. The issue was not that. After > scratching my head off for a week the issue was in the code: > > > > image/jpeg

Re: [S2.1.6] problem with value attribute for

2009-09-12 Thread David Canos
I think we haven't solve the main problem that is, the context appears in the action attribute of a form builded from s:form tag. is s:form ready to not to add the context in a production enviroment? in my company we've decided, as Tommny, to use html tag instead of thank u guys 2009/9/12 Tomm

Re: [OT] Re: [OT] Re: Struts2 is not outputting to the Glassfish server.log

2009-09-10 Thread David Canos
anyway thank you for the answer ;) haha 2009/9/7 > This is really funny...hahaa > I need to find this movie > > -Louis > > > > > From: Dale Newfield > To: Struts Users Mailing List > Sent: Monday, September 7, 2009 6:42:56 AM > Subject: Re: [OT] Re: Struts2 is

Re: Struts2 is not outputting to the Glassfish server.log

2009-09-06 Thread David Canos
Hi Tikiidid you solve the problem? 2009/8/27 David Canos > same to me when working with EAR projects in Glassfish v2 and v2.1. > > try config Exception interceptor, anyway I could not resolved the problem > this way, > I turn struts.debug to on, and then i'm able to see th

Re: Struts2 is not outputting to the Glassfish server.log

2009-08-27 Thread David Canos
same to me when working with EAR projects in Glassfish v2 and v2.1. try config Exception interceptor, anyway I could not resolved the problem this way, I turn struts.debug to on, and then i'm able to see the exception msg in a configured exception.jsp but never in the server.log! I hope it help y

Re: [s2] Struts 2.1.8 - jsonplugin 0.34

2009-08-05 Thread David Canos
it sound a missing jar file. 2009/8/5 Alfredo Brizzi > I have upgrade to struts 2.1.8 and xwork 2.1.5 and when i select items in > my autocompleter i receive this error: > > ... > GRAVE: Servlet.service() for servlet default threw exception > java.lang.NoClassDefFoundError: com/opensymphony/xwo

Re: [s2] Struts 2.1.8 & jsonplugin 0.34

2009-08-05 Thread David Canos
struts2.1.8 has not been released!! 2009/8/5 Alfredo Brizzi > I have upgrade to struts 2.1.8 and xwork 2.1.5 and i receive this error: > > GRAVE: Servlet.service() for servlet default threw exception > java.lang.NoClassDefFoundError: com/opensymphony/xwork2/util/TextUtils > at > com.googlecod

Re: One Struts2-project to rule them all

2009-07-30 Thread David Canos
ndating usage of "https" if the user types "http" >-- Can handle application level controls Language and other stuff. > > Hope it helps. > regards > Kishore. > > > > > > From: David Canos > To: Struts Users

One Struts2-project to rule them all

2009-07-30 Thread David Canos
Hi folksI'm facing a nice problem and I would be glad to hear from you. I think it should be useful to all. Problem is easy: Gandalf and I need to build 15 websites one per domain, I really dont want to maintain 15 different and pretty small projects. I will be happy to use subdomains, but I could

Re: Initializing Application

2009-07-15 Thread David Canos
I think Struts 2 uses a Struts2Filter to do the init issues of the each request 2009/7/15 Balwinder Kumar > Hi All, > > I am trying to develop a framework based on Struts 2, I am finding it very > difficult to decide where to put the code that is generally called in > ActionServlet init met

Re: Struts2 + JPA - Lazy Initialization During View Generation

2009-07-15 Thread David Canos
I use a Hibernate.initilize() call in the DAO layer for every object I need to see in the presentation layer (common jsp files).it avoids Lazy Initializations without passing Hibernate Proxy around layers. It works fine for me 2009/7/15 Nathan Schulte > I'm currently using Struts2 in a project

Re: Possible upgrade to xwork 2.1.4

2009-07-15 Thread David Canos
PSHOT. We should be getting an > xwork 2.1.5 release soon and we'll roll a struts 2.1.8 release right > afterwards. If the vote passes, 2.1.8 will be GA. > > -Wes > > On Wed, Jul 15, 2009 at 11:31 AM, David Canos wrote: > > hi folks > > > > Currently Strut

Possible upgrade to xwork 2.1.4

2009-07-15 Thread David Canos
hi folks Currently Struts 2.1.6 is working with xwork 2.1.2 which has some bugs related to i18n. They are fixed in xwork 2.1.3. http://jira.opensymphony.com/browse/XW-679 I've check struts jira and i haven't seen any upgrade xwork issue. It's hard to work in a i18n context while the i18n-intercep

Re: Stream Result and Japanese data getting corrupted

2009-07-14 Thread David Canos
Hi folks i'm facing the same problem. if a setup *struts.locale=en_GB* in struts.properties I get ISO-8859-1 instead of UTF-8 in some result-type text/plain received. before set up this locale property it worked fine... and all other GETs and POSTs queries are working as expected in UTF-8... Is t

Re: Problem uploading files without content type

2009-06-18 Thread David Canos
it works in firefox! it's a chrome and safari issue! sometimes (depends on the file) this browsers don't set the content type. thanks Dave, you show me the key. I hope it helps the community 2009/6/18 Dave Newton > David Canos wrote: > >> if a try to upload a file

Problem uploading files without content type

2009-06-18 Thread David Canos
hi folks im using struts 2.0.14 if a try to upload a file without ContentType I get this: [ERROR] 10:39:39.953 (FileUploadInterceptor.java:intercept:263) org.apache.struts2.interceptor.FileUploadInterceptor Could not find a Content-Type for <*field*>. Verify that a valid file was submitted.|#] h

Re: Remove .action from forms action attribute

2009-06-02 Thread David Canos
I prefer to render the real path I type. 2009/6/2 Dave Newton > David Canos wrote: > >> Now we have got to remove the suffix, any idea about the preffix >> /MyProject/../? >> > > Don't you want the form to s

Re: Remove .action from forms action attribute

2009-06-02 Thread David Canos
gt; w/o specifying the .action suffix. > > -Wes > > On Tue, Jun 2, 2009 at 12:35 PM, David Canos wrote: > > Hi folks > > > > I'm using Struts 2.1.6 (not convention) and URLRewrite filter.I'm trying > to > > remove .action extension from a form's acti

Remove .action from forms action attribute

2009-06-02 Thread David Canos
Hi folks I'm using Struts 2.1.6 (not convention) and URLRewrite filter.I'm trying to remove .action extension from a form's action attribute. A simple tag like this: it's rendered as: I need to tidy this uri removing ".action" from action-attribute. http://struts.apache.org/2.1.6/docs/form.h

Re: Javascript & CSS obfuscator and packing

2009-05-22 Thread David Canos
yes, an automated way. And also mix all js file into one only. 2009/5/22 Steven Yang > So what you mean is you want the process to be automated?just as if you > press Ctrl+b in Eclipse, its compiles your .java to .class? > but instead turns your .js to .min.js? > > or are you simply looking f

Javascript & CSS obfuscator and packing

2009-05-22 Thread David Canos
Hi guys I'm looking for a plugin or a lib that packs my Javascript and CSS in everydeploy, Google gives nothing useful. if there's nothing done I would be happy to do it but I cant do it alone.

Re: Could not load MultiColumnPrinter.class

2009-05-19 Thread David Canos
st 2.1.6 sample applications in Glassfish? thankx 2009/5/19 David Canos > if you remove convention-plugin jar you dont get the error msg. > anyway it's hard to understand I dont know what's happening inside! > > any idea or plan?? everything is welcome > > thanks in adva

Re: Could not load MultiColumnPrinter.class

2009-05-19 Thread David Canos
if you remove convention-plugin jar you dont get the error msg. anyway it's hard to understand I dont know what's happening inside! any idea or plan?? everything is welcome thanks in advance 2009/5/19 David Canos > Hi again folks. > I have nothing found,

Re: Could not load MultiColumnPrinter.class

2009-05-19 Thread David Canos
Hi again folks. I have nothing found, Could not load MultiColumnPrinter.class still remains as an error. Google says nothing about it. My conventions plugins is failing and I dont know whether is related to this error. 2009/5/12 David Canos > > I was just starting to work with Conv

Re: upgrading to S2.1.6 - ClassNotFoundException:org.springframework.core.SmartClassLoader

2009-05-15 Thread David Canos
Yeah Dave, I need more lib than struts default agree. thanks 2009/5/12 Dave Newton > David Canos wrote: > >> I have upgraded an application to Struts 2.1.6. and error says: >> ClassNotFoundException:org.springframework.core.SmartClassLoader >> I have used all the l

s:submit key failing - ¿maybe bug?

2009-05-15 Thread David Canos
hi guys We are suffering a very strange behavior of the submit tag in a theme=simple form. I'm using Struts 2.0.12 with i18n done following [1]. this s:submit give us empty value if you replace code before to: " /> it works properly always. can anyone with me an idea plz? of course, no warning

Could not load MultiColumnPrinter.class

2009-05-12 Thread David Canos
I was just starting to work with Convention plugin and I get this exception trace. I have tried to add to my struts.xml, but it does nothing. Can anyone help me? thanks java.lang.Exception: Could not load MultiColumnPrinter.class at com.opensymphony.xwork2.util.finder.ClassFinder.readClassDef(

upgrading to S2.1.6 - ClassNotFoundException:org.springframework.core.SmartClassLoader

2009-05-12 Thread David Canos
Hi folks I have upgraded an application to Struts 2.1.6. and error says: ClassNotFoundException:org.springframework.core.SmartClassLoader I have used all the libs that are attached in struts-2.1.6-all.zip. are all that libs correct? I mean, it's hard to believe that this versions were right toget

Re: How to exclude from Struts maillist

2009-01-15 Thread David Canos
user-unsubscr...@struts.apache.org 2009/1/15 Dani > Hi, > > I need to exclude this mail account from Struts maillist because I need > this mail account for another porpouses. > Can anyone tell me the steps to exclude from it? > > Thanks in advance

Re: Logger

2008-12-31 Thread David Canos
t; log4j.logger.org.securityfilter = ERROR > # END :: Configuration 1 : Log of a specific Level > > aFTER LABEL V1.1 - Currently Running1 > > > > > -Original Message- > From: David Canos [mailto:davidca...@gmail.com] > Sent: Wednesday, December 31, 2008 6:

Re: Logger

2008-12-31 Thread David Canos
can you paste your log4j.properties ?? 2008/12/31 Rajil > Hi all; > > > > Can anybody suggest a way to stop all struts specific logs included in my > log file?? > > > > I am using struts2.1.2, jdk1.5, tomcat5.5 and log4j. > > > > > > [http-8055-Processor25] > > com.opensymphony.xwork2.util.loggi

Re: smart URLs

2008-12-10 Thread David Canos
I'm not really sure and I cannot reproduce but one of the solutions about seems to work fine. 1) based in a Application Server. I know lamp coders use the apache mod_rewrite to solve this issue. 2) have you try this: {1} ... remember to scape the slashes. 2008/12/10 AndersLandberg <[EMAIL

Re: Struts2 - After BD dataload app never starts

2008-12-01 Thread David Canos
The problem is now fixed, the schemaExport was working with hibernate.hbm2ddl.auto = created. thanks for the answer lukasz Canós 2008/12/1 Lukasz Lenart <[EMAIL PROTECTED]> > 2008/11/28 David Canos <[EMAIL PROTECTED]>: > > While start the application the log says... &

Struts2 - After BD dataload app never starts

2008-11-27 Thread David Canos
We were working in our application without any problems until today (the application loaded fast and the publish time was around 4 seconds). After filling the tables the application never starts. We have load: num of rows: 24,5M BD size: 1,1Gb While start the application the log says... ServletCon

Re: [Struts 2] Many-to-many form-interface

2008-05-19 Thread David Canos
so I asked looking for a better way. Thank u 2008/5/19 Laurie Harper <[EMAIL PROTECTED]>: > David Canos wrote: > >> I want to build a generic form-interface to cover a simple many-to-many >> relation. >> Like a Writer and Books relation where a Writer could wri

Re: [Struts2] Table pagination (paging)?

2008-05-18 Thread David Canos
I have never used it, but I have heard good opinions about "display tag" project. http://displaytag.sourceforge.net/ Take a look at it. 2008/5/18 sol myr <[EMAIL PROTECTED]>: > Hi, > > What's the Strut2 recommendation for Table Pagination (AKA Paging)? > We're showing a large table (say, 500 r

[Struts 2] Many-to-many form-interface

2008-05-18 Thread David Canos
I want to build a generic form-interface to cover a simple many-to-many relation. Like a Writer and Books relation where a Writer could write some books and a book could be written by some writers. I was thinking in a concrete Struts tag but I find nothing. Could you show me how to solve this iss