struts2 dojo

2011-03-11 Thread steev-dev

 I'm new in struts 2 in my form i use the Datetimepicker and autocompleter
components in Struts2 dojo-plugin-2.2.1.1. my problem is when I execute my
project in tomcat these components dosnt appear in the display. then i used
firebug Under  firefox to discover the error so i have error:
djConfig.searchIds is undefined and
Uncaught TypeError: Can not call method 'push' of undefined
please help me?

-- 
View this message in context: 
http://old.nabble.com/struts2-dojo-tp31123840p31123840.html
Sent from the Struts - Dev mailing list archive at Nabble.com.


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



Re: struts2 dojo

2011-03-11 Thread Johannes Geppert

Do you have included the sx:head / tag in your head area?

Johannes



steev-dev wrote:
 
  I'm new in struts 2 in my form i use the Datetimepicker and autocompleter
 components in Struts2 dojo-plugin-2.2.1.1. my problem is when I execute my
 project in tomcat these components dosnt appear in the display. then i
 used firebug Under  firefox to discover the error so i have error:
 djConfig.searchIds is undefined and
 Uncaught TypeError: Can not call method 'push' of undefined
 please help me?
 
 


-
--- 
web: http://www.jgeppert.com
twitter: http://twitter.com/jogep

-- 
View this message in context: 
http://old.nabble.com/struts2-dojo-tp31123840p31123887.html
Sent from the Struts - Dev mailing list archive at Nabble.com.


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



RE: Why is the method property read only inside an interceptor? [OT]

2011-03-11 Thread Jason Pyeron
 -Original Message-
 From: Dave Newton
 Sent: Thursday, March 10, 2011 22:33
 To: Struts Developers List
 Cc: Jason Pyeron
 Subject: Re: Why is the method property read only inside an 
 interceptor?
 
 On Thu, Mar 10, 2011 at 10:26 PM, Jason Pyeron jpye...@pdinc.us 
 wrote:
  http://www.lmgtfy.com/?q=20080407P00
 
 You expect people to do a Google search to find your copyright license 
 (which is only marginally longer than the line that references it)?
 Lol.

I think the whole email required legal stuff is a waste of time.

--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-   -
- Jason Pyeron  PD Inc. http://www.pdinc.us -
- Principal Consultant  10 West 24th Street #100-
- +1 (443) 269-1555 x333Baltimore, Maryland 21218   -
-   -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.

 



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



Re: struts2 dojo

2011-03-11 Thread steev-dev



steev-dev wrote:
 
  I'm new in struts 2 in my form i use the Datetimepicker and autocompleter
 components in Struts2 dojo-plugin-2.2.1.1. my problem is when I execute my
 project in tomcat these components dosnt appear in the display. then i
 used firebug Under  firefox to discover the error so i have error:
 djConfig.searchIds is undefined and
 Uncaught TypeError: Can not call method 'push' of undefined
 please help me?
 
 
 yes i have included sx:head/ 
  here is my code :
 %@ taglib prefix=s uri=/struts-tags%
%@ taglib prefix=sx uri=/struts-dojo-tags%
!DOCTYPE html PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
http://www.w3.org/TR/html4/loose.dtd;
html
head

 sx:head /
   
   
/head
body  
  s:form action=addEffectif method=post

 
 sx:datetimepicker  name=BirthDay label=birthDay
displayFormat=dd/MM/ /
sx:datetimepicker name=delivery.date label=Delivery Date
displayFormat=-MM-dd  value=%{'2010-01-01'}/

s:submit value=Add effectif align=center/
  /s:form
/body
/html
-- 
View this message in context: 
http://old.nabble.com/struts2-dojo-tp31123840p31124233.html
Sent from the Struts - Dev mailing list archive at Nabble.com.


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



Re: struts2 dojo

2011-03-11 Thread steev-dev

but without result
-- 
View this message in context: 
http://old.nabble.com/struts2-dojo-tp31123840p31124263.html
Sent from the Struts - Dev mailing list archive at Nabble.com.


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



Re: struts2 dojo

2011-03-11 Thread steev-dev



Johannes Geppert wrote:
 
 Do you have included the sx:head / tag in your head area?
 
 Johannes
 
 
 
 steev-dev wrote:
 
  I'm new in struts 2 in my form i use the Datetimepicker and
 autocompleter components in Struts2 dojo-plugin-2.2.1.1. my problem is
 when I execute my project in tomcat these components dosnt appear in the
 display. then i used firebug Under  firefox to discover the error so i
 have error: djConfig.searchIds is undefined and
 Uncaught TypeError: Can not call method 'push' of undefined
 please help me?
 
 
 
 

yes i have included sx:head debug=true  /  
but i have error : Uncaught ReferenceError: dojo is not defined
-- 
View this message in context: 
http://old.nabble.com/struts2-dojo-tp31123840p31124364.html
Sent from the Struts - Dev mailing list archive at Nabble.com.


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



Re: struts2 dojo

2011-03-11 Thread Dave Newton
Have you verified the dojo scripts are being loaded?

(And you're aware the dojo plugin was deprecated some time ago, correct?)

Dave
 On Mar 11, 2011 6:53 AM, steev-dev anouar...@yahoo.fr wrote:



 Johannes Geppert wrote:

 Do you have included the sx:head / tag in your head area?

 Johannes



 steev-dev wrote:

 I'm new in struts 2 in my form i use the Datetimepicker and
 autocompleter components in Struts2 dojo-plugin-2.2.1.1. my problem is
 when I execute my project in tomcat these components dosnt appear in the
 display. then i used firebug Under firefox to discover the error so i
 have error: djConfig.searchIds is undefined and
 Uncaught TypeError: Can not call method 'push' of undefined
 please help me?





 yes i have included sx:head debug=true /
 but i have error : Uncaught ReferenceError: dojo is not defined
 --
 View this message in context:
http://old.nabble.com/struts2-dojo-tp31123840p31124364.html
 Sent from the Struts - Dev mailing list archive at Nabble.com.


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



Re: struts2 dojo

2011-03-11 Thread Johannes Geppert

How looks your filter configuration?
Do you have the filter configured only for *.action 
or also for the reccources?

Johannes


steev-dev wrote:
 
 
 
 Johannes Geppert wrote:
 
 Do you have included the sx:head / tag in your head area?
 
 Johannes
 
 
 
 steev-dev wrote:
 
  I'm new in struts 2 in my form i use the Datetimepicker and
 autocompleter components in Struts2 dojo-plugin-2.2.1.1. my problem is
 when I execute my project in tomcat these components dosnt appear in the
 display. then i used firebug Under  firefox to discover the error so i
 have error: djConfig.searchIds is undefined and
 Uncaught TypeError: Can not call method 'push' of undefined
 please help me?
 
 
 
 
 
 yes i have included sx:head debug=true  /  
 but i have error : Uncaught ReferenceError: dojo is not defined
 


-
--- 
web: http://www.jgeppert.com
twitter: http://twitter.com/jogep

-- 
View this message in context: 
http://old.nabble.com/struts2-dojo-tp31123840p31124534.html
Sent from the Struts - Dev mailing list archive at Nabble.com.


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



Re: struts2 dojo

2011-03-11 Thread Martin Cooper
Please move this thread to the user list. Thanks.

--
Martin Cooper


On Fri, Mar 11, 2011 at 4:17 AM, Johannes Geppert jo...@apache.org wrote:

 How looks your filter configuration?
 Do you have the filter configured only for *.action
 or also for the reccources?

 Johannes


 steev-dev wrote:



 Johannes Geppert wrote:

 Do you have included the sx:head / tag in your head area?

 Johannes



 steev-dev wrote:

  I'm new in struts 2 in my form i use the Datetimepicker and
 autocompleter components in Struts2 dojo-plugin-2.2.1.1. my problem is
 when I execute my project in tomcat these components dosnt appear in the
 display. then i used firebug Under  firefox to discover the error so i
 have error: djConfig.searchIds is undefined and
 Uncaught TypeError: Can not call method 'push' of undefined
 please help me?





 yes i have included sx:head debug=true  /
 but i have error : Uncaught ReferenceError: dojo is not defined



 -
 ---
 web: http://www.jgeppert.com
 twitter: http://twitter.com/jogep

 --
 View this message in context: 
 http://old.nabble.com/struts2-dojo-tp31123840p31124534.html
 Sent from the Struts - Dev mailing list archive at Nabble.com.


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



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



Re: struts2 dojo

2011-03-11 Thread steev-dev



Johannes Geppert wrote:
 
 How looks your filter configuration?
 Do you have the filter configured only for *.action 
 or also for the reccources?
 
 Johannes
 
 
 steev-dev wrote:
 
 
 
 Johannes Geppert wrote:
 
 Do you have included the sx:head / tag in your head area?
 
 Johannes
 
 
 
 steev-dev wrote:
 
  I'm new in struts 2 in my form i use the Datetimepicker and
 autocompleter components in Struts2 dojo-plugin-2.2.1.1. my problem is
 when I execute my project in tomcat these components dosnt appear in
 the display. then i used firebug Under  firefox to discover the error
 so i have error: djConfig.searchIds is undefined and
 Uncaught TypeError: Can not call method 'push' of undefined
 please help me?
 
 
 
 
 
 yes i have included sx:head debug=true  /  
 but i have error : Uncaught ReferenceError: dojo is not defined
 
 
 

i use last release of struts 2 is struts 2.2.1.1 and
struts-dojo-plugin2.2.1.1 so my file web.xml is :
?xml version=1.0 encoding=UTF-8?
web-app xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xmlns=http://java.sun.com/xml/ns/javaee;
xmlns:web=http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd;
xsi:schemaLocation=http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd; id=WebApp_ID
version=3.0
  display-nameDRH/display-name 
  
  context-param
param-name
org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG /param-name
param-value/WEB-INF/tiles.xml/param-value
  /context-param 
  listener
listener-classorg.apache.struts2.tiles.StrutsTilesListener
/listener-class
  /listener


  filter
filter-namestruts2/filter-name
   
filter-classorg.apache.struts2.dispatcher.FilterDispatcher/filter-class
 
  /filter
  filter-mapping
filter-namestruts2/filter-name
url-pattern/*/url-pattern
  /filter-mapping
/web-app 
 errors are: 
dojo is not defined
[Stopper sur une erreur] dojo.hostenv.writeIncludes(true); 

djConfig.searchIds is undefined
-- 
View this message in context: 
http://old.nabble.com/struts2-dojo-tp31123840p31125777.html
Sent from the Struts - Dev mailing list archive at Nabble.com.


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



removing comments from documentation in confluence

2011-03-11 Thread Wes Wannemacher
Do we remove comments from confluence if/when we make changes that
address the comments?

So, I just made a quick change to address comments here -

https://cwiki.apache.org/confluence/display/WW/hidden

Should I remove the comments since they are no longer relevant? Or, do
we leave them there for posterity?

-Wes

-- 
Wes Wannemacher

Head Engineer, WanTii, Inc.
Need Training? Struts, Spring, Maven, Tomcat...
Ask me for a quote!

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



RE: Tomcat 7 supported?

2011-03-11 Thread Martin Gainty

Guys-
i have a solution for TC7 support

[INFO] Building jar: 
$STRUTS2_HOME/src/plugins/embeddedjsp/target/struts2-embeddedjsp-plugin-2.2.1.1.jar
[DEBUG] adding directory META-INF/
[DEBUG] adding entry META-INF/MANIFEST.MF
[DEBUG] adding directory org/
[DEBUG] adding directory org/apache/
[DEBUG] adding directory org/apache/struts2/
[DEBUG] adding directory org/apache/struts2/compiler/
[DEBUG] adding directory org/apache/struts2/el/
[DEBUG] adding directory org/apache/struts2/el/lang/
[DEBUG] adding directory org/apache/struts2/el/parser/
[DEBUG] adding directory org/apache/struts2/el/util/
[DEBUG] adding directory org/apache/struts2/jasper/
[DEBUG] adding directory org/apache/struts2/jasper/compiler/
[DEBUG] adding directory org/apache/struts2/jasper/compiler/tagplugin/
[DEBUG] adding directory org/apache/struts2/jasper/el/
[DEBUG] adding directory org/apache/struts2/jasper/resources/
[DEBUG] adding directory org/apache/struts2/jasper/runtime/
[DEBUG] adding directory org/apache/struts2/jasper/security/
[DEBUG] adding directory org/apache/struts2/jasper/servlet/
[DEBUG] adding directory org/apache/struts2/jasper/tagplugins/
[DEBUG] adding directory org/apache/struts2/jasper/tagplugins/jstl/
[DEBUG] adding directory org/apache/struts2/jasper/tagplugins/jstl/core/
[DEBUG] adding directory org/apache/struts2/jasper/util/
[DEBUG] adding directory org/apache/struts2/jasper/xmlparser/
[DEBUG] adding entry LICENSE.txt
[DEBUG] adding entry org/apache/struts2/compiler/MemoryClassLoader.class
[DEBUG] adding entry org/apache/struts2/compiler/MemoryJavaFileObject.class
[DEBUG] adding entry org/apache/struts2/el/ExpressionFactoryImpl.class
[DEBUG] adding entry 
org/apache/struts2/el/lang/ELArithmetic$BigDecimalDelegate.class
[DEBUG] adding entry 
org/apache/struts2/el/lang/ELArithmetic$BigIntegerDelegate.class
[DEBUG] adding entry 
org/apache/struts2/el/lang/ELArithmetic$DoubleDelegate.class
[DEBUG] adding entry org/apache/struts2/el/lang/ELArithmetic$LongDelegate.class
[DEBUG] adding entry org/apache/struts2/el/lang/ELArithmetic.class
[DEBUG] adding entry org/apache/struts2/el/lang/ELSupport.class
[DEBUG] adding entry org/apache/struts2/el/lang/EvaluationContext.class
[DEBUG] adding entry org/apache/struts2/el/lang/ExpressionBuilder.class
[DEBUG] adding entry org/apache/struts2/el/lang/FunctionMapperFactory.class
[DEBUG] adding entry 
org/apache/struts2/el/lang/FunctionMapperImpl$Function.class
[DEBUG] adding entry org/apache/struts2/el/lang/FunctionMapperImpl.class
[DEBUG] adding entry org/apache/struts2/el/lang/VariableMapperFactory.class
[DEBUG] adding entry org/apache/struts2/el/lang/VariableMapperImpl.class
[DEBUG] adding entry org/apache/struts2/el/MethodExpressionImpl.class
[DEBUG] adding entry org/apache/struts2/el/MethodExpressionLiteral.class
[DEBUG] adding entry org/apache/struts2/el/parser/ArithmeticNode.class
[DEBUG] adding entry org/apache/struts2/el/parser/AstAnd.class
[DEBUG] adding entry org/apache/struts2/el/parser/AstBracketSuffix.class
[DEBUG] adding entry org/apache/struts2/el/parser/AstChoice.class
[DEBUG] adding entry org/apache/struts2/el/parser/AstCompositeExpression.class
[DEBUG] adding entry org/apache/struts2/el/parser/AstDeferredExpression.class
[DEBUG] adding entry org/apache/struts2/el/parser/AstDiv.class
[DEBUG] adding entry org/apache/struts2/el/parser/AstDotSuffix.class
[DEBUG] adding entry org/apache/struts2/el/parser/AstDynamicExpression.class
[DEBUG] adding entry org/apache/struts2/el/parser/AstEmpty.class
[DEBUG] adding entry org/apache/struts2/el/parser/AstEqual.class
[DEBUG] adding entry org/apache/struts2/el/parser/AstFalse.class
[DEBUG] adding entry org/apache/struts2/el/parser/AstFloatingPoint.class
[DEBUG] adding entry org/apache/struts2/el/parser/AstFunction.class
[DEBUG] adding entry org/apache/struts2/el/parser/AstGreaterThan.class
[DEBUG] adding entry org/apache/struts2/el/parser/AstGreaterThanEqual.class
[DEBUG] adding entry org/apache/struts2/el/parser/AstIdentifier.class
[DEBUG] adding entry org/apache/struts2/el/parser/AstInteger.class
[DEBUG] adding entry org/apache/struts2/el/parser/AstLessThan.class
[DEBUG] adding entry org/apache/struts2/el/parser/AstLessThanEqual.class
[DEBUG] adding entry org/apache/struts2/el/parser/AstLiteralExpression.class
[DEBUG] adding entry org/apache/struts2/el/parser/AstMinus.class
[DEBUG] adding entry org/apache/struts2/el/parser/AstMod.class
[DEBUG] adding entry org/apache/struts2/el/parser/AstMult.class
[DEBUG] adding entry org/apache/struts2/el/parser/AstNegative.class
[DEBUG] adding entry org/apache/struts2/el/parser/AstNot.class
[DEBUG] adding entry org/apache/struts2/el/parser/AstNotEqual.class
[DEBUG] adding entry org/apache/struts2/el/parser/AstNull.class
[DEBUG] adding entry org/apache/struts2/el/parser/AstOr.class
[DEBUG] adding entry org/apache/struts2/el/parser/AstPlus.class
[DEBUG] adding entry org/apache/struts2/el/parser/AstString.class
[DEBUG] adding entry org/apache/struts2/el/parser/AstTrue.class
[DEBUG] adding 

Re: removing comments from documentation in confluence

2011-03-11 Thread Dave Newton
On Fri, Mar 11, 2011 at 5:02 PM, Wes Wannemacher w...@wantii.com wrote:
 Do we remove comments from confluence if/when we make changes that
 address the comments?

 So, I just made a quick change to address comments here -

 https://cwiki.apache.org/confluence/display/WW/hidden

 Should I remove the comments since they are no longer relevant? Or, do
 we leave them there for posterity?

I've brought this up in the past--I'm actually opposed to leaving them
there because I think they create clutter that detracts from a smooth
documentation experience--nobody knows if they have to pay attention
to the comment or not until they read the followup.

If we keep any record of it at all I'd do what you did and create a
JIRA, refer to the commenter if it seems reasonable to, and remove the
comment.

Just my $0.02--I'd just like to keep the online doc experience as
clean as possible, but I acknowledge the need to thank the folks that
comment in some way, because they're helping in a meaningful way.

Dave

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