Re: help please

2009-07-07 Thread taj uddin
we are using struts2.0 and xworks2.0.6 so your solutrion does not apply for us.

--- On Tue, 7/7/09, Wes Wannemacher  wrote:


From: Wes Wannemacher 
Subject: Re: help please
To: "Struts Users Mailing List" 
Date: Tuesday, July 7, 2009, 9:29 AM


Which version of Struts/XWork are you using?

Are you extending the ActionSupport class? Also, if you are using a
fairly recent version of Struts, you should use var rather than id on
the s:iterator tag.

-Wes

On Tue, Jul 7, 2009 at 8:25 AM, taj uddin wrote:
> Hi all,
>  when I am trying to render my jsp I am getting the following error on my 
> server console. Please help me in resolving this. The error is coming at 
> xworks action class. I am unable to understand why this error is coming. 
> Thanking you .
>
> I hope the following code of jsp is giving this error
> 
>
>           
>          
>           
>             
>            
> 
>            
>           
>            />
>           
>        value="true" theme="simple"/>
>       
>       
>         value="false" theme="simple"/>
>       
>             
>           
>          
>           
>
>           
>           
>             
>           
>             />
>              
> 
>           
>           
>              name="b1rep.eeEvaluation" /> 
>               
> 
>           
>             
>           
>           
>
>           
>   ___end of jsp code_
>
> 17:03:48,181 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
> java.lang.NullPointerException
>   at 
> com.opensymphony.xwork2.util.LocalizedTextUtil.findText(LocalizedTextUtil.java:466)
>   at 
> com.opensymphony.xwork2.TextProviderSupport.getText(TextProviderSupport.java:224)
>   at com.opensymphony.xwork2.ActionSupport.getText(ActionSupport.java:99)
>   at org.apache.struts2.components.Text.end(Text.java:158)
>   at 
> org.apache.struts2.views.jsp.ComponentTagSupport.doEndTag(ComponentTagSupport.java:43)
>   at 
> org.apache.jsp.nfpa.ttool.viewB1TableReport_jsp._jspx_meth_s_005ftext_005f4(viewB1TableReport_jsp.java:382)
>   at 
> org.apache.jsp.nfpa.ttool.viewB1TableReport_jsp._jspx_meth_s_005fiterator_005f0(viewB1TableReport_jsp.java:169)
>   at 
> org.apache.jsp.nfpa.ttool.viewB1TableReport_jsp._jspService(viewB1TableReport_jsp.java:95)
>   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>   at 
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
>   at 
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336)
>   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>   at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>   at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>   at 
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654)
>   at 
> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:445)
>   at 
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379)
>   at 
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:292)
>   at 
> org.apache.struts2.dispatcher.ServletDispatcherResult.doExecute(ServletDispatcherResult.java:139)
>   at 
> org.apache.struts2.dispatcher.StrutsResultSupport.execute(StrutsResultSupport.java:178)
>   at 
> com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:348)
>   at 
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:253)
>   at 
> com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:221)
>   at 
> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
>   at 
> com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
>   at 
> com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
>   at 
> com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
>   a

RE: using ajaxanywhere and struts

2009-07-07 Thread dusty

The nice thing about AjaxFrameworks is that they are really Struts agnostic. 
I would go with JQuery.  I think the learning curve is low and it has a lot
of momentum.

It may not integrate with Struts 1 directly but what you learn will be
applicable with other frameworks as well.  The toughest part will be
figuring out how to make Struts 1 serve up JSON.  There is a plugin in
Struts2 that encodes a Java object graph to JSON syntax, but it just uses a
library that you could use yourself in a Struts 1 action.  

I have seen some people go back and work with GWT again.  Maybe its the GAE,
and you may have success, but it may be difficult to work with your Struts
controllers.   Prototype is about the same as JQuery, but maybe less
fashionable.  The real separator for JQuery is the selector syntax.  very
powerful!




deligeli wrote:
> 
> What would you recomnned for struts1?
> 
> -Original Message-
> From: dusty [mailto:dustin_pea...@yahoo.com] 
> Sent: Wednesday, July 08, 2009 7:24 AM
> To: user@struts.apache.org
> Subject: RE: using ajaxanywhere and struts
> 
> 
> Is there a compelling reason why you are using AjaxAnywhere?  One may be,
> "It's one I know really well" 
> 
> I am all for alternative lifestyles, but perhaps you should look into
> JQuery
> or Prototype.  Lots and lots of examples and help out there on the world
> wide web for those AJAX tools.
> 
> 
> 
> 
> deligeli wrote:
>> 
>> How can I use it?
>> 
>> I need to add items available to the shopping cart.. I am using struts1
>> 
>> -Original Message-
>> From: Martin Gainty [mailto:mgai...@hotmail.com] 
>> Sent: Tuesday, July 07, 2009 4:55 AM
>> To: Struts Users Mailing List
>> Subject: RE: using ajaxanywhere and struts
>> 
>> 
>> Dojo has a suite of ajax enabled Tags just set theme="ajax" in your head
>> tag
>> e.g.
>> 
>> 
>> 
>> is there a specific (ajax-enabled) control you wish to implement that is
>> not
>> currently available in Dojo?
>> Martin 
>> __ 
>> 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.
>> 
>> 
>> 
>> 
>>> From: ode...@jpost.com
>>> To: user@struts.apache.org
>>> Subject: using ajaxanywhere and struts
>>> Date: Mon, 6 Jul 2009 21:23:46 +0300
>>> 
>>> Hi!
>>> 
>>> Does anyone has an example of how to use:
>>> 
>>> http://ajaxanywhere.sourceforge.net/quickStart.html
>>> 
>>> ?
>>> 
>>> Thanks!
>>> 
>>> 
>>> -
>>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>>> For additional commands, e-mail: user-h...@struts.apache.org
>>> 
>> 
>> _
>> Lauren found her dream laptop. Find the PC that’s right for you.
>> http://www.microsoft.com/windows/choosepc/?ocid=ftp_val_wl_290 
>>  
>> 
>> 
>> This footnote confirms that this email message has been scanned by
>> PineApp Mail-SeCure for the presence of malicious code, vandals &
>> computer
>> viruses.
>> 
>> 
>> 
>> 
>> 
>> -
>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>> For additional commands, e-mail: user-h...@struts.apache.org
>> 
>> 
>> 
> 
> -- 
> View this message in context:
> http://www.nabble.com/using-ajaxanywhere-and-struts-tp24360491p24385120.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
> 
>  
>  
> 
> This footnote confirms that this email message has been scanned by
> PineApp Mail-SeCure for the presence of malicious code, vandals & co

Confusing with convention plugin

2009-07-07 Thread Leegorous
Hi,

I'm new here.
I follow the http://struts.apache.org/2.x/docs/convention-plugin.html
Some examples are not working in my case.
like the simplest one, no action exist, always throws

java.lang.IllegalArgumentException: The index() is not defined in
action class com.opensymphony.xwork2.ActionSupport

And the example in Chaining section is throwing the same exception.

I start the project from struts2-archetype-blank, just delete the
original strust2 config
Do anybody know what happen, or know how to diagnose.

Thanks in advance.

Leegorous

-- 
MyWeblog http://leegorous.net/blog/

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



Re: [OT] Return Hashmap java object from servlet

2009-07-07 Thread Nils-Helge Garli Hegvik
What exactly are you trying to do? Do you want to serialize the
hashmap to the client as a Java object, or do you want it converted to
xml? What does the consuming end expect? If you really want to produce
xml, take a look at one of the many java <-> xml libraries that exists
(although, something as simple as your example, you could probably
construct the xml "by hand"). A google search should give you more
than enough information.

Nils-H

On Tue, Jul 7, 2009 at 6:06 PM, Ashish
Kulkarni wrote:
> HiIs it possible to return Hashmap object from java Servlet,  What kind of
> ContentType can i set to the response?
>
> The other option is to set data from HashMap into XML and return it as XML
> file.
>
> for example.
>
> I have servlet like below
>
> public class ReturnObjectServlet extends HttpServlet
> {
> public void doGet(HttpServletRequest request, HttpServletResponse response)
> throws ServletException, IOException
> {
>
> processResponse(request, response);
> }
>
> public void doPost(HttpServletRequest request, HttpServletResponse response)
> throws ServletException, IOException
> {
>
> processResponse(request, response);
> }
>
> private void processResponse(HttpServletRequest request,
> HttpServletResponse response) throws ServletException, IOException
> {
>
>           Map map1 = new HashMap();
>   map1.put("ABC", "XYZ");
>   map1.put("ABC2", "XYZ");
>   map1.put("ABC3", "XYZ");
>
>        // What kind of response type can i set??
>         response.setContentType("text/xml; charset=UTF-8");
>         PrintWriter out = response.getWriter();
>         out.print(map1);
>         out.close();
>
>        }
>
>
> }
>

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



RE: using ajaxanywhere and struts

2009-07-07 Thread Odelya YomTov
What would you recomnned for struts1?

-Original Message-
From: dusty [mailto:dustin_pea...@yahoo.com] 
Sent: Wednesday, July 08, 2009 7:24 AM
To: user@struts.apache.org
Subject: RE: using ajaxanywhere and struts


Is there a compelling reason why you are using AjaxAnywhere?  One may be,
"It's one I know really well" 

I am all for alternative lifestyles, but perhaps you should look into JQuery
or Prototype.  Lots and lots of examples and help out there on the world
wide web for those AJAX tools.




deligeli wrote:
> 
> How can I use it?
> 
> I need to add items available to the shopping cart.. I am using struts1
> 
> -Original Message-
> From: Martin Gainty [mailto:mgai...@hotmail.com] 
> Sent: Tuesday, July 07, 2009 4:55 AM
> To: Struts Users Mailing List
> Subject: RE: using ajaxanywhere and struts
> 
> 
> Dojo has a suite of ajax enabled Tags just set theme="ajax" in your head
> tag
> e.g.
> 
> 
> 
> is there a specific (ajax-enabled) control you wish to implement that is
> not
> currently available in Dojo?
> Martin 
> __ 
> 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.
> 
> 
> 
> 
>> From: ode...@jpost.com
>> To: user@struts.apache.org
>> Subject: using ajaxanywhere and struts
>> Date: Mon, 6 Jul 2009 21:23:46 +0300
>> 
>> Hi!
>> 
>> Does anyone has an example of how to use:
>> 
>> http://ajaxanywhere.sourceforge.net/quickStart.html
>> 
>> ?
>> 
>> Thanks!
>> 
>> 
>> -
>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>> For additional commands, e-mail: user-h...@struts.apache.org
>> 
> 
> _
> Lauren found her dream laptop. Find the PC that’s right for you.
> http://www.microsoft.com/windows/choosepc/?ocid=ftp_val_wl_290 
>  
> 
> 
> This footnote confirms that this email message has been scanned by
> PineApp Mail-SeCure for the presence of malicious code, vandals & computer
> viruses.
> 
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/using-ajaxanywhere-and-struts-tp24360491p24385120.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

 
 

This footnote confirms that this email message has been scanned by
PineApp Mail-SeCure for the presence of malicious code, vandals & computer 
viruses.




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



RE: using ajaxanywhere and struts

2009-07-07 Thread dusty

Is there a compelling reason why you are using AjaxAnywhere?  One may be,
"It's one I know really well" 

I am all for alternative lifestyles, but perhaps you should look into JQuery
or Prototype.  Lots and lots of examples and help out there on the world
wide web for those AJAX tools.




deligeli wrote:
> 
> How can I use it?
> 
> I need to add items available to the shopping cart.. I am using struts1
> 
> -Original Message-
> From: Martin Gainty [mailto:mgai...@hotmail.com] 
> Sent: Tuesday, July 07, 2009 4:55 AM
> To: Struts Users Mailing List
> Subject: RE: using ajaxanywhere and struts
> 
> 
> Dojo has a suite of ajax enabled Tags just set theme="ajax" in your head
> tag
> e.g.
> 
> 
> 
> is there a specific (ajax-enabled) control you wish to implement that is
> not
> currently available in Dojo?
> Martin 
> __ 
> 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.
> 
> 
> 
> 
>> From: ode...@jpost.com
>> To: user@struts.apache.org
>> Subject: using ajaxanywhere and struts
>> Date: Mon, 6 Jul 2009 21:23:46 +0300
>> 
>> Hi!
>> 
>> Does anyone has an example of how to use:
>> 
>> http://ajaxanywhere.sourceforge.net/quickStart.html
>> 
>> ?
>> 
>> Thanks!
>> 
>> 
>> -
>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>> For additional commands, e-mail: user-h...@struts.apache.org
>> 
> 
> _
> Lauren found her dream laptop. Find the PC that’s right for you.
> http://www.microsoft.com/windows/choosepc/?ocid=ftp_val_wl_290 
>  
> 
> 
> This footnote confirms that this email message has been scanned by
> PineApp Mail-SeCure for the presence of malicious code, vandals & computer
> viruses.
> 
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/using-ajaxanywhere-and-struts-tp24360491p24385120.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: link to stylesheet in jsp doesn't work

2009-07-07 Thread dusty

I think you were using this JSP template as a view for a Struts2 action,
hence the mailing list choice.  If that is the case, just remember that the
URL is relative to the action and not the path of the dispatched JSP
template.



Larry Reed-2 wrote:
> 
> Thank you Christian. This has solved the problem.
> 
> I'd like to thank Martin Gainty for also helping. The solution Martin
> proposed (use 'css/pp.css' rather than ../css/pp.css or something similar)
> did solve the problem for the first access, but return access via 'input'
> or 'success' results still did not find the file. The solution proposed by
> Christian (href="") works in all situations.
> 
> -- Larry
> 
> 
> - Original Message -
> From: "Christian Benjamin Ries" 
> To: "Struts Users Mailing List" 
> Sent: Monday, July 6, 2009 3:23:12 AM GMT -08:00 US/Canada Pacific
> Subject: Re: link to stylesheet in jsp doesn't work
> 
> Try this:
> 
>  
> 
> - Original Message -
> From: Larry Reed 
> Date: Monday, July 6, 2009 3:08
> Subject: link to stylesheet in jsp doesn't work
> To: user@struts.apache.org
> 
>> I'm having a problem linking to a stylesheet and could use some help.
>> 
>> My project layout in Eclipse is as follows:
>> 
>> pp_base
>>     WebContent
>>     css
>>     pp.css
>>     guest
>>     GuestWelcome.jsp
>>     index.html
>> 
>> in index.html, I have
>> 
>> 
>>     
>>     > type="text/css"/>    
>> 
>>     
>>     One moment please.
>>     
>>    
>> 
>> 
>> in GuestWelcome.jsp, I have
>> 
>> <%@ page contentType="text/html; charset=UTF-8" %>
>> <%@ taglib prefix="s" uri="/struts-tags" %>
>> 
>>  
>>  > rel="stylesheet" href="../css/pp.css" type="text/css" />
>>  
>>  
>>  
>>     Another moment please.
>>  
>>  
>>  
>> 
>> 
>> The style sheet is referenced correctly by index.html but is not 
>> referenced correctly by GuestWelcome.jsp.
>> 
>> However, if I replace the link in GuestWelcome.jsp with
>> 
>>  > type="text/css"> 
>>  
>> 
>> then the style sheet is included in place, and it works fine.
>> 
>> What am I doing wrong?
>> 
>> Thanx, Larry
>> 
>> -
>> 
>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>> For additional commands, e-mail: user-h...@struts.apache.org
>> 
> 
> --
> Cand.-Ing. (FH) Christian B. Ries
> Fachhochschule Bielefeld
> University of Applied Sciences
> FB3 /  Ingenieurwissenschaften und Mathematik
> 
> Fon: +49 (0) 521 32 73 538
> Mobile:  +49 (0) 176 64 64 63 58
> 
> 
> 
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/link-to-stylesheet-in-jsp-doesn%27t-work-tp24348428p24385069.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: Ajax Basics

2009-07-07 Thread dusty

So I think straight JQuery is pretty easy, although I have not tried the new
JQuery plugin(s).  Just download JQuery and JQuery UI and include them on
your page.  

">
">

Then pick a JQuery UI Theme, download it and include it as well:

" rel="stylesheet" />

You are almost all set:
 Include the following javascript:

$(document).ready(function(){
$(".datefield").datepicker();
});

I usually do this in a .js file that included on all pages.

Now create a struts text field and include the cssStyle 'datefield'.  


Viola!

You will likely want to create a Date converter.  You can find lots of posts
and discussions about Type Conversion and date converters.



Richard Gundersen-2 wrote:
> 
> Hi
> 
>  
> 
> I'm trying to get the datetimepicker working in my app. It's Struts 2
> but it's totally non-AJAX at the moment. I also don't know anything
> about AJAX to make matters worse. 
> 
>  
> 
> Please could someone tell me 
> 
>  
> 
> a)   what extra jars (dojo/json etc) do I need to pop into WEB-INF?
> I don't mind which provider I use (Dojo, Prototype etc) as long as it
> works.
> 
> b)  any other config to add to struts.xml?
> 
> c)   JSP tags (in addition to ) such as  and  
>  
> 
> I've read quite a few articles saying how easy it is, but they all do
> things slightly differently. If someone could tell me how to get the
> basics configured, so that my datetimepicker works, I'd be grateful. 
> 
>  
> 
> Thanks
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Ajax-Basics-tp24374017p24384966.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: Commercial framework based on struts2.

2009-07-07 Thread dusty

I know a guy who knows a guy that ported Icefaces to Struts2 + stuff you
probably need and don't know it.  He even has a ponytail.  He wants eleventy
thousand dollars.  



sharath wrote:
> 
> Dear All,
>  
>    I'm looking for chimerical framework which is built on top of struts2,
> with having AJAX support tags. I know struts2 comes with DOJO but we need
> to write lot of coding which we'd like to avoid and we are planning to
> purchase chimerical product with support.
>  
>    Similar to Icefaces which is build on JSF technology. 
>  
>    Can anyone please let me know. If you have price details then please
> include that also...
>  
> Thanks,
> Sharath.
>  
>    
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Commercial-framework-based-on-struts2.-tp24376622p24384936.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



Struts 2 Validation

2009-07-07 Thread Robson Rodrigues

Hello People,

 

i´m using the struts 2 in a project and i´m with a problem on the
validation. When i try validate a form, the struts say the validation
failed, even when the field is with correct value, in addition, it is not
going back to the field with the old value

 

here is my struts.xml. The action is the Cliente_insert:

 





 



/cliente/inputCliente.jsp







/cliente/editCliente.jsp





/cliente/listaClientes.jsp







 

/cliente/inputCliente.jsp

Cliente_list.action





Cliente_list.action





Cliente_list.action



 



 

Here is my validation archive:

 

http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd";>









true

 O campo telefone é obrigatório 





true

6

14

 O campo telefone deve ter entre 6 e 14 caracteres 







 

here is my jsp:

 

<%@ page language="java" contentType="text/html; charset=ISO-8859-1"

pageEncoding="ISO-8859-1"%>

<%...@page import="br.com.robson.modelo.Cliente" %>

<%...@page import ="java.util.*" %>

<%@ taglib prefix="s" uri="/struts-tags" %>

 

http://www.w3.org/TR/html4/loose.dtd";>







Insert title here









Novo Cliente



 



 



 



 



 





 

 

 

 





 

I hope you can help me

 

Hugs!

 
-- 
View this message in context: 
http://www.nabble.com/Struts-2-Validation-tp24382602p24382602.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: [S2.1.2] sx:div targets AKA sx:a targets

2009-07-07 Thread Martin Gainty

jan

the target refers to the component whose content will be updated





dialogContainer is too general and not a component per se
best to identify a div tag such as parentDiv
http://struts.apache.org/2.1.6/docs/dojo-anchor.html

Mit Freundlichen Grueben/
Martin 
__ 
Verzicht und Vertraulichkeitanmerkung
 
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.






> Subject: [S2.1.2] sx:div targets AKA sx:a targets
> Date: Tue, 7 Jul 2009 19:56:21 +0200
> From: jan.froehl...@infomotion.de
> To: user@struts.apache.org
> 
> Wrong subject! ;)
> 
> 
> 
> Von: Jan Fröhlich [mailto:jan.froehl...@infomotion.de]
> Gesendet: Di 07.07.2009 16:55
> An: Struts Users Mailing List
> Betreff: [S2.1.2] sx:div targets
> 
> 
> 
> Hi all,
> 
> I've seen this topic beeing discussed several times already, but I didn't 
> find a solution that works for me.
> 
> What I already got:
> I invoke an action with a sx:a (targets="dialogContainer"). The action opens 
> a document and has two possible return values: "prompt" and "download".
> "prompt" means, that there are several information necessary before the 
> document can be downloaded. It is type="tiles".
> "download" means, that the document is ready for download. It is 
> type="stream".
> 
> On the "prompt" page is a finish button, that has no targets set, so the 
> download starts fine.
> If the action returns "download" immediately it shows the stream in the 
> specified "dialogContainer".
> 
> What I need is to modify the targets value out of my action.
> 
> I tried it from within the action and with an interceptor, but it seems like 
> I can't access the "targets" in the ValueStack.
> Another way I tried, was to use afterNotifyTopics and redirect the data to 
> what I want - but that didn't work either. (Problem with the stream result)
> 
> Can someone give me a hint, how I can possibly solve it?
> I even thought about modifying the freemarker template for the anchor tag - 
> but I couldn't find the right spot, where to do it.
> 
> Any help appreciated!
> 
> Kind regards
> Jan
> 
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
> 
> 
> 
> 

_
Windows Live™: Keep your life in sync. 
http://windowslive.com/explore?ocid=TXT_TAGLM_WL_BR_life_in_synch_062009

Re: dojo ajax tags -- post vs. get

2009-07-07 Thread Jim Kiley
It turns out that the problem was solved by removing nesting form tags.  I
hadn't noticed, originally, that the "familySelection" form described below
was wrapped by another form tag.  When I unwrapped it, everything worked
correctly.  Let this be a lesson to you. Somebody.
jk

On Tue, Jul 7, 2009 at 3:36 PM, Jim Kiley  wrote:

> Hi gang,
> We are taking our first steps into using the dojo tags, in a Struts 2.1.7
> project (yes, we jumped too soon, I don't think it's entirely relevant).
>  Specifically I've got an  tag set up, and when its value changes,
> I publish a dojo event ("/changeFamily").  A div is set up with  as
> follows:
>
> 
>headerValue="Select One" list="familyList"
> onchange="dojo.event.topic.publish('/changeFamily');" />
> 
>
> 
>  href="%{catalogContentsUrl}" listenTopics="/changeFamily">
>   (No family selected)
> 
>
> When I change a value in the s:select, however, Firebug tells me that the
> page is executing a GET rather than a POST.  So the value of familyId never
> gets posted (breakpoints indicate that the setter does not run).
>
> What do I have to do in order to get the value of familyId to be posted?
> --
> Jim Kiley
> Senior Technical Consultant | Summa
> [p] 412.258.3346
> http://www.summa-tech.com
>



-- 
Jim Kiley
Senior Technical Consultant | Summa
[p] 412.258.3346
http://www.summa-tech.com


disable struts button when javascript function is doing soemthing

2009-07-07 Thread A. Lotfi
Hi,
 
I have a jsp page :
 
 

 
.
function validateForm(validationCSDVal,validationURDVal){
   dataChanged(); 
   
    
    
    if(document.budgetSummary.budgetStatusCode.selectedIndex == 1){
    if(document.budgetSummary.finalVersionFlag.checked == 
false){
    alert("");
    document.budgetSummary.budgetStatusCode.selectedIndex = 0;
    return false;
    }
 }//End outer if
 // Added for Cost Sharing Distribution Validation - start
 if(document.budgetSummary.budgetStatusCode.selectedIndex == 1){
    var validateCSDMsg = '<%=validationMsg%>';
    var validateURDMsg = '<%=validationURDMsg%>';
    if(validationCSDVal == 'force' || validationURDVal == 
'force'){
    if(validateCSDMsg == 'amtUnequal'){
    alert("\n");
    }else if(validateCSDMsg == 'noCSD'){
   alert("");
    }
    if(validateURDMsg == 'amtUnequal'){
    alert("\n");
    }else if(validateURDMsg == 'noUnderRec'){
   alert("");
    }
    
document.budgetSummary.budgetStatusCode.selectedIndex = 0;
    return false;
    }
   /* }else if(validationURDVal == 'force'){
    if(validateURDMsg == 'amtUnequal'){
    alert("<%--bean:message bundle="budget" 
key="underRecoveryDistribution.alertMessage1"/>\n");
    }else if(validateURDMsg == 'noUnderRec'){
   alert("<%--bean:message bundle="budget" 
key="underRecoveryDistribution.error.URDforVersion"/--%>");
    }
    
document.budgetSummary.budgetStatusCode.selectedIndex = 0;
    return false;
    }*/
    /*else if(validationCSDVal == 'notForce'){
    return true;
    }else if(validationURDVal == 'notForce'){
    return true;
    }*/
 
    validateBudget(<%=versionNumber%>);
    
 }
  
}
 

 
 

    <% // modified for Cost Sharing 
Distribution Validation - 
    String validateForm = "javascript: 
validateForm('"+forceCSDValidation+"','"+forceUnderRecValidation+"');";%>
    
    
    
    
 
 

 
.

 
 
How to disbale the save button when the javascript function validateForm is 
doing someting and enable it back after the function is done ?
 
 
thanks


  

dojo ajax tags -- post vs. get

2009-07-07 Thread Jim Kiley
Hi gang,
We are taking our first steps into using the dojo tags, in a Struts 2.1.7
project (yes, we jumped too soon, I don't think it's entirely relevant).
 Specifically I've got an  tag set up, and when its value changes,
I publish a dojo event ("/changeFamily").  A div is set up with  as
follows:


  




  (No family selected)


When I change a value in the s:select, however, Firebug tells me that the
page is executing a GET rather than a POST.  So the value of familyId never
gets posted (breakpoints indicate that the setter does not run).

What do I have to do in order to get the value of familyId to be posted?
-- 
Jim Kiley
Senior Technical Consultant | Summa
[p] 412.258.3346
http://www.summa-tech.com


Re: Commercial framework based on struts2.

2009-07-07 Thread Peter Bliznak
Aahhh...in that case be my guest and go for it 





From: Musachy Barroso 
To: Struts Users Mailing List 
Sent: Tuesday, July 7, 2009 2:33:12 PM
Subject: Re: Commercial framework based on struts2.

On Tue, Jul 7, 2009 at 11:22 AM, Peter Bliznak wrote:
> Greek legend of Sisyphus

but I love pushing this stone around :)

musachy

-- 
"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: Commercial framework based on struts2.

2009-07-07 Thread Musachy Barroso
struts 1 + struts 2 + off topic makes for a very confusing response me thinks.

musachy

On Tue, Jul 7, 2009 at 11:26 AM, Martin Gainty wrote:
>
> majority of struts tags support ajax out of the box 
> would definitely help us out if you could be specific about which tag you 
> want 'ajaxified'
>
> things like page-level security,prerender actions,intelligent navigation and 
> RESTful URLS cannot be accomplished with JSF
> keep in mind JSF does not have a front end controller so this Controller 
> cycle only works with Struts and not JSF
>
>  1.A request comes in with a certain extension(used to be .do), the container 
> maps it to
>
> the ActionServlet.
>
> 2. The ActionServlet acts like a front end controller and dispatches
>
> control to a RequestProcessor.
>
> 3. The RequestProcessor finds an action tag with a path attribute that
>
> matches the incoming request
>
> 4. Then the RequestProcessor looks for a form-bean tag that has a name
>
> attribute that matched the action tags name attribute...aka backing bean
>
> 5. RequestProcessor instantiates a FormBean of the of based on the type
>
> attribute
>
> 6. RequestProcessor calls populates the FormBeans fields from the
>
> incoming request, then calls its reset method, then its validate method
>
> 7. RequestProcessor instantiates an Action based on the action tags
>
> type attribute
>
> 8. RequestProcessor calls the action's execute (now perform) method which 
> returns
>
> an ActionForward (now ActionResult).
>
> 9. The RequestProcessor finds a matching ActionForward first within the
>
> nested forward tags, then from within the global-forwards tag.
>
> Note: if  the validate method returns an ActionMessage then the
>
> RequestProcessor forward the request to the resource specified in the
>
> action's input attribute
>
>
> thanks,
> 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: Tue, 7 Jul 2009 11:10:29 -0700
>> Subject: Re: Commercial framework based on struts2.
>> From: musa...@gmail.com
>> To: user@struts.apache.org
>>
>> hum, and I never thought there was a demand for something like
>> this...maybe we should do something about it :)
>>
>> @OP: I haven't seen any product like this.
>>
>> musachy
>>
>> On Tue, Jul 7, 2009 at 10:06 AM, sharath karnati wrote:
>> > HI Bharath,
>> >
>> >    I know Struts2 is a framework but I'm looking like customized tags like 
>> > dataTable,panelGrids and so on
>> >
>> >    All tags should support AJAX functionality without doing any coding... 
>> > Please check Icefaces for example which is built on top of JSF and giving 
>> > more UI tags
>> >
>> > Thanks,
>> > Sharath.
>> >
>> > --- On Tue, 7/7/09, Bhaarat Sharma  wrote:
>> >
>> >
>> > From: Bhaarat Sharma 
>> > Subject: Re: Commercial framework based on struts2.
>> > To: "Struts Users Mailing List" 
>> > Date: Tuesday, July 7, 2009, 12:24 PM
>> >
>> >
>> > Struts 2 IS a framework
>> >
>> > On Tue, Jul 7, 2009 at 12:20 PM, sharath karnati  
>> > wrote:
>> >
>> >> Dear All,
>> >>
>> >>    I'm looking for chimerical framework which is built on top of struts2,
>> >> with having AJAX support tags. I know struts2 comes with DOJO but we need 
>> >> to
>> >> write lot of coding which we'd like to avoid and we are planning to 
>> >> purchase
>> >> chimerical product with support.
>> >>
>> >>    Similar to Icefaces which is build on JSF technology.
>> >>
>> >>    Can anyone please let me know. If you have price details then please
>> >> include that also...
>> >>
>> >> Thanks,
>> >> Sharath.
>> >>
>> >>
>> >>
>> >>
>> >>
>> >
>> >
>> >
>> >
>>
>>
>>
>> --
>> "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
>>
>
> _
> Insert movie times and more without l

Re: Commercial framework based on struts2.

2009-07-07 Thread Musachy Barroso
On Tue, Jul 7, 2009 at 11:22 AM, Peter Bliznak wrote:
> Greek legend of Sisyphus

but I love pushing this stone around :)

musachy

-- 
"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: Ajax Basics

2009-07-07 Thread Richard Gundersen
Thanks Martin, I'll give it a go!

Richard


-Original Message-
From: Martin Uhlir [mailto:stoupa91de...@seznam.cz]
Sent: Tue 07/07/2009 17:11
To: Struts Users Mailing List
Subject: Re: Ajax Basics
 
Hi,

have a look at this plugin for Struts2 
http://code.google.com/p/struts2-jquery/wiki/DatePickerTag
Just drop the the jar into WEB-INF/lib and you are ready to go.

Martin



Richard Gundersen wrote:
> Hi
>
>  
>
> I'm trying to get the datetimepicker working in my app. It's Struts 2
> but it's totally non-AJAX at the moment. I also don't know anything
> about AJAX to make matters worse. 
>
>  
>
> Please could someone tell me 
>
>  
>
> a)   what extra jars (dojo/json etc) do I need to pop into WEB-INF?
> I don't mind which provider I use (Dojo, Prototype etc) as long as it
> works.
>
> b)  any other config to add to struts.xml?
>
> c)   JSP tags (in addition to ) such as  and 
>  
>
> I've read quite a few articles saying how easy it is, but they all do
> things slightly differently. If someone could tell me how to get the
> basics configured, so that my datetimepicker works, I'd be grateful. 
>
>  
>
> Thanks
>
>
>   


-
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

RE: Commercial framework based on struts2.

2009-07-07 Thread Martin Gainty

majority of struts tags support ajax out of the box 
would definitely help us out if you could be specific about which tag you want 
'ajaxified'

things like page-level security,prerender actions,intelligent navigation and 
RESTful URLS cannot be accomplished with JSF
keep in mind JSF does not have a front end controller so this Controller cycle 
only works with Struts and not JSF

 1.A request comes in with a certain extension(used to be .do), the container 
maps it to

the ActionServlet.

2. The ActionServlet acts like a front end controller and dispatches

control to a RequestProcessor.

3. The RequestProcessor finds an action tag with a path attribute that

matches the incoming request

4. Then the RequestProcessor looks for a form-bean tag that has a name

attribute that matched the action tags name attribute...aka backing bean

5. RequestProcessor instantiates a FormBean of the of based on the type

attribute

6. RequestProcessor calls populates the FormBeans fields from the

incoming request, then calls its reset method, then its validate method

7. RequestProcessor instantiates an Action based on the action tags

type attribute

8. RequestProcessor calls the action's execute (now perform) method which 
returns

an ActionForward (now ActionResult).

9. The RequestProcessor finds a matching ActionForward first within the

nested forward tags, then from within the global-forwards tag.

Note: if  the validate method returns an ActionMessage then the

RequestProcessor forward the request to the resource specified in the

action's input attribute


thanks,
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: Tue, 7 Jul 2009 11:10:29 -0700
> Subject: Re: Commercial framework based on struts2.
> From: musa...@gmail.com
> To: user@struts.apache.org
> 
> hum, and I never thought there was a demand for something like
> this...maybe we should do something about it :)
> 
> @OP: I haven't seen any product like this.
> 
> musachy
> 
> On Tue, Jul 7, 2009 at 10:06 AM, sharath karnati wrote:
> > HI Bharath,
> >
> >I know Struts2 is a framework but I'm looking like customized tags like 
> > dataTable,panelGrids and so on
> >
> >All tags should support AJAX functionality without doing any coding... 
> > Please check Icefaces for example which is built on top of JSF and giving 
> > more UI tags
> >
> > Thanks,
> > Sharath.
> >
> > --- On Tue, 7/7/09, Bhaarat Sharma  wrote:
> >
> >
> > From: Bhaarat Sharma 
> > Subject: Re: Commercial framework based on struts2.
> > To: "Struts Users Mailing List" 
> > Date: Tuesday, July 7, 2009, 12:24 PM
> >
> >
> > Struts 2 IS a framework
> >
> > On Tue, Jul 7, 2009 at 12:20 PM, sharath karnati  wrote:
> >
> >> Dear All,
> >>
> >>I'm looking for chimerical framework which is built on top of struts2,
> >> with having AJAX support tags. I know struts2 comes with DOJO but we need 
> >> to
> >> write lot of coding which we'd like to avoid and we are planning to 
> >> purchase
> >> chimerical product with support.
> >>
> >>Similar to Icefaces which is build on JSF technology.
> >>
> >>Can anyone please let me know. If you have price details then please
> >> include that also...
> >>
> >> Thanks,
> >> Sharath.
> >>
> >>
> >>
> >>
> >>
> >
> >
> >
> >
> 
> 
> 
> -- 
> "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
> 

_
Insert movie times and more without leaving Hotmail®. 
http://windowslive.com/Tutorial/Hotmail/QuickAdd?ocid=TXT_TAGLM_WL_HM_Tutorial_QuickAdd_062009

Re: Commercial framework based on struts2.

2009-07-07 Thread Peter Bliznak
Excuse me but I've been following this list for number of years and
this is FIRST time anybody is asking for anything like this - I would
not call this an overwhelming demand.

Besides these kind of widgets can't ever be done to everyone's liking -
they must tweaked amd changed for a specific app - if anybody wants 
to start working on anything like that then
 I would like to remind him/her of Greek legend of Sisyphus .

just my two cents.

P.






From: Musachy Barroso 
To: Struts Users Mailing List 
Sent: Tuesday, July 7, 2009 2:10:29 PM
Subject: Re: Commercial framework based on struts2.

hum, and I never thought there was a demand for something like
this...maybe we should do something about it :)

@OP: I haven't seen any product like this.

musachy

On Tue, Jul 7, 2009 at 10:06 AM, sharath karnati wrote:
> HI Bharath,
>
>I know Struts2 is a framework but I'm looking like customized tags like 
> dataTable,panelGrids and so on
>
>All tags should support AJAX functionality without doing any coding... 
> Please check Icefaces for example which is built on top of JSF and giving 
> more UI tags
>
> Thanks,
> Sharath.
>
> --- On Tue, 7/7/09, Bhaarat Sharma  wrote:
>
>
> From: Bhaarat Sharma 
> Subject: Re: Commercial framework based on struts2.
> To: "Struts Users Mailing List" 
> Date: Tuesday, July 7, 2009, 12:24 PM
>
>
> Struts 2 IS a framework
>
> On Tue, Jul 7, 2009 at 12:20 PM, sharath karnati  wrote:
>
>> Dear All,
>>
>>I'm looking for chimerical framework which is built on top of struts2,
>> with having AJAX support tags. I know struts2 comes with DOJO but we need to
>> write lot of coding which we'd like to avoid and we are planning to purchase
>> chimerical product with support.
>>
>>Similar to Icefaces which is build on JSF technology.
>>
>>Can anyone please let me know. If you have price details then please
>> include that also...
>>
>> Thanks,
>> Sharath.
>>
>>
>>
>>
>>
>
>
>
>



-- 
"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: [OT] Return Hashmap java object from servlet

2009-07-07 Thread Musachy Barroso
was this a question?

musachy

On Tue, Jul 7, 2009 at 9:06 AM, Ashish
Kulkarni wrote:
> HiIs it possible to return Hashmap object from java Servlet,  What kind of
> ContentType can i set to the response?
>
> The other option is to set data from HashMap into XML and return it as XML
> file.
>
> for example.
>
> I have servlet like below
>
> public class ReturnObjectServlet extends HttpServlet
> {
> public void doGet(HttpServletRequest request, HttpServletResponse response)
> throws ServletException, IOException
> {
>
> processResponse(request, response);
> }
>
> public void doPost(HttpServletRequest request, HttpServletResponse response)
> throws ServletException, IOException
> {
>
> processResponse(request, response);
> }
>
> private void processResponse(HttpServletRequest request,
> HttpServletResponse response) throws ServletException, IOException
> {
>
>           Map map1 = new HashMap();
>   map1.put("ABC", "XYZ");
>   map1.put("ABC2", "XYZ");
>   map1.put("ABC3", "XYZ");
>
>        // What kind of response type can i set??
>         response.setContentType("text/xml; charset=UTF-8");
>         PrintWriter out = response.getWriter();
>         out.print(map1);
>         out.close();
>
>        }
>
>
> }
>



-- 
"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: [S2.1.2] sx:div targets AKA sx:a targets

2009-07-07 Thread Musachy Barroso
targets can be set like anything else, with an ognl expression, like

:
> Wrong subject! ;)
>
> 
>
> Von: Jan Fröhlich [mailto:jan.froehl...@infomotion.de]
> Gesendet: Di 07.07.2009 16:55
> An: Struts Users Mailing List
> Betreff: [S2.1.2] sx:div targets
>
>
>
> Hi all,
>
> I've seen this topic beeing discussed several times already, but I didn't 
> find a solution that works for me.
>
> What I already got:
> I invoke an action with a sx:a (targets="dialogContainer"). The action opens 
> a document and has two possible return values: "prompt" and "download".
> "prompt" means, that there are several information necessary before the 
> document can be downloaded. It is type="tiles".
> "download" means, that the document is ready for download. It is 
> type="stream".
>
> On the "prompt" page is a finish button, that has no targets set, so the 
> download starts fine.
> If the action returns "download" immediately it shows the stream in the 
> specified "dialogContainer".
>
> What I need is to modify the targets value out of my action.
>
> I tried it from within the action and with an interceptor, but it seems like 
> I can't access the "targets" in the ValueStack.
> Another way I tried, was to use afterNotifyTopics and redirect the data to 
> what I want - but that didn't work either. (Problem with the stream result)
>
> Can someone give me a hint, how I can possibly solve it?
> I even thought about modifying the freemarker template for the anchor tag - 
> but I couldn't find the right spot, where to do it.
>
> Any help appreciated!
>
> Kind regards
> Jan
>
> -
> 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
>



-- 
"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: Commercial framework based on struts2.

2009-07-07 Thread Musachy Barroso
hum, and I never thought there was a demand for something like
this...maybe we should do something about it :)

@OP: I haven't seen any product like this.

musachy

On Tue, Jul 7, 2009 at 10:06 AM, sharath karnati wrote:
> HI Bharath,
>
>    I know Struts2 is a framework but I'm looking like customized tags like 
> dataTable,panelGrids and so on
>
>    All tags should support AJAX functionality without doing any coding... 
> Please check Icefaces for example which is built on top of JSF and giving 
> more UI tags
>
> Thanks,
> Sharath.
>
> --- On Tue, 7/7/09, Bhaarat Sharma  wrote:
>
>
> From: Bhaarat Sharma 
> Subject: Re: Commercial framework based on struts2.
> To: "Struts Users Mailing List" 
> Date: Tuesday, July 7, 2009, 12:24 PM
>
>
> Struts 2 IS a framework
>
> On Tue, Jul 7, 2009 at 12:20 PM, sharath karnati  wrote:
>
>> Dear All,
>>
>>    I'm looking for chimerical framework which is built on top of struts2,
>> with having AJAX support tags. I know struts2 comes with DOJO but we need to
>> write lot of coding which we'd like to avoid and we are planning to purchase
>> chimerical product with support.
>>
>>    Similar to Icefaces which is build on JSF technology.
>>
>>    Can anyone please let me know. If you have price details then please
>> include that also...
>>
>> Thanks,
>> Sharath.
>>
>>
>>
>>
>>
>
>
>
>



-- 
"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



[S2.1.2] sx:div targets AKA sx:a targets

2009-07-07 Thread Jan Fröhlich
Wrong subject! ;)



Von: Jan Fröhlich [mailto:jan.froehl...@infomotion.de]
Gesendet: Di 07.07.2009 16:55
An: Struts Users Mailing List
Betreff: [S2.1.2] sx:div targets



Hi all,

I've seen this topic beeing discussed several times already, but I didn't find 
a solution that works for me.

What I already got:
I invoke an action with a sx:a (targets="dialogContainer"). The action opens a 
document and has two possible return values: "prompt" and "download".
"prompt" means, that there are several information necessary before the 
document can be downloaded. It is type="tiles".
"download" means, that the document is ready for download. It is type="stream".

On the "prompt" page is a finish button, that has no targets set, so the 
download starts fine.
If the action returns "download" immediately it shows the stream in the 
specified "dialogContainer".

What I need is to modify the targets value out of my action.

I tried it from within the action and with an interceptor, but it seems like I 
can't access the "targets" in the ValueStack.
Another way I tried, was to use afterNotifyTopics and redirect the data to what 
I want - but that didn't work either. (Problem with the stream result)

Can someone give me a hint, how I can possibly solve it?
I even thought about modifying the freemarker template for the anchor tag - but 
I couldn't find the right spot, where to do it.

Any help appreciated!

Kind regards
Jan

-
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

Re: Commercial framework based on struts2.

2009-07-07 Thread sharath karnati
HI Bharath,
 
   I know Struts2 is a framework but I'm looking like customized tags like 
dataTable,panelGrids and so on
 
   All tags should support AJAX functionality without doing any coding... 
Please check Icefaces for example which is built on top of JSF and giving more 
UI tags
 
Thanks,
Sharath.

--- On Tue, 7/7/09, Bhaarat Sharma  wrote:


From: Bhaarat Sharma 
Subject: Re: Commercial framework based on struts2.
To: "Struts Users Mailing List" 
Date: Tuesday, July 7, 2009, 12:24 PM


Struts 2 IS a framework

On Tue, Jul 7, 2009 at 12:20 PM, sharath karnati  wrote:

> Dear All,
>
>    I'm looking for chimerical framework which is built on top of struts2,
> with having AJAX support tags. I know struts2 comes with DOJO but we need to
> write lot of coding which we'd like to avoid and we are planning to purchase
> chimerical product with support.
>
>    Similar to Icefaces which is build on JSF technology.
>
>    Can anyone please let me know. If you have price details then please
> include that also...
>
> Thanks,
> Sharath.
>
>
>
>
>



  

Re: Commercial framework based on struts2.

2009-07-07 Thread Bhaarat Sharma
Struts 2 IS a framework

On Tue, Jul 7, 2009 at 12:20 PM, sharath karnati  wrote:

> Dear All,
>
>I'm looking for chimerical framework which is built on top of struts2,
> with having AJAX support tags. I know struts2 comes with DOJO but we need to
> write lot of coding which we'd like to avoid and we are planning to purchase
> chimerical product with support.
>
>Similar to Icefaces which is build on JSF technology.
>
>Can anyone please let me know. If you have price details then please
> include that also...
>
> Thanks,
> Sharath.
>
>
>
>
>


Commercial framework based on struts2.

2009-07-07 Thread sharath karnati
Dear All,
 
   I'm looking for chimerical framework which is built on top of struts2, with 
having AJAX support tags. I know struts2 comes with DOJO but we need to write 
lot of coding which we'd like to avoid and we are planning to purchase 
chimerical product with support.
 
   Similar to Icefaces which is build on JSF technology. 
 
   Can anyone please let me know. If you have price details then please include 
that also...
 
Thanks,
Sharath.
 
   


  

Re: Ajax Basics

2009-07-07 Thread Martin Uhlir

Hi,

have a look at this plugin for Struts2 
http://code.google.com/p/struts2-jquery/wiki/DatePickerTag

Just drop the the jar into WEB-INF/lib and you are ready to go.

Martin



Richard Gundersen wrote:

Hi

 


I'm trying to get the datetimepicker working in my app. It's Struts 2
but it's totally non-AJAX at the moment. I also don't know anything
about AJAX to make matters worse. 

 

Please could someone tell me 

 


a)   what extra jars (dojo/json etc) do I need to pop into WEB-INF?
I don't mind which provider I use (Dojo, Prototype etc) as long as it
works.

b)  any other config to add to struts.xml?

c)   JSP tags (in addition to ) such as  


I've read quite a few articles saying how easy it is, but they all do
things slightly differently. If someone could tell me how to get the
basics configured, so that my datetimepicker works, I'd be grateful. 

 


Thanks


  



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



[OT] Return Hashmap java object from servlet

2009-07-07 Thread Ashish Kulkarni
HiIs it possible to return Hashmap object from java Servlet,  What kind of
ContentType can i set to the response?

The other option is to set data from HashMap into XML and return it as XML
file.

for example.

I have servlet like below

public class ReturnObjectServlet extends HttpServlet
{
public void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException
{

processResponse(request, response);
}

public void doPost(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException
{

processResponse(request, response);
}

private void processResponse(HttpServletRequest request,
HttpServletResponse response) throws ServletException, IOException
{

   Map map1 = new HashMap();
   map1.put("ABC", "XYZ");
   map1.put("ABC2", "XYZ");
   map1.put("ABC3", "XYZ");

// What kind of response type can i set??
 response.setContentType("text/xml; charset=UTF-8");
 PrintWriter out = response.getWriter();
 out.print(map1);
 out.close();

}


}


[S2.1.2] sx:div targets

2009-07-07 Thread Jan Fröhlich
Hi all,

I've seen this topic beeing discussed several times already, but I didn't find 
a solution that works for me.

What I already got:
I invoke an action with a sx:a (targets="dialogContainer"). The action opens a 
document and has two possible return values: "prompt" and "download".
"prompt" means, that there are several information necessary before the 
document can be downloaded. It is type="tiles".
"download" means, that the document is ready for download. It is type="stream".

On the "prompt" page is a finish button, that has no targets set, so the 
download starts fine.
If the action returns "download" immediately it shows the stream in the 
specified "dialogContainer".

What I need is to modify the targets value out of my action.

I tried it from within the action and with an interceptor, but it seems like I 
can't access the "targets" in the ValueStack.
Another way I tried, was to use afterNotifyTopics and redirect the data to what 
I want - but that didn't work either. (Problem with the stream result)

Can someone give me a hint, how I can possibly solve it?
I even thought about modifying the freemarker template for the anchor tag - but 
I couldn't find the right spot, where to do it.

Any help appreciated!

Kind regards
Jan

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



Ajax Basics

2009-07-07 Thread Richard Gundersen
Hi

 

I'm trying to get the datetimepicker working in my app. It's Struts 2
but it's totally non-AJAX at the moment. I also don't know anything
about AJAX to make matters worse. 

 

Please could someone tell me 

 

a)   what extra jars (dojo/json etc) do I need to pop into WEB-INF?
I don't mind which provider I use (Dojo, Prototype etc) as long as it
works.

b)  any other config to add to struts.xml?

c)   JSP tags (in addition to ) such as 

Re: help please

2009-07-07 Thread Wes Wannemacher
Which version of Struts/XWork are you using?

Are you extending the ActionSupport class? Also, if you are using a
fairly recent version of Struts, you should use var rather than id on
the s:iterator tag.

-Wes

On Tue, Jul 7, 2009 at 8:25 AM, taj uddin wrote:
> Hi all,
>  when I am trying to render my jsp I am getting the following error on my 
> server console. Please help me in resolving this. The error is coming at 
> xworks action class. I am unable to understand why this error is coming. 
> Thanking you .
>
> I hope the following code of jsp is giving this error
> 
>
>           
>          
>           
>             
>            
> 
>            
>           
>            />
>           
>        value="true" theme="simple"/>
>       
>       
>         value="false" theme="simple"/>
>       
>             
>           
>          
>           
>
>           
>           
>             
>           
>             />
>              
> 
>           
>           
>              name="b1rep.eeEvaluation" /> 
>               
> 
>           
>             
>           
>           
>
>           
>   ___end of jsp code_
>
> 17:03:48,181 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
> java.lang.NullPointerException
>   at 
> com.opensymphony.xwork2.util.LocalizedTextUtil.findText(LocalizedTextUtil.java:466)
>   at 
> com.opensymphony.xwork2.TextProviderSupport.getText(TextProviderSupport.java:224)
>   at com.opensymphony.xwork2.ActionSupport.getText(ActionSupport.java:99)
>   at org.apache.struts2.components.Text.end(Text.java:158)
>   at 
> org.apache.struts2.views.jsp.ComponentTagSupport.doEndTag(ComponentTagSupport.java:43)
>   at 
> org.apache.jsp.nfpa.ttool.viewB1TableReport_jsp._jspx_meth_s_005ftext_005f4(viewB1TableReport_jsp.java:382)
>   at 
> org.apache.jsp.nfpa.ttool.viewB1TableReport_jsp._jspx_meth_s_005fiterator_005f0(viewB1TableReport_jsp.java:169)
>   at 
> org.apache.jsp.nfpa.ttool.viewB1TableReport_jsp._jspService(viewB1TableReport_jsp.java:95)
>   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>   at 
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
>   at 
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336)
>   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>   at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>   at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>   at 
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654)
>   at 
> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:445)
>   at 
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379)
>   at 
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:292)
>   at 
> org.apache.struts2.dispatcher.ServletDispatcherResult.doExecute(ServletDispatcherResult.java:139)
>   at 
> org.apache.struts2.dispatcher.StrutsResultSupport.execute(StrutsResultSupport.java:178)
>   at 
> com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:348)
>   at 
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:253)
>   at 
> com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:221)
>   at 
> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
>   at 
> com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
>   at 
> com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
>   at 
> com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
>   at 
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
>   at 
> com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:150)
>   at 
> org.apache.struts2.interc

help please

2009-07-07 Thread taj uddin
Hi all,
 when I am trying to render my jsp I am getting the following error on my 
server console. Please help me in resolving this. The error is coming at xworks 
action class. I am unable to understand why this error is coming. Thanking you .
 
I hope the following code of jsp is giving this error

          
          
         
          
            
           
    
            
            
          
          
      
      
      
       
           
          
            
          
         
          
          
          
          
            
          
            
             
          
          
              
              

          
            
             
           
           
          
  ___end of jsp code_ 
 
17:03:48,181 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException
  at 
com.opensymphony.xwork2.util.LocalizedTextUtil.findText(LocalizedTextUtil.java:466)
  at 
com.opensymphony.xwork2.TextProviderSupport.getText(TextProviderSupport.java:224)
  at com.opensymphony.xwork2.ActionSupport.getText(ActionSupport.java:99)
  at org.apache.struts2.components.Text.end(Text.java:158)
  at 
org.apache.struts2.views.jsp.ComponentTagSupport.doEndTag(ComponentTagSupport.java:43)
  at 
org.apache.jsp.nfpa.ttool.viewB1TableReport_jsp._jspx_meth_s_005ftext_005f4(viewB1TableReport_jsp.java:382)
  at 
org.apache.jsp.nfpa.ttool.viewB1TableReport_jsp._jspx_meth_s_005fiterator_005f0(viewB1TableReport_jsp.java:169)
  at 
org.apache.jsp.nfpa.ttool.viewB1TableReport_jsp._jspService(viewB1TableReport_jsp.java:95)
  at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
  at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
  at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336)
  at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
  at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654)
  at 
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:445)
  at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379)
  at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:292)
  at 
org.apache.struts2.dispatcher.ServletDispatcherResult.doExecute(ServletDispatcherResult.java:139)
  at 
org.apache.struts2.dispatcher.StrutsResultSupport.execute(StrutsResultSupport.java:178)
  at 
com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:348)
  at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:253)
  at 
com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:221)
  at 
com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
  at 
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
  at 
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
  at 
com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
  at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
  at 
com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:150)
  at 
org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:48)
  at 
com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
  at 
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
  at 
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
  at 
com.opensymphon

[s2] Custom field validator with params containing OGNL expression

2009-07-07 Thread Cristian Peraferrer
Hi!

I have implemented a field validator that validates the username is
not already in the database (to avoid overwriting).
But in the validator call (or configuration), I need to pass a
parameter that is another field in the form. Here my code:


  ${enterprise.enterpriseId}
  This username is already taken.


The 'userId' is a Long value. I have tested putting a hardcoded long
value (34) and it worked, but
it doesn't like the OGNL expression. What I'm doing wrong?

Thanks in advance,
Cristian.

-- 
GPG Key-ID: 0x564903FA - JID: corell...@swissjabber.ch

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



Fwd: Re: Struts project deployment

2009-07-07 Thread Iratxe Lejarreta
Hi,

I tried to send the image attached but it doesn't appear in the list.
I error page is here: http://img31.imageshack.us/img31/980/welcomea.jpg
The version of Struts is 1.2.9 and Weblogic 10.3.
Thanks,

--
Iratxe Lejarreta
www.axios.es


--  Forwarded Message  --

Subject: Re: Struts project deployment
Date: Tuesday 07 July 2009
From: Iratxe Lejarreta 
To: user@struts.apache.org

On Monday 06 July 2009 02:43:20 pm Greg Lindholm wrote:
> > When I deploy a struts project with Weblogic the result is a welcome page
> > but with strange symbols.
> >
> >
> > Does anyone know why?
> >
> >
> > I attach the result page.
> >
> >
> > Thanks in advance.
> >
> >
> > Regards,
> >
> >
> > --
> > Iratxe Lejarreta
> > www.axios.es
>
> Attachments don't get included with the mailing list.
> You will need to include everything you send inline.
> If you want help you really should include all the relevant information
> such as which version of Struts and your configuration etc.

Ok, I forgot to send the attachment.
The version of Struts is 1.2.9 and Weblogic 10.3.
Thanks,

-- 
Iratxe Lejarreta
www.axios.es

---

-- 
Iratxe Lejarreta
www.axios.es