turbine-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Skondras Panagiotis" <p...@altectelecoms.gr>
Subject RE: action in subpackages
Date Mon, 20 Nov 2006 14:03:00 GMT
Υου have to use $link.setAction("admin.User")  dot instead of comma comma is for templates


-----Original Message-----
From: Mark Wassermann [mailto:mwassermann@mw-net.com] 
Sent: Monday, November 20, 2006 4:02 PM
To: turbine-user@jakarta.apache.org
Subject: action in subpackages

Hi list

I have the following problem with turbine 2.3.2:

I want to use subpackages in modules.actions, but I caan not adress them like I do it with
screens.
$link.setAction("admin,User") produces the URL:
"http://localhost:8080/urkdb/app/action/admin%2CUser"
and I get the following error :

java.lang.ClassNotFoundException: Requested Action not found: admin,User Turbine looked in
the following modules.packages path:
[org.apache.turbine.modules, mwn.urkdb.modules] at
org.apache.turbine.modules.ActionLoader.getInstance(ActionLoader.java:151)
at org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:99) at
org.apache.turbine.modules.pages.DefaultPage.doBuild(DefaultPage.java:113)
at org.apache.turbine.modules.Page.build(Page.java:53) at
org.apache.turbine.modules.PageLoader.exec(PageLoader.java:101) at
org.apache.turbine.Turbine.doGet(Turbine.java:789) at
org.apache.turbine.Turbine.doPost(Turbine.java:884) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:833)
at
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:639)
at
org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1285)
at java.lang.Thread.run(Unknown Source)

Is this not supported, or did I something wrong?

thx for help
Mark

-- 
 Mark Wassermann            @: mwassermann@mw-net.com




---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org


Disclaimer
The information in this e-mail and any attachments is confidential. It is intended solely
for the attention and use of the named addressee(s). If you are not the intended recipient,
or person responsible for delivering this information to the intended recipient, please notify
the sender immediately. Unless you are the intended recipient or his/her representative you
are not authorized to, and must not, read, copy, distribute, use or retain this message or
any part of it. E-mail transmission cannot be guaranteed to be secure or error-free as information
could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses.


---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org


Mime
View raw message