Re: JasperReports plugin - confused on a NullPointerException

2017-07-17 Thread Jon Eskin
Sure, I’ll get a JIRA ticket registered for that. And I would be happy to contribute the example. > On Jul 17, 2017, at 3:45 AM, Lukasz Lenart wrote: > > 2017-07-14 12:16 GMT+02:00 Jon Eskin : >> I just tried switching to 2.5.12 but I'm seeing the same error. > >

Re: JasperReports plugin - confused on a NullPointerException

2017-07-14 Thread Jon Eskin
I just tried switching to 2.5.12 but I'm seeing the same error. > On Jul 14, 2017, at 2:27 AM, Lukasz Lenart wrote: > > Can you try to use the latest 2.5.12 version? There was some issue > related to the JasperReports fixed with this release. > > 2017-07-14 2

JasperReports plugin - confused on a NullPointerException

2017-07-13 Thread Jon Eskin
I tried to make a sample project using code from a tutorial I found for the JasperReports plugin (https://struts.apache.org/docs/jasperreports-tutorial.html ). I’m seeing a NullPointerException in my logs when I try to run the report

Re: "align=center" doesn't seem to work in Struts 2.5 Velocity tags

2016-05-15 Thread Jon Juaristi
-- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > Hi Lukasz, thanks for the response. I've added the issue here: https://issues.apache.org/jira/b

"align=center" doesn't seem to work in Struts 2.5 Velocity tags

2016-05-13 Thread Jon Juaristi
e obviously arranged the same. It's not a major issue, just that apparently the pages don't generate as they should, for some strange reason. I don't know of other alternatives, if there is any. [1] https://struts.apache.org/docs/velocity-tags.html T

Re: Getting Context within

2009-11-18 Thread Jon Wynacht
Yupthanks! On Nov 18, 2009, at 8:30 AM, Brian Thompson wrote: > Something like the following should work (double-check the syntax though!): > > <%@ page import="com.oe.wa.cal.bean.DownloadBean" %> >> <% >> >for (DownloadBean db: (List) > request.getAttribute("downloadList").iterator

Re: Question about objects in a JSP

2009-11-18 Thread Jon Wynacht
Ahhh...that's cool. Thanks! On Nov 18, 2009, at 12:29 PM, ben_979 wrote: > > > By 'old struts', I'm assuming 1.x ... > > In our application, our application sets values into the request with > request.setAttribute("varName", var) and then references the variables in > the jsp with (for example

Getting Context within

2009-11-18 Thread Jon Wynacht
Attribute("download"); out.print(db.getSomeProperty()); %> Note that I want to do this with a scriptlet and not with tags. Thanks! Jon - To unsubscribe, e-mail: user-u

Question about objects in a JSP

2009-11-17 Thread Jon Wynacht
ike I can easily do this with a scriptlet but I'm not sure how to access the Event object. Or perhaps the tag set is in order here? I've tried but to do all the tests with value too I come up with a large chunk of tags. Any advice, help or heckling

RE: Hidden tag does not HTML Encode

2009-08-18 Thread Redfield, Jon
or "executeJavascript" attribute, as I can see the usefulness of not cleaning the data when pulling from properties files, but by default it should clean the data. From: Martin Gainty [mailto:mgai...@hotmail.com] Sent: Tuesday, August 18, 2009 11:19 AM To: Redfield, Jon Subject:

Hidden tag does not HTML Encode

2009-08-18 Thread Redfield, Jon
there are still times we'd like to use but can't unless we clean the data ourselves. We've found that the tag does HTML Encoding, and the and tags do URI Encoding, and feel the framework should also cleanse . Any thoughts? Jon R

Struts 2 performance

2009-07-29 Thread Say Jon
Hi guys, I have been using Struts 2 for a while for some of my web apps. Performance is OK. I'm getting less than 400ms when I use the timerinterceptor for a regular "retrieve" operation. I'm just wondering, with the interceptor architecture it seems that there are many "layers" to go thru' when S2

Re: struts 1.x, how to create package ?

2009-07-27 Thread Jon Senior
ny war process that already exists. -- Jon Senior - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: ParameterInterceptor problem

2009-07-16 Thread Say Jon
ately and delete any copies of this email. Any unauthorised disclosure, copying, distribution or any action taken in reliance on the contents of this information is strictly prohibited and may be unlawful. On Thu, Jul 16, 2009 at 3:47 PM, Robert Graf-Waczenski wrote: > Say Jon schrieb: > >

Re: ParameterInterceptor problem

2009-07-16 Thread Say Jon
; that the getModel() return value depends on the user's session and maybe the > value is ok when the session is fresh and the value is not ok when you call > your action repeatedly. (Again, guesswork here...) > > Quoting your action source code and your model class source code would

ParameterInterceptor problem

2009-07-15 Thread Say Jon
Hi all, I have been using Struts 2 for a while now and I am pulling my hair over the following issue. At times, when my parameter name contains a period, the Parameterinterceptor doesn't seem to be applied properly. For example I have a parameter "userAddress.country.id" which points to getModel().

RE: Display only 100 chars of a string

2009-06-22 Thread Jon Pearson
use i don't see anything. > I'm inside an iterator , with this thing works value="%{description}" /> with yours no. > seems that description is empty when i do value="@java.lang.str...@format('%.100s', description)" /> > > On Mon, Jun 22,

RE: Display only 100 chars of a string

2009-06-22 Thread Jon Pearson
iling List > Subject: Re: Display only 100 chars of a string > > @Greg: do u put that code inside the bean? i can't do this. > @Jon thanks, but i've some problem with the " of the part: "%.100s" > the system found a end tag " at the first " that it

RE: Display only 100 chars of a string

2009-06-22 Thread Jon Pearson
sers Mailing List > Subject: Re: Display only 100 chars of a string > > On Mon, Jun 22, 2009 at 17:46, Jon > Pearson wrote: > > String.format("%.100s", s); > how can i put this thing in the jsp? > > > -- > Stefano > >

RE: Display only 100 chars of a string

2009-06-22 Thread Jon Pearson
That would cause an IndexOutOfBoundsException if the string was shorter than 100 chars. Try this instead: String.format("%.100s", s); That would return up to 100 characters from the beginning of the string 's'. > -Original Message- > From: Avlesh Singh [mailto:avl...@gmail.com] > Sent

RE: STRUT2

2009-06-17 Thread Jon Pearson
Perhaps what you want is a ? > -Original Message- > From: cmoreno [mailto:cristina.moren...@gmail.com] > Sent: Wednesday, June 17, 2009 1:02 PM > To: user@struts.apache.org > Subject: STRUT2 > > > Hi > I have a problem with tag. How can I use into > this tag 's value > special char

RE: Option transfer select (WORKAROUND FOUND)

2009-06-17 Thread Jon Pearson
h; i++) { 120 list.options[i].selected = true; 121 } 122 123 var form = document.getElementById("update"); 124 form.submit(); 125 } Which I call in the onclick="" handler for my form submission. > -----Original Message- > From: Jon Pearson > Sent: Wednesday, June 17, 20

Option transfer select

2009-06-17 Thread Jon Pearson
I am trying to get an option transfer select control to work, but I'm having difficulty getting the results back out of it. It looks like the control passes values in the two lists back to the server by selecting all items in each list and then letting the standard form submission mechanism do its

RE: Newbie (possibly RTFM) issue

2009-06-15 Thread Jon Pearson
Also, in tags, you don't need to enclose the test in %{} because it is evaluated anyway. Not that it'll change your result at all, just thought I'd save you the extra couple of keypresses. > -Original Message- > From: Wes Wannemacher [mailto:w...@wantii.com] > Sent: Monday, June 15, 2

RE: File Upload in Mozilla

2009-06-02 Thread Jon Pearson
You're not the only one annoyed by this, but it's a security fix. Here's someone else's opinion on it: http://codangaems.blogspot.com/2008/06/firefox-3s-file-upload-box.html And the security vulnerability description: http://secunia.com/advisories/20442/ Sorry to say, you can't do what you want t

RE: struts2 on jboss java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable

2009-05-20 Thread Jon Pearson
Well, I got past my problem by providing the name of the action to execute, instead of relying on Tomcat to specify that Struts should execute the default one. I'll play with my configuration later to get that fixed, hopefully it won't be too difficult. > -Original Message----

RE: struts2 on jboss java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable

2009-05-20 Thread Jon Pearson
a:447) java.lang.Thread.run(Thread.java:619) I have no idea DefaultActionMapper would be throwing a NullPointerException, though... > -Original Message- > From: Jon Pearson > Sent: Wednesday, May 20, 2009 12:26 PM > To: Struts Users Mailing List > Subject: RE: struts2 on jboss java.lang.

RE: struts2 on jboss java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable

2009-05-20 Thread Jon Pearson
I'm having this same problem on Tomcat 6. Here's the stack trace: javax.servlet.ServletException: org/apache/struts2/util/ObjectFactoryDestroyable at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:294) at org.apache.catalina.security.SecurityUtil.doAsPrivilege(

RE: I18n blew up

2009-05-19 Thread Jon Pearson
encounter this issue in the future. > -Original Message- > From: Jon Pearson > Sent: Tuesday, May 19, 2009 5:04 PM > To: Struts Users Mailing List > Subject: RE: I18n blew up > > Thanks, but the problem is definitely Eclipse. It was working > last week, and now it isn&

RE: I18n blew up

2009-05-19 Thread Jon Pearson
à la > manipulation, nous ne pouvons accepter aucune responsabilité > pour le contenu fourni. > > > > > > Subject: RE: I18n blew up > > Date: Tue, 19 May 2009 16:04:15 -0400 > > From: jon.pear...@sixnet.com > > To: user@struts.apache.org > > >

RE: I18n blew up

2009-05-19 Thread Jon Pearson
o get Eclipse to behave properly again? > -Original Message- > From: Jon Pearson > Sent: Tuesday, May 19, 2009 4:04 PM > To: Struts Users Mailing List > Subject: RE: I18n blew up > > Upon further examination, it looks like 'struts.properties' > i

RE: I18n blew up

2009-05-19 Thread Jon Pearson
Upon further examination, it looks like 'struts.properties' is not being loaded -- When I cause an exception, I don't see the development-mode data that I would expect for having this line in that file: struts.devMode = true Still very confused. > -Original Message- &

I18n blew up

2009-05-19 Thread Jon Pearson
I moved away from the web side of my project for a couple of days to take a break, and now as I come back, I18n has completely stopped working. In 'struts.properties' I have the line struts.custom.i18n.resources = global-messages And in 'global-messages.properties' I have text like this i18n.pr

RE: Dynamic property names

2009-05-08 Thread Jon Pearson
e property with that name from the object #object, you can retrieve it by writing "#variable(#object)". Hope this is useful to others! ~Jonathan > -Original Message- > From: Jon Pearson > Sent: Thursday, May 07, 2009 1:14 PM > To: Struts Users Mailing List > S

RE: Align issues in struts 2 UI atgs

2009-05-08 Thread Jon Pearson
If it's in a table, you need to place each of those elements in its own . Here's a version of your code that could work like this: ~Jonathan > -Original Message- > From: Murugesh [mailto:muruges...@gmail.com] > Sent: Friday, May 08, 2009 8:26 AM > To: Struts Users

RE: Date/time formatting

2009-05-08 Thread Jon Pearson
Nevermind, I was reading it wrong; when using those format strings, they belong in tags, not in . Sorry, and thanks! > -Original Message- > From: Jon Pearson > Sent: Friday, May 08, 2009 7:53 AM > To: Struts Users Mailing List > Subject: RE: Date/time formatting >

RE: Date/time formatting

2009-05-08 Thread Jon Pearson
ing.net] > Sent: Thursday, May 07, 2009 9:03 PM > To: Struts Users Mailing List > Subject: Re: Date/time formatting > > http://struts.apache.org/2.1.6/docs/formatting-dates-and-numbers.html > > Jon Pearson schrieb: > > Right, but I don't want to specify the form

Dynamic property names

2009-05-07 Thread Jon Pearson
I am trying to build out a table of values. I would like the user to be able to choose which columns are visible, and to re-order them (not interactively, on a separate page). My initial method for implementing this looks something like: User preferences: property1 property2 ... And then somethin

RE: Date/time formatting

2009-05-06 Thread Jon Pearson
pour le contenu fourni. > > > > > > Date: Wed, 6 May 2009 14:04:33 -0400 > > From: terry.gard...@sun.com > > Subject: Re: Date/time formatting > > To: user@struts.apache.org > > > > java.text.SimpleDateFormat formats a java.util.Date according to a

Date/time formatting

2009-05-06 Thread Jon Pearson
If I wanted to output a date/time value in the user's locale, is there a simple way to do that? I see there is a tag which would be helpful for getting the date format correct without manually specifying it, but what about a similar tag? Am I going to need to manually specify the standard date fo

RE: Radio button grouping in Struts 2

2009-05-04 Thread Jon Pearson
> Hi all, > > I have a page which iterates over a collection of questions, > with each question having a number of radio buttons which can > be used to select the answer to that question. For example: > > Question 1: Unanswered O Yes O No O > Question 2: Unanswered O Yes O No O > etc..

RE: OGNL in HTML tags

2009-05-01 Thread Jon Pearson
> > Dave Newton wrote: > > > "> > > > > Minor addendum: > > > > IMO when iterating over a collection of model objects a > status lookup > > like this would be a matter of querying the device, rather than > > providing a lookup based on the device ID. > > > > If device statuses need to be mapp

RE: OGNL in HTML tags

2009-05-01 Thread Jon Pearson
> Dave Newton wrote: > > "> > > Minor addendum: > > IMO when iterating over a collection of model objects a > status lookup like this would be a matter of querying the > device, rather than providing a lookup based on the device ID. > > If device statuses need to be mapped to CSS classnames I'

RE: OGNL in HTML tags

2009-05-01 Thread Jon Pearson
> > I'm trying to colorize table rows in a JSP based on the result of a > > function call into the Action. Here's what I want to do: > > > > > > ... > > > > > > And have the function "String getStatus(long deviceID) { > ... }" look > > up the status of a device and return a CSS class name (s

OGNL in HTML tags

2009-04-30 Thread Jon Pearson
I'm trying to colorize table rows in a JSP based on the result of a function call into the Action. Here's what I want to do: ... And have the function "String getStatus(long deviceID) { ... }" look up the status of a device and return a CSS class name (such as 'normal', 'warning', or 'error').

Why does s:file break an ajax form?

2009-02-17 Thread Jon Wilmoth
I'm curious to know why the s:file tag breaks an 2.1.6 ajax form resulting in a javascript error "'message' is null or not an object" in IE6 (target div isn't updated).  The form, which contains some input tags and a s:file tag, works when the standard s:submit tag is used, but doesn't work with

Re: NullPointerException when migrating to 2.1.6

2009-01-28 Thread Say Jon
Jon > Thanks for replying, Pawel. > However, I get the same error message when viewing the config browser. Any > ideas? > > Regards. > W.SayJon > > Email Disclaimer: > The information contained in or attached to this email is confidential and > solely for the use

Re: NullPointerException when migrating to 2.1.6

2009-01-28 Thread Say Jon
> Hi Say, > have You looked at > http://localhost:8080/CONTEXT/config-browser/index.action where > CONTEXT is your app context? That might give You some clues, also to > see this page You need to have config-browser plugin. > > Best greetings, > Paweł Wielgus. > >

RE: NullPointerException when migrating to 2.1.6

2009-01-25 Thread Say Jon
Hi everyone, I have recently upgraded to 2.1.6 from 2.0.11. Startup is OK but when I tried accessing my action class, I get the following error: 2009-01-25 18:45:25,158 ERROR FilterDispatcher:391 - error getting ActionMapping java.lang.NullPointerException at org.apache.struts2.dispatcher.FilterDi

Re: Sending Email Notifications

2008-05-01 Thread Jon Wynacht
but I don't see any replies ;-( Any chance you can forward them to me? Thanks, Jon On May 1, 2008, at 4:49 AM, Jeromy Evans wrote: Jon Wynacht wrote: Hi, I have a Struts action that, when invoked, needs to send email to about 50 people. From what I've read in this forum it seems

Sending Email Notifications

2008-05-01 Thread Jon Wynacht
Hi, I have a Struts action that, when invoked, needs to send email to about 50 people. From what I've read in this forum it seems I should use JMS for this. Any suggestions on which route to take? I'm running Tomcat 5.5.20. Any pointers? Is this overkill? Better solutions? Thanks, Jon

Re: Overriding subset of interceptor params

2008-04-16 Thread Jon Wilmoth
. - Original Message From: Gabriel Belingueres <[EMAIL PROTECTED]> To: Struts Users Mailing List ; Jon Wilmoth <[EMAIL PROTECTED]> Sent: Wednesday, April 16, 2008 4:55:25 PM Subject: Re: Overriding subset of interceptor params Seems OK to me (according to the current

Overriding subset of interceptor params

2008-04-16 Thread Jon Wilmoth
uot;myInterceptor" interceptor's paramA & paramB are null and not "defaultValueA" and "defaultValueB" as expected/desired. actionSpecificValue Thanks, Jon

Re: Advice on Handling From Validation

2008-03-09 Thread Jon Wynacht
sy to do that. I'll probably go that path for now. Thanks, Jon On Mar 8, 2008, at 6:43 PM, Peters, John wrote: Why not use JavaScript for preliminary validation of the form? Sounds like your main issue is a user not entering a value in a field. -Original Message----- From: J

Advice on Handling From Validation

2008-03-08 Thread Jon Wynacht
the form and forgetaboutit. Are there best practices for this sort of thing? Am I missing anything else? Thanks in advance for your help. Cheers, Jon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: ModelDriven vs OGNL assignment?

2007-11-02 Thread Jon Wilmoth
Besides the simplified view references, I've used the level of indirection to allow for a dynamic model on a single action class that implements a number of related actions. In my case the action configuration sets a static property that defines the model property. The getModel implemenation u

Re: [Struts2] CheckBoxList returns XWorkList instead of ArrayList

2007-10-17 Thread Jon D Cruz
at it should be, and I think my Db4o code is in error. Thanks for the replies... newton.dave wrote: > > Isn't XWorkList a sub-class of ArrayList? > > --- Jon D Cruz <[EMAIL PROTECTED]> wrote: > >> >> I've been wracking my brains on this issue for t

[Struts2] CheckBoxList returns XWorkList instead of ArrayList

2007-10-17 Thread Jon D Cruz
I've been wracking my brains on this issue for the last day and wonder if someone out there can help. *** I'm using an ArrayList to populate a CheckBoxList on my JSP. *** The Parent object has an "id" and "name" field. *** I'm using an ArrayList to retrieve the values that have been selected. ***

DateTimePicker "time" type not working in 2.0.11

2007-10-14 Thread Jon Wilmoth
I've tried using the datetimepicker with the type attribute set to "time" (), but nothing shows up. There was a email thread this past spring on this subject, but it appears the tag was broken and to be fixed in 2.1. Is the tag still broken in 2.0.11? Thanks, Jon

params.excludeParams vs. Parameter Filter Interceptor?

2007-09-10 Thread Jon Wilmoth
out unwanted properties. Is there a recommended usage of one vs. the other? Is the excludeParams undocumented because it's going away/experimental or just and oversight? Thanks, Jon

S2.0.8 datetimepicker on"x" not fired (bug?)

2007-07-11 Thread Jon Wilmoth
I've tried several onX event attributes and none of them seem to fire with the S2.0.8 datetimepicker. Is this a bug?

Re: [S2] login action w/FORM authentication?

2007-06-26 Thread Jon Wilmoth
TLY appreciate if one of the Struts developers had a workaround suggestion. For example would it be feasible to port FilterDispatcher to a servlet? ----- Original Message From: Jon Wilmoth <[EMAIL PROTECTED]> To: Struts Users Mailing List Sent: Monday, June 25, 2007 7:14:52 PM Subject: Re

Re: [S2] login action w/FORM authentication?

2007-06-25 Thread Jon Wilmoth
in action w/FORM authentication? yes - it is definitely possible. The thing to remember is that if you are using struts2 tags (which I'm pretty sure you are), you need to redirect through an action first so the value stack is available to the tag. /Ian Jon Wilmoth wrote: >To add a little

Re: [S2] login action w/FORM authentication?

2007-06-25 Thread Jon Wilmoth
jsp._jspService(login_jsp.java:111) If this is off topic and I should post this to the Tomcat user list please let me know...it just seems to me that other S2 users may have this same question. - Original Message From: Jon Wilmoth <[EMAIL PROTECTED]> To: user@struts.apache.org Sent: Sunday, Jun

[S2] login action w/FORM authentication?

2007-06-24 Thread Jon Wilmoth
Is it possible to use an action as the webapp's login page? I've tried the following web.xml/struts.xml entries with S2.0.8 & Tomcat 5.5.23, but get a 404 The requested resource (/mywebapp/login.action) is not available message. FORM /login.action /logi

[S2] validation error message params w/ message key?

2007-06-14 Thread Jon Wilmoth
The DTD (http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd) for the xml validation file definition doesn't appear to support error message parameters. How does one pass msg parameters when using the message key (which I assume is a i18n message file key)? Using the example on http://

[S2] int validator for longs?

2007-06-14 Thread Jon Wilmoth
I noticed there's only two bundled numeric data type validator (int, double). Is there any reason the S2 "int" validator can't be used for long field validations (or other data types w/out decimals)? p.s. The http://struts.apache.org/2.x/docs/validation.html page is missing a link for the doub

RE: [S2] Why are my struts pages rendering slow

2007-06-05 Thread Jon Cruz
eating the form controls on a need-it-now basis, (instead of 'need-the-at-the-beginning'), I have 0 form controls upon first viewing. My page renders as fast as a static page would now. Just a thought Jon -Original Message- From: Charbel Abdul-Massih [mailto:[EMAIL PROTECTED

RE: Multi lingual web site

2007-05-30 Thread Jon Cruz
to the language/Locale that the user requires). Again, it all depends on how many "options" your "select" has. I use it for those "selects" that have no more than 10 "options". Jon -Original Message- From: Joe Yuen [mailto:[EMAIL PROTECTED] Sent: Wed

Re: [S2] How Validators of an Action are Found

2007-05-30 Thread Jon Wilmoth
Thank you. So MyAction-validation.xml will only work with the following (equivalent configs)? /result.jsp or /result.jsp - Original Message From: Musachy Barroso <[EMAIL PROTECTED]> To: Struts Users Mailing List ; Jon Wilmoth <[EMAIL PROTECTED]> Sen

[S2] How Validators of an Action are Found

2007-05-30 Thread Jon Wilmoth
http://struts.apache.org/2.x/docs/validation.html says: Validation rules can be specified: Per Action class: in a file named ActionName-validation.xml Per Action alias: in a file named ActionName-alias-validation.xml Inheritance hierarchy and interfaces implemented by Action class: XWork searche

Re: Excel, Struts and Downloading

2007-05-28 Thread Jon Wynacht
Thanks Frank. I was able to track down an issue with my SQL and have resolved it. I really appreciate this list...most of the time I lurk and glean nuggets of goodness but on occasion when I've had some questions and needed help...folks are there. Cheers! Jon On May 28, 2007, at

Re: Excel, Struts and Downloading

2007-05-28 Thread Jon Wynacht
Hi Mike, Yup. I did that and no error is thrown now, however I don't get the download anymoreI'm thinking I need to implement StrutsFileDownload instead and that's my link? Thoughts? Jon On May 28, 2007, at 8:21 AM, Mike Baroukh wrote: Hi. Maybe it has worked befo

Excel, Struts and Downloading

2007-05-28 Thread Jon Wynacht
#x27;t Any ideas? Am I missing something really obvious or was I bending the rules a bit and taking chances with my data in my previous config? Cheers and thanks, Jon Jon Wynacht [EMAIL PROTECTED] http://www.objectevolution.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [s2] ognl.NoSuchPropertyException with param passing redirect-action

2007-05-16 Thread Jon Wilmoth
It appears to work. I'm just leary of having stacktraces in my log file ;) If turning devmode off will eliminate it I'll try that. - Original Message From: Dave Newton <[EMAIL PROTECTED]> To: Struts Users Mailing List ; Jon Wilmoth <[EMAIL PROTECTED]> Sent: Wed

[s2] ognl.NoSuchPropertyException with param passing redirect-action

2007-05-16 Thread Jon Wilmoth
I'm getting the following stacktrace using 2.0.7 while trying to pass action values during an action redirect result (action config below) and I'm wondering if this is a bug with the test build I'm using or if this is user error (probably the later). I followed the http://www.mail-archive.com/

nightly build dist location empty

2007-05-16 Thread Jon Wilmoth
tlies/ all I found were empty folders. Is this a temporary outage or should I just plan on building the S2 trunk from scratch myself? Thanks, Jon

Re: [s2] datetimepicker - how to preserve original value

2007-05-15 Thread Jon Wilmoth
e thing happens. - Original Message From: Musachy Barroso <[EMAIL PROTECTED]> To: Struts Users Mailing List ; Jon Wilmoth <[EMAIL PROTECTED]> Sent: Tuesday, May 15, 2007 11:56:22 AM Subject: Re: [s2] datetimepicker - how to preserve original value This problem is related to this: https

[s2] datetimepicker - how to preserve original value

2007-05-15 Thread Jon Wilmoth
omponentTagSupport.java:43) Thanks, Jon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

S2 validation i18n message params?

2007-05-14 Thread Jon Wilmoth
The message element in http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd allows for a key to be specified, but how is one supposed to provide i18n parameters with Struts2 (e.g. actual max length of a field)? - To unsu

Re: Too many open files

2007-05-11 Thread Jon Wynacht
en too many files you would see it. lsof list every files, tcp connection included. Can you reproduce easyly the error ? Mike Jon Wynacht a écrit : Would I look for things that are related to Tomcat/MySQL/Struts? I only see about 20 items listed, none of which have anything to do with my app.

Re: Too many open files

2007-05-09 Thread Jon Wynacht
Would I look for things that are related to Tomcat/MySQL/Struts? I only see about 20 items listed, none of which have anything to do with my app. Jon On May 7, 2007, at 6:18 AM, Mike Baroukh wrote: Hi. If you are runnig on unix, couldn't you do something like lsof -p to list

Re: AW: Too many open files

2007-05-09 Thread Jon Wynacht
Hmmm...I typed ulimit and got back unlimited. Thanks for the info though...I'll keep checking. Jon On May 7, 2007, at 1:15 AM, Andreas Solarik wrote: you can also try checking if you have any restrictions in place for your userspace processes --> ulimit as -Urspr

Re: Too many open files

2007-05-07 Thread Jon Wynacht
in error, please notify the sender immediately by telephone or email and destroy the original message without making a copy. Thank you. - Original Message - From: "Jon Wynacht" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Sunday, May 06, 2007

Too many open files

2007-05-06 Thread Jon Wynacht
base stuff? I'm running Struts 1.3.5 with MySQL. Cheers and thanks in advance, Jon Jon Wynacht [EMAIL PROTECTED] http://www.objectevolution.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[S2] datetimepicker fields can't be referenced/updated by ID?

2007-04-11 Thread Jon Wilmoth
I'm using Struts 2.0.7 & AjaxTags 1.2-beta3 and I've come to the painful realization that AjaxTags no longer is able to update Struts2 datetimepicker fields. The new S2 date fields use a div (example html below) instead of an html form input tag. The issue is that the "handler: function(reques

Re: using 1.2.4 and s2 together

2007-01-02 Thread Jon Wilmoth
I'm using 1.2.9 w/ 2.0.1 beta successfully. You may also want to check out http://struts.apache.org/2.x/docs/migration-strategies.html - Original Message From: "Asthana, Rahul" <[EMAIL PROTECTED]> To: user@struts.apache.org Sent: Tuesday, January 2, 2007 10:06:46 AM Subject: using 1.2.4

Re: S2 - Proper way interceptors to interact w/Session

2006-12-18 Thread Jon Wilmoth
changed my interceptors to use the http session to exchange data between themselves dependency injection. - Original Message From: Don Brown <[EMAIL PROTECTED]> To: Struts Users Mailing List ; Jon Wilmoth <[EMAIL PROTECTED]> Sent: Monday, December 18, 2006 11:46:36 AM Subject: Re: S2 - P

S2 - Interceptors & HTTP Response

2006-12-18 Thread Jon Wilmoth
he response via ServletActionContext.getResponse().response.addCookie(userNameCookie) the cookie is never getting sent to the browser. Thanks in advance, Jon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

S2 - Proper way interceptors to interact w/Session

2006-12-18 Thread Jon Wilmoth
I'm working on a custom S2 Interceptor and I'm not sure what the best way to interact with the session and/or other Interceptors for that matter is. First the session. I read http://struts.apache.org/2.x/docs/how-do-we-get-access-to-the-session.html and I tried applying the concept of using a

Re: Application Modules

2006-12-14 Thread Jon Wynacht
Ah...that's it...thanks! Jon On Dec 13, 2006, at 5:06 PM, Jerome Gagner wrote: Don't need to include the .do in html:link On 12/13/06, Jon Wynacht <[EMAIL PROTECTED]> wrote: Hi, I am implementing modules in my application and I want to know the best way to do that in ter

Application Modules

2006-12-13 Thread Jon Wynacht
ct="false" /> Any help or advice is appreciated. Heckles and jeers are too! Thanks, Jon Jon Wynacht [EMAIL PROTECTED] http://www.objectevolution.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Struts2 Storing/Retrieving View objects

2006-12-13 Thread Jon Wilmoth
n Brown <[EMAIL PROTECTED]> To: Struts Users Mailing List ; Jon Wilmoth <[EMAIL PROTECTED]> Sent: Wednesday, December 13, 2006 12:09:05 PM Subject: Re: Struts2 Storing/Retrieving View objects Just provide getter methods on your action. Then, you can retrieve the data in your jsp thr

Struts2 Storing/Retrieving View objects

2006-12-13 Thread Jon Wilmoth
st? How do I ensure the currentUser is present in the ValueStack for multiple requests? Thanks in advance, Jon p.s. I've read through both the "Comparing Struts 1 and 2" and "Struts 1 Solutions" guides and didn't find the answer to my question. ---

Re: Validator without Struts

2006-11-29 Thread Jon Wilmoth
You can try http://jakarta.apache.org/commons/validator/ which is commonly used w/Struts 1. - Original Message From: Jim Reynolds <[EMAIL PROTECTED]> To: user@struts.apache.org Sent: Wednesday, November 29, 2006 2:21:49 PM Subject: Validator without Struts Hello, I have the need to d

Re: NPE in TagUtils.getStack after upgrading to 2.0.1

2006-11-26 Thread Jon Wilmoth
pp. Has anyone successfully used the struts 2 taglibs in a struts 1 app? - Original Message From: Martin Gainty <[EMAIL PROTECTED]> To: [EMAIL PROTECTED]; user@struts.apache.org Sent: Sunday, November 26, 2006 2:15:19 PM Subject: Re: NPE in TagUtils.getStack after upgrading

Re: NPE in TagUtils.getStack after upgrading to 2.0.1

2006-11-26 Thread Jon Wilmoth
I noticed there was an earlier posting on the dev list regarding this (10/10/06). I downloaded the beta version of 2.0.1 from the struts website and I'm getting the same NPE. Is there a work around? I'm trying to ease my transition into S2, and would like to use the datePicker tag w/Struts 1.3

Re: Migrating Struts App From TC 4 -> 5

2006-11-15 Thread Jon Wynacht
's not a Struts-related issue and I'll move my discussion to the Tomcat list... Thanks for the help here Jon On Nov 15, 2006, at 8:49 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jon, Jon Wynacht wrote: Hi Chris, Here's the info, I sh

Re: Migrating Struts App From TC 4 -> 5

2006-11-15 Thread Jon Wynacht
Hi Chris, Here's the info, I should be good to go: panchovilla:/usr/local/tomcat/bin jon$ java -version java version "1.5.0_06" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-112) Java HotSpot(TM) Client VM (build 1.5.0_06-64, mixed mode, sharing) But I'm

Re: Migrating Struts App From TC 4 -> 5

2006-11-15 Thread Jon Wynacht
5.0/Home/ /lib is under that and it doesn't contain tools.jar I'm on Mac OS X...any ideas? I'm puzzled as to why tools.jar isn't there... Thanks, Jon On Nov 15, 2006, at 6:21 AM, Levan Dvalishvili wrote: JDK-5 comes with a fully working XML parser and you shouldn't

  1   2   >