Re: from struts 1.1 to struts 1.2.7 on JDev 10 g

2005-06-27 Thread Metin Erksan
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

Re: iterate on properties of a DynaActionForm

2005-06-27 Thread Khan
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

Re: unable to print nested values with bean:write, or c:out

2005-06-27 Thread Wendy Smoak
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

[ANN] JSP+Struts web controls

2005-06-27 Thread Michael Jouravlev
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

[ANN] Create robust wizards with enhanced Struts Dialogs

2005-06-27 Thread Michael Jouravlev
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

Re: unable to print nested values with bean:write, or c:out

2005-06-27 Thread Mick Knutson
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

[OT] Populating Form objects without Struts?

2005-06-27 Thread Greg Pelly
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

RE: Re: String as Parameterwith html:link

2005-06-27 Thread Abdullah Jibaly
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:

RE: Strange error-page behavior

2005-06-27 Thread Neil Aggarwal
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

Re: Problem accessing elements of Collection inside logic:iterate (II)

2005-06-27 Thread Laurie Harper
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

Re: Strange error-page behavior

2005-06-27 Thread Laurie Harper
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..

Re: String as Parameterwith html:link

2005-06-27 Thread Laurie Harper
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

RE: iterate on properties of a DynaActionForm

2005-06-27 Thread Goswami, Raj
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

Re: iterate on properties of a DynaActionForm

2005-06-27 Thread Wendy Smoak
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

Re: iterate on properties of a DynaActionForm

2005-06-27 Thread Dave Newton
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

RE: iterate on properties of a DynaActionForm

2005-06-27 Thread Goswami, Raj
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

Re: iterate on properties of a DynaActionForm

2005-06-27 Thread Wendy Smoak
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

Re: unable to print nested values with bean:write, or c:out

2005-06-27 Thread Wendy Smoak
From: "Mick Knutson" <[EMAIL PROTECTED]> > property="consumerActivity.lastPinChangeDate"/> > value="${consumerValidatorForm.consumerAct.lastPinChangeDate}"/> > [] The tag has the equivalent of: lastPinChangeDate = form.getConsumerActivity().getLastPinChangeDate();

unable to print nested values with bean:write, or c:out

2005-06-27 Thread Mick Knutson
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

RE: caching staticJavascript.jsp?

2005-06-27 Thread Aymeric Alibert
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

Problem accessing elements of Collection inside logic:iterate (II)

2005-06-27 Thread Riemann Robert \(Platinion\)
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

working with composite action forms

2005-06-27 Thread Rivka Shisman
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

iterate on properties of a DynaActionForm

2005-06-27 Thread Dewitte Rémi
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:

RE: Extending ForwardAction

2005-06-27 Thread Mark Benussi
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

Problem accessing elements of Collection inside logic:iterate

2005-06-27 Thread Riemann Robert \(Platinion\)
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

DataSource Error

2005-06-27 Thread EROL TEZCAN
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

Re: Use UTF-8 encoded proerties file

2005-06-27 Thread Antony Paul
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

Re: Use UTF-8 encoded proerties file

2005-06-27 Thread Aleksandar Matijaca
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

Re: Use UTF-8 encoded proerties file

2005-06-27 Thread Paul Moody
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

Extending ForwardAction

2005-06-27 Thread Peter . Zoche
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

Lazy List problem

2005-06-27 Thread Kothari, Rahul
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

Re: Use UTF-8 encoded proerties file

2005-06-27 Thread delbd
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

Re: Use UTF-8 encoded proerties file

2005-06-27 Thread delbd
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

Re: Use UTF-8 encoded proerties file

2005-06-27 Thread Antony Paul
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

Re: Use UTF-8 encoded proerties file

2005-06-27 Thread Jana Parvanova
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:

Re: Use UTF-8 encoded proerties file

2005-06-27 Thread Antony Paul
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

Re: Use UTF-8 encoded proerties file

2005-06-27 Thread Paul Moody
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

Use UTF-8 encoded proerties file

2005-06-27 Thread Antony Paul
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/ ---

Re: javascript html:fprm and getElementById

2005-06-27 Thread Frank W. Zammetti
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

RE: javascript html:fprm and getElementById

2005-06-27 Thread Frank W. Zammetti
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

[ANNOUNCE] XMoon 0.7.4 released

2005-06-27 Thread Mario Neè
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

from struts 1.1 to struts 1.2.7 on JDev 10 g

2005-06-27 Thread EROL TEZCAN
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:

caching staticJavascript.jsp?

2005-06-27 Thread Aymeric Alibert
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

String as Parameterwith html:link

2005-06-27 Thread Franz-Josef Herpers
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

Re: Form-Action combo

2005-06-27 Thread Adam Hardy
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