RE: Cannot find message resources - URGENT

2002-03-30 Thread Andre Beskrowni
we had a similar problem using wls 6.1 sp1. there were some classes that needed to be serialized (or alternatively, some serialized classes needed to have certain attributes declared as transient). look in the server log and see if it's complaining about not being about to de-serialize

RE: I18n for number formatting on Struts

2002-03-07 Thread Andre Beskrowni
try the i18n taglib in the jakarta-taglibs project. note that this is eventually going to be deprecated by jstl, so if you find a bug or if the functionality doesn't do exactly what you need, you'll have to tweak it by yourself -- not that it's hard or anything... ab -Original

RE: Best Practice for parsing an XML file - Code Review Requested

2002-03-07 Thread Andre Beskrowni
i've used digester before and found it pretty straightforward, you probably just needed an extra hour :-) but i recently read this article on Castor XML (by a frequent poster to this list): http://www.onjava.com/pub/a/onjava/2001/10/24/xmldatabind.html and am thinking this may be my future xml

RE: Tiles question: Using bean:message inside tiles:put

2002-03-06 Thread Andre Beskrowni
i use this technique all the time, though i specify the type (can't remember why...): tiles:put name=title type=string bean:message key=commissions.signingBonus.title/ /tiles:put ab -Original Message- From: Molitor, Stephen [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March

RE: Ping on 1.1 or Tiles/Nightly working

2002-03-05 Thread Andre Beskrowni
hmm. are we still going to have to extend the controller class to use tiles? (used to be ActionServlet, now it's RequestProcessor...) i was hoping that this would make use of the new plug-in capabilities --- or is just validator going in that direction? ab -Original Message- From:

RE: New Struts User - Pick list help

2002-02-27 Thread Andre Beskrowni
and the answer is... (1) you're using the wrong taglib. form has been deprecated. use html instead. (2) assuming you have a list called list that contains Java Bean objects with attributes name and id, you'd display it as a list of options as follows: html:options collection=list

Re: best practices for logging in

2002-02-25 Thread Andre Beskrowni
note that you can now combine the best aspects of versions 2 3 (2 involves just struts, 3 allows xml configuration) by using the declarative exception handling in the nightly build. in your Action superclass, just throw an exception if the user fails the authentication test, and trap for the

does anyone just read the source code? (WAS Re: html:file tag)

2002-02-21 Thread Andre Beskrowni
it is free after all... another good way to try to solve a problem is to step through the source code in a debugger. i realize this list exists to help other and get help from others, but the amount of time people spend going back and forth saying nope that doesn't solve my problem. i need

RE: URGENT: Null Strings in Websphere

2002-02-14 Thread Andre Beskrowni
how are you storing your data? is it stored in a database using jdbc? and if so, are you constructing your insert statements as strings and directly appending the values onto the string rather than using bind values? i've seen this problem come up before, and it's always been the case that

RE: Tiles Definitions - how to I 18n them?

2002-02-06 Thread Andre Beskrowni
another alternative is just to nest the resource retreival within the put tag. for instance: tiles:insert definition=index flush=true tiles:put name=title.key type=string bean:message key=my.title.resource.key/ /tiles:put ... /tiles:insert this keeps you from having to keep your

RE: Message Resource

2002-02-01 Thread Andre Beskrowni
what i'd recommend is that you override the bean:define tag so that it takes a body. anything in the body becomes that value that is stored by the id attribute. you can then reuse this new bean:define to store any value that requires evaluation: bean:define id=foo scope=request bean:message

RE: form validation failure and state

2002-02-01 Thread Andre Beskrowni
if your list is populated dynamically (say, using the options tag) you need to repopulate the collection that you use to populate the list options. you can do this in your reset method. if your list always uses the same values as options, you might try storing these values in the application

RE: NoClassDefFound Error in weblogic

2002-01-03 Thread Andre Beskrowni
i'm seeing a similar problem with wls6. i wrote the world's simplest action class, and the mapping works fine, but when Class.forName is called in ActionServlet.processActionCreate() i get a ClassNotFoundException. i can't figure out why the ClassLoader can't seem to find my class. as in

problem with bean:parameter tag

2001-09-11 Thread Andre Beskrowni
i'm still looking for a response to the problem described below: === whenever i include a value for the multiple attribute of the bean:parameter tag, i get a jsp compilation error. if remove the multiple attribute, everything works fine (except that i don't get my array of

using the multiple attribute of the bean:parameter tag

2001-09-06 Thread Andre Beskrowni
whenever i include a value for the multiple attribute of the bean:parameter tag, i get a jsp compilation error. if remove the multiple attribute, everything works fine (except that i don't get my array of parameter values). the error i'm getting is the same one that someone else mentioned way