You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Mark Balster <ma...@hotmail.com> on 2000/10/12 22:31:16 UTC

struts.tld and rtexprvalue

I have a need ( or desire ) to use scriptlet code inside of a struts.tld tag.  Everything works great only after I switch the rtexprvalue from false to true.

My question is:  What is the best way to accomplish this in order to be forward compatible?  I am currently using the very tried and true method of *cut* and *paste* into a new tld file. 

TIA

-Mark

Re: struts.tld and rtexprvalue

Posted by Mark Balster <ma...@hotmail.com>.
Currently it is the text tag and property attribute.   However, I can see where it may apply to most of the HTML input controls.  In a nutshell, XML is being utilized as the messaging format.  In the JSP page, nodes are being iterated over producing the output.  The evaluation of the node is what is driving the need for the change.
  ----- Original Message ----- 
  From: Craig R. McClanahan 
  To: struts-user@jakarta.apache.org 
  Sent: Thursday, October 12, 2000 5:07 PM
  Subject: Re: struts.tld and rtexprvalue


  Mark Balster wrote: 
    I have a need ( or desire ) to use scriptlet code inside of a struts.tld tag.  Everything works great only after I switch the rtexprvalue from false to true. My question is:  What is the best way to accomplish this in order to be forward compatible?  I am currently using the very tried and true method of *cut* and *paste* into a new tld file. TIA -Mark

  If you let me know which specific attributes on which specific tags you find runtime expressions useful, I can consider changing the permanent setting.  Every time this has come up so far, that's been the result. 

  Craig 

  ==================== 
  See you at ApacheCon Europe <http://www.apachecon.com>! 
  Session VS01 (23-Oct 13h00-17h00):  Sun Technical Briefing 
  Session T06  (24-Oct 14h00-15h00):  Migrating Apache JServ 
                                      Applications to Tomcat 
    


Re: struts.tld and rtexprvalue

Posted by "Craig R. McClanahan" <Cr...@eng.sun.com>.
Mark Balster wrote:

> I have a need ( or desire ) to use scriptlet code inside of a
> struts.tld tag.  Everything works great only after I switch the
> rtexprvalue from false to true. My question is:  What is the best way
> to accomplish this in order to be forward compatible?  I am currently
> using the very tried and true method of *cut* and *paste* into a new
> tld file. TIA -Mark

If you let me know which specific attributes on which specific tags you
find runtime expressions useful, I can consider changing the permanent
setting.  Every time this has come up so far, that's been the result.

Craig

====================
See you at ApacheCon Europe <http://www.apachecon.com>!
Session VS01 (23-Oct 13h00-17h00):  Sun Technical Briefing
Session T06  (24-Oct 14h00-15h00):  Migrating Apache JServ
                                    Applications to Tomcat