dynamic tiles:put

2003-01-23 Thread Juri Smarschevski
hi all,

have a little problem with application structure.
there is:

 
 



 


[a.jsp]

<%--
 
--%>


The problem is the value of "js" should be dynamically
determined in b.jsp. If I try to use tiles:put in
[b.jsp]
 

an exception is thrown:
Error - tag put : enclosing tag doesn't accept 'put' tag.

Is't possible to define a part of "definition" dynamically in
other file as a.jsp ?

thx in advance and regards,
juri



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: combine tags

2003-01-20 Thread Juri Smarschevski
Nicolas De Loof wrote:

It looks like your JSP doesn't include tiles taglib def :

<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>


no, it does ;-) (im using 



works fine.
thx very much and regards,
juri


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: combine tags

2003-01-20 Thread Juri Smarschevski
Ahmed ALAMI wrote:

Try this,

<%
String tiles ="/";
%>

unfortunately the value of tiles var is
"/"





therefore the out of this is
/test/

kind regards,
juri


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




combine tags

2003-01-20 Thread Juri Smarschevski
hi list,

sorry for a little bit stupid question, but I did't find the
answer in the struts docs (any rtfm is welcome :)).

there are 2 tags:



how do I combine these with quasi following syntax


as result it should be


( now, with above syntax, it looks like (in html view)
/test/  )


thx in advance and kind regards,
juri


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




tiles scope

2003-01-10 Thread Juri Smarschevski
hi all,

have a problem with tile's scopes. (struts-1.1-b2)

my simple tiles structure looks as follows:
[tiles-defs.xml]

 
 
 
 
 
 



 



 
 



[layout_search_alb_body.jsp]
<%@ taglib uri="/tags/struts-tiles" prefix="tiles" %>


[c_search_form.jsp]
<%@ taglib uri="/tags/struts-tiles" prefix="tiles" %>
<%@ taglib uri="/tags/struts-html" prefix="html" %>
hi from search form

the called jsp-page is [alb_search.jsp]
<%@ taglib uri="/tags/struts-tiles" prefix="tiles" %>


and the c_search_form.jsp throws the exception
[ServletException in:/WEB-INF/contents/c_search_form.jsp] Cannot find
bean org.apache.struts.taglib.html.BEAN in any scope'
cause by the line
<%@ taglib uri="/tags/struts-html" prefix="html" %>

Any ideas why ? Have I (can I) to define a scope in the tiles
definitions ?
The http://jakarta.apache.org/struts/userGuide/struts-tiles.htm
did not help me at this point. Any RTFM-links are welcome ;-)

thx in advance and regards,
juri







--
To unsubscribe, e-mail:   
For additional commands, e-mail: