AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

tag-libs and dynamic attributes

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java Help
View previous topic :: View next topic  
Author Message
luca
Guest





PostPosted: Fri Aug 27, 2004 10:40 am    Post subject: tag-libs and dynamic attributes Reply with quote




Hallo, I have a tag-lib

<lib:tag attr="bla<%=var%>" />

won't work (prints out "bla<%=var%>"), but

<% String myvar = "bla" + var ; // var contains "pippo" %>
<lib:tag attr="<%=myvar%>" />

does (prints out "blapippo").

Question for you. Is this a JSP/Taglib limitation
or is there something I can do about it in my taglib code
to make the first syntax work too?

thanks

luca



Back to top
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.