Retrieving messages from resource bundle

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

Struts and Chinese

2004-02-03 Thread Vinicius Carvalho
Has anyone here used the struts to work with Chinese language? Do I need any special library to deal with DoubleByte Chars?? Thanks Vinicius - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

session control

2004-01-26 Thread Vinicius Carvalho
Hi there! I was wondering of how to keep my session clean, I mean, don't overload it with a lot of objects. Sometimes I need to register some objects in the session scope for a certain group of pages in my application, after the client leaves that (could be an item of a menu for example), I'd

Struts Actions Forms Actions - ?????????

2004-01-26 Thread Vinicius Carvalho
Well, sometimes I wonder if struts is really the best framework to use in our application scope, it brought so many problems then solutions... But now I think its too late. Here's my problem (another one in the huge, never-ending list) I need to call the same Action from a link and a Form,

Re: SV: Struts Actions Forms Actions - ?????????

2004-01-26 Thread Vinicius Carvalho
-Oprindelig meddelelse- Fra: Vinicius Carvalho [mailto:[EMAIL PROTECTED] Sendt: 26. januar 2004 17:07 Til: [EMAIL PROTECTED] Emne: Struts Actions Forms Actions - ? Well, sometimes I wonder if struts is really the best framework to use in our application scope, it brought so

Re: SV: SV: Struts Actions Forms Actions - ?????????

2004-01-26 Thread Vinicius Carvalho
work straight out of the box. Anyway you must be able to find some log information somewhere. Cheers -Oprindelig meddelelse- Fra: Vinicius Carvalho [mailto:[EMAIL PROTECTED] Sendt: 26. januar 2004 17:21 Til: Struts Users Mailing List Emne: Re: SV: Struts Actions Forms Actions - ? Sorry

Looping through a VO collection

2004-01-26 Thread Vinicius Carvalho
Hi there! I have a collection of VOs in my request, I'd like to loop through it using the html:logic and html:link The idea is to create links for a page. But how do I access the properties of the VO? Let's suppose I want to build a list of links like this How do I combine those tags to render

retreiving the labelProperty of an option tag

2004-01-23 Thread Vinicius Carvalho
Hi there! I have a code to render a select/option that looks like this : html:options collection=Objectives property=objCode labelProperty=objDescription/ In my form I have the getter for this, that returns the code for the desired Objective. So in my action, when I fill the VO, I add the code

RE: retreiving the labelProperty of an option tag

2004-01-23 Thread Vinicius Carvalho
: Vinicius Carvalho [mailto:[EMAIL PROTECTED] Sent: Friday, January 23, 2004 7:30 AM To: [EMAIL PROTECTED] Subject: retreiving the labelProperty of an option tag Hi there! I have a code to render a select/option that looks like this : labelProperty=objDescription/ In my form I have the getter

Unit Test in struts

2004-01-21 Thread Vinicius Carvalho
Hi there! I've heard about a tool (like JUnit) but especific to be used with struts, where I can test my actions, forms and jsp pages, problem is ... I cant rememeber the name, does anyone knows about it? thnx Vinicius - To

Chart generation Framework

2004-01-20 Thread Vinicius Carvalho
Hi there! Does anyone here uses a chart Framework? I've heard about Cewolf, seems to be nice, any suggestions on this? Thanks Vinicius - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

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 html:errors/html:messages ? Like a bean:write? If so, what's the name of the bean? Thanks Vinicius - To

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 html:errors/html:messages ? VC Like a

html:errors break line

2004-01-16 Thread Vinicius Carvalho
Hi there! I have a page that renders all my erros, called errors.jsp (duh!). What I'm trying to do is if the user's session has expired, I'll forward him using a javascript, after an alert: Here's how my code looks like: SCRIPT function sessionExpired(){ alert(html:errors

html:errors breakline (version 2)

2004-01-16 Thread Vinicius Carvalho
Sorry all! Eudora simply killed my text, sorry, heres the full version Hi there! I have a page that renders all my erros, called errors.jsp (duh!). What I'm trying to do is if the user's session has expired, I'll forward him using a javascript, after an alert: Here's how my code looks like:

Struts and Action errors

2004-01-15 Thread Vinicius Carvalho
Hi there! I'm a newbie to Struts, and this question may be a little silly, sorry. How exactly do I use action errors? How do I render them? In my app, I control the session via RequestProcessor using processPreProcess method. If the session is invalid, I create a new error using ActionErrors

Re: SV: Struts and Action errors

2004-01-15 Thread Vinicius Carvalho
Taastrup Telefon 70218700, Mobil 30242875 www.telmore.dk -Oprindelig meddelelse- Fra: Vinicius Carvalho [mailto:[EMAIL PROTECTED] Sendt: 15. januar 2004 12:24 Til: [EMAIL PROTECTED] Emne: Struts and Action errors Hi there! I'm a newbie to Struts, and this question may be a little silly

Struts and iframes

2004-01-14 Thread Vinicius Carvalho
Hi there! In our project, at a certain point, we have a table with a form in a td, which target is a iframe, code looks like this: html:form action=/buildModel target=main Well, it works fine, almost! The action forwards to the viewModel.jsp, which is rendered in the main window. The problem