DynaValidatorForm and multibox

2004-10-19 Thread Brian Kuhn
I'm using struts 1.1
Is it possible to use a multibox with a DynaValidatorForm?  

Are there any documented examples?  I searched the archives...no mention of it.

Thanks,
  Brian

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: i18n and nbsp;

2004-10-13 Thread Brian Kuhn
Can you use css instead?  I usually just use:

span style=white-space: nowrapmessage goes here/span

or something like it to accomplish the non-breaking spaces.

-Brian


On Wed, 13 Oct 2004 18:12:25 -0400, Joe Hertz [EMAIL PROTECTED] wrote:
 I have a number of property values that will be internationalized and need
 non-breaking spaces between each word in them.
 
 I could put nbsp; into each space, but that
 
 1) is going to confuse my native language translators who know nothing of
 HTML. 2 words in english could be 3 in language-x).
 
 2) would be wrong.
 
 There doesn't appear to be any built in method of handling this with
 bean:message or anything else, so I'm about to write a custom configuration
 class for a separate Message Resource Bundle that will contain the
 properties where I want spaces displayed as nbsp;'s
 
 I have a hard time believing no one else has run into this...so I ask the
 following:
 
 Do I need to do this? Is there a way of doing it without writing a custom
 handler? or a better way of doing it? And if not, who wants to see the code
 when it's done? :-)
 
 -Joe
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tag to test if a field is required?

2004-09-26 Thread Brian Kuhn
Hi all,

I'm using struts 1.1, jstl 1.1, and commons validator 1.1.3.  I'm
trying to find a way to test (inside a jsp) if a given field is
required in the validation rules.  I thought I read about a tag that
does this, but I can't find it now.  Any ideas?

Thanks,
  Brian

Does something like this exist?

validator:required property=user.first(required)/validator:required

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [OT] Struts + Spring

2004-09-20 Thread Brian Kuhn
Spring is great for wiring your application together.  It decouples
your application layers and reduces the amount of code you have to
write.  If you and your team already know struts, you can use it
instead of Spring's MVC framework.  I've written a couple applications
using this combination.  It works great.  See Matt Raible's site/book
on Spring.  He wrote a starter application called equinox that should
get you started.

-Brian


On Mon, 20 Sep 2004 08:09:42 -0800, atta-ur rehman
[EMAIL PROTECTED] wrote:
 Folks,
 
 I've seen quite a few references to Struts and Spring integration
 while browsing this mail archive. I was wondering why would I ever
 want to use Spring with Struts application?
 
 I hope people who have experience with both of these framework would
 shed some light on this question.
 
 Regards,
 
 ATTA
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tutorial for DAO with Struts

2004-09-20 Thread Brian Kuhn
http://www.sourcebeat.com/docs/Spring%20Live/Rev_1/Spring%20Live_SampleChapter.pdf

On Mon, 20 Sep 2004 12:41:34 -0400, Hollaway, Shedrick CIV (TRFKB
C600) [EMAIL PROTECTED] wrote:
 Download Firestorm/DAO and study generated source code.
 www.codefutures.com/products/firestorm/
 
 Shed.
 
  -Original Message-
  From: Manuel Wissmann [mailto:[EMAIL PROTECTED]
  Sent: Saturday, September 18, 2004 4:39 AM
  To: [EMAIL PROTECTED]
  Subject: Tutorial for DAO with Struts
 
 
  Hi Folks!
 
  Does somebody know a good tutorial for DAO (Data Acess
  Objects) with struts?
 
  THX
  Manu
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 -
 
 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]