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> WITH <bean:write> ?!?


Hi Jimmy,


Of course I'm interested in seeing 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 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 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 you are interested in the code. Its just a quick hack 
> of the struts code.
>
> Greetings
> Jimmy
>
>
> -----Original Message-----
> From: Oliver Thiel [mailto:[EMAIL PROTECTED]
> Sent: maandag 19 januari 2004 9:14
> To: [EMAIL PROTECTED]
> Subject: <bean:message> WITH <bean:write> ?!?
>
>
> Hi all,
>
>
> In my HashMap (which defines the form) I save something like that:
> setField("username", "oliver"); Know I want to the output of the 
> message
> to be dynamic.
>
> For a static version this works fine:
> <bean:message key="form.username"/>
>
> For a dynamic version I think I need some thing like that: 
> <bean:message
> key="form.<bean:write name="field" property="key" />"/>
>
> But the code above does not work! Has anyone an idea?
>
>
> THX
> Oliver
>
>
>
> STRICTLY PERSONAL AND CONFIDENTIAL
> This message may contain confidential and proprietary material for the

> sole use of the intended recipient. Any review or distribution by 
> others is strictly prohibited. If you are not the intended recipient 
> please contact the sender and delete all copies.
>
> Ce Message est uniquement destin� aux destinataires indiqu�s et peut 
> contenir des informations confidentielles. Si vous n'�tes pas le 
> destinataire, vous ne devez pas r�v�ler le contenu de ce message ou en

> prendre copie. Si vous avez re�u ce message par erreur, veuillez en 
> informer l'exp�diteur, ou La Poste imm�diatement, avant de le 
> supprimer.
>
> Dit bericht is enkel bestemd voor de aangeduide ontvangers en kan 
> vertrouwelijke informatie bevatten. Als u niet de ontvanger bent, dan 
> mag u de inhoud van dit bericht niet bekendmaken noch kopi�ren. Als u 
> dit bericht per vergissing heeft ontvangen, gelieve er de afzender of 
> De Post onmiddellijk van op de hoogte te brengen en het bericht 
> vervolgens te verwijderen.


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



STRICTLY PERSONAL AND CONFIDENTIAL
This message may contain confidential and proprietary material for the sole use of the 
intended recipient. Any review or distribution by others is strictly prohibited. If 
you are not the intended recipient please contact the sender and delete all copies.

Ce Message est uniquement destin� aux destinataires indiqu�s et peut contenir des 
informations confidentielles. Si vous n'�tes pas le destinataire, vous ne devez pas 
r�v�ler le contenu de ce message ou en prendre copie. Si vous avez re�u ce message par 
erreur, veuillez en informer l'exp�diteur, ou La Poste imm�diatement, avant de le 
supprimer.

Dit bericht is enkel bestemd voor de aangeduide ontvangers en kan vertrouwelijke 
informatie bevatten. Als u niet de ontvanger bent, dan mag u de inhoud van dit bericht 
niet bekendmaken noch kopi�ren. Als u dit bericht per vergissing heeft ontvangen, 
gelieve er de afzender of De Post onmiddellijk van op de hoogte te brengen en het 
bericht vervolgens te verwijderen.

Reply via email to