RE: How to embed bean:message within a template

2001-04-30 Thread Michael Mok









Hi Jeff

 

Try this

 





    

 

Regards,

 

Michael Mok

 

-Original
Message-
From: Jeff Trent
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 1 May 2001 9:26
To: [EMAIL PROTECTED]
Subject: How to embed bean:message
within a template

 

Newbie
here.  Just wondering how to accomplish this using templates.  

 

 


Can't
seem get the bean to evaluate the message text...  Suggestions?  I
tried direct on & off but no luck.

 

Thanks,

Jeff

 

 








RE: How to embed bean:message within a template

2001-04-30 Thread Niall Pemberton




 



  -Original Message-From: Jeff Trent 
  [mailto:[EMAIL PROTECTED]]Sent: 30 April 2001 
  20:10To: [EMAIL PROTECTED]Subject: How to 
  embed bean:message within a template
  Newbie here.  Just wondering how to 
  accomplish this using templates.  
   
    
  Can't seem get the bean to evaluate the message 
  text...  Suggestions?  I tried direct on & off but no 
  luck.
   
  Thanks,
  Jeff
   
   


Re: How to embed bean:message within a template

2001-04-30 Thread John Raley

Jeff,

Unfortunately you can't nest tags like this.  One workaround is to write
an 'eval' tag that captures its contents into a page-scoped String
object.  It's simple to write, and is a good exercise in taglib
authoring (I have one - maybe my boss won't mind if I post it).

So, your code would change to:




Eval implementation left to the reader... :^)

Jeff Trent wrote:

> Newbie here.  Just wondering how to accomplish this using templates.
>  direct='true' />Can't seem get the bean to evaluate the message
> text...  Suggestions?  I tried direct on & off but no
> luck. Thanks,Jeff




How to embed bean:message within a template

2001-04-30 Thread Jeff Trent



Newbie here.  Just wondering how to accomplish 
this using templates.  
 
  
Can't seem get the bean to evaluate the message 
text...  Suggestions?  I tried direct on & off but no 
luck.
 
Thanks,
Jeff