Bjørn,
JasperReports
Many code samples (including embedding charts) available in the
download.
The Ultimate Guide is useful ($35 USD and worth it)
http://jasperreports.sourceforge.net/more.docs.html
Then there is iReport which is a useful GUI tool for report design (for
Wi
Hi all,
I am using the following code to make a html button.
As per the struts-html taglib guide, accesskey attribute is used to
specify a keyboard character to immediately move focus to this element.
I have only one button in my form. Can anyone tell me where is the problem.
Vijay
-
Vijay Pawar wrote:
Hi all,
I am using the following code to make a html button.
As per the struts-html taglib guide, accesskey attribute is used to
specify a keyboard character to immediately move focus to this element.
I have only one button in my form. Can anyone tell me where is the problem.
This one is not getting into my head ..
and in the form bean
boolean getChk(), void setChk(boolean)
checkbox is checked and form is submitted.
how do I retreieve the value "abc"
Thanx.
-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 2
This is a follow-up comment to an earlier thread:
> RE: URGENT: javax.servlet.ServletException: BeanUtils.populate
> As I understand it, you should only ever use String and boolean properties
> in an ActionForm because we're talking about an HTML form buffer here,
> not a business object. I've been
Hi experts here ,
In my form, there is an text which contain a data value, this column in my
database table is nullable, so user can ignore it by blank when submit the
form, but Struts can not passed! The error is :
org.apache.commons.beanutils.ConversionException
So my question is how can I let
Well, I think it a bit restrictive to forbid non-string properties, but I
would say that the docs really ought to make it clear that the recommended
type for all those properties that directly relate to html controls should
be strings.
-Original Message-
From: Steve Raeburn [mailto:[EMAIL
I have used the tag for displaying error messages,
It is displaying in the front end as "null message null" , why the message
is preceded and appended with null.
What could be the problem please advise.
Regards,
Jailani.S
This e-Mail may contain proprietary and confidential information and
- Conditionally display a set of accumulated error messages.
Displays a set of error messages prepared by a business logic component
and stored as an ActionErrors object, a String, or a String array in
request scope. If such a bean is not found, nothing will be rendered.
In order to use this tag
struts validator (client side validation) example is not working in my pc,
even the struts example. but it is working with the other pcs in our office.
i noticed that when i view the page source there is no javascript generated
unlike in the other pc. is there still i have to configure or what?
In what way would it be restrictive? Is there any reason you would need a
non-string property (for html input) ?
Steve
> -Original Message-
> From: Andrew Hill [mailto:[EMAIL PROTECTED]
> Sent: May 29, 2003 11:26 PM
> To: Struts Users Mailing List
> Subject: RE: Why do ActionForms allow n
Hi All,
In the struts-example.war, there are 3 files for ApplicationResources
They are,
org.apache.webapp.example.ApplicationResources.properties,
org.apache.webapp.example.ApplicationResources_jp.properties,
org.apache.webapp.example.ApplicationResources_ru.properties,
I have the following qu
Well firstly for dealing with nested forms, collections of nested forms and
the like.
One also needs to remember that the ActionForm is an object that represents
the state of the UI - and depending on what you are doing you may wish to
use it for storing information relating to ui state that doesn
Hi! I am currently involved in a project that uses Struts 1.1 (RC1) on
Weblogic 6.1. We noticed that there seems to be a problem with Struts'
tag when the property in the bean that we want to display is
NOT of type String. The String properties display fine but properties of
other types such as "
Hi ,
you can use native2ascii.exe in the bin folder of the sun's JDK
native2ascii -encoding iso-8859-x source.properties dest.properties
Hope this helps
Sakis
- Original Message -
From: "Vijay Pawar" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 30, 2003 9:56 AM
Subject:
Thanks for the info, it worked
Regards,
Jailani.S
"Vijay Pawar"
Hi,
Thakyou for the reply but when i execute the command it give me the
following exception.
C:\temp>native2ascii -encoding iso-8859-x abc.properties xyz.properties
java.io.UnsupportedEncodingException iso-8859-x
> Hi ,
> you can use native2ascii.exe in the bin folder of the sun's JDK
>
> native
When I write x I mean the code for the language you want to use
For example the greek is iso-8859-7
You have to find the code for the language you want to use
Regards
Sakis
- Original Message -
From: "Vijay Pawar" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Se
Is there already a set of DateUtilities for ActionForms?
I am finding myself converting to and from Strings and also reformating my
Dates to and from my DB.
I am using EntityBeans and ValueObjects with my ActionForms, so to keep the
types in synch, it seems I have to do serious conversion all th
Hi,
There is an old example in the tile distribution from
http://www.lifl.fr/~dumoulin/tiles/. This example was based on an old
version of the tiles-doc.war, and some links aren't working. But, the
example show how you can write a definition factory to serve a multi
-channel application. You
OK, I definitely get the fact that you might need helper methods in addition
to your html input properties. I guess I've just gotten into the habit of
making ActionForms as simple as possible (actually I prefer DynaActionForms)
and doing any conversions or manipulation in the Action.
Given your ex
>Terribly numpty problem!
>
>I have subclassed the RequestProcessor and set a request attribute
>there, in
>the Action I've checked to see if it is still there, it is. When I forward
>to a jsp page it is null.
>
>Where may I be going wrong please?
>
>Also is there a struts way to do:
>
><%= (Strin
A struts forward can be redirecting or non-redirecting. Check if you are
using a redirecting one (look at whats in your struts config for that
forward) - redirecting ones cause a client side redirection so you start a
new request.
-Original Message-
From: Mike Whittaker [mailto:[EMAIL PROT
>
>A struts forward can be redirecting or non-redirecting. Check if you are
>using a redirecting one (look at whats in your struts config for that
>forward) - redirecting ones cause a client side redirection so you start a
>new request.
>
No Andrew, that didn't work, redirect attribute is false by
I can't seem to figure out how to remove one of the attributes in a DynaForm
I get fro a form submission.
I have a String in there, but I want to remove the String and replace with a
Date instead.
Anyone can help?
---
Thanks...
Mick Knutson
---
___
Thanks for the help on this guys. It was good to know people had
it working.
I've got it to work now. The reason it wasn't working was that for
all secure pages I use a ssl filter which takes any request mapped like
"/secure" and sends it over ssl.
For example, if I want to send the
info for the
i hope i understand your question.
in your action class typecast the form variable to your dynaform name
then access it as a regular javabean.
ex:
public ActionForward execute(ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
throws I
Hi Friends,
Based on struts-documentation, I have prepared the General Outline Diagram
of Struts. This diagram represents the various building blocks of the
basic struts framework.
I welcome all patrons/experts to have a glance at it and add more building
blocks like DynaBeans, FormBeans to it.
Hi Vijay,
I belive you have missed the attachment.
Tarun
-Original Message-
From: Vijay Pawar [mailto:[EMAIL PROTECTED]
Sent: Friday, May 30, 2003 3:48 PM
To: Struts Users Mailing List
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]
Subject: Struts Diagrams and Documentation
Hi Friends,
Based on struts-documentation, I have prepared the General Outline Diagram
of Struts. This diagram represents the various building blocks of the
basic struts framework.
I welcome all patrons/experts to have a glance at it and add more building
blocks like DynaBeans, FormBeans to
I have found Matthias Bauer's struts workflow extension and it looks like it
is right what I was looking for. I would like to know, who is actively using
it and whether you found it useful. Anybody willing to share his experience?
Thanks, Pete
--
+++ GMX - Mail, Messaging & more http://www.gmx.
Hi all,
I am pretty new to this mailing list. I am trying to send a .doc
attachment. Although my email program is showing mail sent sucessfully :)
I do not see the attachment in the mail.
Please let me know weather .doc attachments are banned in this mailing list.
Cheers
Vijay
i think you can't make attachment here
- Original Message -
From: "Vijay S Pawar" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, May 30, 2003 6:29 PM
Subject: Struts Diagram
>
> Hi Friends,
>
> Based on struts-documentation, I have p
This one is not getting into my head ..
and in the form bean
boolean getChk(), void setChk(boolean)
checkbox is checked and form is submitted.
how do I retreieve the value "abc"
Thanx.
** Message from InterScan E-Mail VirusWall NT **
** No virus found in attached file
You can try zipping the file and then sending it ..
> -Original Message-
> From: Richard Raquepo [mailto:[EMAIL PROTECTED]
> Sent: Friday, May 30, 2003 4:12 PM
> To: Struts Users Mailing List
> Subject: Re: Struts Diagram
>
>
> i think you can't make attachment here
> - Original Mess
Where/how are you doing the String > Date conversion?
lcl wrote:
Hi experts here ,
In my form, there is an text which contain a data value, this column in my
database table is nullable, so user can ignore it by blank when submit the
form, but Struts can not passed! The error is :
org.apache.comm
You should use a java.lang.String or java.lang.String[] property if you want
to have 'abc' submitted when checkbox 'chk' is checked.
If you want 'true' to be sent when 'chk' is checked, then change 'abc' to
'true'.
Take a look at this example for additional guidance
<%-- FILE checkForm.jsp --%>
Well that depends. Would that be an european or an african swallow?
- Original Message -
From: "Mark Galbreath" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Thursday, May 29, 2003 4:30 PM
Subject: [OT] RE: test
> Okay. What's maximum velocity of a swa
None of the addresses in the headers are subscribed to the list. I
checked for any addresses containing "khimjee" or "chetan" or
"impfleet", but there are none. I looked at all the subscriptions for
the .za domain, but none of those seem likely. I also checked the
servers cited in the bounced-m
Resending the same mail to the mail list.
This time the attachment is in .zip format. Hope it gets through to
everyone !
--
Hi Friends,
Based on struts-documentation, I have prepared the General Outline Diagram
of Struts. This diagram represents the various building
I'd like to do this:
Check if a user has selected at least one item in a multi select drop down.
And I'd like to use the Struts Validator for this.
I use v. 1.1 RC.
If I have an old standard Struts ActionForm bean where this drop down is implemented
as a String array, then validation 'required'
By default, a boolean checkbox returns "ON" when checked, nothing when not
(so you have to initialize and reset it to false in your ActionForm). If you
want a value to be sent when checked, change the checkbox's type to String.
Mark
-Original Message-
From: Abhinav (Cognizant) [mailto:[EM
Cedric Dumoulin <[EMAIL PROTECTED]> writes:
> Actually, the tag catch all the exceptions and
> show the message in place of the tile. This behavior help developing a
> complex page made of several tiles. If you set the logging level to
> "debug", the complete exception stack trace will be shown
Besides, Strings are central to the language - that's why, unlike in other
languages, String is a separate, immutable class. You can cast a String to
anything, and anything to a String. I only use Strings in my ActionForms
and only HashMaps containing Strings in my DynaActionForms. It is no
trou
Steve Raeburn wrote:
> *BUT* there should be a bloody big health warning on the ActionForm
> documentation that says only ever use Strings!
Whether or not to only use Strings only matters if you care about
capturing non-string input in a non-string field. Craig always felt that
this use-case is v
That's because the Validator works by magic and you obviously have a hex in
your machine.
(sometimes I kill myself)
Mark
-Original Message-
From: Frances Aleah Z. de Guzman [mailto:[EMAIL PROTECTED]
Sent: Friday, May 30, 2003 2:49 AM
To: [EMAIL PROTECTED]
Subject: struts validator
stru
RU saying you want to convert a String representing a date into a Calendar
object?
Mark
-Original Message-
From: Mick Knutson [mailto:[EMAIL PROTECTED]
Sent: Friday, May 30, 2003 5:59 AM
I can't seem to figure out how to remove one of the attributes in a DynaForm
I get fro a form submi
FYI
--
James Mitchell
Software Developer/Struts Evangelist
http://www.struts-atlanta.org
- Original Message -
From: "Brian Behlendorf" <[EMAIL PROTECTED]>
To: "James Mitchell" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, May 29, 2003 3:38 PM
Subject: Re: Fw: DELIVERY FAI
Originally, it was possible to use the jsp page directive <@ page
|errorPage="|relativeURL @> on a nested tile bases| |for error/exception
handling. But this doesn't work anymore.
I have no simple solution. You can try one of the following:
* Put a surrounding try/catch block in the tile t
Mark Galbreath wrote:
Hey! Don't forget those slacker Aussies, drinking good beer while sending
that Fosters slime to Canada, which then forwards it down to the States. I
thought they were our allies, but now I think it's a terrorist conspiracy to
rob all Americans of their taste for good beer.
Don't forget Otter Creek, Rapscallion, and the Cambridge Brewing Company!
:)
-Original Message-
From: Erik Price [mailto:[EMAIL PROTECTED]
Sent: Friday, May 30, 2003 8:46 AM
To: Struts Users Mailing List
Subject: Re: [OT] slackers
Mark Galbreath wrote:
> Hey! Don't forget those slacker
Hello,
I've solve the problem using my own "InsertTag" that extends the Struts
"InsertTag" and inside this class my own "InsertHandler" that extends the
"InsertHandler" of the original "InsertTag".
In this Handler, you just override the method "processException" and do what
you need.
Don't forge
Where can I download magic from? I need some for a project, quickly!!!
Paul C
Mark Galbreath wrote:
That's because the Validator works by magic and you obviously have a hex in
your machine.
(sometimes I kill myself)
Mark
-Original Message-
From: Frances Aleah Z. de Guzman [mailto:[EMAIL
thanx.
I have to set the value of the checkbox in the JSP.
for this I write
<%@ taglib prefix="html" uri="/WEB-INF/struts-html.tld" %>
checkForm
Do you like soda?
Yes
If you like soda (or were forced to drink one) what would you drink?
Coke
Pepsi
7-up
<%-- END FILE checkForm.jsp --%
Can I use a bean or anythying that is
defined/declared in a struts taglib
for scripting.
say this kind of thing
and then
<% String tmp = id; %>
** Message from InterScan E-Mail VirusWall NT **
** No virus found in attached file noname.htm
** No virus found in attached
At that exact moment, the Atlanta Struts user group was meeting, so we were
all having out listening to Chuck and expanding our minds. Don't take that
"expanding our minds" too liberally, either.
- Original Message -
From: "Mark Galbreath" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing Li
Hi,
Could you tell me what the problem(error) is:
If
("123".equals((String)request.getSession(true).getAttribute("dispsOfPO_action")))
int s11 = 1;
__
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calenda
Use this:
if(request.getSession(true).getAttribute("dispsOfPO_action").equals("123"))
int s11 = 1;
~ Keith
http://www.buffalo.edu/~kkamholz
-Original Message-
From: dream weaver [mailto:[EMAIL PROTECTED]
Sent: Friday, May 30, 2003 9:02 AM
To: [EMAIL PROTECTED]
Subject: syntax
Vijay Pawar wrote:
Hi all,
I am pretty new to this mailing list. I am trying to send a .doc
attachment. Although my email program is showing mail sent sucessfully :)
I do not see the attachment in the mail.
Please let me know weather .doc attachments are banned in this mailing list.
All attachm
Josh Rayls wrote:
Don't forget Otter Creek, Rapscallion, and the Cambridge Brewing Company!
:)
Right, the list goes on and on.
Erik
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED
Erik Price wrote:
All attachments are banned.
I thought. But I was wrong.
Erik
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Catamount brewery, . (VT)
Josh Rayls wrote:
Don't forget Otter Creek, Rapscallion, and the Cambridge Brewing Company!
:)
-Original Message-
From: Erik Price [mailto:[EMAIL PROTECTED]
Sent: Friday, May 30, 2003 8:46 AM
To: Struts Users Mailing List
Subject: Re: [OT] slackers
Mark Gal
I'm trying to use the Validator to validate that a user has entered their
information in a self-registration servlet.
However, I'm getting a NullPointerException at the following line when
running a test using Cactus:
InputStream rules =
getServletContext().getResourceAsStream("/WEB-INF
Is it a laden swallow?
José Ventura wrote:
Well that depends. Would that be an european or an african swallow?
- Original Message -
From: "Mark Galbreath" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Thursday, May 29, 2003 4:30 PM
Subject: [OT] RE: tes
>This is so cool. I was hoping for this sort of thing. This is getting
>close to grown up. I wish I could see this stuff now. Man!
>Don't forget that JavaServer Faces has a two-level architecture -- user
>interface components that are render-independent, and renderers that
>construct a partic
I wrote a simple conversion method and pass the Strings through - no hassle
at all. Given the String "Jan 1, 2003":
Calendar date = getDate( string );
private Calendar getDate( String string ) {
Calender cal = Calender.getInstance();
String formatted_date = null;
String[] months = {
"Jan","
Right, but do not let purity stand in the way of practicality! I simply
don't use the Struts tag when setting dynamic values:
problem is that the value is dynamic, so I have to use something like
value=<%=val%> but this is scripting ... :-( use of bean:write fails to
render the checkbox.
Do I
There are no coconuts in Europe.
-Original Message-
From: Denis Avdic [mailto:[EMAIL PROTECTED]
Sent: Friday, May 30, 2003 9:18 AM
To: Struts Users Mailing List
Subject: Re: [OT] RE: test
Is it a laden swallow?
José Ventura wrote:
>Well that depends. Would that be an european or an af
1. "if" needs to be lowercase, unless you are using Visual Basic.
2. you need to wrap the whole request.get in parentheses before casting
to String.
Mark
-Original Message-
From: dream weaver [mailto:[EMAIL PROTECTED]
Sent: Friday, May 30, 2003 9:02 AM
To: [EMAIL PROTECTED]
Subject:
How Struts is better than Thinlets.Performance-wise which one is best?
Thanks,
Sridhar
-Original Message-
From: Ted Husted [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 28, 2003 4:59 AM
To: Struts Users Mailing List
Subject: Re: Struts Performance - Any Benchmarks?
Craig R
I'm attached. Or is that "touched"
-Original Message-
From: Erik Price [mailto:[EMAIL PROTECTED]
Sent: Friday, May 30, 2003 9:12 AM
To: Struts Users Mailing List
Subject: Re: mail list attachment problem
Erik Price wrote:
> All attachments are banned.
I thought. But I was wro
http://www.amazon.com/exec/obidos/ASIN/1568303416/inktomi-bkasin-20/002-6063
222-1216028
http://pandonia.canberra.edu.au/java/auugjava/paper.html
http://www.javaworld.com/javaworld/jw-04-2001/jw-0413-polymorph.html
http://www.javaworld.com/javaworld/jw-03-2001/jw-0316-jdk.html
etc, etc
---
Have you installed Service Pack 3? It fixes weirdness that was screwing up
my 1.0.1 app last summer.
Mark
-Original Message-
From: Yves Sy [mailto:[EMAIL PROTECTED]
Sent: Friday, May 30, 2003 2:54 AM
To: [EMAIL PROTECTED]
Subject: Weblogic 6.1 Compatibility Problems
Hi! I am currently
201 - 273 of 273 matches
Mail list logo