Adam Hardy on 27/06/05 01:30, wrote:
Ted Husted wrote On 26/06/05 13:25:
* http://struts.apache.org/roadmap.html
on a related note I see that merging the DTDs for validator and forms
has been mooted. My desired strategy would be to have a form bean that
knows what type its members are.
I
Hi,
I have a question concerning the Struts-HTML-Tag . I want to
generate a link to an action with one parameter which is a hardcoded
String (not a value of a bean property which is present in a scope). And
I don't want to use the url-Attribut but the action-Attribut to generate
the link to t
I am building a Struts (1.2.7) application that client will access using
a slow connection (56K modem) and I am trying to limit the amount of
data downloaded from the server.
Since I am using the Validator, I would like to create an external
staticJavascript.jsp page that could be cached by the br
Hi All,
I am using JDev 10g. Now I want to use struts 1.2.7. Now it works with struts
1.1
I downloaded struts 1.2.7 and extract it in a temp folder, and copied all files
to /jdev/jakarta_struts/ folder.
When I want to run my old application(employee), it gives me some of errors
like that:
Changes in version 0.7.4 (27.6.2005)
* Moved from Castor to Jakarta Commons Digester
* Added new Workbench's methods saveMessages(), saveErrors() and
stopExecute()
* New Parameter control on Task (see Doc)
* added xmoon-failsafe.properties inside jar
* Removed AccessNode in order to use Jaas Au
Gotcha, thanks for clarifying :)
Frank
-Original Message-
From: "Nitish Kumar"<[EMAIL PROTECTED]>
Sent: 6/27/05 2:23:48 AM
To: "'Struts Users Mailing List'"
Subject: RE: javascript html:fprm and getElementById
Sorry for getting mixed up with terms, I didnt mean
Very true. I just wanted to point out the standards-compliant way in case it
wasn't known... You pointed out the reality, which is excellent info :)
Frank
-Original Message-
From: "Nitesh"<[EMAIL PROTECTED]>
Sent: 6/27/05 1:40:03 AM
To: "Struts Users Mailing List"
Subjec
Hi all,
I want to keep the properties file in arabic. I do this by saving
the file with encoding of UTF-8 in Notepad. But displaying this file
using outputs garbage in browser. Any help is
appreciated.
--
rgds
Antony Paul
http://www.geocities.com/antonypaul24/
---
This looks like the same problem discussed in the
"native2ascii" thread. I will copy in my input below,
you can search on the mailing list site for the
complete list of messages for this thread:
**
Re: native2ascii
Paul Moody
Fri, 24 Jun 2005 02:43:30 -0700
Below is my understanding of
On 6/27/05, Paul Moody <[EMAIL PROTECTED]> wrote:
> This looks like the same problem discussed in the
> "native2ascii" thread. I will copy in my input below,
> you can search on the mailing list site for the
> complete list of messages for this thread:
>
> **
>
> Re: native2ascii
>
> Pau
Readers deal with character data - while streams do not. Which is to say
that encoding (which is interpreting bytes) is not applicable to streams.
- Original Message -
From: "Antony Paul" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Monday, June 27, 2005 4:11 PM
Subject: Re:
On 6/27/05, Jana Parvanova <[EMAIL PROTECTED]> wrote:
> Readers deal with character data - while streams do not. Which is to say
> that encoding (which is interpreting bytes) is not applicable to streams.
Then what the hell InputStream has to do with properties file ?. Do
people store properties f
Couldn't you include native2ascii as part of the compilation process?
This way you always edit UTF-8 files but they are converted when
you build your application.
Le Lundi 27 Juin 2005 15:11, Antony Paul a écrit :
> On 6/27/05, Paul Moody <[EMAIL PROTECTED]> wrote:
> > This looks like the same pro
Quote from sun java doc of java.util.Properties:
'When saving properties to a stream or loading them from a stream, the ISO
8859-1 character encoding is used.
For characters that cannot be directly represented in this encoding, Unicode
escapes are used;
however, only a single 'u' character is
Hello All,
I have a collection - externalRatings which is of type
CpExternalCreditRating. CpExternalCreditRating contains an object
appCreditRatingSource inside it. Basically, there are nested objects. I
use the nested tags to display all the info onto the user screen. The
values get displayed pro
Hi all!
Here a question from a newbie:
Is it possible to extend the ForwardAction class to add some functionality
chained to the forward?
My struts-config entry would look like this:
Does Struts recognize that MyForwardAction extends ForwardAction so that is
uses the parameter-attribute?
Pete
Yes, for some reason the Properties class assumes your
files are ISO 8859-1 encoded and struts uses the
Properties class to read your property files. I think
you have a couple of choices.
Either use the native2ascii which as somebody else
pointed out can be part of the build script. We use
somethi
Paul, for good measure, I also include the following jstl:
Regards, a.m.
On 6/27/05, Paul Moody <[EMAIL PROTECTED]> wrote:
>
> This looks like the same problem discussed in the
> "native2ascii" thread. I will copy in my input below,
> you can search on the mailing list site for the
> complet
On 6/27/05, Aleksandar Matijaca <[EMAIL PROTECTED]> wrote:
> Paul, for good measure, I also include the following jstl:
>
>
>
> Regards, a.m.
>
>
>
> On 6/27/05, Paul Moody <[EMAIL PROTECTED]> wrote:
> >
> > This looks like the same problem discussed in the
> > "native2ascii" thread. I will c
Hi,
I upgrade my struts 1.1 files to struts 1.2.7.
When I used struts 1.1 , I can get a connection with DataSource in
struts-config.xml like that codes:
struts-config.xml
in java files
ServletC
Hello everyone,
I need your help with a tricky problem, where I do not see any explanation
currently:
I try to construct a table with all data items stored in a database using
Hibernate.
There is a Form bean for the data items themselves and a form bean with a
Collection (ArrayList) wit
Peter.
1. I would imagine so if you extend the class and call super.execute() to
get the end result, you could then do your own processing.
2. This small piece of functionality could have been written and tested in
under a minute.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL
Hi !
I'm quite new in struts and i'd like to print all properties of my form with
their corresponding value. I don't manage to do this with iterate. Could you
please suggest me a solution ?
my bean name is QuestionnaireForm defined in struts-config:
Hi Dears,
A newbie question:
I have a transfer object called FatherTO that contains a collection of
ChildTO's.
Can you please help me with how the relevant ActionForm (i.e. FatherForm
) should look like.
How should the reset() & validate() methods look like?
Thanks
Rivka
Hello everyone,
(a second post since my mail editor just made the posting unreadable...
sorry!)
I need your help with a tricky problem, where I do not see any explanation
currently:
I try to construct a table with all data items stored in a database using
Hibernate.
There is a Form bean for the
Found the answer to my own question. Just need to give the browser some
hints that it should cache the page. Something like:
- staticJavascript.jsp:
<%@ page language="java" contentType="application/x-javascript" %>
<%@ taglib uri = "http://struts.apache.org/tags-html-el"; prefix =
"html"%>
<% res
I have an ActionForm (consumerValidatorForm) that contains a
ConsumerActivity object. The CA object contains a date
(lastPinChangeDate).
I am trying this in my jsp, and nothing seems to print:
[]
All I get is [] printed, and I know there is a da
From: "Mick Knutson" <[EMAIL PROTECTED]>
> property="consumerActivity.lastPinChangeDate"/>
> value="${consumerValidatorForm.consumerAct.lastPinChangeDate}"/>
> []
The tag has the equivalent of:
lastPinChangeDate = form.getConsumerActivity().getLastPinChangeDate();
From: "Dewitte Rémi" <[EMAIL PROTECTED]>
> I'm quite new in struts and i'd like to print all properties of my form
with
> their corresponding value. I don't manage to do this with iterate. Could
you
> please suggest me a solution ?
> my bean name is QuestionnaireForm defined in struts-config:
> t
I had the same problem. Thanks for your answer. How do I provide a the key
name though? For e.g. suppose I have a map with key names as employeeId,
employeeLastName, employeeFirstName etc. and I want to print it by calling the
individual key names, not just arbitrarily any key as I might lose
Goswami, Raj wrote:
I had the same problem. Thanks for your answer. How do I provide a the key
name though? For e.g. suppose I have a map with key names as employeeId,
employeeLastName, employeeFirstName etc. and I want to print it by calling the
individual key names, not just arbitrarily
From: "Goswami, Raj" <[EMAIL PROTECTED]>
> I had the same problem. Thanks for your answer. How do I provide a the
key
> name though? For e.g. suppose I have a map with key names as employeeId,
> employeeLastName, employeeFirstName etc. and I want to print it by calling
the
> individual key names
The reason I need to do this is that my table data comes as a List of Maps.
Each Map in the list is actually a table row. I would like to output the data
according to the display order or the table headers.
Actually, Wendy answered my question. Thanks Wendy!
Appreciate all of your help!
R
http://struts.apache.org/userGuide/struts-html.html#link
You can use paramId, paramName and paramPropery to supply a single parameter
w/out building a map, though that still requires the parameter value to be
stored in a bean in some scope. There's no way to supply arbitrary values
directly (i
Neil Aggarwal wrote:
I am using Tiles to construct the site. I set the page buffer on my
layout page and the content page to a large value and I still get
the IllegalStateException. Does the tiles:insert tag cause a problem?
Hmm, maybe Tiles is fluching the response somewhere along the line..
Riemann Robert (Platinion) wrote:
Hello everyone,
(a second post since my mail editor just made the posting unreadable...
sorry!)
I need your help with a tricky problem, where I do not see any explanation
currently:
I try to construct a table with all data items stored in a database using
Hib
Bill:
You are right, when I use the page errorPage directive, I get it
to go to the error page, but when I use the one in web.xml,
that gives me the Internal Error.
Strange.
Thanks for your help,
Neil
--
Neil Aggarwal, JAMM Consulting, (214) 986-3533, www.JAMMConsulting.com
FREE! Valua
Actually, that's what I have been doing with no problems. Have you tried it?
lang
should work just fine in 1.2.4+
Regards,
Abdullah
-Original Message-
From: news [mailto:[EMAIL PROTECTED] Behalf Of Laurie Harper
Sent: Monday, June 27, 2005 5:29 PM
To: user@struts.apache.org
Subject: Re:
In previous projects where I have used ActionForms, I have always used
Struts.I am currently working on a project that, for various
reasons, does not use Struts. Is there a way to harvest the advantages
of ActionForms without Struts?
In particular, I have a form that the user fills out with ch
I modified what I was trying with this:
[]
And this is the error message I get:
19:02:50,908 ERROR [[jsp]] Servlet.service() for servlet jsp threw
exception
javax.servlet.jsp.JspException: Invalid argument looking up property
consumerActivity.la
I refactored my initial Easy Wizard library, which did not have nice
integration with Struts. Now, after I created Struts Dialogs, I added
wizard capability as a new action: WizardAction.
Check out the live wizard demo, while I am updating the docs:
http://www.superinterface.com/strutsdialog/wizar
First, check out this live demo:
http://www.superinterface.com/strutsdialog/embeddedmasterpage-tomcat.do
See the "Sign In" cell? It is JSP/Struts web component, built with
Struts Dialogs. This login component is rendered using a separate
included JSP. It is:
* independent. The only information nee
From: "Mick Knutson" <[EMAIL PROTECTED]>
I modified what I was trying with this:
[]
And this is the error message I get:
19:02:50,908 ERROR [[jsp]] Servlet.service() for servlet jsp threw
exception
javax.servlet.jsp.JspException: Invalid argument looking up property
consumerActivity
Hi,
If ur using HashMap there is no guarantee that they pop out in the same
order in which u have pushed(placed/inserted). So better go for a
LinkedHashMap. LinkedHashMap preserves the order that u have placed.
Khan
On 6/28/05, Dave Newton <[EMAIL PROTECTED]> wrote:
>
> Goswami, Raj wrote
hi erol,
do not play jdevelopers default struts folder.just add struts-1.2.7 do project
library as third library and be sure that struts-1.2.7 must be on top of the
other libraries.
i had tried and it had worked.
regards
EROL TEZCAN <[EMAIL PROTECTED]> wrote:
Hi All,
I am using JDev 10g. No
45 matches
Mail list logo