Re: Struts 7.0.0-M6 - Runtime Error freemarker.cache.WebappTemplateLoader

2024-06-20 Thread Rubens Gomes
right now. https://issues.apache.org/jira/browse/WW-5430 From: Lukasz Lenart Sent: Thursday, June 20, 2024 12:17 AM To: user@struts.apache.org Subject: Re: Struts 7.0.0-M6 - Runtime Error freemarker.cache.WebappTemplateLoader Nice catch, would you mind

Re: Struts 7.0.0-M6 - Runtime Error freemarker.cache.WebappTemplateLoader

2024-06-19 Thread Lukasz Lenart
Nice catch, would you mind creating a JIRA ticket? czw., 20 cze 2024 o 02:15 Rubens Gomes napisał(a): > I am getting the runtime error below with 7.0.0-M6. It appears that method > "rg.apache.struts2.views.freemarker.FreemarkerManager.createTemplateLoader&qu

Struts 7.0.0-M6 - Runtime Error freemarker.cache.WebappTemplateLoader

2024-06-19 Thread Rubens Gomes
I am getting the runtime error below with 7.0.0-M6. It appears that method "rg.apache.struts2.views.freemarker.FreemarkerManager.createTemplateLoader" is using "freemarker.cache.WebappTemplateLoader" which is based on legacy "javax.servlet"? "Note

Re: Trying to upgrade from struts 2.3 to 2.5-Web links giving 404 error

2024-04-18 Thread Lukasz Lenart
Did you follow the migration guideline [1]? And please post the whole stacktrace [1] https://cwiki.apache.org/confluence/display/WW/Struts+2.3+to+2.5+migration śr., 17 kwi 2024 o 14:11 Sunitha Ganapathy napisał(a): > Hi, > > > > Getting these 3 types of errors after upgrade. > >1.

RE: Trying to upgrade from struts 2.3 to 2.5-Web links giving 404 error

2024-04-17 Thread Sunitha Ganapathy
Hi, Getting these 3 types of errors after upgrade. 1. c.o.xwork2.ognl.OgnlValueStack - Could not find property [struts.actionMapping]! ognl.NoSuchPropertyException: com.opensymphony.xwork2.util.CompoundRoot.struts at

Re: struts 2.5.33 - ERROR DefaultClassFinder - Unable to read class - IncompatibleClassChangeError

2024-03-25 Thread DAngel
I've seen some answers to this error for the asm version, so I checked the library version. I have tried both the version: 7.3.1 (which is the one used in the struts pom), and 9.6 with the same error result. El dom, 24 mar 2024 a las 17:40, Lukasz Lenart () escribió: > This looks like you h

Re: struts 2.5.33 - ERROR DefaultClassFinder - Unable to read class - IncompatibleClassChangeError

2024-03-24 Thread Lukasz Lenart
> Before starting tomcat I delete the content inside the directories > "work" and "temp" > > > OGNL version: > WEB-INF/lib/ognl-3.1.29.jar > WEB-INF/lib/tiles-ognl-3.0.8.jar > > > The following is the error trace for an Action class > (the s

Re: struts 2.5.33 - ERROR DefaultClassFinder - Unable to read class - IncompatibleClassChangeError

2024-03-21 Thread DAngel
Hello, thanks for answering Before starting tomcat I delete the content inside the directories "work" and "temp" OGNL version: WEB-INF/lib/ognl-3.1.29.jar WEB-INF/lib/tiles-ognl-3.0.8.jar The following is the error trace for an Action class (the same thing is rep

Re: struts 2.5.33 - ERROR DefaultClassFinder - Unable to read class - IncompatibleClassChangeError

2024-03-20 Thread Lukasz Lenart
śr., 20 mar 2024 o 01:34 DAngel napisał(a): > ERROR org.apache.struts2.convention.DefaultClassFinder - Unable to read > class [ mi.action.class] > java.lang.IncompatibleClassChangeError: class > org.apache.struts2.convention.DefaultClassFinder$InfoBuildingVisitor has

struts 2.5.33 - ERROR DefaultClassFinder - Unable to read class - IncompatibleClassChangeError

2024-03-19 Thread DAngel
Hi guys. I have migrated an application from struts 2.3 to 2.5.33 I have followed the guide: https://cwiki.apache.org/confluence/display/WW/Struts+2.3+to+2.5+migration#Struts2.3to2.5migration-Dependencies On tomcat startup, I get errors like: ERROR org.apache.struts2

Re: struts 6.0.0 - Error with struts jquery chart sjc - Could not load the FreeMarker template

2022-06-13 Thread Lukasz Lenart
s 2.5.30 with > 6.0.0), everything is fine except the chart, which works fine with > struts 2.5.30 > > Here are errors: > > 2022-Jun-13 12:05:44.988 [http-bio-8080-exec-3] ERROR > org.apache.struts2.components.template.FreemarkerTemplateEngine - Could > not load the FreeMarker

struts 6.0.0 - Error with struts jquery chart sjc - Could not load the FreeMarker template

2022-06-13 Thread Que Thu Dung Nguyen
:  2022-Jun-13 12:05:44.988 [http-bio-8080-exec-3] ERROR org.apache.struts2.components.template.FreemarkerTemplateEngine - Could not load the FreeMarker template named 'chart':  2022-Jun-13 12:05:44.990 [http-bio-8080-exec-3] ERROR org.apache.struts2.components.template.FreemarkerTemplateEngine

Re: URI too long error when using ExecuteAndWait interceptor

2020-11-30 Thread Lukasz Lenart
I thought a bit about this problem and to be honest I didn't find a better solution. It would require some selective logic which params include, e.g: Would that work for you? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ sob., 21 lis 2020 o 16:21 Burton Rhodes napisał(a): >

Re: URI too long error when using ExecuteAndWait interceptor

2020-11-21 Thread Burton Rhodes
I ended up replacing the tag refresh method with javascript that parses the "url" variable and recreates a element on the fly to submit via POST. On Fri, Nov 20, 2020 at 4:19 PM Burton Rhodes wrote: > I have a page that submits a form via POST and uses the ExecuteAndWait > interceptor. On

URI too long error when using ExecuteAndWait interceptor

2020-11-20 Thread Burton Rhodes
I have a page that submits a form via POST and uses the ExecuteAndWait interceptor. On the "wait" jsp I have: "/> However, the includeParams "all" is including all the POST form variables (which there are many), and as a result, I am getting a "URI too long" exception. Is there an easy fix

Re: [S2] getOutputStream() has already been called error?

2020-04-09 Thread Burton Rhodes
> > true > > ERROR > > > > I would move your "exceptionInterceptor" to be the very first > interceptor in the stack, it looks like it catches an exception but > redirect to error.jsp cannot be handled as some

Re: [S2] getOutputStream() has already been called error?

2020-03-15 Thread Lukasz Lenart
wt., 10 mar 2020 o 15:35 Burton Rhodes napisał(a): > > > > > > true > ERROR > I would move your "exceptionInterceptor"

[S2] getOutputStream() has already been called error?

2020-03-10 Thread Burton Rhodes
I am trying to track down a bug in my Struts application and am having difficulty understanding the cause. Only about once per week, I get an "getOutputStream() has already been called" error - see stack trace below. Anyone experienced this before (and found a solution)? I have i

Re: strange error when migrating to convention plugin - Struts 2.5.20

2019-01-28 Thread Lukasz Lenart
could observe the following: > > The line (in a JSP): " > rel="stylesheet" type="text/css"/> generates the following error: > > ERROR Dispatcher Could not find action or result: /blank/css/examplecss > There is no Action mapped for namespace [/css] and ac

strange error when migrating to convention plugin - Struts 2.5.20

2019-01-25 Thread developer researcher
pe="text/css"/> generates the following error: ERROR Dispatcher Could not find action or result: /blank/css/examplecss There is no Action mapped for namespace [/css] and action name [examplecss] associated with context path [/blank]. - [unknown location] The question is, why does st

Re: Struts - XWork validation - error message not taking parameters

2018-03-16 Thread Lukasz Lenart
2018-03-15 14:18 GMT+01:00 Vikul Aggarwal : > Hi > > I am using xwork validation to valid whether the value of an integer falls > in a valid range or not. > > This is how the validator is configured: > > > 0 > 9 > >

Struts - XWork validation - error message not taking parameters

2018-03-15 Thread Vikul Aggarwal
Hi I am using xwork validation to valid whether the value of an integer falls in a valid range or not. This is how the validator is configured: 0 9 int validator is com.opensymphony.xwork2.valida

RE: Conversion Error Interceptor prevent errors for empty values

2018-02-15 Thread Paul Zepernick
. Zepernick Sr. Programmer Analyst HealthSmart Benefit Solutions -Original Message- From: Yasser Zamani [mailto:yasser.zam...@live.com] On Behalf Of Yasser Zamani Sent: Wednesday, February 14, 2018 11:41 AM To: user@struts.apache.org Subject: Re: Conversion Error Interceptor prevent errors

Re: Conversion Error Interceptor prevent errors for empty values

2018-02-14 Thread Yasser Zamani
On 2/14/2018 5:13 PM, Paul Zepernick wrote: > Yes, I have it happening on 2.5.14.1. I have a select box pointing at a > Integer like this: auditForm.incorrectAuditReason.id I am using the rest > plugin which is including it in the stack. I have attached the source from > Maven. Where is

RE: Conversion Error Interceptor prevent errors for empty values

2018-02-14 Thread Paul Zepernick
Trying the attachment again as a txt Paul R. Zepernick Sr. Programmer Analyst HealthSmart Benefit Solutions -Original Message- From: Paul Zepernick [mailto:paul.zepern...@healthsmart.com] Sent: Wednesday, February 14, 2018 8:44 AM To: user@struts.apache.org Subject: RE: Conversion Error

RE: Conversion Error Interceptor prevent errors for empty values

2018-02-14 Thread Paul Zepernick
Solutions -Original Message- From: Yasser Zamani [mailto:yasser.zam...@live.com] On Behalf Of Yasser Zamani Sent: Wednesday, February 14, 2018 4:25 AM To: user@struts.apache.org Subject: Re: Conversion Error Interceptor prevent errors for empty values On 2/13/2018 8:06 PM, Paul

Re: Conversion Error Interceptor prevent errors for empty values

2018-02-14 Thread Yasser Zamani
On 2/13/2018 8:06 PM, Paul Zepernick wrote: > Can someone provide some clarification on if this interceptor should be > adding a field error when an empty string is passed to a Integer in the > action? No, it should not be happening for `conversionError` interceptor. Does it happen?

Conversion Error Interceptor prevent errors for empty values

2018-02-13 Thread Paul Zepernick
Can someone provide some clarification on if this interceptor should be adding a field error when an empty string is passed to a Integer in the action? I am trying to prevent the field error from happening in this case. It looks like it should not be happening according to the docs: https

Re: About error-code 404 is called for each struts action class

2018-01-08 Thread Emi
On 1/6/2018 12:04 AM, Emi wrote: 404.jsp is called by web.xml when going from one page to another. Maybe other requests like a missing favicon, css or javascript causes this. Yes. In one one css file, the following cods caused 404 error. body { font: 0.7em/1.5em "Trebuchet MS&quo

Re: Unknown Error From JSON-Plugin

2018-01-07 Thread j...@rodaxsoft.com
.1 in my EAR deployed in wildfly server, rarely > we are getting the following error when i'm accessing struts2 page. > > Caused by: Unable to load configuration. - bean - > vfs:/content/my-app.ear/lib/struts2-json-plugin-2.5.14.1.jar/struts-plugin.xml:28:30 >

Re: Unknown Error From JSON-Plugin

2018-01-07 Thread Yasser Zamani
On 1/3/2018 10:47 AM, sreekanth wrote: > I have a view page for displaying some already persisted data, this page most > of the time loads without any error (with the same set of data) and rarely > throws the exception which i have shared here. 75% time i've experienced > this ex

Re: About error-code 404 is called for each struts action class

2018-01-05 Thread Yasser Zamani
On 1/6/2018 12:04 AM, Emi wrote: > 404.jsp is called by web.xml when going from one page to another. Maybe other requests like a missing favicon, css or javascript causes this. - To unsubscribe, e-mail:

Re: About error-code 404 is called for each struts action class

2018-01-05 Thread Emi
Any clue why action classes are shown correctly, but 404.jsp still called? In 404.jsp only one line: System.out.println("test"); All struts action classes can be shown correctly, but 404.jsp is called by web.xml when going from one page to another. Thanks. Hello, In web.xml:

About error-code 404 is called for each struts action class

2018-01-05 Thread Emi
Hello, In web.xml: 404 /WEB-INF/pages/errorinfo/tiles_404.jsp For each struts2 action class shows/direct to correct page, but the above line is always called. Could someone let me know what may cause the above section called please? Thanks a lot! -- struts2.5.14.1,

Re: Unknown Error From JSON-Plugin

2018-01-02 Thread sreekanth
I have a view page for displaying some already persisted data, this page most of the time loads without any error (with the same set of data) and rarely throws the exception which i have shared here. 75% time i've experienced this exception when there is class reload happens (as a part of hot

Re: Unknown Error From JSON-Plugin

2018-01-02 Thread Yasser Zamani
On 1/3/2018 9:58 AM, Yasser Zamani wrote: > > > On 1/2/2018 10:31 PM, Yasser Zamani wrote: >> >> >> On 1/2/2018 9:26 PM, Yasser Zamani wrote: >>> Illegal field modifiers in class >>> org/apache/struts2/json/JSONWriter: 0xA >> >> I'm confused :( 0xA means `JVM_ACC_PRIVATE | JVM_ACC_STATIC` but

Re: Unknown Error From JSON-Plugin

2018-01-02 Thread sreekanth
That's why i have given the title as Unknow error , the one possible cause i can think of is, i experienced mostly when i'm doing hot deployment to some service classes (but that class is nowhere referenced in the struts2 Action class ) -- Sent from: http://struts.1045723.n5.nabble.com/Struts

Re: Unknown Error From JSON-Plugin

2018-01-02 Thread Yasser Zamani
On 1/2/2018 10:31 PM, Yasser Zamani wrote: > > > On 1/2/2018 9:26 PM, Yasser Zamani wrote: >> Illegal field modifiers in class >> org/apache/struts2/json/JSONWriter: 0xA > > I'm confused :( 0xA means `JVM_ACC_PRIVATE | JVM_ACC_STATIC` but the > fields in an interface are implicitly public

Re: Unknown Error From JSON-Plugin

2018-01-02 Thread Yasser Zamani
On 1/2/2018 9:26 PM, Yasser Zamani wrote: > Illegal field modifiers in class > org/apache/struts2/json/JSONWriter: 0xA I'm confused :( 0xA means `JVM_ACC_PRIVATE | JVM_ACC_STATIC` but the fields in an interface are implicitly public static final i.e.

Re: Unknown Error From JSON-Plugin

2018-01-02 Thread sreekanth
I'm already using the latest of JDK 8 :- jdk1.8.0_152 (Linux) -- Sent from: http://struts.1045723.n5.nabble.com/Struts-User-f3426046.html - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands,

Re: Unknown Error From JSON-Plugin

2018-01-02 Thread Yasser Zamani
On 1/2/2018 8:36 PM, sreekanth wrote: > Caused by: java.lang.ClassFormatError: Failed to link > org/apache/struts2/json/DefaultJSONWriter (Module "deployment.my-app.ear" > from Service Module Loader): Failed to link > org/apache/struts2/json/JSONWriter (Module "deployment.my-app.ear" from >

Unknown Error From JSON-Plugin

2018-01-02 Thread sreekanth
Hi, I'm using struts2-2.5.14.1 in my EAR deployed in wildfly server, rarely we are getting the following error when i'm accessing struts2 page. Caused by: Unable to load configuration. - bean - vfs:/content/my-app.ear/lib/struts2-json-plugin-2.5.14.1.jar/struts-plugin.xml:28:30

Re: Error on line 25, column 9 in template/simple/radiomap.ftl

2017-11-08 Thread Yasser Zamani
On 11/8/2017 3:49 PM, albert kao wrote: > However, the same error occurred when my jsp page is changed to the > following. > Please help. Thanks. > > > > I think you want something like where myGoodList is a List If you want to simply show radio buttons l

Re: Error on line 25, column 9 in template/simple/radiomap.ftl

2017-11-08 Thread albert kao
Your suggestion is good! My problem is solved. However, the same error occurred when my jsp page is changed to the following. Please help. Thanks. On Mon, Nov 6, 2017 at 9:04 AM, Yasser Zamani <yasser.zam...@live.com> wrote: > > > On 11/6/2017 4:37 PM, Yasser Zamani wrote:

Re: Error on line 25, column 9 in template/simple/radiomap.ftl

2017-11-06 Thread Yasser Zamani
On 11/6/2017 4:37 PM, Yasser Zamani wrote: > then define myGoodList as List As you want to use inside an iterator, I think you want myGoodList as List.

Re: Error on line 25, column 9 in template/simple/radiomap.ftl

2017-11-06 Thread Yasser Zamani
On 11/6/2017 2:53 PM, albert kao wrote: > listValue="value"/> I see that myGoodList is List and String does not have properties named key and value. Please try defining a class named MyGood which has getKey and getValue methods then define myGoodList as List.

Error on line 25, column 9 in template/simple/radiomap.ftl

2017-11-06 Thread albert kao
My program below caused FreeMarker template error . Please help. Thanks. Java: import java.util.ArrayList; import java.util.List; tcma import com.mkyong.common.model.Language; import com.opensymphony.xwork2.ActionSupport; public class RadioButtonAction extends ActionSupport{ private List

Re: Struts 2 JSP Taglib error

2017-10-24 Thread Martin Gainty
From: Christoph Nenning <christoph.nenn...@lex-com.net> Sent: Tuesday, October 24, 2017 7:40 AM To: Struts Users Mailing List Subject: Re: Struts 2 JSP Taglib error Hi, I have often seen this when application included something jsp-api.jar or jee-a

Re: Struts 2 JSP Taglib error

2017-10-24 Thread Christoph Nenning
rom: "ravirajmishr...@gmail.com" <ravirajmishr...@gmail.com> > To: <user@struts.apache.org>, > Date: 24.10.2017 12:53 > Subject: Struts 2 JSP Taglib error > > Hello, > > I am facing the following problem > > SEVERE: Servlet.service() for servle

Re: Struts 2 JSP Taglib error

2017-10-24 Thread Yasser Zamani
On 10/24/2017 10:10 AM, ravirajmishr...@gmail.com wrote: > java.lang.ClassCastException: org.apache.tiles.jsp.taglib.UseAttributeTag > cannot be cast to javax.servlet.jsp.tagext.Tag There are several possible things. Please search the web for "cannot be cast to javax.servlet.jsp.tagext.Tag"

Struts 2 JSP Taglib error

2017-10-24 Thread ravirajmishr...@gmail.com
Hello, I am facing the following problem SEVERE: Servlet.service() for servlet jsp threw exception java.lang.ClassCastException: org.apache.tiles.jsp.taglib.UseAttributeTag cannot be cast to javax.servlet.jsp.tagext.Tag at

Re: Error Struts 2.3.33

2017-09-13 Thread Yasser Zamani
rite it like below instead: >> >> #session['previousBusinessStateList'] >> >> On 9/12/2017 8:57 PM, Deborah White wrote: >>> Can someone take a look at this and tell me what exactly it means and >>> possibly how to resolv

Re: Error Struts 2.3.33

2017-09-12 Thread Yasser Zamani
y it means and >> possibly how to resolve? My log file fills up with these. >> 12:43:57,952 ERROR >> [org.apache.struts2.dispatcher.DefaultDispatcherErrorHandler] >> (ajp-jbappprd4/172.26.11.62:8409-4) Exception occurred during proce

Re: Error Struts 2.3.33

2017-09-12 Thread Yasser Zamani
It means you have Can someone take a look at this and tell me what exactly it means and > possibly how to resolve? My log file fills up with these. > 12:43:57,952 ERROR > [org.apache.struts2.dispatcher.DefaultDispatcherErrorHandler] > (ajp-jbappprd4/172.26.11.62:8409-4) Except

Error Struts 2.3.33

2017-09-12 Thread Deborah White
Can someone take a look at this and tell me what exactly it means and possibly how to resolve? My log file fills up with these. 12:43:57,952 ERROR [org.apache.struts2.dispatcher.DefaultDispatcherErrorHandler] (ajp-jbappprd4/172.26.11.62:8409-4) Exception occurred during processing request

Re: Left justified field error messages in 2.5.10.1

2017-04-04 Thread Lukasz Lenart
5/04/2017 12:15 PM, Patrick Kelly wrote: >> >> >> I am testing an upgrade from 2.3.32 to 2.5.10.1. >> >> In 2.3.32 in Firefox/Chrome/MS-IE/MS-Edge under the xhtml theme when you >> get an field level error message it displays in center of the page just >&g

Re: Left justified field error messages in 2.5.10.1

2017-04-04 Thread Patrick Kelly
4/2017 12:15 PM, Patrick Kelly wrote: I am testing an upgrade from 2.3.32 to 2.5.10.1. In 2.3.32 in Firefox/Chrome/MS-IE/MS-Edge under the xhtml theme when you get an field level error message it displays in center of the page just above the field with the error. In 2.3.32 in Firefox under the

Left justified field error messages in 2.5.10.1

2017-04-04 Thread Patrick Kelly
I am testing an upgrade from 2.3.32 to 2.5.10.1. In 2.3.32 in Firefox/Chrome/MS-IE/MS-Edge under the xhtml theme when you get an field level error message it displays in center of the page just above the field with the error. In 2.3.32 in Firefox under the xhtml theme when you get an field

Re: tiles2.2.2 error for Struts 2.3.28 GA

2016-03-22 Thread Lukasz Lenart
2016-03-22 19:55 GMT+01:00 Emi <em...@encs.concordia.ca>: > Hello, >> >> - Tiles 2 Plugin was upgraded to latest available Tiles 2 version, see >> WW-4568 > > tiles3.x, everything success. > > For tiles2.2.2, after migrating from2.3.24

tiles2.2.2 error for Struts 2.3.28 GA

2016-03-22 Thread Emi
Hello, - Tiles 2 Plugin was upgraded to latest available Tiles 2 version, see WW-4568 tiles3.x, everything success. For tiles2.2.2, after migrating from2.3.24.1 to 2.3.28, got the following error: org.apache.tiles.definition.NoSuchDefinitionException: login_page But "login

Re: Error with chekboxlist

2015-10-18 Thread Lukasz Lenart
2015-10-17 16:48 GMT+02:00 Yaragalla Muralidhar : > Hi Lukasz, >I am using struts 2.3.2. I am not using outside action. There is no such version. Maybe it's related to https://issues.apache.org/jira/browse/WW-4168 Regards -- Łukasz + 48 606 323 122

Re: Error with chekboxlist

2015-10-17 Thread Yaragalla Muralidhar
> the following is the code in jsp. > > > > samples is an arraylist of strings. > > when i put the above tag i am getting the following error. Please help me > to rectify this. > > > Error on line 30, column 13 in template/simple/checkboxlist.ftl > stack.findValue('top

Re: Error with chekboxlist

2015-10-17 Thread Jasper Rosenberg
i , >> the following is the code in jsp. >> >> >> >> samples is an arraylist of strings. >> >> when i put the above tag i am getting the following error. Please help me >> to rectify this. >> >> >> Error on line 30, column 13 in tem

Re: Error with chekboxlist

2015-10-17 Thread Lukasz Lenart
2015-10-17 16:39 GMT+02:00 Jasper Rosenberg : > I’ve seen this behavior a couple of times over the years, and I’m sorry that > I can’t recall the exact issue when I’ve tracked it down, but basically > something is null, probably either the “samples” list, or

Re: Error with chekboxlist

2015-10-17 Thread Lukasz Lenart
t of strings. > > when i put the above tag i am getting the following error. Please help me > to rectify this. > > > Error on line 30, column 13 in template/simple/checkboxlist.ftl > stack.findValue('top') is undefined. > It cannot be assigned to itemKey > The problematic

Re: Error with chekboxlist

2015-10-17 Thread Yaragalla Muralidhar
Hi Lukasz, I am using struts 2.3.2. I am not using outside action. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ * On Sat, Oct 17, 2015 at 8:12 PM, Lukasz Lenart wrote: > 2015-10-17 16:39 GMT+02:00

Error with chekboxlist

2015-10-16 Thread Yaragalla Muralidhar
Hi , the following is the code in jsp. samples is an arraylist of strings. when i put the above tag i am getting the following error. Please help me to rectify this. Error on line 30, column 13 in template/simple/checkboxlist.ftl stack.findValue('top') is undefined. It cannot be assigned

sjg:gridcolumn validation and error display

2015-09-14 Thread fea jabi
The above has to be a 8,4 decimal number basically with 3 digit max number and 4 decimal places. how to set this rule in the grid column? Also, how is the recently edited row cell value is highlighted if any validation error when saving a row.

RE: Struts 1.3 errorStyleClass Not Working (Error Field Highlighting)

2015-09-03 Thread Givler, Eric
This is interesting to say the least. I have a similar form where I MANUALLY PERFORM the validation and I stick in the message keys myself for a bunch of detail records. I add them via a helper function: /** * Return the field name that represents the detail row that is in error

RE: Textfield onchange --> handling ajax error response to show action errors

2015-09-02 Thread Christoph Nenning
t; Subject: RE: Textfield onchange --> handling ajax error response to > show action errors > > Can you point me to a link that has the sample which does this > please? I tried but couldn't get the result. > > Thanks, for trying to help me on this. > > > > > F

RE: Textfield onchange --> handling ajax error response to show action errors

2015-09-02 Thread Martin Gainty
> To: user@struts.apache.org > Subject: RE: Textfield onchange --> handling ajax error response to show > action errors > From: christoph.nenn...@lex-com.net > Date: Wed, 2 Sep 2015 10:08:16 +0200 > > The documentation about ajax-validation might help you: > >

RE: Textfield onchange --> handling ajax error response to show action errors

2015-09-01 Thread fea jabi
Can you point me to a link that has the sample which does this please? I tried but couldn't get the result. Thanks, for trying to help me on this. > From: lukaszlen...@apache.org > Date: Sun, 30 Aug 2015 15:22:52 +0200 > Subject: Re: Textfield onchange --> handling ajax er

Re: Textfield onchange -- handling ajax error response to show action errors

2015-08-30 Thread Lukasz Lenart
. onsucess --- everything works fine as needed on failure - like user entered wrong data --- How to show the error messages in jsp. I added fieldError but not sure how to show it in jsp with the ajax stuff. In jsp s:actionerror/ script$.ajax

Textfield onchange -- handling ajax error response to show action errors

2015-08-28 Thread fea jabi
text-field onchange --- making ajax call. onsucess --- everything works fine as needed on failure - like user entered wrong data --- How to show the error messages in jsp. I added fieldError but not sure how to show it in jsp with the ajax stuff. In jsp s:actionerror

RE: OGNL error --- Unexpected Exception caught setting ... on 'class.........

2015-08-26 Thread fea jabi
private String[] publisherName; //why is this an Array of String instead of String publisherName; I had it as String but after seeing the error I modified it to String[] and tried that. MGwhere are you setting the publisherName?.. in constructor of Action class? I did

OGNL error --- Unexpected Exception caught setting ... on 'class.........

2015-08-26 Thread fea jabi
in autocompleter and submit the form seeing this in console Unexpected Exception caught setting 'publisherName' on 'class com.xxx.createAction: Error setting expression 'publisherName' with value ['', ] when I select something in autocompleter and submit the form seeing this in console Unexpected Exception

RE: OGNL error --- Unexpected Exception caught setting ... on 'class.........

2015-08-26 Thread Martin Gainty
From: zy...@hotmail.com To: user@struts.apache.org Subject: OGNL error --- Unexpected Exception caught setting ... on 'class. Date: Wed, 26 Aug 2015 19:42:36 -0400 Have a Publisher class with attributes Publisher ---class name code Action class private String

Re: 404 error with @Action(/) when upgrading Struts2 REST 2.1.8 to 2.3.7

2015-07-28 Thread Julio Aragao
Sure thing Lukasz! Thanks! Julio Aragao Software Engineer ju...@quimbik.com Skype: jcnaragao Mobile Phone: US 415-684-8506 A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a

Re: 404 error with @Action(/) when upgrading Struts2 REST 2.1.8 to 2.3.7

2015-07-22 Thread Lukasz Lenart
2015-07-21 12:54 GMT+02:00 Júlio Aragão ju...@quimbik.com: Lukasz, Thanks for the answer. So, is there a way to map the root to an specific action, with convention and rest plugins, once RestActionMapper returning null is the desired effect? Hm... not sure if such situation was predicted. I

Re: 404 error with @Action(/) when upgrading Struts2 REST 2.1.8 to 2.3.7

2015-07-21 Thread Júlio Aragão
to update it to the latest version (2.3.24) but one feature I used to have stopped working. I tracked the versions after 2.1.8, and found out that it was after version 2.3.7 that the problem started to happen. I have created a simple app called “upgradetest to isolate the problem. Here is the error

Re: 404 error with @Action(/) when upgrading Struts2 REST 2.1.8 to 2.3.7

2015-07-21 Thread Lukasz Lenart
the problem. Here is the error scenario: I have an Action called HomeController, in which I have a method index() that is marked with the @Action(“/“) annotation, so that the root url of the app maps to this method, like below: package upgradetest.web.struts; import org.apache.struts2

404 error with @Action(/) when upgrading Struts2 REST 2.1.8 to 2.3.7

2015-07-20 Thread Julio Aragao
that the problem started to happen. I have created a simple app called “upgradetest to isolate the problem. Here is the error scenario: I have an Action called HomeController, in which I have a method index() that is marked with the @Action(“/“) annotation, so that the root url of the app maps to this method

Struts 1.3 errorStyleClass Not Working (Error Field Highlighting)

2015-07-07 Thread eugenebalt
The errorStyleClass attribute on the html:text Struts 1.3 tag is not working for me. It's supposed to highlight the error fields accumulated correctly in the ActionErrors collection. In the output HTML I see the error style isn't included. It only has the original class that came from styleClass

Re: Struts 1.3 errorStyleClass Not Working (Error Field Highlighting)

2015-07-07 Thread eugenebalt
So, I now have some more info about this problem, which could maybe help us debug it: If you open Struts' BaseHandlerTag.doErrorsExist(), which is called to set the Error Style, it looks like this. Note the very last statement, the -paired double condition for errorsExist. protected boolean

Re: File Upload error making request parameters empty

2015-02-16 Thread Christoph Nenning
, We need to upload files. Hence I am using defaultStack Interceptor, which uses file upload interceptor. If I select a large file to upload and fileupload interceptor displays error message on the same page. I have few hidden fields, whose values are pre populated

Re: File Upload error making request parameters empty

2015-02-16 Thread Lukasz Lenart
2015-02-16 13:56 GMT+01:00 Christoph Nenning christoph.nenn...@lex-com.net: Thanks a Lot. Upgrading the struts2 version to 2.3.20 and using the alternative libraries, solved the problem. But additionally while using the alternate library , I needed to declare bellow constant constant

Re: File Upload error making request parameters empty

2015-02-16 Thread Arpan
Moreover here the error message is hard coded in the java file. It may not be acceptable for many companies. On Mon, Feb 16, 2015 at 6:34 PM, Lukasz Lenart lukaszlen...@apache.org wrote: 2015-02-16 13:56 GMT+01:00 Christoph Nenning christoph.nenn...@lex-com.net: Thanks a Lot. Upgrading

Re: File Upload error making request parameters empty

2015-02-16 Thread Lukasz Lenart
2015-02-17 7:16 GMT+01:00 Arpan arpan.deb...@gmail.com: Moreover here the error message is hard coded in the java file. It may not be acceptable for many companies. Please register a ticket in JIRA Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl

Re: File Upload error making request parameters empty

2015-02-15 Thread Arpan
at 6:49 PM, Christoph Nenning christoph.nenn...@lex-com.net wrote: HI All, We need to upload files. Hence I am using defaultStack Interceptor, which uses file upload interceptor. If I select a large file to upload and fileupload interceptor displays error message on the same page

Re: File Upload error making request parameters empty

2015-01-09 Thread Lukasz Lenart
2015-01-09 12:27 GMT+01:00 Arpan arpan.deb...@gmail.com: HI All, We need to upload files. Hence I am using defaultStack Interceptor, which uses file upload interceptor. If I select a large file to upload and fileupload interceptor displays error message on the same page. I have few hidden

Re: File Upload error making request parameters empty

2015-01-09 Thread Christoph Nenning
HI All, We need to upload files. Hence I am using defaultStack Interceptor, which uses file upload interceptor. If I select a large file to upload and fileupload interceptor displays error message on the same page. I have few hidden fields, whose values are pre populated. But when

Re: File Upload error making request parameters empty

2015-01-09 Thread Christoph Nenning
HI All, We need to upload files. Hence I am using defaultStack Interceptor, which uses file upload interceptor. If I select a large file to upload and fileupload interceptor displays error message on the same page. I have few hidden fields, whose values are pre populated. But when file

File Upload error making request parameters empty

2015-01-09 Thread Arpan
HI All, We need to upload files. Hence I am using defaultStack Interceptor, which uses file upload interceptor. If I select a large file to upload and fileupload interceptor displays error message on the same page. I have few hidden fields, whose values are pre populated. But when file upload

Tracking down a StreamResult error??

2014-11-12 Thread Burton Rhodes
I am having trouble tracking down an error we are experiencing on our production server. This happens very rarely, but every once in a while we will get flooded with 75+ error logs in about a 1 minute span with the errors below. Having trouble identifying which action and/or class is causing

Re: Tracking down a StreamResult error??

2014-11-12 Thread Chris Pratt
(and probably log the heck out of those situations). (*Chris*) On Wed Nov 12 2014 at 9:56:10 AM Burton Rhodes burtonrho...@gmail.com wrote: I am having trouble tracking down an error we are experiencing on our production server. This happens very rarely, but every once in a while we will get

Help for File Upload error

2014-10-31 Thread Arpan
HI All, I am getting a linkagge error while doing file upload operation. I am using fileupload interceptor. Can anyone please tell me how to get rid of that error. Thanks Arpan java.lang.LinkageError: loader constraint violation: when resolving method

Re: Help for File Upload error

2014-10-31 Thread Lukasz Lenart
Too many commons-fileupload.jar ? 2014-10-31 7:18 GMT+01:00 Arpan arpan.deb...@gmail.com: HI All, I am getting a linkagge error while doing file upload operation. I am using fileupload interceptor. Can anyone please tell me how to get rid of that error. Thanks Arpan

Re: Help for File Upload error

2014-10-31 Thread Manoj . Sharma
Hi All, This issue may be because of same name class being loaded in two different ways by two different loaders on the same name. Make sure you don't include any extra jars. with regards Manoj Kumar Sharma Re: Help for File Upload error Lukasz Lenart to: Struts Users Mailing

Re: Help for File Upload error

2014-10-31 Thread Arpan
: Hi All, This issue may be because of same name class being loaded in two different ways by two different loaders on the same name. Make sure you don't include any extra jars. with regards Manoj Kumar Sharma Re: Help for File Upload error Lukasz Lenart to: Struts Users

Re: session already invalidate error in Tomact 7.0.22

2014-08-04 Thread saikrishna
Lukasz Lenart lukaszlenart at apache.org writes: Can you post the whole stacktrace? 2014-07-22 13:59 GMT+02:00 saikrishna saikrishnaadivi at gmail.com: Hi I am getting the below error,repeatedly.Kindly adivce me on the soulution. 2014-07-17 09:25:37,654 ERROR Dispatcher:38

  1   2   3   4   5   6   7   8   9   10   >