R: model bean from a servlet

2009-02-10 Thread Gianluca Musella
Hi Jack. Thank for your response. The problem is that the login.jsp is called before the user authentication, performed through jaas, and in the in the web.xml, is not possible to specify an action. So I heven't the possibility to pass the model to the login.jsp. The workaround is to abtain

Re: R: R: TAG embeded inside TAG struts 1

2008-10-23 Thread Antonio
Il 23 ottobre 2008 17.05, D'Ottavio Alessandro <[EMAIL PROTECTED]> ha scritto: > But One question. > The differences between tags-html and tags-html-el are not in the tag that > are identical. > > Why I should prefer to use tags-html? If tags-html-el give me the same TAG > and also the possibilit

R: R: TAG embeded inside TAG struts 1

2008-10-23 Thread D'Ottavio Alessandro
- 00155 - Rome Italy Fax Number : +39 06 22796324 Office : +39 06 22724617 Mobile : +39 3349067696 e-mail : [EMAIL PROTECTED] -Messaggio originale- Da: Antonio [mailto:[EMAIL PROTECTED] Inviato: giovedì 23 ottobre 2008 16.17 A: Struts Users Mailing List Oggetto: Re: R: R: TAG embeded insid

RE: R: TAG embeded inside TAG struts 1

2008-10-23 Thread Kawczynski, David
x27;s In the request scope: <% Object isEditable = request.getAttribute("isEditable"); %> Did I mention this is a very dirty approach? -Original Message- From: D'Ottavio Alessandro [mailto:[EMAIL PROTECTED] Sent: Thursday, October 23, 2008 10:18 AM To: Struts Users

Re: R: R: TAG embeded inside TAG struts 1

2008-10-23 Thread Antonio
Il 23 ottobre 2008 16.18, D'Ottavio Alessandro <[EMAIL PROTECTED]> ha > That mean that with my Application Server version I can't set any attribute dynamically inside the STRUTS TAG? You have to use the EL version of Struts tags: http://struts.apache.org/1.3.8/struts-el/index.html Antonio --

R: R: TAG embeded inside TAG struts 1

2008-10-23 Thread D'Ottavio Alessandro
696 e-mail : [EMAIL PROTECTED] -Messaggio originale- Da: Antonio [mailto:[EMAIL PROTECTED] Inviato: giovedì 23 ottobre 2008 16.01 A: Struts Users Mailing List Oggetto: Re: R: TAG embeded inside TAG struts 1 Il 23 ottobre 2008 15.54, D'Ottavio Alessandro <[EMAIL PROTECTED]> ha scr

Re: R: TAG embeded inside TAG struts 1

2008-10-23 Thread Antonio
Il 23 ottobre 2008 15.54, D'Ottavio Alessandro <[EMAIL PROTECTED]> ha scritto: > I'm using struts 1.3.8 and JSTL 1.0.6 JSP 1.2 This is the problem, you need at least JSP 2.0 and Servlet 2.4 (and JSTL 1.1.x). What application server are you using? Antonio

R: TAG embeded inside TAG struts 1

2008-10-23 Thread D'Ottavio Alessandro
If I do like this the EL is not evaluated in the STRUTS TAG I say this because after I tried to put the output whit the JSTL c:out and I see value of the expression correctly Example In the request variable myValue="test" output result "${myValue}" EL not evaluated output result

Re: R: More html:form TAG in one page for struts 1

2008-10-22 Thread Antonio
2008/10/22 D'Ottavio Alessandro <[EMAIL PROTECTED]>: > if I create the FormBeanA associate with the ActionA (specific > properties with getter and setter and validate specific only for that > properties requested by function A need) struts automatically will > valorised the bean using the setter pr

R: More html:form TAG in one page for struts 1

2008-10-22 Thread D'Ottavio Alessandro
Ciao Antonio, Actually I'm using 2 different actions and in both the action I have associated the same formBean, but you gave me one idea: if I create the FormBeanA associate with the ActionA (specific properties with getter and setter and validate specific only for that properties requested by

R: polish dialectic signs lturn into #

2008-10-13 Thread D'Ottavio Alessandro
I had before an error like this.. The encoding was Arabic and all the character become ? (question mark) It wasn't related to struts, but to the application server (IBM Web Sphere) The application works in my test server (windows) but not in production environment (UNIX) We discovered that IBM

Re: Struts 2 Page & Ctrl+R

2008-07-08 Thread Lukasz Lenart
Could you show source of your frame? Regards -- Lukasz http://www.lenart.org.pl/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Struts 2 Page & Ctrl+R

2008-07-08 Thread Rubbinio
What do you mean ? I have a link the user click on in Frame 1: listDashboardAction.action That invokes my action, does some stuff and returns "input" which in my struts.xml is /setup/dashboard/dashboard_config.jsp And that gets loaded in frame 2. Now how can i set the frame source cause i rea

Re: Struts 2 Page & Ctrl+R

2008-07-08 Thread Lukasz Lenart
Hi, Put all your frameset's source to actions, not to jsp files. Regards -- Lukasz http://www.lenart.org.pl/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Struts 2 Page & Ctrl+R

2008-07-08 Thread Rubbinio
of an action ? Lukasz Lenart wrote: > > Hi, > > What you have in browser's address bar? > > CTRL+R just make GET request to your application, if you have .action > in your url, apropreciated action has to be called. > > > Regards &

Re: Struts 2 Page & Ctrl+R

2008-07-08 Thread Lukasz Lenart
Hi, What you have in browser's address bar? CTRL+R just make GET request to your application, if you have .action in your url, apropreciated action has to be called. Regards -- Lukasz http://www.lenart.org.pl/ ---

Re: Struts 2 Page & Ctrl+R

2008-07-08 Thread Rubbinio
action is a jsp. Now the question is, is there any way to make the framework invoke my action when the user presses CTRL+R or the browser refresh button ? My config file looks like this: ... interceptor stack /setup/dashboard/dashboard_config.jsp /setup/dashboard

Re: Struts 2 Page & Ctrl+R

2008-06-21 Thread Lukasz Lenart
> This worked fine before using Struts 1 and my guess is that it was because > the form was present in session. > > Is there any way to make this work in Struts 2 ? You can check Scope Plugin http://cwiki.apache.org/S2PLUGINS/scope-plugin.html maybe it will be helpful Regards -- Lukasz http://w

Struts 2 Page & Ctrl+R

2008-06-20 Thread Rubbinio
Hi all, we have some Struts 2 pages which load fine but if the user uses Ctrl+R or Browser Refresh the page reloads but no values are populated. This worked fine before using Struts 1 and my guess is that it was because the form was present in session. Is there any way to make this work in

Re: R: localization issue for Italian language (package_it.properties)

2007-12-05 Thread Antonio Petrelli
2007/12/5, Gigliotti, Andrea <[EMAIL PROTECTED]>: > > I posted the issue more time on the forum because it's has been closed > (WW-2345 ) by someone saying "It is not a bug". That "someone" is me :-) If I understood you well, you say that, if the browser is Italian and you use it to call a webap

R: localization issue for Italian language (package_it.properties)

2007-12-05 Thread Gigliotti, Andrea
I posted the issue more time on the forum because it's has been closed (WW-2345 ) by someone saying "It is not a bug". Reading carefully my message you should understand the issue is a bug! So I'm expecting this bug to be fix quickly. -Messaggio originale- Da: GF [mailto:[EMAIL PROTECTED]

R: R: R: my execute method of action class is getting executed twice

2007-12-05 Thread Gigliotti, Andrea
document.forms[0].submit();" in "return true;" Andrea -Messaggio originale- Da: Dave Newton [mailto:[EMAIL PROTECTED] Inviato: martedì 4 dicembre 2007 17.53 A: Struts Users Mailing List Oggetto: Re: R: R: my execute method of action class is getting executed twice What Ja

Re: R: R: my execute method of action class is getting executed twice

2007-12-04 Thread Dave Newton
--- "Gigliotti, Andrea" <[EMAIL PROTECTED]> wrote: > I tried to remove the javascript confirm message, and now it work fine! Btw, I'm in the camp of the other comment that said you're probably submitting it twice (without knowing, since you didn't post the complete code). If you're doing a submit

Re: R: R: my execute method of action class is getting executed twice

2007-12-04 Thread Dave Newton
localization problem with the package_it.properties file. > This is a bug for sure! > > Andrea > > -Messaggio originale- > Da: Dave Newton [mailto:[EMAIL PROTECTED] > Inviato: martedì 4 dicembre 2007 15.38 > A: Gigliotti, Andrea > Oggetto: Re: R: my execute method

R: R: my execute method of action class is getting executed twice

2007-12-04 Thread Gigliotti, Andrea
: Gigliotti, Andrea Oggetto: Re: R: my execute method of action class is getting executed twice Okay, now post the rest of it: the action configuration, the HTML/JSP, any additional JavaScript, etc. d. --- "Gigliotti, Andrea" <[EMAIL PROTECTED]> wrote: > Below my configuration:

R: my execute method of action class is getting executed twice

2007-12-04 Thread Gigliotti, Andrea
Below my configuration: O.S. Windows XP Pro (ITA) Tomcat 5.0.27 JDKL 1.5.0.12 IE 6.0 Action's code: - - - - - - - - - - - - - package it.kappapackaging.com.action.visits; import java.sql.Connection; import java.sql.DriverManager; import com.opensymphony.xwork2.ActionSupport; import it.kappapa

R: [beginner] need to use logic:equal with request attribute

2007-10-18 Thread Marchioni Francesco
thanks it was that. I needed to put <%@ taglib uri="/WEB-INF/taglib.tld" prefix="ndctags"%> at the beginning. But very very odd because Eclipse can see those tags even without the tag lib specification...( I mean there's auto-completation of that tag). anyway thanks ! >It does not make sense

[OT] Re: Can anyone explain the leading "r" in OGNL list syntax?

2007-08-30 Thread Dave Newton
FYI, http://fmpp.sourceforge.net/freemarker/versions_2_3.html gotten by searching for "freemarker +r prefix". Search for "raw" once you're there. d. --- Dave Newton <[EMAIL PROTECTED]> wrote: > I'd probably try asking this on a FreeMarker list > since

Re: Can anyone explain the leading "r" in OGNL list syntax?

2007-08-29 Thread Dave Newton
I'd probably try asking this on a FreeMarker list since the exception after removing the "r" came from FreeMarker. --- james_carbon5 <[EMAIL PROTECTED]> wrote: > > Thanks for the response Musachy. So, is the "r" > shorthand to let freemarker > know th

Re: Can anyone explain the leading "r" in OGNL list syntax?

2007-08-29 Thread james_carbon5
Thanks for the response Musachy. So, is the "r" shorthand to let freemarker know that my list is a LinkedHashMap? If not, what is the "r" doing? Thanks again, James Musachy Barroso wrote: > > Do it like: > > list="[EMAIL PROTECTED]@{'Regular'

Re: Can anyone explain the leading "r" in OGNL list syntax?

2007-08-29 Thread Musachy Barroso
Do it like: list="[EMAIL PROTECTED]@{'Regular' : 'Regular', 'Decaf': 'Decaf'}}" musachy On 8/29/07, james_carbon5 <[EMAIL PROTECTED]> wrote: > > Thanks for the response Dale. The "r" isn't a typo. If I remove it I get:

Re: Can anyone explain the leading "r" in OGNL list syntax?

2007-08-29 Thread james_carbon5
Thanks for the response Dale. The "r" isn't a typo. If I remove it I get: javax.servlet.ServletException: freemarker.core.ParseException: Error on line ... Found string literal: "foo" Expecting: number etc... Thanks, James DNewfield wrote: > > > I'

Re: Can anyone explain the leading "r" in OGNL list syntax?

2007-08-29 Thread Dale Newfield
I've not written much freemarker, but I'd bet the r is a typo. The important difference between the two tags you have are the single quotes around the value of the list attribute. james_carbon5 wrote: <@s.select ... list=#{"foo":"foo stuff","bar&

Can anyone explain the leading "r" in OGNL list syntax?

2007-08-29 Thread james_carbon5
I found http://www.jroller.com/cdaniluk/entry/webwork_and_freemarker_part_deux this post , where I learned that this will work. <@s.select ... list=r'#{"foo":"foo stuff","bar":"bar stuff"}' /> Can someone explain what the leading "r"

R: validate never got called

2007-08-17 Thread Amleto DI SALLE
Your class have to extend ValidatorForm and not ActionForm. BR /Amleto -Messaggio originale- Da: AngeloChen [mailto:[EMAIL PROTECTED] Inviato: venerdì 17 agosto 2007 11.53 A: user@struts.apache.org Oggetto: validate never got called Hi, I have an ActionForm like following, the sett

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 to add. Marcello Savino ALDEBR

Re: R: Array of Bean and optionsCollection (up)

2007-04-11 Thread Laurie Harper
Marcello Savino wrote: At first sight, u miss the name of the collection in " " Do you mean i have to specify the attribute name="aBean"instead of property="aBean" ? You only need to specify the 'name' attribute if you want to specify a bean other than the form bean. Assuming the data you wan

R: Array of Bean and optionsCollection (up)

2007-04-11 Thread Marcello Savino
>At first sight, u miss the name of the collection in " >label="descr"/>" Do you mean i have to specify the attribute name="aBean"instead of property="aBean" ? >second u forgot the dot in myBeanCode , it's myBean.code , Struts will do myBean.getCode(). myBeanCode is only a name for the current be

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 Ogget

R: Invalid Column Type Exception

2007-02-09 Thread Marcello Savino
As you can see it's an SQL Exception. I suggest to print out the insert statement and then try to execute the SQL insert in a SQL client. I think yuu'll get the problem. Just to show an example it does'nt work no more : do you have any stored procedure that calculate a field id before insert ? V

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.

RE: R: R: Error : request.getReader()

2007-01-30 Thread Dave Newton
From: Christopher Schultz > I'm starting to think that Dave Newton was on the right track, > although it seemed like a hideous hack ;) Pretty much any time I'm on the right track it's a hideous hack. I start off meaning well then it all goes cow's legs up. > I think this is best done with a filte

Re: R: R: Error : request.getReader()

2007-01-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marcello, Marcello Savino wrote: > The reason i need the request body is that the action i should take > is to analyze the html generated. (ie.: syntax checking, finding img > without alt attributes, reading meta-information ...). More: this job > mus

Re: R: R: Error : request.getReader()

2007-01-30 Thread Craig McClanahan
On 1/29/07, Marcello Savino <[EMAIL PROTECTED]> wrote: The reason i need the request body is that the action i should take is to analyze the html generated. (ie.: syntax checking, finding img without alt attributes, reading meta-information ...). More: this job must be done server side (no jscri

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

Re: R: Error : request.getReader()

2007-01-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marcello, Marcello Savino wrote: > You got it ! > More: i need to access the request body after the form was submited. The > only way i know is in the action subclass, but Struts process the > parameter before invoking the appropriate method in action

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 suggest me to re-wr

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

Re: R: R: Reading generated html

2007-01-25 Thread Laurie Harper
inale- Da: Nagraj Rao [mailto:[EMAIL PROTECTED] Inviato: mercoledì 24 gennaio 2007 15.01 A: Struts Users Mailing List Oggetto: Re: R: Reading generated html Hi Marcello i'm bit confused on whether you wanna submit the content or set it into an object. Please guide me on that. i gues

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 Sav

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

2007-01-25 Thread Marcello Savino
I've read what you suggested but the problem is that i need a "submit tag" in other words, i need to process the request content after the user press a specific button (the others are handled in a LookupDispatchAction subclass). I think i need some more info to built this kind of tag. Do you know

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 List Oggetto

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

2007-01-24 Thread Marcello Savino
ECTED] Inviato: mercoledì 24 gennaio 2007 15.37 A: Struts Users Mailing List Oggetto: Re: R: [OT] Re: R: R: Reading generated html --- Marcello Savino wrote: > To check accessibity conformance of the genarated page Ah... Boy, I'd sure do that a different way, like using Watir (or my STIL

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

2007-01-24 Thread Dave Newton
--- Marcello Savino wrote: > To check accessibity conformance of the genarated > page Ah... Boy, I'd sure do that a different way, like using Watir (or my STILL unreleased HeavyWatir :( or Selenium; more client-side focused tests. Or HttpUnit (or whatever that Struts one is etc.) Dave __

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
[mailto:[EMAIL PROTECTED] Inviato: mercoledì 24 gennaio 2007 15.01 A: Struts Users Mailing List Oggetto: Re: R: Reading generated html Hi Marcello i'm bit confused on whether you wanna submit the content or set it into an object. Please guide me on that. i guess if you're capturing an HTML c

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

2007-01-24 Thread Dave Newton
--- Marcello Savino wrote: > Cause i need to submit the html content to a > servlet to analyze the html code Now I'm curious; why? Dave Bored stiff? Loosen up... Download and play hundreds of games for fre

Re: R: Reading generated html

2007-01-24 Thread Nagraj Rao
u can make it thru a scriptlet that Abhishek suggested. you can also go for an Ajax submit as well. N - Original Message - From: "Marcello Savino" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, January 24, 2007 6:59 PM Subject: R: R: R

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

Re: R: Reading generated html

2007-01-24 Thread Dave Newton
--- Marcello Savino wrote: > 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 ! I didn't know you could do that (or I forgot; don't know

R: Reading generated html

2007-01-24 Thread Marcello Savino
.A. tel. 0461302441 -Messaggio originale- Da: Kandelwal Abhishek [mailto:[EMAIL PROTECTED] Inviato: mercoledì 24 gennaio 2007 13.15 A: Struts Users Mailing List Oggetto: RE: Reading generated html Hi dear, I guess the method setHtml(HttpServletRequest request) is not called because the data

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: [FRIDAY] Christma

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

2006-10-26 Thread Marcello Savino
CTED] -Original Message- From: Marcello Savino [mailto:[EMAIL PROTECTED] Sent: 26 October 2006 11:21 To: Struts Users Mailing List Subject: R: Issue: using logic:iterate to display rows and html:button to distinguish one of them *** WARNING : This message originates from the Internet *** Sorry i

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

Re: R: UTF-8 encoding & tag problem

2006-10-18 Thread Philippe Schober
Hi, navin mca schrieb: Wht should I do should I write a programe to convert from IS0-8859 to UTF-8 all those test?. The application resources shouldn't be anything else than Latin-1. Use a simple editor like Notepad and paste your UTF-8 stuff into that file. Be sure to save it as UTF-8 enc

Re: R: UTF-8 encoding & tag problem

2006-10-18 Thread navin mca
Hi Marcello, Thanks for ur suggestion it's really helpful for me. My all property file text were genereted using IS0-8859 char set & now I had convereted it to UTF-8 in editor setting of my eclipse. Aftre doing that few of the special symbols got wiered. Wht should I do sho

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

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

Re: R: Form name

2006-10-13 Thread Mikolaj Rydzewski
Marcello Savino wrote: Yes it works but the problem is that the rendered file is not a valid xhtml1.0 strict file, cause the atribute name. I need a workaround to avoid the attribute name to appears in the rendered file. I use struts 1.2.7. Sample JSP: And there's no name attribute in ge

R: Form name

2006-10-13 Thread Marcello Savino
Yes it works but the problem is that the rendered file is not a valid xhtml1.0 strict file, cause the atribute name. I need a workaround to avoid the attribute name to appears in the rendered file. Ciao, MArcello -Messaggio originale- Da: Mikolaj Rydzewski [mailto:[EMAIL PROTECTED] Inv

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
Great: it works fine ! Thank you -Messaggio originale- Da: Venkata Phani Kumar [mailto:[EMAIL PROTECTED] Inviato: giovedì 21 settembre 2006 12.06 A: Struts Users Mailing List Oggetto: Re: Applicationresource.properties Hi savino, you can get message resources instance using MessageRe

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

RE: R: Dynamically Generated html:Text

2006-09-18 Thread Lance
Try -Original Message- From: Marcello Savino [mailto:[EMAIL PROTECTED] Sent: 18 September 2006 13:29 To: Struts Users Mailing List Subject: R: R: Dynamically Generated html:Text Something like that: public class myMapForm extends ActionForm { public void setTxt(int index

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

Re: R: Dynamically Generated html:Text

2006-09-18 Thread Aftab Vhora
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 property not for txt1, txt2, txt3 property You'd better look for indexe

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

Re: R: How to OR condition in JSP using Struts

2006-09-18 Thread Balwinder
Marcello Savino wrote: 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 conditio

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

R: Several action in a jsp

2006-09-07 Thread Marcello Savino
I want to populate data in the form 2 after acquiring data from form1 Before start coding, i would like to be sure i'm doing the right think. That's the reason -Messaggio originale- Da: Antonio Petrelli [mailto:[EMAIL PROTECTED] Inviato: giovedì 7 settembre 2006 9.22 A: Struts Users Maili

Re: R: Several action in a jsp

2006-09-07 Thread Manfred Wolff
Thats a html feature. Only the values of the submitted form will be transported in the request. And only those values, that are transported in the request, can be populated from the struts framework. Manfred Struts goes mobile. See http://www.strutsme.org Marcello Savino wrote: > You mean I ca

R: Several action in a jsp

2006-09-07 Thread Marcello Savino
You mean I cannot, for instance, populate fields in the form2 after acquiring data from form1 ? -Messaggio originale- Da: Manfred Wolff [mailto:[EMAIL PROTECTED] Inviato: giovedì 7 settembre 2006 9.18 A: Struts Users Mailing List Oggetto: Re: Several action in a jsp -BEGIN PGP SIGNE

Re: R: how to handle requests submitted using java script with a LookupDispatchAction subcalss

2006-04-06 Thread Nava Krishna Mallela
Hi Diaconu Eduard, I aready have a key(EffortTracker.getProgram) mapped to the value( getPrograms). i.e. application.resources file contains, EffortTracker.getPrograms=getPrograms and protected Map getKeyMethodMap() { Map map = new HashMap(); map.put("EffortTracker.getPrograms"

R: how to handle requests submitted using java script with a LookupDispatchAction subcalss

2006-04-06 Thread Diaconu Eduard
protected Map getKeyMethodMap() { Map map = new HashMap(); map.put("getPrograms","getPrograms"); return map; } ApplicationResources.properties getPrograms=getPrograms in jsp -Messaggio originale- Da: Nava Krishna Mallela [mailto:[EMAIL PROTECTED] Inviato:

R: how to set token after an exception occurs ?

2005-12-05 Thread Amleto Di Salle
Hi, the token is associated to user session and it is stored in the session. So you can "save" the token before to execute the business logic and "reset" the token if an exception occured. I have solved the problem in the following way: BR /Amleto public abstract class TokenFormBaseAction extends

R: frame

2005-11-08 Thread Diaconu Eduard
To me it interests to go out of the frame nell certain condition. I know only it when I arrive in action -Messaggio originale- Da: Dixa M [mailto:[EMAIL PROTECTED] Inviato: martedì 8 novembre 2005 10.16 A: Struts Users Mailing List Oggetto: Re: frame I cant exactly tell how toimpleme

Re: R: Easy question, please help a rookie

2005-11-04 Thread Dave
Amleto Di Salle di.univaq.it> writes: > > Try to use > ${pageContext.request.requestURI} > > BR > /Amleto This worked thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

R: Easy question, please help a rookie

2005-11-04 Thread Amleto Di Salle
Try to use ${pageContext.request.requestURI} BR /Amleto > -Messaggio originale- > Da: news [mailto:[EMAIL PROTECTED] Per conto di Dave > Inviato: venerdì 4 novembre 2005 18.19 > A: user@struts.apache.org > Oggetto: Easy question, please help a rookie > > > I'm trying to get the URL of

Re: R: stupid EL evaluation question

2005-10-20 Thread David Delbecq
Ok, i finally found the problem. The doctype of my web.xml was http://java.sun.com/dtd/web-app_2_3.dtd";> which disable all EL in tomcat. Solution was to replace with http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xm

Re: R: stupid EL evaluation question

2005-10-20 Thread Ronald Holshausen
I've been looking at the JSP 2.0 spec, and this might be a bug. BTW, you don't need the taglib declaration in your web.xml, you can just use the URI in your jsp file and the taglib will be loaded from the jstl jars. On 20/10/05, David Delbecq <[EMAIL PROTECTED]> wrote: > Hi Amleto, > > am using t

Re: R: stupid EL evaluation question

2005-10-20 Thread David Delbecq
Hi Amleto, am using tomcat 5.5.7, jstl 1.1.2 my web.xml declaration is as follow. http://java.sun.com/jsp/jstl/core /tld/c.tld More over fact it's Interger not int shouldn't matter, as i said, another webapp which has ${param.mode=='list'} in it's test is working, th

R: stupid EL evaluation question

2005-10-20 Thread Amleto Di Salle
Hi, Which version of JSP+JSTL (and Tomcat) are you using? I am not sure but I think that the problem is due to fact that "1" is considered as an Integer class. This is possible, i suppose, in two cases: - you are using JSP1.2+JSTL1.0 - or in the taglib directive you are using "http://java.sun.com

R: trouble with dispatching on a paramter

2005-10-18 Thread Diaconu Eduard
-Messaggio originale- Da: Troy Bull [mailto:[EMAIL PROTECTED] Inviato: martedì 18 ottobre 2005 14.35 A: user@struts.apache.org Oggetto: trouble with dispatching on a paramter Hello I am trying to get my form to dispatch to different functions inside my action handler class. I followe

R: Display checkbox

2005-09-30 Thread Bianchi Fabio
purtroppo il proxy aziendale non mi permette di uscire :( -Messaggio originale- Da: gollinger [mailto:[EMAIL PROTECTED] Inviato: venerdì 30 settembre 2005 11.04 A: user Oggetto: Re:Display checkbox Ciao Fabio, Dai un'occiata! http://www.geocities.com/Colosseum/Field/7217/SW/struts/erro

  1   2   3   >