Error in Jasper printReport

2009-05-29 Thread Ikya Technical
Hi, Whenever I am giving true in JasperPrintManager.printReport(jasperPrint, true) it is throwing the error net.sf.jasperreports.engine.JRException: Error printing report. But if I am giving it as

Re: Error in Jasper printReport

2009-05-29 Thread Nils-Helge Garli Hegvik
Maybe you should try a Jasper mailing list? Nils-H On Fri, May 29, 2009 at 8:19 AM, Ikya Technical ikyatechni...@gmail.com wrote: Hi,     Whenever I am giving true in                        JasperPrintManager.printReport(jasperPrint, true)    it is throwing the error                

Struts 2.1.6 - reload resource bundles

2009-05-29 Thread Kishan G. Chellap Paandy
Hi, I want to reload resource bundles (application resources) dynamically for i18n. Since it is production, I can't set dev mode struts property to true. Does setting only the struts2 property i18n.reload to true will solve my problem? Is there is any other workaround like doing it

Re: Stuts2 field validation problems

2009-05-29 Thread rakeshp
invalid.fieldvalue.yourpropertyname This should override the default message. Robert Stenholt Mygind wrote: Hi All I have some problems with field validation in Struts2, I am not the most experienced in Struts2. /SNIP I have a form looking something like this: s:form

[s2] strange (for me) OGNL behavior

2009-05-29 Thread kindlerm
Hi, OGNL is a great mystery for me. It does magic and - well - strange things. :-) Perhaps you can help me out. The situation: I have a S2 (2.16) site where I use on some pages a form like this: s:form action=SatImgWetterSWR acceptcharset=UTF-8 s:textfield id=plzs_searchterm

OGNL Check for Enum in a list of Strings

2009-05-29 Thread Richard Sayre
I have a String array and I am trying to see if there is a value in it. Using: s:if test='foo' in myArray works. I want to use the value of an enum in place of foo. I tried s:if test=@my.package.mye...@enum_value in myArray which didn't work. Using the String literal works: s:if

Re: [s2] strange (for me) OGNL behavior

2009-05-29 Thread Jim Kiley
Whenever you click an HTML button with your mouse, the browser will submit the X and Y coordinates of the area that you clicked. This is to support image maps. By giving the submit button a name (I think), the browser tries to provide those X and Y coordinates with respect to the button's name

Aw: Re: [s2] strange (for me) OGNL behavior

2009-05-29 Thread kindlerm
Thanks Jim, that is the explanation I needed. I can't get rid of the name attribute, but I can live with the stack traces in my log file. Martin - Original Nachricht Von: Jim Kiley jhki...@summa-tech.com An: Struts Users Mailing List user@struts.apache.org Datum:

S2: on Servlet 2.3

2009-05-29 Thread Givler, Eric
I read a few threads on this and have not seen anything that reflects that this can be done. Is anyone running Struts2 on an older Servlet Container, and if so, what did you do to get it running? We're stuck with an Oracle Application Server 10gR2 server that can be tweaked to support a newer

Struts 1.3.9 tags-html-el

2009-05-29 Thread David Miller
Greetings, An application that runs just fine in Glassfish 2.1 sort-of craps out when deployed on Weblogic 10.3. Specifically, an exception is thrown upon accessing a page that uses html:checkbox with an EL expression for the 'disabled' attribute: 11:04:29 ERROR

Re: Error in Jasper printReport

2009-05-29 Thread Wes Wannemacher
Or, just quit trying to specify true... Based on the information provided, I would suggest that you specify false from now on. :) -Wes On Fri, May 29, 2009 at 2:24 AM, Nils-Helge Garli Hegvik nil...@gmail.com wrote: Maybe you should try a Jasper mailing list? Nils-H On Fri, May 29, 2009 at

convention plug-in question

2009-05-29 Thread Jim Collings
So if I use dynamic method invocation, like so: /admin/change-wingding!change How will the result urls for that call be constructed? Jim C. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands,

How to make readonly textfield in Struts 2.0.11.2 datetimepicker

2009-05-29 Thread Girish Naik
Hi, I have used struts2-core-2.0.11.2 in My Application. And intend to use the Struts date time picker, but the text field is coming as an editable field. I want to make it as a readonly textbox. The funny thing is that the dojo is not ready to pass my id to the textbox. Only name is supplied to

Re: How to make readonly textfield in Struts 2.0.11.2 datetimepicker

2009-05-29 Thread Jim Collings
I just did this a while ago. All I had to do was set: readonly=true on the struts textfield tag. Mine doesn't have an icon though. On Fri, May 29, 2009 at 2:00 PM, Girish Naik girish.n...@gmail.com wrote: Hi, I have used struts2-core-2.0.11.2 in My Application. And intend to use the Struts

Re: html:errors/ error validation error

2009-05-29 Thread coolsayan
what to change please be specific coolsayan wrote: how to solve??why this html:errors / not working?? code in login.jsp %...@page contentType=text/html% %...@page pageEncoding=UTF-8% %@ taglib uri=http://jakarta.apache.org/struts/tags-bean; prefix=bean % %@ taglib

Cant find @Result type=? list in docs

2009-05-29 Thread Jim Collings
So what are the different options for setting type in an @Result annotation and what are they for? Can't find this in the docs. Jim C. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands,

RE: Error in Jasper printReport

2009-05-29 Thread Martin Gainty
can you post: WEB/INF/web.xml /WEB-INF/classes/struts.xml /WEB-INF/classes/struts-config.xml /WEB-INF/classes/struts-plugin.xml /WEB-INF/classes/xwork-classes.xml any/all *.jsp any/all java source for Action classes version of all jars used (especially which version jasperpreports.jar) DB

Re: Error in Jasper printReport [Friday]

2009-05-29 Thread Wes Wannemacher
I think we'll also need his social security number, any and all credit card numbers and his first-born child. -Wes On Fri, May 29, 2009 at 2:40 PM, Martin Gainty mgai...@hotmail.com wrote: can you post: WEB/INF/web.xml /WEB-INF/classes/struts.xml /WEB-INF/classes/struts-config.xml

Re: Cant find @Result type=? list in docs

2009-05-29 Thread Wes Wannemacher
http://struts.apache.org/2.x/docs/convention-plugin.html#ConventionPlugin-Resultannotation -Wes On Fri, May 29, 2009 at 2:20 PM, Jim Collings jlistn...@gmail.com wrote: So what are the different options for setting type in an @Result annotation and what are they for?  Can't find this in the

Re: Cant find @Result type=? list in docs

2009-05-29 Thread Jim Collings
@Result(name=success, location=http://struts.apache.org;, type=redirect) Question was supposed to be: In the line above, what are the possibilities for type=? I think the answer is: http://struts.apache.org/2.1.6/docs/result-types.html however, I just tried redirect-action mentioned in these

Re: Cant find @Result type=? list in docs

2009-05-29 Thread Wes Wannemacher
It is redirectAction The docs are supposed to auto-update, but they haven't been recently. Apache Infra is working on it. -Wes On Fri, May 29, 2009 at 2:57 PM, Jim Collings jlistn...@gmail.com wrote: @Result(name=success, location=http://struts.apache.org;, type=redirect) Question was

Re: S2: on Servlet 2.3

2009-05-29 Thread Dave Newton
Givler, Eric wrote: I read a few threads on this and have not seen anything that reflects that this can be done. I've run older S2 under servlet 2.3, but that was pre-S2.1. It'd be easier to describe any problems you're having, although I suspect we won't put a huge amount of effort into

Re: html:errors/ error validation error

2009-05-29 Thread Dave Newton
coolsayan wrote: what to change please be specific The taglib URIs. Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: Error in Jasper printReport [Friday]

2009-05-29 Thread Dave Newton
Wes Wannemacher wrote: I think we'll also need his social security number, any and all credit card numbers and his first-born child. Could be a firmware issue, so include a BIOS dump. Dave - To unsubscribe, e-mail:

RE: Cant find @Result type=? list in docs

2009-05-29 Thread Martin Gainty
if you follow the link wes supplied from result-types for redirection-action http://struts.apache.org/2.1.6/docs/redirect-action-result.html take note required params of actionName namespace a fairly comprehensive example used to construct namespace=/genReport actionName=generateReport

Re: Cant find @Result type=? list in docs

2009-05-29 Thread Dave Newton
As Wes said, the problem is that redirect-action is no longer the name of the result: redirectAction is. For some time the wiki hasn't been pulling in code snippets correctly--this may have been fixed, as [1] is currently showing the correct information. I didn't even think *that* one was

Re: Cant find @Result type=? list in docs

2009-05-29 Thread Dave Newton
Martin Gainty wrote: take note required params of actionName namespace Oh, and namespace isn't required. Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail:

RE: Error in Jasper printReport [Friday]

2009-05-29 Thread Martin Gainty
yep.. forgot the BIOS very good dave! Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine

Re: Cant find @Result type=? list in docs

2009-05-29 Thread musomesa
Are you using xml or annotations? Does your package extend struts-default? (the 'built-in' types are defined there) Chris -Original Message- From: Jim Collings jlistn...@gmail.com To: Struts Users Mailing List user@struts.apache.org Sent: Fri, 29 May 2009 2:57 pm Subject: Re:

RE: S2: on Servlet 2.3

2009-05-29 Thread Givler, Eric
I tried to follow the Simple Struts application example on the Wiki and I had a problem with the Struts tags; the dispatching to the URL (.action) seemed ok. (/struts-tags.tlld). As it turns out, I looked at the file and it's definitely JSP 2.0 (it references dynamic tag attributes, etc. and

RE: S2: on Servlet 2.3

2009-05-29 Thread Givler, Eric
Ok... I just did this a couple of minutes ago at home. I'm using: 1. Oc4j 10.1.2.0.2 (standalone oc4j) 2. I'm setting the jdk and java path via the startup script for this to java 5, like this: set java_home=C:\jdk1.5.0_12 set path=C:\jdk1.5.0_12\bin;%path% 3. I used jdev 10.1.3.4 to make the

Re: Struts 1.3.9 tags-html-el

2009-05-29 Thread Paul Benedict
Have you tried 1.3.10 ? If you still have a problem, please log it in Struts JIRA so it can be fixed in 1.3.11. Paul On Fri, May 29, 2009 at 10:20 AM, David Miller possum@gmail.com wrote: Greetings, An application that runs just fine in Glassfish 2.1 sort-of craps out when deployed on

Re: Error in Jasper printReport [Friday]

2009-05-29 Thread Musachy Barroso
lol On Fri, May 29, 2009 at 2:43 PM, Wes Wannemacher w...@wantii.com wrote: I think we'll also need his social security number, any and all credit card numbers and his first-born child. -Wes On Fri, May 29, 2009 at 2:40 PM, Martin Gainty mgai...@hotmail.com wrote: can you post:

why doesnt iterator tag provide 'next'

2009-05-29 Thread Bhaarat Sharma
Iterator it = myList.iterator() while (it.hasNext()) { SomeClass ob1 = (SomeClass) it.next(); SomeClass ob2 = (SomeClass) it.next(); //do something } why can we not achieve the same with s:iterator tag. What was the reasoning behind not providing a 'next' or something similar?

Re: Re: [s2] strange (for me) OGNL behavior

2009-05-29 Thread Musachy Barroso
You can configure the params interceptor to ignore those params. musachy On Fri, May 29, 2009 at 9:00 AM, kindl...@arcor.de wrote: Thanks Jim, that is the explanation I needed. I can't get rid of the name attribute, but I can live with the stack traces in my log file. Martin -

Re: why doesnt iterator tag provide 'next'

2009-05-29 Thread Dave Newton
Bhaarat Sharma wrote: Iterator it = myList.iterator() while (it.hasNext()) { SomeClass ob1 = (SomeClass) it.next(); SomeClass ob2 = (SomeClass) it.next(); //do something } why can we not achieve the same with s:iterator tag. What was the reasoning behind not providing a 'next' or

Re: why doesnt iterator tag provide 'next'

2009-05-29 Thread Bhaarat Sharma
so if there is a need to do something like this ...we are better off using good ole scritplets? % % On Sat, May 30, 2009 at 12:25 AM, Dave Newton newton.d...@yahoo.com wrote: Bhaarat Sharma wrote: Iterator it = myList.iterator() while (it.hasNext()) { SomeClass ob1 = (SomeClass)

Re: How to make readonly textfield in Struts 2.0.11.2 datetimepicker

2009-05-29 Thread Girish Naik
There is no readonly attribute in s:datetimepicker tag. I am using the following tag s:datetimepicker id=registration_date_of_birth_field name=dateOfBirth labelposition=left type=date toggleDuration=2000