RE: bean:message WITH bean:write ?!?

2004-01-19 Thread VAN BROECK Jimmy
Hi, for the moment there isn't a solution for that in Struts. You can two things with bean:message. That is provide a static key or define a dynmic key. but you cannot combine the two. What i have done is to extend the bean:message tag to implement this kind of functionality. Let me know if

Re: bean:message WITH bean:write ?!?

2004-01-19 Thread Mark Nichols
Jimmy, I would be interested in seeing your extension of the bean:message tag. Thanks, Mark -- Science is what we understand well enough to explain to a computer. Art is everything else. -- Donald Knuth On Jan 19, 2004, at 2:34 AM, VAN BROECK Jimmy wrote: Hi, for the moment there isn't a

RE: bean:message WITH bean:write ?!?

2004-01-19 Thread VAN BROECK Jimmy
Here you go. -Original Message- From: Mark Nichols [mailto:[EMAIL PROTECTED] Sent: maandag 19 januari 2004 13:03 To: Struts Users Mailing List Subject: Re: bean:message WITH bean:write ?!? Jimmy, I would be interested in seeing your extension of the bean:message tag. Thanks, Mark

RE: bean:message WITH bean:write ?!?

2004-01-19 Thread VAN BROECK Jimmy
your extension of the bean:message tag! Thanks Oliver -Ursprüngliche Nachricht- Von: Mark Nichols [mailto:[EMAIL PROTECTED] Gesendet: Montag, 19. Januar 2004 13:03 An: Struts Users Mailing List Betreff: Re: bean:message WITH bean:write ?!? Jimmy, I would be interested in seeing your

RE: bean:message WITH bean:write ?!?

2004-01-19 Thread VAN BROECK Jimmy
To: Struts Users Mailing List Subject: RE: bean:message WITH bean:write ?!? I've already send the source file to the user list. Enjoy! -Original Message- From: Oliver Thiel [mailto:[EMAIL PROTECTED] Sent: maandag 19 januari 2004 13:37 To: 'Struts Users Mailing List' Subject: AW: bean:message

Re: bean:message key=bean:write question

2003-07-29 Thread David Graham
--- Brian McSweeney [EMAIL PROTECTED] wrote: Hi all, I have parameters in a form bean and I want to use it as the key for an associated value in a resource bundle. I was considering using bean:message key=bean:write name=myForm property=myProperty/ is this valid syntax? No.

RE: bean:message key=bean:write question

2003-07-29 Thread Brian McSweeney
2003 16:04 To: Struts Users Mailing List Subject: Re: bean:message key=bean:write question --- Brian McSweeney [EMAIL PROTECTED] wrote: Hi all, I have parameters in a form bean and I want to use it as the key for an associated value in a resource bundle. I was considering using

RE: bean:message key=bean:write question

2003-07-29 Thread David Graham
it working :-) Thanks for your help Brian -Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: 29 July 2003 16:04 To: Struts Users Mailing List Subject: Re: bean:message key=bean:write question --- Brian McSweeney [EMAIL PROTECTED] wrote: Hi all, I

RE: bean:message key=bean:write question

2003-07-29 Thread Paul McCulloch
To: 'Struts Users Mailing List'; [EMAIL PROTECTED] Subject: RE: bean:message key=bean:write question Hi David, Thanks for the quick reply. I know that JSTL might be the best way, but for the moment I'd really prefer to just get it working with the struts tags first because it's an entire app using

RE: bean:message key=bean:write question

2003-07-29 Thread Brian McSweeney
: RE: bean:message key=bean:write question You could expose the actual message (rather than it's key) via your form - getMyPropertyMessage(). To render this you'd just need: bean:write name=myForm property=myPropertyMessage/ Paul -Original Message- From: Brian McSweeney [mailto:[EMAIL

RE: bean:message key=bean:write question

2003-07-29 Thread Brian McSweeney
Yeah, that looks so nice and simple! I have to switch over to jstl. But getting it working is priority number 1. Brian -Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: 29 July 2003 16:22 To: 'Struts Users Mailing List' Subject: RE: bean:message key=bean:write

RE: bean:message key=bean:write question

2003-07-29 Thread Paul McCulloch
That's right (though I have no idea how hard it would to implement the method!). Paul -Original Message- From: Brian McSweeney [mailto:[EMAIL PROTECTED] Sent: 29 July 2003 16:35 To: 'Struts Users Mailing List' Subject: RE: bean:message key=bean:write question Not sure what you mean

Re: bean:message key=bean:write question

2003-07-29 Thread Thomas Cornet
The simpliest way to do it is : bean:message name=myForm property=myProperty / Thomas At 17:01 29/07/2003, you wrote: Hi all, I have parameters in a form bean and I want to use it as the key for an associated value in a resource bundle. I was considering using bean:message key=bean:write

RE: bean:message key=bean:write question

2003-07-29 Thread Brian McSweeney
List Subject: Re: bean:message key=bean:write question The simpliest way to do it is : bean:message name=myForm property=myProperty / Thomas At 17:01 29/07/2003, you wrote: Hi all, I have parameters in a form bean and I want to use it as the key for an associated value in a resource bundle. I