Re: Re : datetimepicker ....unable to get it working :(

2008-12-29 Thread Rafał Krupiński

François Rouxel pisze:

I had many problems with dateTimePicker when I was using struts 2.0.xxx
From the moment  I used struts 2.1.xxx, everything has worked perfectly well.

I hope I have helped...


I couldn't make datetimepicker working in struts 2.1 but it works in 
latest 2.0.

And I'm using tiles and css_xhtml theme :-)

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



Re: Message properties not displaying

2008-12-29 Thread taj uddin

Hi,
Try using this code:

--- On Tue, 12/30/08, Gordian Yuan  wrote:
From: Gordian Yuan 
Subject: Re: Message properties not displaying
To: "Struts Users Mailing List" , cel...@yahoo.com
Date: Tuesday, December 30, 2008, 1:26 AM

Hi, Celinio
do you declare



or

 ?

you can simple try 

On Sun, Dec 28, 2008 at 5:44 PM, Celinio Fernandes 
wrote:

> Hi,
> I am trying to display a label using messages in a property file
> src/global-messages.properties :
> personBean.firstName=Your first name
>
> (The default locale i am using is en_US)
>
> In struts.xml i declared it :
>   
>
> In a JSP i try do display a label :
>
> 
>
> The HTML code generated is :
>  
> The text is missing.
>
> Does anyone have an idea what the problem might be ?
> Thanks
>
>
>
>
>
>



  

Re: call javascript from jsp

2008-12-29 Thread m.harig

found the solution myself.

 
 ,
 
-- 
View this message in context: 
http://www.nabble.com/call-javascript-from-jsp-tp21213462p21213697.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: Message properties not displaying

2008-12-29 Thread Gordian Yuan
Hi, Celinio
do you declare



or

 ?

you can simple try 

On Sun, Dec 28, 2008 at 5:44 PM, Celinio Fernandes  wrote:

> Hi,
> I am trying to display a label using messages in a property file
> src/global-messages.properties :
> personBean.firstName=Your first name
>
> (The default locale i am using is en_US)
>
> In struts.xml i declared it :
>   
>
> In a JSP i try do display a label :
>
> 
>
> The HTML code generated is :
>  
> The text is missing.
>
> Does anyone have an idea what the problem might be ?
> Thanks
>
>
>
>
>
>


Re: Struts2 Error.

2008-12-29 Thread Gordian Yuan
http://struts.apache.org/2.x/docs/simple-setup.html
Your can just add minium requirement for your application

The following files are a minium requirement for your application.
FilenameDescriptionstruts2-core.jarFramework library itself, found in
distribution root directoryxwork.jarXWork 2 library on which Struts 2 is
built (version 2.0 or later)ognl.jarObject Graph Navigation Language (OGNL),
the expression language used throughout the frameworkfreemarker.jarAll UI
tag templates are written in Freemarker (also a good option for your own
views)commons-logging.jarCommons logging, which the framework uses to
support transparently logging to either Log4J or JDK 1.4+web.xmlJava web
application configuration file that defines the filters (and other
components) for your web applicationstruts.xmlFramework configuration file
that defines the actions, results, and interceptors for your application

If any Struts 2 Plugins are included, then other JARs may be needed too. For
example, the optional Spring Plugin requires the Spring JARs to be present.

On Wed, Dec 24, 2008 at 4:19 PM, Srinivasan KS  wrote:

> hi,
> I am trying to run the struts2 sample application. I am using Jdeveloper
> 11g
> IDE with weblogic server.
>
> I am getting this error, when I am running the application.
>
>  user defined filter in web.xml:
> org.apache.struts2.dispatcher.FilterDispatcher.
> Unable to load bean: type: class:com.opensymphony.xwork2.ObjectFactory -
> bean -
>
> zip:C:/oracle/Middleware/jdeveloper/system/system11.1.1.0.31.51.88/DefaultDomain/servers/DefaultServer/tmp/_WL_user/ts1/m52x67/war/WEB-INF/lib/struts2-core-2.0.14.jar!/struts-default.xml:30:72
>  at
>
> com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:208)
>  at
>
> org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:101)
>  at
>
> com.opensymphony.xwork2.config.impl.DefaultConfiguration.reload(DefaultConfiguration.java:131)
>  at
>
> com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:52)
>  at
>
> org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:395)
>  Truncated. see log file for complete stacktrace
> Bean type class com.opensymphony.xwork2.ObjectFactory with the name xwork
> has already been loaded by bean -
>
> zip:D:/srini-personal/struts-2.0.1.4-sample-blank/strutsblank/public_html/WEB-INF/lib/struts2-core-2.0.14.jar!/struts-default.xml:30:72
> - bean -
>
> zip:C:/oracle/Middleware/jdeveloper/system/system11.1.1.0.31.51.88/DefaultDomain/servers/DefaultServer/tmp/_WL_user/ts1/m52x67/war/WEB-INF/lib/struts2-core-2.0.14.jar!/struts-default.xml:30:72
>  at
>
> com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:193)
>  at
>
> org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:101)
>  at
>
> com.opensymphony.xwork2.config.impl.DefaultConfiguration.reload(DefaultConfiguration.java:131)
>  at
>
> com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:52)
>  at
>
> org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:395)
>  Truncated. see log file for complete stacktrace
> Kindly let me know the reason for this.
>
> Thanks.
>
> Srinivasan
>


call javascript from jsp

2008-12-29 Thread m.harig

hello all

 



   this is my condition  : my Formbean has
question,questionid , how do i pass those two fields when i click my check
box to a javascript function . please anyone help me.


-- 
View this message in context: 
http://www.nabble.com/call-javascript-from-jsp-tp21213462p21213462.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



DisplayTag 1.2 released

2008-12-29 Thread Paul Benedict
If you are an avid fan of DisplayTag, you should know that version 1.2
was just released!

http://displaytag.sourceforge.net/1.2/

Paul

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



Re : datetimepicker ....unable to get it working :(

2008-12-29 Thread François Rouxel
first you have to read this
http://cwiki.apache.org/S2WIKI/troubleshooting-guide-migrating-from-struts-20x-to-21x.html

then here some example from my project




and don't forget 

 

  




- Message d'origine 
De : Richa Pandharikar 
À : Struts Users Mailing List 
Envoyé le : Lundi, 29 Décembre 2008, 19h26mn 47s
Objet : RE: datetimepicker unable to get it working :(

François,

Would it be possible for you to post the code snippet for the datetimepicker
with struts 2.1.2?

Thanks,
Richa

-Original Message-
From: François Rouxel [mailto:rouxe...@yahoo.com] 
Sent: Monday, December 29, 2008 4:16 PM
To: Struts Users Mailing List; richa.pandhari...@tdktech.com
Subject: Re : datetimepicker unable to get it working :(

I had many problems with dateTimePicker when I was using struts 2.0.xxx
From the moment  I used struts 2.1.xxx, everything has worked perfectly
well.

I hope I have helped...






- Message d'origine 
De : Richa Pandharikar 
À : Struts Users Mailing List ;
richa.pandhari...@tdktech.com
Envoyé le : Lundi, 29 Décembre 2008, 16h59mn 42s
Objet : RE: datetimepicker unable to get it working :(

One more thing worth mentioning - I am using result of type "tiles", not
sure it has to do something with the control not being rendered.

Please help...

-Original Message-
From: Richa Pandharikar [mailto:richa.pandhari...@tdktech.com] 
Sent: Monday, December 29, 2008 3:55 PM
To: 'Struts Users Mailing List'
Subject: RE: datetimepicker unable to get it working :(

No changestill getting the same results.

In IE I am getting error - dojo is undefined.
FF3 - No Error but control is not getting loaded.



-Original Message-
From: d...@holstein.com [mailto:d...@holstein.com] 
Sent: Monday, December 29, 2008 3:47 PM
To: Struts Users Mailing List
Subject: Re: datetimepicker unable to get it working :(



Try putting the  inside html  tags.

JSP -
<%@ include file="/WEB-INF/pages/common/standard-includes.jsp" %>








  





This e-mail and any files transmitted with it are confidential and intended
solely for the use of the individual(s) or entity to whom they are
addressed.
If you receive this e-mail in error please notify postmas...@holstein.com.


-
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



-
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



-
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: datetimepicker ....unable to get it working :(

2008-12-29 Thread Richa Pandharikar
François,

Would it be possible for you to post the code snippet for the datetimepicker
with struts 2.1.2?

Thanks,
Richa

-Original Message-
From: François Rouxel [mailto:rouxe...@yahoo.com] 
Sent: Monday, December 29, 2008 4:16 PM
To: Struts Users Mailing List; richa.pandhari...@tdktech.com
Subject: Re : datetimepicker unable to get it working :(

I had many problems with dateTimePicker when I was using struts 2.0.xxx
>From the moment  I used struts 2.1.xxx, everything has worked perfectly
well.

I hope I have helped...

 




- Message d'origine 
De : Richa Pandharikar 
À : Struts Users Mailing List ;
richa.pandhari...@tdktech.com
Envoyé le : Lundi, 29 Décembre 2008, 16h59mn 42s
Objet : RE: datetimepicker unable to get it working :(

One more thing worth mentioning - I am using result of type "tiles", not
sure it has to do something with the control not being rendered.

Please help...

-Original Message-
From: Richa Pandharikar [mailto:richa.pandhari...@tdktech.com] 
Sent: Monday, December 29, 2008 3:55 PM
To: 'Struts Users Mailing List'
Subject: RE: datetimepicker unable to get it working :(

No changestill getting the same results.

In IE I am getting error - dojo is undefined.
FF3 - No Error but control is not getting loaded.



-Original Message-
From: d...@holstein.com [mailto:d...@holstein.com] 
Sent: Monday, December 29, 2008 3:47 PM
To: Struts Users Mailing List
Subject: Re: datetimepicker unable to get it working :(



Try putting the  inside html  tags.

JSP -
<%@ include file="/WEB-INF/pages/common/standard-includes.jsp" %>








  





This e-mail and any files transmitted with it are confidential and intended
solely for the use of the individual(s) or entity to whom they are
addressed.
If you receive this e-mail in error please notify postmas...@holstein.com.


-
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



-
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



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



RE: datetimepicker ....unable to get it working :(

2008-12-29 Thread Richa Pandharikar
Ok...I upgraded struts version from 2.0.14 to 2.1.2. Rectified errors with
the tag lib and theme changes and was hoping to see the calendar control
rendered. 

But still the bad luck continues!!

Now the error that I am getting is - 
djConfig is not defined

Re : datetimepicker ....unable to get it working :(

2008-12-29 Thread François Rouxel
I had many problems with dateTimePicker when I was using struts 2.0.xxx
From the moment  I used struts 2.1.xxx, everything has worked perfectly well.

I hope I have helped...

  




- Message d'origine 
De : Richa Pandharikar 
À : Struts Users Mailing List ; 
richa.pandhari...@tdktech.com
Envoyé le : Lundi, 29 Décembre 2008, 16h59mn 42s
Objet : RE: datetimepicker unable to get it working :(

One more thing worth mentioning - I am using result of type "tiles", not
sure it has to do something with the control not being rendered.

Please help...

-Original Message-
From: Richa Pandharikar [mailto:richa.pandhari...@tdktech.com] 
Sent: Monday, December 29, 2008 3:55 PM
To: 'Struts Users Mailing List'
Subject: RE: datetimepicker unable to get it working :(

No changestill getting the same results.

In IE I am getting error - dojo is undefined.
FF3 - No Error but control is not getting loaded.



-Original Message-
From: d...@holstein.com [mailto:d...@holstein.com] 
Sent: Monday, December 29, 2008 3:47 PM
To: Struts Users Mailing List
Subject: Re: datetimepicker unable to get it working :(



Try putting the  inside html  tags.

JSP -
<%@ include file="/WEB-INF/pages/common/standard-includes.jsp" %>








  





This e-mail and any files transmitted with it are confidential and intended
solely for the use of the individual(s) or entity to whom they are
addressed.
If you receive this e-mail in error please notify postmas...@holstein.com.


-
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



-
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: datetimepicker ....unable to get it working :(

2008-12-29 Thread Richa Pandharikar
One more thing worth mentioning - I am using result of type "tiles", not
sure it has to do something with the control not being rendered.

Please help...

-Original Message-
From: Richa Pandharikar [mailto:richa.pandhari...@tdktech.com] 
Sent: Monday, December 29, 2008 3:55 PM
To: 'Struts Users Mailing List'
Subject: RE: datetimepicker unable to get it working :(

No changestill getting the same results.

In IE I am getting error - dojo is undefined.
FF3 - No Error but control is not getting loaded.



-Original Message-
From: d...@holstein.com [mailto:d...@holstein.com] 
Sent: Monday, December 29, 2008 3:47 PM
To: Struts Users Mailing List
Subject: Re: datetimepicker unable to get it working :(



Try putting the  inside html  tags.

JSP -
<%@ include file="/WEB-INF/pages/common/standard-includes.jsp" %>








  





This e-mail and any files transmitted with it are confidential and intended
solely for the use of the individual(s) or entity to whom they are
addressed.
 If you receive this e-mail in error please notify postmas...@holstein.com.


-
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



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



RE: datetimepicker ....unable to get it working :(

2008-12-29 Thread Richa Pandharikar
No changestill getting the same results.

In IE I am getting error - dojo is undefined.
FF3 - No Error but control is not getting loaded.



-Original Message-
From: d...@holstein.com [mailto:d...@holstein.com] 
Sent: Monday, December 29, 2008 3:47 PM
To: Struts Users Mailing List
Subject: Re: datetimepicker unable to get it working :(



Try putting the  inside html  tags.

JSP -
<%@ include file="/WEB-INF/pages/common/standard-includes.jsp" %>








  





This e-mail and any files transmitted with it are confidential and intended
solely for the use of the individual(s) or entity to whom they are
addressed.
 If you receive this e-mail in error please notify postmas...@holstein.com.


-
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: datetimepicker ....unable to get it working :(

2008-12-29 Thread DEck


Try putting the  inside html  tags.

JSP -
<%@ include file="/WEB-INF/pages/common/standard-includes.jsp" %>








  





This e-mail and any files transmitted with it are confidential and intended
solely for the use of the individual(s) or entity to whom they are addressed.
 If you receive this e-mail in error please notify postmas...@holstein.com.


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



datetimepicker ....unable to get it working :(

2008-12-29 Thread Richa Pandharikar

Hi,
Below is the JSP and the Action class. I have tried most of the possible
solutions posted on nabble sie as well as in the posts those I found through
google. I am still uable to load the datetimepicker control in IE as well as
FF.

JSP - 
<%@ include file="/WEB-INF/pages/common/standard-includes.jsp" %>




  



Action Class - 
public class DetailedTimesheetReportAction extends ActionSupport 
{
private static final Log logger =
LogFactory.getLog(DetailedTimesheetReportAction.class);
private Date periodEndDate;


public String defaultReport()
{
logger.info("Inside Report - defaultReport");
//get the weekend for the current week i.e. the coming Sunday


return SUCCESS;
}

public String createDetailedReport()
{

return SUCCESS;
}

public Date getPeriodEndDate() {
return periodEndDate;
}

public void setPeriodEndDate(Date periodEndDate) {
this.periodEndDate = periodEndDate;
}
}

What is wrong? Can anyone point out the mistake???
-- 
View this message in context: 
http://www.nabble.com/datetimepicker-unable-to-get-it-working-%3A%28-tp21209537p21209537.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: Warning: Spring Security and FileUploadInterceptor filter order

2008-12-29 Thread Musachy Barroso
could you add this to the wiki? thanks for letting us know.

musachy

On Mon, Dec 29, 2008 at 1:19 PM, dusty  wrote:
>
> Hello,
>
> This vexed me, so I thought I would share to help anyone stuck with
> something similar
>
> I have Spring Security protecting my Struts2 app.  Originally I had my
> filters setup like this:
>
>struts-prepare
>/*
>
>
>securityFilter
>/*
>
>
>sitemesh
>/*
>
>
>lazyLoadingFilter
>/*
>
>
>struts-execute
>/*
>
>
> The problem is that the FileUploadInterceptor looks at the request and tries
> to cast it to the Struts2 wrapper MultiPartRequestWrapper.  With the Spring
> Security filter where it is above, the Struts2 dispatcher wraps the request
> (when it detects multipart/form-data)  but then Spring Security builds its
> own request wrapper class for the request.  The FileUploadInterceptor
> doesn't think its a MultiPartRequest and doesn't populate the setters on
> your action.
>
> The answer is to put Spring Security first:
>
>securityFilter
>/*
>
>
>struts-prepare
>/*
>
>
>sitemesh
>/*
>
>
>lazyLoadingFilter
>/*
>
>
>struts-execute
>/*
>
>
> This way Spring Security does its thing and then Struts builds its wrapper
> after the user is authenticated.  Knowing what I know now it seems obvious
> to put the Spring Security filter first, but I guess it wasn't that obvious
> to me originally.  So maybe someone else will miss that as well and somehow
> google this post
> --
> View this message in context: 
> http://www.nabble.com/Warning%3A--Spring-Security-and-FileUploadInterceptor-filter-order-tp21207025p21207025.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
>
>



-- 
"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: Spring Security and FileUploadInterceptor filter order

2008-12-29 Thread Nils-Helge Garli Hegvik
Hi!

If you think you have found a bug in Struts 2, please register an
issue in the issue tracker at
https://issues.apache.org/struts/secure/Dashboard.jspa

Thanks.

Nils-H

On Mon, Dec 29, 2008 at 7:19 PM, dusty  wrote:
>
> Hello,
>
> This vexed me, so I thought I would share to help anyone stuck with
> something similar
>
> I have Spring Security protecting my Struts2 app.  Originally I had my
> filters setup like this:
>
>struts-prepare
>/*
>
>
>securityFilter
>/*
>
>
>sitemesh
>/*
>
>
>lazyLoadingFilter
>/*
>
>
>struts-execute
>/*
>
>
> The problem is that the FileUploadInterceptor looks at the request and tries
> to cast it to the Struts2 wrapper MultiPartRequestWrapper.  With the Spring
> Security filter where it is above, the Struts2 dispatcher wraps the request
> (when it detects multipart/form-data)  but then Spring Security builds its
> own request wrapper class for the request.  The FileUploadInterceptor
> doesn't think its a MultiPartRequest and doesn't populate the setters on
> your action.
>
> The answer is to put Spring Security first:
>
>securityFilter
>/*
>
>
>struts-prepare
>/*
>
>
>sitemesh
>/*
>
>
>lazyLoadingFilter
>/*
>
>
>struts-execute
>/*
>
>
> This way Spring Security does its thing and then Struts builds its wrapper
> after the user is authenticated.  Knowing what I know now it seems obvious
> to put the Spring Security filter first, but I guess it wasn't that obvious
> to me originally.  So maybe someone else will miss that as well and somehow
> google this post
> --
> View this message in context: 
> http://www.nabble.com/Warning%3A--Spring-Security-and-FileUploadInterceptor-filter-order-tp21207025p21207025.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
>
>

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



Warning: Spring Security and FileUploadInterceptor filter order

2008-12-29 Thread dusty

Hello,

This vexed me, so I thought I would share to help anyone stuck with
something similar

I have Spring Security protecting my Struts2 app.  Originally I had my
filters setup like this:

struts-prepare
/*


securityFilter
/*


sitemesh
/*


lazyLoadingFilter
/*


struts-execute
/*


The problem is that the FileUploadInterceptor looks at the request and tries
to cast it to the Struts2 wrapper MultiPartRequestWrapper.  With the Spring
Security filter where it is above, the Struts2 dispatcher wraps the request
(when it detects multipart/form-data)  but then Spring Security builds its
own request wrapper class for the request.  The FileUploadInterceptor
doesn't think its a MultiPartRequest and doesn't populate the setters on
your action.

The answer is to put Spring Security first:

securityFilter
/*


struts-prepare
/*


sitemesh
/*


lazyLoadingFilter
/*


struts-execute
/*


This way Spring Security does its thing and then Struts builds its wrapper
after the user is authenticated.  Knowing what I know now it seems obvious
to put the Spring Security filter first, but I guess it wasn't that obvious
to me originally.  So maybe someone else will miss that as well and somehow
google this post
-- 
View this message in context: 
http://www.nabble.com/Warning%3A--Spring-Security-and-FileUploadInterceptor-filter-order-tp21207025p21207025.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



Tree view component in struts 2

2008-12-29 Thread Johnson nickel

Hi all,

  I'm using struts 2.0.6, Is it possible to  implement tree view
structure. I have gone thro' 
struts 2 website. Documentation is not clear. Moreover static tree example ,
i want the 
sample documentation ,tutorial for dynamic tree data are getting from
database.

  
-- 
View this message in context: 
http://www.nabble.com/Tree-view-component-in-struts-2-tp21202560p21202560.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: html:multibox problem

2008-12-29 Thread m.harig

thanks Mr.Seshagiri V , sorry .. this is my code

 ArrayList alist = new ArrayList();
 for(int i=1;i<=3;i++){
  User user = new User();
  user.setName("test"+i);
   alist.add(user);
 }

how do get the values and display it on my jsp using
.. please any1 let me know..
-- 
View this message in context: 
http://www.nabble.com/html%3Amultibox-problem-tp21202094p21202411.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: html:multibox problem

2008-12-29 Thread Seshagiri V
Hi,
We are thinking user object set the attribute name is same. But we are
getting set last name 'test3' only.
Please do  diff name attributes and then  added ArrayLlist then use diff
property value in jsp page.

 

Thank you,
Seshagiri V
seshagi...@kensium.com. 
 
US Main: 877 KENSIUM (536.7486)
US Fax:   312.242.3029
 
Kensium
200 S Wacker Dr, Suite 3100
Chicago, IL 60606
 
Confidentiality Note:
-
The information contained in this e-mail is strictly confidential and for
the intended use of the addressee only. Any disclosure, use or copying of
the information by anyone other than the intended recipient is prohibited.
If you have received this message in error, please notify the sender
immediately by return e-mail and securely discard this message.
 
 
-Original Message-
From: m.harig [mailto:m.ha...@gmail.com] 
Sent: Monday, December 29, 2008 5:10 PM
To: user@struts.apache.org
Subject: html:multibox problem


hello all

 I've got a ArrayList in my ActionForm like 

   ArrayList alist = new ArrayList();
  User user = new User();
  user.setName("test1");
  user.setName("test2");
  user.setName("test3");
   alist.add(user);

 how do i get these User values into my multibox in jsp
page. can any1 pl send me the code
-- 
View this message in context:
http://www.nabble.com/html%3Amultibox-problem-tp21202094p21202094.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

Internal Virus Database is out of date.
Checked by AVG - http://www.avg.com 
Version: 8.0.176 / Virus Database: 270.10.0/1862 - Release Date: 12/23/2008
12:08 PM


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



html:multibox problem

2008-12-29 Thread m.harig

hello all

 I've got a ArrayList in my ActionForm like 

   ArrayList alist = new ArrayList();
  User user = new User();
  user.setName("test1");
  user.setName("test2");
  user.setName("test3");
   alist.add(user);

 how do i get these User values into my multibox in jsp
page. can any1 pl send me the code
-- 
View this message in context: 
http://www.nabble.com/html%3Amultibox-problem-tp21202094p21202094.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: how to access differenct form ?

2008-12-29 Thread Lukasz Lenart
2008/12/22 shrimpywu :
> in the page, i want to create a jspf for menu, and all the page just need to
> include it.
> but for different page, the form is different, how can i read the same value
> from different form?\

Base all your form classes on the same base SuperActionForm with
fields you need and in that SuperAction cast ActionForm to that
SuperActionForm.


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

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



Re: Hi.. some advice please.

2008-12-29 Thread Paweł Wielgus
Hi Ilan,
as for Date fields my users prefer simple text field over picker,
so i have no real experience with them.

If there's a picker that suits Your needs,
simply take it and use it, and if there's not
write Your own plugable jsp that deals with that.

Best greetings,
Paweł Wielgus.


2008/12/29 Ilan :
> 2008/12/29 Paweł Wielgus 
>
>> Hi Ilan,
>> i'm using struts 1.x for about 6 years inside 3 big web apps,
>> one of those is public and have no problems with performance.
>> All of them are constantly developed and gain new functionalities all the
>> time.
>> S1 has anything that i need, but s2 makes it easier - that's the main
>> difference for me.
>>
>
> Thats good to know. Thanks for the confirmation that Struts 1.3 is not
> obsolete and provides all that I need with good performance.
>
>
>>
>> As for ajax i don't undersand the need for dojo plugin,
>
>
> Well actually my primary concern (before AJAX) is a solid internationalised
> datepicker... And Dojo seems to provide a very nice one in its Dijit
> namespace.
> What do you use for a datepicker?
>
> Thanks,
> Ilan
>
> Best greetings,
>> Paweł Wielgus.
>>
>>
>>
>


Re: Hi.. some advice please.

2008-12-29 Thread Ilan
2008/12/29 Paweł Wielgus 

> Hi Ilan,
> i'm using struts 1.x for about 6 years inside 3 big web apps,
> one of those is public and have no problems with performance.
> All of them are constantly developed and gain new functionalities all the
> time.
> S1 has anything that i need, but s2 makes it easier - that's the main
> difference for me.
>

Thats good to know. Thanks for the confirmation that Struts 1.3 is not
obsolete and provides all that I need with good performance.


>
> As for ajax i don't undersand the need for dojo plugin,


Well actually my primary concern (before AJAX) is a solid internationalised
datepicker... And Dojo seems to provide a very nice one in its Dijit
namespace.
What do you use for a datepicker?

Thanks,
Ilan

Best greetings,
> Paweł Wielgus.
>
>
>


Re: Hi.. some advice please.

2008-12-29 Thread Paweł Wielgus
Hi Ilan,
i'm using struts 1.x for about 6 years inside 3 big web apps,
one of those is public and have no problems with performance.
All of them are constantly developed and gain new functionalities all the time.
S1 has anything that i need, but s2 makes it easier - that's the main
difference for me.

As for ajax i don't undersand the need for dojo plugin,
You can simply use jquery or any other ajax framework with s1 just like with s2.

Best greetings,
Paweł Wielgus.


2008/12/28 Paul Benedict :
> Ilan,
>
> Struts 1 is actively developed and will continue to be so until Struts
> 1 has no more users or committers -- whatever comes first :-) It is a
> time-proven framework and I predict many, many more years of life are
> left in it. Personally, I eventually will be souping up Struts 2's S1
> plugin so that any S1 code will work seamlessly (praying and hoping)
> and natively.
>
> My motto is "no Struts code is obsolete code"
>
> Paul
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>