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 bean
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 j
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[] = {"IP6
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]
/usr/liferay-portal-5.2.3/dev/portlets/sample-datagrid/docr
I thought the "project owner" read this mailing list?
On Wed, Jul 22, 2009 at 1:20 PM, Dave Newton 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 co
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-technologies.com/struts-layout/examples/collections.do?reqCode=view
Thanks
Sam
On Wed, Jul 22, 2009 at 12:18 PM, Sam Wun wrote:
> Just downloa
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
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: u
Hi,
here are the offending lines in my jsp file:
Errors on console:
org.apache.jasper.JasperException:
/html/portlet/onlinepayment_portlet/sign_in.jsp(110,18) equal symbol
expected
org.apache.jasper.JasperException:
/html/portlet/onlinepayment_portlet/sign_in.jsp(110,18) equal symbol
expecte
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
for the Cancel and something else.
I also included this.isCancelled() conditional check in the execute()
method; as well as included canecellable="true" in th
the request/response cycle is
> a little bit different in a portlet than in a regular web application,
> so you might have to re-think what you're trying to do.
>
> Nils-H
>
> On Thu, Jun 25, 2009 at 10:05 AM, Sam Wun wrote:
>> Like I have said before, if I "manually&
rectHelpForm" ...) before
navigated to the RedirectHelpForm page??
thanks
Sam
On Thu, Jun 25, 2009 at 5:17 PM, Sam Wun wrote:
> I just tried your suggestion,
> it doesn't work.
> The page flow is:
> RedirectAction -> RedirectHelpAction -> RedirectStep3Action
lic ActionForward render(
ActionMapping mapping, ActionForm form,
PortletConfig config,
RenderRequest req, RenderResponse res)
throws Exception {
return mapping.findForward("help");
}
}
On Thu, Jun 2
kind of id as a render parameter and
> re-fetch the object in the render phase.
>
> Nils-H
>
> On Thu, Jun 25, 2009 at 7:03 AM, Sam Wun wrote:
>> Hi,
>>
>> I noticed the setAttribute() method is called too late in one of my
>> Action class:
>>
>&
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 org
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: Ca
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:
RedirectF
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 Wun wrote:
> Dear all,
>
> I have a problem when I click a submit button of a page, it doesn't go
> straight to the
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
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,
ttpServlet.java:717)
What are those funny " surrounded the path user_info.jsp file?
Thanks for the help
2009/6/22 Sam Wun :
> Hi, thanks for the suggestion.
> How to turn the validation off?
>
> Thanks
>
>
> 2009/6/22 Paweł Wielgus :
>> Hi Sam,
>> it is most like
Hi, thanks for the suggestion.
How to turn the validation off?
Thanks
2009/6/22 Paweł Wielgus :
> 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 :
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" path=
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:
or
but it has errors.
Here is a list of struts libs I included in the jsp file:
<%@ taglib uri="http://struts.apach
Hi,
I actually want to use the struts UI tags "
Zip+4
"
Thanks
On Mon, Jun 22, 2009 at 6:46 PM, Sam Wun wrote:
> Hi,
>
> Can anyone tell me where can I downnload struts (2) UI Tags
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 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.portl
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]
org.apa
han the property name.
> and check again.
>
>
> Regards,
> -
> Girish Naik
> Mobile:-+91-09740091638
> girish.n...@gmail.com
> Henny
> Youngman<http://www.brainyquote.com/quotes/authors/h/henny_youngman.
;";
this.email_address="";
this.shipping_address="";
this.billing_address="";
}
...
}
I have already defined a set of getters/setters methods, I don't
understand why it still complained.
Is a problem in my path setting, thus it can't fin
Sun, Jun 21, 2009 at 3:15 AM, Sam Wun wrote:
> Hi,
>
> Thanks for the instruction. It works after removed the struts-bean
> lines in web.xml and the lines in jsp files.
> But now I can't display message from the struts tags as shown below:
> The message "This is Order pa
-
> Girish Naik
> Mobile:-+91-09740091638
> girish.n...@gmail.com
> George Carlin<http://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 wrote:
>
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&
efix="bean" %>
>
>
> Regards,
> -
> Girish Naik
> Mobile:-+91-09740091638
> girish.n...@gmail.com
> Fran Lebowitz<http://www.brainyquote.com/quotes/authors/f/fran_lebowitz.html>
> - "Life is so
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:
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 word
gt; On Mon, Jun 15, 2009 at 1:27 AM, Dave Newton 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 fil
I think you guys are using Xdoclet with Struts?
On Mon, Jun 15, 2009 at 1:27 AM, Dave Newton 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),
>> bu
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.
Tota
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:
34:
35:
36:
37:
38:
I am writing a customer Contact form.
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
- Original Message
From: Dave Newton <[EMAIL PROTECTED]>
To: Struts Users Mailing List
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 followi
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?
Tha
43 matches
Mail list logo