Re: Struts2 and html select tag problem

2009-10-06 Thread calintz

Problem solved already...i need to set the option to be selected as below
Testing 
Sorry for my stupid question>"<
-- 
View this message in context: 
http://www.nabble.com/Struts2-and-html-select-tag-problem-tp25763661p25764804.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



Struts2 and html select tag problem

2009-10-05 Thread calintz

Hi everyone, I'm having some problems on html select Tag. 

This is part of my jsp code 
   
  
Testing 
  
   

This is part of my action.java 
HttpServletRequest request =
(HttpServletRequest)ActionContext.getContext().get(ServletActionContext.HTTP_REQUEST);
 
String[] deleteList = request.getParameterValues("deleteList"); 

my deleteList is null, which means i'm not able to retrieve data from the
submitted CUD form. Any idea on this issue? 
-- 
View this message in context: 
http://www.nabble.com/Struts2-and-html-select-tag-problem-tp25763661p25763661.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 issues in struts 2.1.6

2009-09-03 Thread calintz



Wes Wannemacher wrote:
> 
> 
> You need to add a namespace parameter, based on the error, I'm
> assuming that you requested either /list or /list.action in your
> browser when the error message was thrown, so change the above to the
> following -
> 
> 
> 
> 
> -Wes
> 
> 
> -- 
> Wes Wannemacher
> 
> Head Engineer, WanTii, Inc.
> Need Training? Struts, Spring, Maven, Tomcat...
> Ask me for a quote!
> 
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
> 
> 
> 

Wes Wannemacher, thx for ur help. But i'm still having the same error.By the
way, is there any workable step-by-step tutorial for learning
struct2-spring-hibernate?


-- 
View this message in context: 
http://www.nabble.com/AJAX-issues-in-struts-2.1.6-tp23584424p25286894.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 issues in struts 2.1.6

2009-09-03 Thread calintz

After changed   to 
i'm having another problem. what should i set for my  ??

this is part of my web.xml


struts2

org.apache.struts2.dispatcher.FilterDispatcher

 
actionPackages 
pages/list.actions 




struts2
/*

---
this is my structs.xml








pages/list.jsp
pages/list.jsp



pages/list.jsp
pages/list.jsp



pages/list.jsp
pages/list.jsp





my error message is 

WARNING: Could not find action or result
There is no Action mapped for namespace / and action name list. - [unknown
location]
at
com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:177)
at
org.apache.struts2.impl.StrutsActionProxy.prepare(StrutsActionProxy.java:61)
at
org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:39)
at
com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:47)
at
org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:458)
at
org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:395)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:112)
at
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Unknown Source)
-- 
View this message in context: 
http://www.nabble.com/AJAX-issues-in-struts-2.1.6-tp23584424p25272908.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 issues in struts 2.1.6

2009-09-03 Thread calintz

Hello everyone, i need help here~

these are my jar files
struts2-dojo-plugin-2.1.6
struts2-core-2.1.6
---

this is my index.jsp
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sx" uri="/struts-dojo-tags" %>





there is a yellow line under the "debug" keyword(Undefined attribute name
"debug").
If i change the http://www.nabble.com/AJAX-issues-in-struts-2.1.6-tp23584424p25271737.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