Struts 2 + Sitemesh huge content problem

2009-10-11 Thread nani2ratna

Hi Every,

I am interested to use Sitemesh instead of tiles after reading the
advantages of sitemesh over tiles.
But somewhere i also read his one 
" Sitemesh will attempt to store the entire contents of an html page in
memory prior to decorating it. Very large pages could cause memory problems.
"

Is this problem still exists or this problem has been solved?.
How much is the huge content?
My application is for retails, so we might have huge content. 

Thanks in advance
RS
-- 
View this message in context: 
http://www.nabble.com/Struts-2-%2B-Sitemesh-huge-content-problem-tp25841138p25841138.html
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: Wanted: Custom id="something" parameter in rendered html:error

2009-10-11 Thread Lukasz Lenart
2009/10/9 sinkpen :
> I don't want to add a separate div around the html:error tag as then that
> div will show up whether there is an error or not.

You can fist check if errors exists and than add tag you want, check that
http://www.nabble.com/Re%3A-HTML%3Aerrors-p23202327.html


Regards
-- 
Lukasz
http://www.lenart.org.pl/
http://dailylog.lenart.org.pl/

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: Prevent request filter invocation when struts action tag is invoked

2009-10-11 Thread Musachy Barroso
What REQUEST FILTER is this you are talking about?

On Sat, Oct 10, 2009 at 10:15 PM, Pancham  wrote:
> request filter



-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: warning from user@struts.apache.org

2009-10-11 Thread Struts Two
Can anyone says why am I getting this warning? What do you exactly mean 
"messages from you have been bouncing"?



--- On Sun, 10/11/09, user-h...@struts.apache.org  
wrote:

> From: user-h...@struts.apache.org 
> Subject: warning from user@struts.apache.org
> To: struts...@yahoo.ca
> Received: Sunday, October 11, 2009, 6:07 PM
> Hi! This is the ezmlm program. I'm
> managing the
> user@struts.apache.org
> mailing list.
> 
> I'm working for my owner, who can be reached
> at user-ow...@struts.apache.org.
> 
> 
> Messages to you from the user mailing list seem to
> have been bouncing. I've attached a copy of the first
> bounce
> message I received.
> 
> If this message bounces too, I will send you a probe. If
> the probe bounces,
> I will remove your address from the user mailing list,
> without further notice.
> 
> 
> I've kept a list of which messages from the user mailing
> list have 
> bounced from your address.
> 
> Copies of these messages may be in the archive.
> To retrieve a set of messages 123-145 (a maximum of 100 per
> request),
> send a short message to:
>    
> 
> To receive a subject and author list for the last 100 or so
> messages,
> send a short message to:
>    
> 
> Here are the message numbers:
> 
>    202661
> 
> --- Enclosed is a copy of the bounce message I received.
> 
> Return-Path: <>
> Received: (qmail 58614 invoked for bounce); 29 Sep 2009
> 22:03:36 -
> Date: 29 Sep 2009 22:03:36 -
> From: mailer-dae...@apache.org
> To: user-return-2026...@struts.apache.org
> Subject: failure notice
> 
> Hi. This is the qmail-send program at apache.org.
> I'm afraid I wasn't able to deliver your message to the
> following addresses.
> This is a permanent error; I've given up. Sorry it didn't
> work out.
> 
> :
> 67.195.168.31 failed after I sent the message.
> Remote host said: 554 delivery error: dd This account has
> been temporarily suspended. Please try again later. -
> mta193.mail.ac4.yahoo.com
> 
> 

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Behaviour of Double conversion

2009-10-11 Thread Eduard Neuwirt

Hi all,

I am facing the following interesting behavior of struts 2.1.8. I am 
using in action a list containing beans with setting of Double. 
Additionally I set German locale.


So the value of double will be displayed in the English-Locale for 
example 5.55, but the conversion of value is done in the German locale 
so struts2 expects 5,55. As a side effect the value 5.55 interprets 
struts like 555.


Any Idea ? I thought this issue was already fixed ?

Regards
Eduard



-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



RE: Behaviour of Double conversion

2009-10-11 Thread Martin Gainty

did you use xwork DoubleConverter?
@Conversion()
public class ConversionAction implements Action {
  private String convertDouble;

  @TypeConversion(converter = 
"com.opensymphony.xwork2.util.XWorkBasicConverter")
  public void setConvertDouble( String convertDouble ) {
  this.convertDouble = convertDouble;
  }
}
?
http://www.opensymphony.com/xwork/api/com/opensymphony/xwork2/conversion/annotations/TypeConversion.html

Martin Gainty 
__ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
 
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est 
interdite. Ce message sert à l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.




> Date: Sun, 11 Oct 2009 21:24:57 +0200
> From: eduard.neuw...@googlemail.com
> To: user@struts.apache.org
> Subject: Behaviour of Double conversion
> 
> Hi all,
> 
> I am facing the following interesting behavior of struts 2.1.8. I am 
> using in action a list containing beans with setting of Double. 
> Additionally I set German locale.
> 
> So the value of double will be displayed in the English-Locale for 
> example 5.55, but the conversion of value is done in the German locale 
> so struts2 expects 5,55. As a side effect the value 5.55 interprets 
> struts like 555.
> 
> Any Idea ? I thought this issue was already fixed ?
> 
> Regards
> Eduard
> 
> 
> 
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
> 
  
_
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
http://clk.atdmt.com/GBL/go/171222985/direct/01/

struts2.1.8 iterator tag problem

2009-10-11 Thread karen
Hi,all

I have a problem with iterator tag. 
I wrote in my jsp like this:
<%@ page language="java" contentType="text/html; charset=utf-8"%>
<%...@taglib prefix="s" uri="/struts-tags"%>








But my jsp told me something wrong, I don't know what happens, what's wrong?
Is there anyone can help me? Thank you!

org.apache.jasper.JasperException: An exception occurred processing JSP page
/a.jsp at line 8

5: 
6:  
7:  
8:  
9:  
10: 
11: 

root cause 
java.lang.ClassCastException: java.lang.Character cannot be cast to
java.lang.String
org.apache.struts2.components.Property.start(Property.java:139)

org.apache.struts2.views.jsp.ComponentTagSupport.doStartTag(ComponentTagSupp
ort.java:53)
org.apache.jsp.a_jsp._jspx_meth_s_005fproperty_005f0(a_jsp.java:135)
org.apache.jsp.a_jsp._jspx_meth_s_005fiterator_005f0(a_jsp.java:105)
org.apache.jsp.a_jsp._jspService(a_jsp.java:66)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
74)

org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.jav
a:389)




karen



-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: struts2.1.8 iterator tag problem

2009-10-11 Thread Gregor Marinšek

Hi!

Try this:











karen wrote:

Hi,all

I have a problem with iterator tag. 
I wrote in my jsp like this:

<%@ page language="java" contentType="text/html; charset=utf-8"%>
<%...@taglib prefix="s" uri="/struts-tags"%>








But my jsp told me something wrong, I don't know what happens, what's wrong?
Is there anyone can help me? Thank you!

org.apache.jasper.JasperException: An exception occurred processing JSP page
/a.jsp at line 8

5: 
6:  
7:  
8:  
9:  
10: 
11: 

root cause 
java.lang.ClassCastException: java.lang.Character cannot be cast to

java.lang.String
org.apache.struts2.components.Property.start(Property.java:139)

org.apache.struts2.views.jsp.ComponentTagSupport.doStartTag(ComponentTagSupp
ort.java:53)
org.apache.jsp.a_jsp._jspx_meth_s_005fproperty_005f0(a_jsp.java:135)
org.apache.jsp.a_jsp._jspx_meth_s_005fiterator_005f0(a_jsp.java:105)
org.apache.jsp.a_jsp._jspService(a_jsp.java:66)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
74)

org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.jav
a:389)




karen



-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

  



--
Gregor Marinšek


TIS d.o.o.
Ljubljanska 9, Maribor
e-mail: gmarin...@tis.si
http://www.tis.si

GSM: (+386) 040 730 015

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: struts2.1.8 iterator tag problem

2009-10-11 Thread Tommy Pham

From: karen 
To: user@struts.apache.org
Sent: Sun, October 11, 2009 11:37:49 PM
Subject: struts2.1.8 iterator tag problem

Hi,all

I have a problem with iterator tag. 
I wrote in my jsp like this:
<%@ page language="java" contentType="text/html; charset=utf-8"%>
<%...@taglib prefix="s" uri="/struts-tags"%>





Tommy>> Karen,
Tommy>> Try this 

Tommy>> Regards,
Tommy>> Tommy





But my jsp told me something wrong, I don't know what happens, what's wrong?
Is there anyone can help me? Thank you!

org.apache.jasper.JasperException: An exception occurred processing JSP page
/a.jsp at line 8

5: 
6: 
7: 
8: 
9: 
10: 
11: 

root cause 
java.lang.ClassCastException: java.lang.Character cannot be cast to
java.lang.String
org.apache.struts2.components.Property.start(Property.java:139)

org.apache.struts2.views.jsp.ComponentTagSupport.doStartTag(ComponentTagSupp
ort.java:53)
org.apache.jsp.a_jsp._jspx_meth_s_005fproperty_005f0(a_jsp.java:135)
org.apache.jsp.a_jsp._jspx_meth_s_005fiterator_005f0(a_jsp.java:105)
org.apache.jsp.a_jsp._jspService(a_jsp.java:66)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
74)

org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.jav
a:389)




karen



-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org