Dear everyone,
I know this may not be the problem of struts, but you guys may knows the answer.
I am using Liferay portal 5.2.3 and I want to overwrite a method in a
liferay source class. Therefore I have created my own Wrapper class
and I want it to be used.
I realised I need to separate the
Hi,
Can anyone tell me why use tiles-defs?
I used traditional structs from an Action class forward/redirect to
a jsp file.
With tiles-defs, I just simply added code to this file to achieve
the url redirection.
Case scenario:
I want to forward to two different search jsp files from another jsp
Hi,
sorry this is not a Struts specific question, but I am working on a
JSP file that is related to the Struts.
I believe most of you guys are using JSP with struts, so I hope I can
get some help here.
I want to declare a String 2-dimensional array in JSP as follow:
String cat_sections[] =
Hi,
I got the followiong error when I tried to compile it with Ant:
# ant
Buildfile: build.xml
compile:
[javac] Compiling 2 source files to
/usr/liferay-portal-5.2.3/dev/portlets/sample-datagrid/docroot/WEB-INF/classes
[javac]
Hi,
Can anyone show me a link where I can download the example source
codes from the following link:
http://struts.improve-technologies.com/faqs/lists.html
Very appreciate for any answers.
Thanks
Sam
-
To unsubscribe, e-mail:
Newtonnewton.d...@yahoo.com wrote:
Sam Wun wrote:
Can anyone show me a link where I can download the example source
codes from the following link:
http://struts.improve-technologies.com/faqs/lists.html
http://struts.improve-technologies.com/download.html
, Dave Newtonnewton.d...@yahoo.com wrote:
Sam Wun wrote:
Can anyone show me a link where I can download the example source
codes from the following link:
http://struts.improve-technologies.com/faqs/lists.html
http://struts.improve-technologies.com/download.html
I thought the project owner read this mailing list?
On Wed, Jul 22, 2009 at 1:20 PM, Dave Newtonnewton.d...@yahoo.com wrote:
Sam Wun wrote:
For example, where is the source code for collections.do?
Here is the link for the example demo, but there is no source code.
http://struts.improve
Hi,
here are the offending lines in my jsp file:
html:form submit onsubmit=return submitFunction() value=Sign In /
html:form submit onsubmit=return submitFunction() value=Cancel Checkout /
html:form submit onsubmit=return submitFunction() value=New Visitor /
Errors on console:
yah, this is old school answers. :D
I have resolved the problem already by applying old school technique. :D
On Fri, Jun 26, 2009 at 6:21 PM, Nils-Helge Garli
Hegviknil...@gmail.com wrote:
Don't have any more ideas, but generally, the message cannot find
bean in any scope means exactly what it
Hi,
There are 3 buttons on the jsp web page, first one is submit (sign
in), another one is Cancel, the third one is something else. I used
html:cancel for the Cancel and something else.
I also included this.isCancelled() conditional check in the execute()
method; as well as included
I just tried your suggestion,
it doesn't work.
The page flow is:
RedirectAction - RedirectHelpAction - RedirectStep3Action
Here is the RedirectAction.java file:
import org.apache.commons.logging.LogFactory;
import javax.portlet.ActionRequest;
import javax.portlet.ActionResponse;
import
Like I have said before, if I manually navigated to the
RedirectHellpForm page , then reload the first page (RedirectForm),
and press the Submit button from the RedirectForm, it can find the
name of RedirectHelpForm.
My questions is how can I setAttribute(RedirectHelpForm ...) before
navigated to
Hi,
Can anyone help me please?
I got this errors:
12:42:04,269 INFO [PluginPackageUtil:1391] Finished checking for
available updates in 3 ms
12:42:14,020 ERROR [PortletRequestDispatcherImpl:316]
org.apache.jasper.JasperException: javax.servlet.ServletException:
javax.servlet.jsp.JspException:
Hi,
I noticed the setAttribute() method is called too late in one of my
Action class:
import javax.portlet.PortletConfig;
import javax.portlet.RenderRequest;
import javax.portlet.RenderResponse;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import
How to do that with session?
I am currently setting it in the execute() and render method with the
following code:
req.setAttribute(RedirectHelpForm, redirectHelpForm);
but this is for request rather than session?
Thanks for the suggesion.
sam
On Thu, Jun 25, 2009 at 3:09 PM, Nils-Helge Garli
Dear all,
I have a problem when I click a submit button of a page, it doesn't go
straight to the next desired page.
Here is my little project:
Firstly, I want to show you how it supposed to flow:
Input page - Help page
But the problem is it does go to the Help page when I click the submit
button
sorry for the typo, I meant it DOESN't go to the Help page when I
click the submit button on the Input page.
On Wed, Jun 24, 2009 at 12:10 AM, Sam Wunswun2...@gmail.com wrote:
Dear all,
I have a problem when I click a submit button of a page, it doesn't go
straight to the next desired page.
Dear all,
I was trying to going from one JSP page to another, where each JSP
page has a submit button... and a Form bean as well.
But when I click a submit button on the first JSP page, it said that
the second Form bean is not found in the second JSP page.
The workflow is supposed to be:
Hi,
Can anyone tell me where can I downnload struts (2) UI Tags library?
Thanks
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
Hi,
I actually want to use the struts UI tags s:, but I don't know
where to download the library from.
Hereis the code I want to implement:
s:textfield label=City name=city /
s:textfield label=State name=state /
tr
tdZip+4/td !-- Manually outputting our label --
td
Hi,
I am very new to struts.
I am wondering how to format the text on the submit button with html class?
I tried to do something like this:
html:submit value=Cancel Checkout
html:param class=jc_tran_input/
/html:submit
or
html:submit value=Cancel Checkout
Dear all,
I have a Registration form, when user click a Sign in button, the
OrderAction.java is supposed redirect it to another page, but
currently it stay on the same page (the registration form).
Please refer to the following codes:
-- OrderAction.java
/** @struts.action name=OrderForm
Hi, thanks for the suggestion.
How to turn the validation off?
Thanks
2009/6/22 Paweł Wielgus poulw...@gmail.com:
Hi Sam,
it is most likely caused by validation,
turn it off if that is the what You want to do.
Best greetings,
Paweł Wielgus.
2009/6/22 Sam Wun swun2...@gmail.com:
Dear
)
What are those funny quot surrounded the path user_info.jsp file?
Thanks for the help
2009/6/22 Sam Wun swun2...@gmail.com:
Hi, thanks for the suggestion.
How to turn the validation off?
Thanks
2009/6/22 Paweł Wielgus poulw...@gmail.com:
Hi Sam,
it is most likely caused by validation
What debugger can you suggest?
I also wantn to debug struts in portal, but when there is problem in a
protlet, if there is no error msg in the protal log file, I can't see
anything wrong in the portal page, because the portal simply refresh
the portal page and show the first page.
On Tue, Jun 23,
Dear all,
I am a bit confused about generating mapping in the structs-config.xml
file (with Xdoclet).
Currently, I am getting this error:
15:55:47,890 INFO [PluginPackageUtil:1391] Finished checking for
available updates in 2 ms
15:55:54,284 ERROR [PortletRequestDispatcherImpl:316]
Hi,
I tried generate a validation.xml file with form name, field
property, msg name, and key in the file, but it doesn't generate
these information in the file from the struts tags given in my
ActionForm java file.
Here is the java soruce file I have:
package com.XYZ.onlinepayment.portlet;
Dear all,
Can anyone tell me what is wrong with the following errors:
00:05:59,378 ERROR [PortletRequestDispatcherImpl:316]
org.apache.jasper.JasperException:
/html/portlet/onlinepayment_portlet/order.jsp(1,1) File
/WEB-INF/tld/struts-bean.tld not found
org.apache.jasper.JasperException:
when you can't get to sleep.
On Sat, Jun 20, 2009 at 7:42 PM, Sam Wun swun2...@gmail.com wrote:
Dear all,
Can anyone tell me what is wrong with the following errors:
00:05:59,378 ERROR [PortletRequestDispatcherImpl:316]
org.apache.jasper.JasperException:
/html/portlet
the configurations from the web.xml file?
Sam Wun wrote:
Here is the jsp file load the tld files:
%
/**
%@ taglib uri=http://java.sun.com/portlet_2_0; prefix=portlet %
%@ taglib uri=http://struts.apache.org/tags-bean; prefix=bean %
%@ taglib uri=http://struts.apache.org/tags-html; prefix=html %
%@ taglib
is really just organized lightning.
On Sat, Jun 20, 2009 at 8:57 PM, Sam Wun swun2...@gmail.com wrote:
thanks for the response.
I moved the following taglib lines into the /** ***/ area in the jsp
file, and the recompile/deploy with ant. It still give me the same
errors.
Here is the jsp file load
://www.brainyquote.com/quotes/authors/g/george_carlin.html
- Electricity is really just organized lightning.
On Sat, Jun 20, 2009 at 8:57 PM, Sam Wun swun2...@gmail.com wrote:
thanks for the response.
I moved the following taglib lines into the /** ***/ area in the jsp
file, and the recompile/deploy
understand why it still complained.
Is a problem in my path setting, thus it can't find my OrderForm.class?
Thanks
On Sun, Jun 21, 2009 at 6:13 AM, Dave Newtonnewton.d...@yahoo.com wrote:
Did you un-comment the taglib directives?
Sam Wun wrote:
Hi,
Thanks for the instruction. It works after
/henny_youngman.html
- I told the doctor I broke my leg in two places. He told me to quit
going
to those places.
On Sun, Jun 21, 2009 at 10:24 AM, Sam Wun swun2...@gmail.com wrote:
Opps. I commented out the taglibs in a jsp file.
Added back in, now got antoehr problem with the getters:
14:48
Hi,
I have an Action java source code with package at the top of the
file. When I put the package line in the file, ant couldn't generate
any content in all *.xml files.
If I remove the package line from the java source code, all xml files
are generated, but without path (that come after the
Hi, I just installed xdoclet and created a build.xml file (shown below),
but execution of ant command failed with the followoing errors:
# ant
Buildfile: build.xml
compile:
BUILD FAILED
/usr/liferay/liferay-portal-5.2.2/dev/portlets/online-payment/build.xml:14:
Reference xdocpath not found.
I think you guys are using Xdoclet with Struts?
On Mon, Jun 15, 2009 at 1:27 AM, Dave Newtonnewton.d...@yahoo.com wrote:
I think you sent this to the wrong mailing list.
Dave
Sam Wun wrote:
Hi, I just installed xdoclet and created a build.xml file (shown below),
but execution of ant
.
Dave
Sam Wun wrote:
Hi, I just installed xdoclet and created a build.xml file (shown
below),
but execution of ant command failed with the followoing errors:
# ant
Buildfile: build.xml
compile:
BUILD FAILED
/usr/liferay/liferay-portal-5.2.2/dev/portlets/online
Hi,
I have some problem using Struts with JSP.
I got an error here:
org.apache.jasper.JasperException: An exception occurred processing
JSP page /html/portlet/contact_us_portlet/input.jsp at line 35
32:
33: logic:messagesPresent
34: span class=es-error
35: bean:message
Hi,
What are the most popular classes to be used in Struts?
Thanks
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Hi,
I am new to Eclipse and Struts.
When I tried to follow the tutorial as shown in the following link:
http://www.laliluna.de/first-steps-using-struts-tutorial.html
my newly created project in Eclipse don't have Struts libraries in the list.
What should I do to import Struts in to Eclipse?
- Original Message
From: Dave Newton [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Wednesday, April 2, 2008 11:46:06 PM
Subject: Re: Eclipse with struts
--- Sam Wun [EMAIL PROTECTED] wrote:
When I tried to follow the tutorial as shown in the following
43 matches
Mail list logo