Re: Tiles

2005-07-11 Thread Christoph Kutzinski
This is a Struts/Tiles related question, you should ask in the Struts 
mailing lists.


Dewitte Rémi wrote:

Hi !
I make a definition in which i put a list of tiles to include but I can't 
achieve to do this eg :

in my tiles-defs.xml :
definition name=page1-def extends=baseDef
put name=page value=1/
putList name=listQuestions
add value=/Q/firstName.jsp/
add value=/Q/lastName.jsp/
/putList
/definition

And in my template, i don't know how to iterate in listQuestions in order to 
include /Q/firstName.jsp and /Q/lastName.jsp.
A start : 
  tiles:importAttribute/

  c:out value=${listQuestions}/
  c:forEach items=${listQuestions} var=question
What to do to include question !
  /c:forEach

Maybe it's not possible...
Thanks.
Rémi

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




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



Re: Tiles

2005-07-11 Thread Dewitte Rémi
Yes i did, i made a mistake.
Sorry !
Rémi

Le Lundi 11 Juillet 2005 11:24, Christoph Kutzinski a écrit :
 This is a Struts/Tiles related question, you should ask in the Struts
 mailing lists.

 Dewitte Rémi wrote:
  Hi !
  I make a definition in which i put a list of tiles to include but I can't
  achieve to do this eg :
  in my tiles-defs.xml :
  definition name=page1-def extends=baseDef
  put name=page value=1/
  putList name=listQuestions
  add value=/Q/firstName.jsp/
  add value=/Q/lastName.jsp/
  /putList
  /definition
 
  And in my template, i don't know how to iterate in listQuestions in order
  to include /Q/firstName.jsp and /Q/lastName.jsp.
  A start :
tiles:importAttribute/
c:out value=${listQuestions}/
c:forEach items=${listQuestions} var=question
  What to do to include question !
/c:forEach
 
  Maybe it's not possible...
  Thanks.
  Rémi
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]

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

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



RE: Tiles and other sruts tags in Tomcat5

2004-11-01 Thread Shapira, Yoav

Hi,
Where is your Struts jar?  Why don't you try asking on the struts-user
list? ;)

Yoav Shapira http://www.yoavshapira.com


-Original Message-
From: Geeth Narayanan [mailto:[EMAIL PROTECTED]
Sent: Sunday, October 31, 2004 10:53 AM
To: Tomcat Users List
Subject: RE: Tiles and other sruts tags in Tomcat5
Importance: High

Could someone please explain why this is happening and how to correct
it
?

-Original Message-
From: Geeth Narayanan
Sent: Thursday, October 28, 2004 11:14 AM
To: Tomcat Users List
Subject: Tiles and other sruts tags in Tomcat5
Importance: High

I am trying to use Struts 1.2.4 on Tomcat 5.0. I seem to get errors for
any of the struts tags including the tiles tag due to incompatibility
with JSP2.0 or something, I guess.

Here is the error:

:\wqt\vcs\tis\nb\tel-web-ube\build\generated\src\org\apache\jsp\jsp\sho
p
\Input_jsp.java:112:
_jspx_meth_html_base_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.js
p
.PageContext) in org.apache.jsp.jsp.shop.Input_jsp cannot be applied to
(org.apache.struts.taglib.html.HtmlTag,javax.servlet.jsp.PageContext)
  if (_jspx_meth_html_base_0(_jspx_th_html_html_0,
_jspx_page_context))
  ^
C:\wqt\vcs\tis\nb\tel-web-ube\build\generated\src\org\apache\jsp\jsp\sh
o
p\Input_jsp.java:148:
_jspx_meth_html_radio_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.j
s
p.PageContext) in org.apache.jsp.jsp.shop.Input_jsp cannot be applied
to
(org.apache.struts.taglib.html.FormTag,javax.servlet.jsp.PageContext)

I am assuming others use struts tags running on tomcat 5.0 container.
Is
there any reason why I get this error? If so, how can it be fixed?

Thanks.

Geeth

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


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




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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



RE: Tiles and other sruts tags in Tomcat5

2004-11-01 Thread Geeth Narayanan
Yoav,

The problem occurs when I run in the Tomcat 5.0 container not in Tomcat
4. That's the reason I asked in the Tomcat users list. Struts jar is in
the WEB-INF/lib of the web app.

Thanks.

Geeth

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 01, 2004 8:06 AM
To: Tomcat Users List
Subject: RE: Tiles and other sruts tags in Tomcat5


Hi,
Where is your Struts jar?  Why don't you try asking on the struts-user
list? ;)

Yoav Shapira http://www.yoavshapira.com
 

-Original Message-
From: Geeth Narayanan [mailto:[EMAIL PROTECTED]
Sent: Sunday, October 31, 2004 10:53 AM
To: Tomcat Users List
Subject: RE: Tiles and other sruts tags in Tomcat5
Importance: High

Could someone please explain why this is happening and how to correct
it
?

-Original Message-
From: Geeth Narayanan
Sent: Thursday, October 28, 2004 11:14 AM
To: Tomcat Users List
Subject: Tiles and other sruts tags in Tomcat5
Importance: High

I am trying to use Struts 1.2.4 on Tomcat 5.0. I seem to get errors for
any of the struts tags including the tiles tag due to incompatibility
with JSP2.0 or something, I guess.

Here is the error:

:\wqt\vcs\tis\nb\tel-web-ube\build\generated\src\org\apache\jsp\jsp\sho
p
\Input_jsp.java:112:
_jspx_meth_html_base_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.js
p
.PageContext) in org.apache.jsp.jsp.shop.Input_jsp cannot be applied to
(org.apache.struts.taglib.html.HtmlTag,javax.servlet.jsp.PageContext)
  if (_jspx_meth_html_base_0(_jspx_th_html_html_0,
_jspx_page_context))
  ^
C:\wqt\vcs\tis\nb\tel-web-ube\build\generated\src\org\apache\jsp\jsp\sh
o
p\Input_jsp.java:148:
_jspx_meth_html_radio_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.j
s
p.PageContext) in org.apache.jsp.jsp.shop.Input_jsp cannot be applied
to
(org.apache.struts.taglib.html.FormTag,javax.servlet.jsp.PageContext)

I am assuming others use struts tags running on tomcat 5.0 container.
Is
there any reason why I get this error? If so, how can it be fixed?

Thanks.

Geeth

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


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




This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential,
proprietary and/or privileged.  This e-mail is intended only for the
individual(s) to whom it is addressed, and may not be saved, copied,
printed, disclosed or used by anyone else.  If you are not the(an)
intended recipient, please immediately delete this e-mail from your
computer system and notify the sender.  Thank you.


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


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



RE: Tiles and other sruts tags in Tomcat5

2004-10-31 Thread Geeth Narayanan
Could someone please explain why this is happening and how to correct it
?

-Original Message-
From: Geeth Narayanan 
Sent: Thursday, October 28, 2004 11:14 AM
To: Tomcat Users List
Subject: Tiles and other sruts tags in Tomcat5
Importance: High

I am trying to use Struts 1.2.4 on Tomcat 5.0. I seem to get errors for
any of the struts tags including the tiles tag due to incompatibility
with JSP2.0 or something, I guess.

Here is the error:

:\wqt\vcs\tis\nb\tel-web-ube\build\generated\src\org\apache\jsp\jsp\shop
\Input_jsp.java:112:
_jspx_meth_html_base_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp
.PageContext) in org.apache.jsp.jsp.shop.Input_jsp cannot be applied to
(org.apache.struts.taglib.html.HtmlTag,javax.servlet.jsp.PageContext)
  if (_jspx_meth_html_base_0(_jspx_th_html_html_0,
_jspx_page_context))
  ^
C:\wqt\vcs\tis\nb\tel-web-ube\build\generated\src\org\apache\jsp\jsp\sho
p\Input_jsp.java:148:
_jspx_meth_html_radio_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.js
p.PageContext) in org.apache.jsp.jsp.shop.Input_jsp cannot be applied to
(org.apache.struts.taglib.html.FormTag,javax.servlet.jsp.PageContext) 

I am assuming others use struts tags running on tomcat 5.0 container. Is
there any reason why I get this error? If so, how can it be fixed?

Thanks.

Geeth

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


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