RE: Questions about debug and info messages

2004-03-23 Thread Van Riper, Mike
log level. This suppresses the INFO and DEBUG log messages for these packages. # Usage: Specifies the configuration properties for log4j. # # Notes: This properties file should be placed somewhere #inside the WEB-INF/classes directory. # Create two appenders, one called stdout and the

RE: Questions about debug and info messages

2004-03-23 Thread Pady Srinivasan
Subject: RE: Questions about debug and info messages Thanks for the advice, but I'm using log4j. The API doc you to which you linked doesn't offer much help. I hacked a solution by setting the message level on the struts logger to "warning" in one of my servlet's init met

RE: Questions about debug and info messages

2004-03-23 Thread Eric Hodges
tting (like a parameter to the Action servlet?) that will set the message level. -Original Message- From: Pady Srinivasan [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 23, 2004 8:21 AM To: Struts Users Mailing List Subject: RE: Questions about debug and info messages If you are using JDK

RE: Questions about debug and info messages

2004-03-23 Thread Pady Srinivasan
used to turn off logging, and a level ALL that can be used to enable logging of all messages. I haven't used log4j. Here is the struts docs: http://jakarta.apache.org/commons/logging/api/org/apache/commons/logging/pac kage-summary.html#package_description Thanks -- pady [EMAIL PROT

Questions about debug and info messages

2004-03-23 Thread Eric Hodges
We have a torrent of debug and info messages coming out of struts. I can't find any documentation about how to turn them off. Two questions: 1. How do I turn off debug and info level messages? 2. Where is that documented? Thanks, Eric H

RE: Dynamic Messages

2004-03-18 Thread Wiebe de Jong
You're right. I should have said that you can use any number of parameters up to four. -Original Message- From: Brendan Richards [mailto:[EMAIL PROTECTED] Sent: Thursday, March 18, 2004 9:52 AM To: Struts Users Mailing List Subject: RE: Dynamic Messages >>You could h

RE: Dynamic Messages

2004-03-18 Thread Brendan Richards
ebe de Jong [mailto:[EMAIL PROTECTED] Sent: 18 March 2004 17:37 To: 'Struts Users Mailing List' Subject: RE: Dynamic Messages Messages from your resource file can have parameters. Resource file: user.added={0} successfully added Action: errors.add(ActionErrors.GLOBAL_ERROR,

RE: Dynamic Messages

2004-03-18 Thread Wiebe de Jong
Messages from your resource file can have parameters. Resource file: user.added={0} successfully added Action: errors.add(ActionErrors.GLOBAL_ERROR, new ActionError("user.added", bean.name)); messages.add(ActionMessages.GLOBAL_MESSAGE, new ActionMessage("user.added"

Dynamic Messages

2004-03-18 Thread Ciaran Hanley
Hey, Can ActionMessages/ActionErrors be created dynamically or do they always need to read from a resource file. I would like a more meaningful message shown when something is added to the DB, like instead of "Client successfully added" I would like "Joe Bloggs details have been added". Can

FW: Insert arguments into Validator error messages?

2004-03-15 Thread Brendan Richards
a resource bundle for each area of my site: (struts-config.xml) Each resources bundle has a copy of the basic default error messages like: errors.required={0} is required. I have validations like this: And display the error messages like

Re: replacing messages tag with fmt tag - can both exist at 1x?

2004-03-01 Thread James Mitchell
MAIL PROTECTED]> Sent: Monday, March 01, 2004 10:16 AM Subject: replacing messages tag with fmt tag - can both exist at 1x? > does anyone have the messages tag working in the same application as the fmt > tag using the fmt tag for displaying messages in some pages and messages for > oth

replacing messages tag with fmt tag - can both exist at 1x?

2004-03-01 Thread Menke, John
does anyone have the messages tag working in the same application as the fmt tag using the fmt tag for displaying messages in some pages and messages for other pages? can you implement both at once? - To unsubscribe, e-mail

RE: Retrieving messages from resource bundle

2004-02-17 Thread Gagné Jean-Christian
> -Message d'origine- > De : Wendy Smoak [mailto:[EMAIL PROTECTED] > Envoyé : mardi 17 février 2004 16:06 > À : Struts Users Mailing List > Objet : [SPAM] - RE: Retrieving messages from resource bundle > > > > From: Vinicius Carvalho [mailto

RE: Retrieving messages from resource bundle

2004-02-17 Thread Wendy Smoak
> From: Vinicius Carvalho [mailto:[EMAIL PROTECTED] > Hi there! I know I can retrieve messages using the > tag. But > I need to put it inside another third party tag, so It's not > working, I > tried to use but did > not work. Any > other way? How do I access

Retrieving messages from resource bundle

2004-02-17 Thread Vinicius Carvalho
Hi there! I know I can retrieve messages using the tag. But I need to put it inside another third party tag, so It's not working, I tried to use but did not work. Any other way? How do I access it using scriptlets?

Re: Persisting Messages/Errors when redirect="true"

2004-02-12 Thread Hubert Rabago
don't get that annoying "Re-post form?" box when they refresh, and I'm not chaining actions that do different things. Not sure if it matters to you, but the last guy who asked for it (Manjunath) needed several error messages with their property names preserved. I didn't n

Re: Persisting Messages/Errors when redirect="true"

2004-02-12 Thread David Erickson
Ya I'd be interested to see your code if at all possible =) Thanks, David - Original Message - From: "Hubert Rabago" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Monday, February 09, 2004 7:49 PM Subject: Re: Persistin

Validation Error messages.

2004-02-11 Thread Vijay . Kukreja
Hello All, I am using validation framework for the validations on the page. When i click on submit button, it shows me the validations(required messages) which are required, That's what it is suppose to do. But unfortunately after clicking on the ok button on the javascript popup window

RE: Errors or messages or??

2004-02-10 Thread Joe Germuska
At 1:55 PM -0700 2/10/04, Wendy Smoak wrote: I added a page to the FAQ section: http://nagoya.apache.org/wiki/apachewiki.cgi?StrutsDeprecatedActionErrors It has the code I posted yesterday, which I still am not sure is the officially correct way to handle errors in 1.2. Can someone take a look and

RE: Errors or messages or??

2004-02-10 Thread Wendy Smoak
I added a page to the FAQ section: http://nagoya.apache.org/wiki/apachewiki.cgi?StrutsDeprecatedActionError s It has the code I posted yesterday, which I still am not sure is the officially correct way to handle errors in 1.2. Can someone take a look and either fix it or approve of it? (And pos

RE: Errors or messages or??

2004-02-10 Thread Matthias Wessendorf
, February 10, 2004 9:36 PM To: Struts Users Mailing List Subject: RE: Errors or messages or?? Yeah, that's excellent. It looks like there is at least one add-in package that has a dependency. Though it sounds like an easy fix, does it make sense for a developer to try to remove ActionErrors

RE: Errors or messages or??

2004-02-10 Thread Slattery, Tim - BLS
> Not sure if you're just venting, or looking for a solution, > but... you can install the struts-documentation.war that came > with the Struts 1.1 binary distribution, and then you'll have > the documentation that goes with the release you're using. Thank you! I hadn't found that. -- Tim Slat

RE: Errors or messages or??

2004-02-10 Thread Wendy Smoak
> Tim Slattery > It really bugs me that the javadoc and (apparently) the tag > docs at the web site describe the "nightly build" version and > not the stable, released version. Not sure if you're just venting, or looking for a solution, but... you can install the struts-documentation.war that c

RE: Errors or messages or??

2004-02-10 Thread Durham David Contr 805 CSPTS/SCE
s 1.2? Dave > -Original Message- > From: Matthias Wessendorf [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 10, 2004 2:14 PM > To: 'Struts Users Mailing List' > Subject: RE: Errors or messages or?? > > Hi Dave, > > in http://jakarta.apache.org

RE: Errors or messages or??

2004-02-10 Thread Matthias Wessendorf
, Errors "alives" in validate():Errors and inside the Validator-Frameworks validate(), (for initializing the commons_validator) but Validator Classes (fiedChecks) uses Messages. Perhaps you wanted infos like this, cheers, matthias -Original Message- From: Durham David Contr 805

RE: Errors or messages or??

2004-02-10 Thread Durham David Contr 805 CSPTS/SCE
> I for one think that a lot of this is guilding the lily and is counter > productive. I think that you meant *gilding* the lily or even painting the lily. I'm actually interested in this topic. Is there some existing documentation about the removal of ActionErrors and ways to deal with its re

RE: Errors or messages or??

2004-02-10 Thread Michael McGrady
ere's no saveErrors(request, actionMessages) just yet. Then there's no point in converting any ActionError or ActionErrors usage to ActionMessage or ActionMessages yet, since you can't send it to the JSP page in such a way that the tag can find the error messages. Sounds like I&

RE: Errors or messages or??

2004-02-10 Thread Slattery, Tim - BLS
> the naming was that everything "messages" is a new, more generalized > approach to everything which was "errors" -- the classes in > o.a.s.action and the tag library classes. Since ActionMessages was > created as a super class of ActionErrors, backwards compat

RE: Errors or messages or??

2004-02-10 Thread Joe Germuska
ionErrors usage to ActionMessage or ActionMessages yet, since you can't send it to the JSP page in such a way that the tag can find the error messages. Sounds like I've been wasting my time. ActionErrors extends ActionMessages, even in Struts 1.1 http://cvs.apache.org/viewcvs.cgi/*checkout*/

RE: Errors or messages or??

2004-02-10 Thread Slattery, Tim - BLS
ges yet, since you can't send it to the JSP page in such a way that the tag can find the error messages. Sounds like I've been wasting my time. -- Tim Slattery [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTE

Re: Errors or messages or??

2004-02-10 Thread Hubert Rabago
On 10 Feb 2004, at 17:10, Slattery, Tim - BLS wrote: > > >> With Struts 1.1, we have support for both error messages and > >> non-error messages. We use saveMessages() for non-error and > >> saveErrors() for error messages. In our JSPs, we can use the > >>

Re: Errors or messages or??

2004-02-10 Thread Mark Lowe
I was in the same boat, thinking that html:errors tag was up for deprecation, but no. Just ActionErrors are, ActionMessages can be rendered using html:errors. On 10 Feb 2004, at 17:10, Slattery, Tim - BLS wrote: With Struts 1.1, we have support for both error messages and non-error messages

RE: Errors or messages or??

2004-02-10 Thread Slattery, Tim - BLS
> With Struts 1.1, we have support for both error messages and > non-error messages. We use saveMessages() for non-error and > saveErrors() for error messages. In our JSPs, we can use the > tag to display them: OK, that helps. But can you tell me why I can't use s

Re: Errors or messages or??

2004-02-10 Thread Hubert Rabago
With Struts 1.1, we have support for both error messages and non-error messages. We use saveMessages() for non-error and saveErrors() for error messages. In our JSPs, we can use the tag to display them: The tag gives access to

Errors or messages or??

2004-02-10 Thread Slattery, Tim - BLS
t, it shows a saveMessages method. The description says: Save the specified messages keys into the appropriate request attribute for use by the tag (if messages="true" is set), if any messages are required. Otherwise, ensure that the request attribute is not created. What's this

RE: Persisting Messages/Errors when redirect="true"

2004-02-10 Thread Guillermo Meyer
ErrorsTag to lookup ActionErrors in session before trying to lookup in request. Saludos. Guillermo. -Original Message- From: Hubert Rabago [mailto:[EMAIL PROTECTED] Sent: Lunes, 09 de Febrero de 2004 11:49 p.m. To: Struts Users Mailing List Subject: Re: Persisting Messages/Errors when redirect

Re: Persisting Messages/Errors when redirect="true"

2004-02-09 Thread Hubert Rabago
There's no built-in support for this at the moment. I add code to my projects to add that support. I can share the code with you if you want. - Hubert --- David Erickson <[EMAIL PROTECTED]> wrote: > Is it possible to persist Messages/Errors around your site through the > req

Persisting Messages/Errors when redirect="true"

2004-02-09 Thread David Erickson
Is it possible to persist Messages/Errors around your site through the request when setting redirect="true" on an action mapping? An example I have right now is I have a delete action that forwards to a listContacts.do action on success.. however its persisting url parameters from

RE: messages/errors 2 form's 1 page

2004-02-04 Thread Yee, Richard K,,DMDCWEST
Users Mailing List Subject: Re: messages/errors 2 form's 1 page Thanks for the response. No they don't.. They're completely different forms, with different actions. Looks like going down the TileAction route. On 4 Feb 2004, at 16:43, Saul Q Yuan wrote: > Do the two action

Re: messages/errors 2 form's 1 page

2004-02-04 Thread Mark Lowe
to use two separate form beans, see how it goes. Saul -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 04, 2004 8:52 AM To: Struts Users Mailing List Subject: messages/errors 2 form's 1 page Hello I'm sure this has been answered before but

RE: messages/errors 2 form's 1 page

2004-02-04 Thread Saul Q Yuan
Subject: messages/errors 2 form's 1 page Hello I'm sure this has been answered before but I'm sick of googling for the answer. Using tiles I've 2 forms in one page. Now both forms have some properties with the same names e.g. .. When

messages/errors 2 form's 1 page

2004-02-04 Thread Mark Lowe
Hello I'm sure this has been answered before but I'm sick of googling for the answer. Using tiles I've 2 forms in one page. Now both forms have some properties with the same names e.g. .. When i submit either form the errors are displayed in both forms

RE: Validation error messages

2004-02-02 Thread Glenn, Scott
> As long as the error message is set up as I said the validation framework > should put the field name at the start of the message... But not the > value in the field. > > so in your example below you might get an error message like; > > Email address is a required field > [[SMG]] Yeah, that

RE: Validation error messages

2004-02-02 Thread Hunt, Steve
iling List' Subject: RE: Validation error messages Thanks Steve, That's what I'm doing when I implement my own custom validation routines, but what about the standard Struts validation rules (which are implemented declaratively), so you don't explicitly create any ActionErr

RE: Validation error messages

2004-02-02 Thread Glenn, Scott
Sent: 02 February 2004 15:49 To: 'Struts Users Mailing List' Subject: RE: Validation error messages in the resource file where the error message is defined use {0} to parametize it. eg address.invalid=Address {0} is not a valid email address. When you construct the actionError add the

RE: Validation error messages

2004-02-02 Thread Hunt, Steve
--Original Message- From: Glenn, Scott [mailto:[EMAIL PROTECTED] Sent: 02 February 2004 14:45 To: 'Struts Users Mailing List' Subject: Validation error messages I might be missing something obvious here, but is there an easy way to get the submitted value to become part of the your err

Validation error messages

2004-02-02 Thread Glenn, Scott
I might be missing something obvious here, but is there an easy way to get the submitted value to become part of the your error message? So, for example, if the user enters "abc" in an email field, I'd like a message saying :- Address "abc" is not a valid email address. I can get this

RE: Detect messages with Jstl

2004-02-01 Thread Karr, David
From: Axel Wilhelm Berle [mailto:[EMAIL PROTECTED] Sent: Saturday, January 31, 2004 1:04 PM To: [EMAIL PROTECTED] Subject: Detect messages with Jstl Hi everybody! I am experimenting with the tags of Struts 1.1. My problem is that I need to discover if there are any messages. Of course, there is t

Detect messages with Jstl

2004-01-31 Thread Axel Wilhelm Berle
Hi everybody! I am experimenting with the tags of Struts 1.1. My problem is that I need to discover if there are any messages. Of course, there is the tag, but I am trying to avoid the logic tag library. So my question is: What would be the elegant way to discover the presence of messages using

{ICICICARE#005-213-820}jstl & error messages

2004-01-29 Thread NRI Cell
Dear Sir / Madam,Thank you for writing to [EMAIL PROTECTED] We confirm receipt of your mail and assure you of a response shortly.To help us serve you better, we would request you to kindly mention your account number or any reference number you may have in your future correspondence. Kindly vis

jstl & error messages

2004-01-29 Thread Andy Richards
Hi, Does any one know how to display individual error messages created via the validator or my actions using jstl? I guess its along the lines of the above but i am missing something? cant seems to find the answer to this one on the archives? thanks Andy

Re: AW: how to show error messages in a pop up window?

2004-01-23 Thread "Björn Moritz"
rs.header=alert( > errors.footer=''); > > general.validate.date='A Date if given must be a valid Date in the > format {0}!\\n' + > > Note the apostrophes and the plus sign, so that a whole series of error > messages would pop up only in one alert. > > This

Re: AW: how to show error messages in a pop up window?

2004-01-23 Thread Adam Hardy
Dirk, I used that on my last project. In my resource bundle I had the following: errors.header=alert( errors.footer=''); general.validate.date='A Date if given must be a valid Date in the format {0}!\\n' + Note the apostrophes and the plus sign, so that a whole series of e

AW: how to show error messages in a pop up window?

2004-01-22 Thread Dirk Manske (Service Respond)
;) </html:message> any idea? Dirk -Ursprüngliche Nachricht- Von: Martin Gainty [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 22. Januar 2004 15:21 An: Struts Users Mailing List; [EMAIL PROTECTED] Betreff: Re: how to show error messages in a pop up window? Dirk- did you look at javas

Re: how to show error messages in a pop up window?

2004-01-22 Thread Martin Gainty
Dirk- did you look at javascript alert? viel Glueck, -Martin - Original Message - From: "Dirk Manske (Service Respond)" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Thursday, January 22, 2004 9:10 AM Subject: how

how to show error messages in a pop up window?

2004-01-22 Thread Dirk Manske (Service Respond)
Hi, I would like to display error messages in a popup window instead of the actual form page. Something like if is true, pop up a window and show the error messages. Has anyone done something similar to this and could show me an example? Thx, Dirk

Re[2]: Presenting Errors and messages

2004-01-19 Thread Foux
Hello Vinicius, Monday, January 19, 2004, 7:02:55 PM, you wrote: VC> Couldn't see your technique .. try to read the email in plain-text instead of in HTML. The tags might be interpreted in undisplayable HTML tags. -Foux --

Re: Presenting Errors and messages

2004-01-19 Thread Vinicius Carvalho
Couldn't see your technique At 11:05 19/1/2004, you wrote: Hello Vinicius, Monday, January 19, 2004, 11:29:19 AM, you wrote: VC> Hi there! Is there another way to present the messages or erros dropped by VC> ActionMessages/ActionErrors, besides the VC> / ? VC> Like a ?

Re: Presenting Errors and messages

2004-01-19 Thread Foux
Hello Vinicius, Monday, January 19, 2004, 11:29:19 AM, you wrote: VC> Hi there! Is there another way to present the messages or erros dropped by VC> ActionMessages/ActionErrors, besides the VC> / ? VC> Like a ? If so, what's the name of the bean? VC> Thanks VC> Vinicius

Presenting Errors and messages

2004-01-19 Thread Vinicius Carvalho
Hi there! Is there another way to present the messages or erros dropped by ActionMessages/ActionErrors, besides the / ? Like a ? If so, what's the name of the bean? Thanks Vinicius - To unsubscribe, e-mail: [EMAIL PROT

Re: Displaying messages as a result of failure

2004-01-07 Thread bort
iginal Message- > From: bort [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 06, 2004 11:48 AM > To: [EMAIL PROTECTED] > Subject: Displaying messages as a result of failure > > > Hi all > > How do I present, to the user, customized messages in the case of an Action

RE: messages

2004-01-07 Thread Richard Hightower
ActionMessages, saveMessages and getResources oh my! Back in the primordial ooze of Struts pre-1.1, people liked ActionErrors. They started using them for tasks for which they were never intended. People started using ActionErrors as a general-purpose way to display i18n-enabled dynamic messages

RE: Displaying messages as a result of failure

2004-01-07 Thread Richard Hightower
.com/consulting.htm#StrutsMentoring -Original Message- From: bort [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 06, 2004 11:48 AM To: [EMAIL PROTECTED] Subject: Displaying messages as a result of failure Hi all How do I present, to the user, customized messages in the case of an Action fail

Re: Displaying messages as a result of failure

2004-01-07 Thread Tin Pham
any of the excellent Struts books out there from O'Reilly or Manning. Tin "bort" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi all > > How do I present, to the user, customized messages in the case of an Action > failure? For example, say a us

Re: messages

2004-01-06 Thread Camron G . Levanger
2004 11:41:08 +0530 "Mohan Radhakrishnan" <[EMAIL PROTECTED]> wrote: I just use ActionErrors for everything but I am guessing that it is html:errors for errors and html:messages for messages. Mohan -Original Message- From: Otávio Augusto [mailto:[EMAIL PROTECTED] Sent: We

Re: messages

2004-01-06 Thread Otávio Augusto
That means there is an ActionMessages ? Otávio Augusto On Wed, 7 Jan 2004 11:41:08 +0530 "Mohan Radhakrishnan" <[EMAIL PROTECTED]> wrote: > I just use ActionErrors for everything but I am guessing that it is > html:errors for errors > and html:messages

RE: messages

2004-01-06 Thread Mohan Radhakrishnan
I just use ActionErrors for everything but I am guessing that it is html:errors for errors and html:messages for messages. Mohan -Original Message- From: Otávio Augusto [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 07, 2004 11:17 AM To: [EMAIL PROTECTED] Subject: messages I'm

Re: messages

2004-01-06 Thread hgosper
EMAIL PROTECTED]> 07/01/2004 02:47 AM Please respond to "Struts Users Mailing List" To: [EMAIL PROTECTED] cc: Subject: messages I'm able to send error messages to my jsp whenever needed. but how to i send confirmation messages (for instance

messages

2004-01-06 Thread Otávio Augusto
I'm able to send error messages to my jsp whenever needed. but how to i send confirmation messages (for instance "Your mail has been sent") ? is there a way similar to the ActionErrors method? thanks Otávio Augusto -

Displaying messages as a result of failure

2004-01-06 Thread bort
Hi all How do I present, to the user, customized messages in the case of an Action failure? For example, say a user fills and submits a form. The form gets validated, and control is passed onto the Action. From within the action, we have a "success" and "failure" forwar

RE: logic:messagesPresent do not show messages

2004-01-03 Thread stefan . berger
gt; > > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 01, 2004 5:04 AM > To: [EMAIL PROTECTED] > Subject: logic:messagesPresent do not show messages > > > Hi, happy new year to all struts user. > >

RE: logic:messagesPresent do not show messages

2004-01-01 Thread Ivan De La Pena
ge- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, January 01, 2004 5:04 AM To: [EMAIL PROTECTED] Subject: logic:messagesPresent do not show messages Hi, happy new year to all struts user. I use struts 1.1 and use the ActionMessages for displaying messages (like 'successful

logic:messagesPresent do not show messages

2004-01-01 Thread stefan . berger
Hi, happy new year to all struts user. I use struts 1.1 and use the ActionMessages for displaying messages (like 'successfull updatet, and so on) In my ActionClass i have this: [CODE] ActionMessages messages = new ActionMessages(); messages.add("msg01", ne

RE: formatting messages

2003-12-19 Thread Menke, John
Users Mailing List Subject: RE: formatting messages > From: Menke, John [mailto:[EMAIL PROTECTED] > it seems that when i do this > custom.message=value I want bold {0} > i don't get the tags written correctly. I use this with no problems: error.record.locked=Unfortunately, {0} rec

RE: formatting messages

2003-12-19 Thread Wendy Smoak
> From: Menke, John [mailto:[EMAIL PROTECTED] > it seems that when i do this > custom.message=value I want bold {0} > i don't get the tags written correctly. I use this with no problems: error.record.locked=Unfortunately, {0} record {1} is locked by another user, and the system was unable to sav

RE: formatting messages

2003-12-19 Thread Menke, John
EMAIL PROTECTED] Sent: Friday, December 19, 2003 11:16 AM To: Struts Users Mailing List Subject: RE: formatting messages > From: Menke, John [mailto:[EMAIL PROTECTED] > Can I format messages with html in my message resources file? > I have a > message that i would certain parts

RE: formatting messages

2003-12-19 Thread Wendy Smoak
> From: Menke, John [mailto:[EMAIL PROTECTED] > Can I format messages with html in my message resources file? > I have a > message that i would certain parts of displayed bold. Can I do this? Sure, look at the struts-example webapp, specifically the error messages: error.usern

formatting messages

2003-12-19 Thread Menke, John
Can I format messages with html in my message resources file? I have a message that i would certain parts of displayed bold. Can I do this? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: Disable INFO Log messages in struts

2003-12-18 Thread Ebersole, Steven
- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, December 18, 2003 3:32 PM To: Struts Users Mailing List Subject: RE: Disable INFO Log messages in struts Any suggestions this is not working to remove struts INFO messages # Set root category priority to DEBUG and set its only

RE: Disable INFO Log messages in struts

2003-12-18 Thread Gerald_Beattie
Any suggestions this is not working to remove struts INFO messages # Set root category priority to DEBUG and set its only appender to A1 log4j.rootCategory=ERROR, A1 # A1 is set to be a ConsoleAppender (writes to system console). log4j.appender.A1=org.apache.log4j.ConsoleAppender # A1 uses

RE: Disable INFO Log messages in struts

2003-12-18 Thread Dalmia, Swati
In Log4J properties file you can add this lines # # # Print only messages of level WARN or above in the package struts # # #log4j.logger.org.apache.struts.action.RequestProcessor

RE: Disable INFO Log messages in struts

2003-12-18 Thread Ebersole, Steven
ropriately depending on how your root logger is defined. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, December 18, 2003 3:01 PM To: [EMAIL PROTECTED] Subject: Disable INFO Log messages in struts I have set DEBUG to Zero in the action init parms.

Disable INFO Log messages in struts

2003-12-18 Thread Gerald_Beattie
I have set DEBUG to Zero in the action init parms. I am still getting too many INFO messages from struts INFO util.PropertyMessageResources - Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true I am using a commons-logging.properties file which p

Mail Messages Using JavaMail in Struts

2003-12-06 Thread Caroline Jen
Has a Struts application been built to handle send/view personal mail messages using JavaMail? If the answer is "yes", please provide information how to contact the developer of the application. __ Do you Yahoo!? New Yahoo! Photos - easier uploading a

Re: messages tag not displaying messages

2003-12-05 Thread Richard Yee
Frank, Please disregard the last message. I wasn't paying attention and was looking at the Struts 1.0 docs instead of Struts 1.1. If you are using ActionMessages, then in your action, you'd have something like this: ActionMessages messages = new ActionMessages(); ActionMessage

Re: messages tag not displaying messages

2003-12-05 Thread Richard Yee
Frank, I believe you want to use the tag. There isn't an tag. -Richard At 06:18 PM 12/5/2003, you wrote: The messages tag supposed to display all the messages automatically ? When I place this on the JSP, the messages do not display: <[EMAIL PROTECTED] prefix="html"

messages tag not displaying messages

2003-12-05 Thread Frank Calfo
The messages tag supposed to display all the messages automatically ? When I place this on the JSP, the messages do not display: <[EMAIL PROTECTED] prefix="html" uri="/struts-html"%> I know that the message key is correct, the message resource file can b

Re: User defined error messages

2003-12-03 Thread Manish Singla
Singla >and we don't have to rely on them backing their disk files up. Property file can also be stored at remote location like database. But, you have to again extend PropertyMessageResources.. Greg Dunn wrote: Sorry I wasn't clear. I've got my ApplicationResources.pro

RE: User defined error messages

2003-12-03 Thread Susan Bradeen
reg Dunn" wrote: > Sorry I wasn't clear. I've got my ApplicationResources.properties file set > up and in use for most messages. However, it's packed into a .war file > inside an .ear file for deployment, so I can't let them access it directly > and edit the mes

RE: User defined error messages

2003-12-03 Thread Greg Dunn
Sorry I wasn't clear. I've got my ApplicationResources.properties file set up and in use for most messages. However, it's packed into a .war file inside an .ear file for deployment, so I can't let them access it directly and edit the messages in it to their taste. Wha

RE: User defined error messages

2003-12-03 Thread Witt, Mike (OH35)
I'm not sure if you are asking more than what this answer implies but ... I use Properties stored in a properties file for my error messages. Mike -Original Message- From: Greg Dunn [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 03, 2003 11:40 AM To: Struts Users Mailing

User defined error messages

2003-12-03 Thread Greg Dunn
My PTB want to let our clients edit the content of certain error messages after deployment.Any suggestions on how to accomplish this? Thanks. Greg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

RE: location of error messages

2003-11-26 Thread Robert Lamping
lands -Original Message- From: koen boutsen [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 26, 2003 2:31 PM To: [EMAIL PROTECTED] Subject: location of error messages Hi In my validation, I create multiple actionErrors. On the jsp page, I want each error message to be displayed next t

Re: location of error messages

2003-11-26 Thread Kris Schneider
Might just be a table layout issue. You could always try stuffing the error message in it's own cell: Quoting koen boutsen <[EMAIL PROTECTED]>: > Hi > > In my validation, I create multiple actionErrors. > On the jsp page, I want each error message to be displayed next to the > corresponding

location of error messages

2003-11-26 Thread koen boutsen
Hi In my validation, I create multiple actionErrors. On the jsp page, I want each error message to be displayed next to the corresponding input field. I have this in my resource file : errors.header= errors.prefix= errors.suffix= errors.footer= and this in my .jsp : On screen, the error mes

Re: ExceptionHandler not able to display error messages

2003-11-21 Thread Pratik Patel
I have written an ExceptionHandler that extends the struts exceptionHandler. I would like it to print a stack trace. So, I have done the following: have a look at this blog entry, and the ExceptionHandler and JSP page I use for displaying exception messages (and stacktraces) http

Re: ExceptionHandler not able to display error messages

2003-11-20 Thread Daniel A. Torrey
What does the errors.detail string look like? Do you have a replacement parameter in it for exception.getMessage() to be inserted into? -daniel Daniel A. Torrey daniel at datorrey dot net Quoting Sharmila Pandith <[EMAIL PROTECTED]>: > Hi, > > I have written an ExceptionHandler that extends

ExceptionHandler not able to display error messages

2003-11-20 Thread Sharmila Pandith
Hi, I have written an ExceptionHandler that extends the struts exceptionHandler. I would like it to print a stack trace. So, I have done the following: In ln1, I add the config.getKey to errors. It prints out the value associated to the key. In Ln4, I have added an Action error with the key and

RE: dynamic selection of messages from properties file

2003-11-20 Thread Paananen, Tero
> Can anobody help me with my problem. Use JSTL and its fmt:message tag where you can use the expression language to dynamically specify the message key. Refer to the JSTL documentation in regards to how to specify resource bundles for JSTL, etc. -TPP ---

RE: dynamic selection of messages from properties file

2003-11-20 Thread Syed, Nazeer
MAIL PROTECTED] Sent: Thursday, November 20, 2003 4:05 PM To: '[EMAIL PROTECTED]' Subject: dynamic selection of messages from properties file Hello, I try to show messages in the GUI depending on values from backend. The value which I receive are of the type int like 1, 2, 3 Now I have to

  1   2   3   4   5   6   >