RE: Struts 1 Personal Application Resource

2008-09-10 Thread Marcello Savino
Message- > From: Antonio Petrelli [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 10, 2008 9:31 AM > To: Struts Users Mailing List > Subject: Re: Struts 1 Personal Application Resource > > 2008/9/10 Marcello Savino <[EMAIL PROTECTED]>: > > > >

Struts 1 Personal Application Resource

2008-09-10 Thread Marcello Savino
Hi everybody. I have to menage a string table (something like the application resource), that is a "customer customized" table. The same resource message could be different, depending on the installation. I figure out some solution (xml file, DB table) but i'd like to know if there something in t

RE: [OT] Re: Best Tool to develop html pages

2008-02-05 Thread Marcello Savino
Ah ah yes vi is probably the "best" But if you need some more sophisticated like a WYSIWYG supporting more than one DTD you can try AMAYA (www.W3C.org). > -Original Message- > From: Al Sutton [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 05, 2008 1:25 PM > To: Struts Users Mai

R: ArrayOfBeans interaction

2007-05-08 Thread Marcello Savino
Very intersting but (if is possible) i don't want to use a DynaActionForm . I've tryied to modify my jsp code setting the property indexed="true" but the value in the bean remain unchanged. I think i'll need to add code on my ACtionForm but not idea about the code

ArrayOfBeans interaction

2007-05-08 Thread Marcello Savino
Ciao Let's say this is my jsp code: Where "list" is a Bean array. The Bean class is "myBean" and has two properties (firstField, secondField). I need the changes made in the rows to be stored in the ActionForm.list[index]. You know the bes

URL parameters separator

2007-04-20 Thread Marcello Savino
In my jsp i've a code like this: The code works good. But the generated url are in this form: http://localhost:8080/myApp/myAction.do?id=161298&year=2005 Instead of http://localhost:8080/myApp/myAction.do?id=161298&year=2005 As required by the DTD declared

R: Array of Bean and optionsCollection (up)

2007-04-11 Thread Marcello Savino
Bean.getCode(). myBeanCode is only a name for the current bean in the select tag >third : your form property "aBean" is an array & u use a select ( which a single property) Do you mean i have to specify the attribute name="aBean"instead of property="aBean" ? Tha

Array of Bean and optionsCollection (up)

2007-04-10 Thread Marcello Savino
Please excuse me but i try again ... (hope will never die) Hi all, i've the following problem using the tag myBean Class: public class myBean implements java.io.Serializable{ private Integ

Array of Bean and optionsCollection (revisted)

2007-04-10 Thread Marcello Savino
Hi all, i've the following problem using the tag myBean Class: public class myBean implements java.io.Serializable{ private Integer code; private String descr; pu

Aray of Bean and optionsCollection

2007-04-10 Thread Marcello Savino
Hi all, i've the following problem using the tag <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>

R: Iterating over a List of JavaBean

2007-04-04 Thread Marcello Savino
My sight is getting worst so fast ! Sob ! Of course , now it works! Thanks a lot to everybody ! Marcello Savino ALDEBRA S.p.A. tel. 0461302441 -Messaggio originale- Da: Antonio Petrelli [mailto:[EMAIL PROTECTED] Inviato: mercoledì 4 aprile 2007 14.43 A: Struts Users Mailing List

Iterating over a List of JavaBean

2007-04-04 Thread Marcello Savino
Hi all, In a jsp file i need to iterate over an ArrayList of javabean : The bean: public class myBean implements java.io.Serializable{ private Integer code; private String name; public Integer getCode(){return code;} public String getName(){return name;}

R: Invalid Column Type Exception

2007-02-09 Thread Marcello Savino
d before insert ? Verify it works and you have the right to execute in the new enviroment. Marcello Savino ALDEBRA S.p.A. tel. 0461302441 -Messaggio originale- Da: Krishna, Hari (FTT-CInternet) [mailto:[EMAIL PROTECTED] Inviato: venerdì 9 febbraio 2007 14.56 A: user@struts.apache.org O

R: Exceptions design

2007-02-05 Thread Marcello Savino
What i do (not sure is the best way but it works): Every form has en errormessages text area The forms classs inherit from a super class with getter and setter methods for the textarea In the action class when an exception is raised i fill the form textarea with the error messages. Hih Marcel

R: No getter method for property

2007-01-31 Thread Marcello Savino
Are you sure the class containg the methods "getNombre" is istanziated ? Marcello -Messaggio originale- Da: Agustín [mailto:[EMAIL PROTECTED] Inviato: mercoledì 31 gennaio 2007 10.45 A: user@struts.apache.org Oggetto: No getter method for property Hello. I have a problem with Struts.

R: R: Error : request.getReader()

2007-01-29 Thread Marcello Savino
application). Thanks Marcello Savino ALDEBRA S.p.A. tel. 0461302441 -Messaggio originale- Da: Christopher Schultz [mailto:[EMAIL PROTECTED] Inviato: venerdì 26 gennaio 2007 19.59 A: Struts Users Mailing List Oggetto: Re: R: Error : request.getReader() -BEGIN PGP SIGNED MESSAGE- Hash

R: Error : request.getReader()

2007-01-26 Thread Marcello Savino
>Dave Newton wrote: >Actually it was Chris that got it, I was still stupid until he said that :) >You may want to consider doing something in a custom request processor. Marcello Savino: Not so stupid as i am, if you think i'm still looking for a solution ... Before you su

R: Section 508 and html:text tag issue

2007-01-26 Thread Marcello Savino
In a jsp file: MY FIELD Marcello -Messaggio originale- Da: Weisfield, Russell (HAC) [mailto:[EMAIL PROTECTED] Inviato: giovedì 25 gennaio 2007 23.25 A: user@struts.apache.org Oggetto: Section 508 and html:text tag issue Hello, To abide by Section 508 compliance I need to associate

R: Error : request.getReader()

2007-01-26 Thread Marcello Savino
>Dave Newton wrote: >[...] he just wants access to the request body *after* the parameters have been processed. >That's the only reason that request.getReader would throw an exception. >[...] [Marcello] You got it ! More: i need to access the request body after the form was submited. The only wa

Error : request.getReader()

2007-01-25 Thread Marcello Savino
Up again with more details, please help! In an Action subclass the execution of "request.getReader()" throw an IllegaStateException. I found that this is the normal behavior in the servlet, but i need to do this in all my LookupDispatchAction subclass. Any idea to get a turnaround to solve this p

R: [OT] RE: Error : request.getReader()

2007-01-25 Thread Marcello Savino
Very interesting approach, thanks a lot Marcello Savino ALDEBRA S.p.A. tel. 0461302441 -Messaggio originale- Da: Dave Newton [mailto:[EMAIL PROTECTED] Inviato: giovedì 25 gennaio 2007 15.49 A: Struts Users Mailing List Oggetto: [OT] RE: Error : request.getReader() From: Marcello

R: [OT] RE: Error : request.getReader()

2007-01-25 Thread Marcello Savino
of tag. Do you know where i can get more information to obtain the result ? Thanks Marcello Savino ALDEBRA S.p.A. tel. 0461302441 -Messaggio originale- Da: Dave Newton [mailto:[EMAIL PROTECTED] Inviato: giovedì 25 gennaio 2007 15.49 A: Struts Users Mailing List Oggetto:

R: Error : request.getReader()

2007-01-25 Thread Marcello Savino
I really don't undestand what you mean. Can you explain with a little example ? Thanks in advance Marcello Savino ALDEBRA S.p.A. tel. 0461302441 -Messaggio originale- Da: Dave Newton [mailto:[EMAIL PROTECTED] Inviato: giovedì 25 gennaio 2007 13.11 A: Struts Users Mailing

Error : request.getReader()

2007-01-25 Thread Marcello Savino
In an Action subclass the execution of "request.getReader()" throw en IllegaStateException. I found that this is the normal behavior in the servlet, but i need to do this in all my Action subclass. Any idea to get a turnaround to solve this problem ? Any help will be appreciated Thanks in advance

R: R: [OT] Re: R: R: Reading generated html

2007-01-24 Thread Marcello Savino
I'm not developing the entire solution, i only need the html string to pass as a a parameter to a web service (see: http://sipt07.si.ehu.es/evalaccess2/index.html). Marcello Savino ALDEBRA S.p.A. tel. 0461302441 -Messaggio originale- Da: Dave Newton [mailto:[EMAIL PROT

R: [OT] Re: R: R: Reading generated html

2007-01-24 Thread Marcello Savino
To check accessibity conformance of the genarated page cheers Marcello Savino ALDEBRA S.p.A. tel. 0461302441 -Messaggio originale- Da: Dave Newton [mailto:[EMAIL PROTECTED] Inviato: mercoledì 24 gennaio 2007 15.06 A: Struts Users Mailing List Oggetto: [OT] Re: R: R: Reading generated

R: R: Reading generated html

2007-01-24 Thread Marcello Savino
end(br.readLine()); System.out.println (HTMLStr.toString()); return(mapping.getInputForward()); } The string HTMLStr.toString() return always null ! Marcello Savino ALDEBRA S.p.A. tel. 0461302441 -Messaggio originale- Da: Nagraj Rao

R: R: Reading generated html

2007-01-24 Thread Marcello Savino
Cause i need to submit the html content to a servlet to analyze the html code Marcello Savino ALDEBRA S.p.A. tel. 0461302441 -Messaggio originale- Da: Dave Newton [mailto:[EMAIL PROTECTED] Inviato: mercoledì 24 gennaio 2007 14.24 A: Struts Users Mailing List Oggetto: Re: R: Reading

R: Reading generated html

2007-01-24 Thread Marcello Savino
As you can see (value="<%=request%>") the data setted is jsp is not of type string. I'm pretty sure cause i use to pass the request object to an other similar bean (with other purpose) and it works fine ! Anyway thanks for your attention Marcello Savino ALDEBRA S.p

Reading generated html

2007-01-24 Thread Marcello Savino
re tha page was rendered, but i can figure out how invoke the bean after. Even an alternative approach will be intersting for me. Any help will be greatly appreciated Thanks in advance Marcello Savino ALDEBRA S.p.A. tel. 0461302441 -

R: [FRIDAY] Christmas holidays

2006-12-22 Thread Marcello Savino
>P.S. Only one reccomendation: be nice :-) We are ;-) Merry Xmas folks ! Marcello Savino ALDEBRA S.p.A. tel. 0461302441 -Messaggio originale- Da: Antonio Petrelli [mailto:[EMAIL PROTECTED] Inviato: venerdì 22 dicembre 2006 14.12 A: Struts Users Mailing List Oggetto: [FRI

logic:iterate, tfoot and sum

2006-12-13 Thread Marcello Savino
Hi, i've a questione regarding sum calculation in a table: The jsp look like this one: Nr

R: Issue: using logic:iterate to display rows and html:button to distinguish one of them

2006-10-26 Thread Marcello Savino
Give to the hyperlink a button appereance , don't know other way to do this Marcello Savino ALDEBRA S.p.A. tel. 0461302441 -Messaggio originale- Da: Gallagher, Jim (RBoS ITD&S Dublin) [mailto:[EMAIL PROTECTED] Inviato: giovedì 26 ottobre 2006 12.27 A: 'Struts User

R: Issue: using logic:iterate to display rows and html:button to distinguish one of them

2006-10-26 Thread Marcello Savino
Sorry i forgot something in my code ">Delete HIH Ciao, marcello -Messaggio originale- Da: Gallagher, Jim (RBoS ITD&S Dublin) [mailto:[EMAIL PROTECTED] Inviato: giovedì 26 ottobre 2006 12.02 A: 'user@struts.apache.org' Oggetto: Issue: using logic:iterate to display r

R: Issue: using logic:iterate to display rows and html:button to distinguish one of them

2006-10-26 Thread Marcello Savino
Use a url instead: Somethin like that: HIH Ciao, marcello -Messaggio originale- Da: Gallagher, Jim (RBoS ITD&S Dublin) [mailto:[EMAIL PROTECTED] Inviato: giovedì 26 ottobre 2006 12.02 A: 'user@struts.apache.org' Oggetto: Issue: using logic:iterate to display rows an

R: UTF-8 encoding & tag problem

2006-10-17 Thread Marcello Savino
You said you pasted UTF-8 Characters in the application resource but what kind of editor are you using ? For Instance if you're workin' whith Eclipse you must be sure to set the utf-8 coding in the editor properties. HIH Ciao, marcello -Messaggio originale- Da: navin mca [mailto:[EMAIL

Action forward new page

2006-10-16 Thread Marcello Savino
The user press a submit botton. A proper action exist in a LookupDispatchAction. In this action i need to redirect the user to a new page. Does anybody know if and how can i do that ? Any help will be greatly appreciated. Thanks in advance Ciao, marcello -

R: R: Form name

2006-10-13 Thread Marcello Savino
Thanks, let me try . URRAH it works ! No more name attributes Thanks a lot Ciao, Marcello -Messaggio originale- Da: Mikolaj Rydzewski [mailto:[EMAIL PROTECTED] Inviato: venerdì 13 ottobre 2006 10.05 A: Struts Users Mailing List Oggetto: Re: R: Form name Marcello Savino wrote

R: Form name

2006-10-13 Thread Marcello Savino
] Inviato: venerdì 13 ottobre 2006 9.51 A: Struts Users Mailing List Oggetto: Re: Form name Marcello Savino wrote: > Using Struts the tag is rendered in this > way > The problem is that in my application the rendered XML file MUST be a > valide "xhtml1.0 strict" file and t

Form name

2006-10-13 Thread Marcello Savino
Using Struts the tag is rendered in this way The problem is that in my application the rendered XML file MUST be a valide "xhtml1.0 strict" file and the DTD strict does not allow the attribute "name" for the tag . If someone could help me it would be greatly appreciated. Thanks all Ciao, Marcello

R: Handling breadcrumbs with Struts

2006-09-22 Thread Marcello Savino
> -Original Message- > From: Marcello Savino [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 21, 2006 3:04 AM > To: Struts Users Mailing List > Subject: R: Handling breadcrumbs with Struts > > > Could you post a little sample ? > > -Messaggio orig

R: Applicationresource.properties

2006-09-21 Thread Marcello Savino
("Action.a"); messageResources.getMessage("Action.b"); Regards, Venkata Phanikumar.g - Original Message - From: "Marcello Savino" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Thursday, September 21, 2006 3:24 PM Subject: Appli

Applicationresource.properties

2006-09-21 Thread Marcello Savino
How can i get any value from ApplicationResource.properties passing a key in an Action object? I mean something like that: Let's say this is my ApplicationResource.properties file: Action.a=Add Action.b=Build In an Action object I need to read the value "Add" by passine the key "Action.a". Any hel

R: iterating Vector of HashMap using Logic:iterate

2006-09-21 Thread Marcello Savino
Hih, Marcello -Messaggio originale- Da: Venkata Phani Kumar [mailto:[EMAIL PROTECTED] Inviato: giovedì 21 settembre 2006 9.18 A: Struts Users Mailing List Oggetto: iterating Vector of HashMap using Logic:iterate Hi, I have a Vector. Each HashMap holds two elements as key 'field1' an

R: Handling breadcrumbs with Struts

2006-09-21 Thread Marcello Savino
Could you post a little sample ? -Messaggio originale- Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Inviato: mercoledì 20 settembre 2006 20.59 A: user@struts.apache.org Oggetto: RE: Handling breadcrumbs with Struts I would use a tile. The tile controller can retrieve information from

R: R: Dynamically Generated html:Text

2006-09-18 Thread Marcello Savino
s Mailing List Oggetto: Re: R: Dynamically Generated html:Text Hi Savino, Thanks for the reply. Could u please provide me an example my test.jsp using indexed properties. Thanks & Regards, Aftab Vhora Marcello Savino wrote: >1) You have some kind of getter and setter for txt prope

R: Dynamically Generated html:Text

2006-09-18 Thread Marcello Savino
1) You have some kind of getter and setter for txt property not for txt1, txt2, txt3 property You'd better look for indexed properties -Messaggio originale- Da: Aftab Vhora [mailto:[EMAIL PROTECTED] Inviato: lunedì 18 settembre 2006 12.06 A: Struts Users Mailing List Oggetto: Dynamic

R: Display only specific keys on a page

2006-09-18 Thread Marcello Savino
1) populate the collection, only with values you want display OR 2) in jsp use logic tags Hih, Marcello -Messaggio originale- Da: Vaylee Mckenzie-Daniels (VA) [mailto:[EMAIL PROTECTED] Inviato: lunedì 18 settembre 2006 8.12 A: user@struts.apache.org Oggetto: Display only specific keys on

R: How to OR condition in JSP using Struts

2006-09-18 Thread Marcello Savino
Try something like this Hih, marcello -Messaggio originale- Da: Hanmay Udgiri [mailto:[EMAIL PROTECTED] Inviato: domenica 17 settembre 2006 21.21 A: Struts Users Mailing List Oggetto: How to OR condition in JSP using Struts Hi I want to check an OR condition in struts using logic tag

R: Hi Need help .. on javascript & validation framework when used together

2006-09-11 Thread Marcello Savino
Hide (via Javascript) the submit button till the radio is not selected Ciao -Messaggio originale- Da: Sheetal Gupta [mailto:[EMAIL PROTECTED] Inviato: lunedì 11 settembre 2006 11.25 A: Struts Users Mailing List Oggetto: Hi Need help .. on javascript & validation framework when used togeth

several parameter to LookupDispatchAction

2006-09-07 Thread Marcello Savino
Hi, i want to call a LookupDispatchAction passing more parameter I mean something like this public ActionForward myMethod( ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)

R: Several action in a jsp

2006-09-07 Thread Marcello Savino
ruts Users Mailing List Oggetto: Re: Several action in a jsp Marcello Savino ha scritto: > In a struts jsp files can I have more form with different action defined > ? > Absolutely yes, but why do you ask? - To unsubscr

R: Several action in a jsp

2006-09-07 Thread Marcello Savino
SIGNED MESSAGE- Hash: SHA1 Marcello! Of course you can. But only the values of the special form will be submitted and transport via the request. Otherwise you have to collect the values via javascript. Manfred Struts goes mobile. See http://www.strutsme.org Marcello Savino wrote: > I

Several action in a jsp

2006-09-07 Thread Marcello Savino
In a struts jsp files can I have more form with different action defined ? I mean something like that <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> <%@ taglib uri="/WEB-INF/struts-html.tld" prefix=