Yes. Typo .
Thank you.
Gregor
Dale Newfield wrote:
Gregor Marinšek wrote:
s:if test=%{parameter.index.type}=='ENUM'
I assume you meant: %{parameter.index.type=='ENUM'}
-Dale
-
To unsubscribe, e-mail:
This is a continuation of the problem I posted about last week.
?xml version=1.0 encoding=ISO-8859-1 ?
%@ page language=java contentType=text/html; charset=ISO-8859-1
pageEncoding=ISO-8859-1%
%@ taglib prefix=s uri=/struts-tags %
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN
Well I've managed to create something that tests annotation based validations
but it isn't pretty! This does not work for ModelDriven actions as it falls
over with the VisitorFieldValidator not having a config.
Here's an example. First we have the Action to test and then the Unit Test
with all
Hi,
I got one doubt.
Why do we need struts 2 as UI, if we want to have spring as business layer.
Becuase spring also have gud web framework.
Can anybody explain.
Thanks and Regards
Ratna
--
View this message in context:
I get this same phenomenon. running tomcat6.
Is there any solution to this problem?
This issue was filed in struts2's JIRA
http://issues.apache.org/struts/browse/WW-2921
and closed as not a problem. Then what is the solution?
--
View this message in context:
When I upload file
I got
ava.lang.IllegalArgumentException: Cannot invoke
mov.plant.form.MovieOperationAddForm.setFile on bean class 'class
mov.plant.form.MovieOperationAddForm' - argument type mismatch - had
objects of type java.lang.String but expected signature
It's mostly a matter of preference. I prefer Struts 2 over Spring Web
Flow. There are many people who would choose Spring Web Flow thinking
that it will provide better integration with Spring, but Struts 2's
Spring support is top-notch, so it's easy to use Spring DI along with
Struts 2's feature
Hi Wes,
Simple and very imp information Wes.
Thank you very much.
We chat in emails 2 years back regarding Struts2 when i was working in
YODLEE.
Any how nice to meet you again.
Thanks and Regards
Ratna
Wes Wannemacher wrote:
It's mostly a matter of preference. I prefer Struts 2 over Spring
From what I can tell you cannot pass extra parameters with the 'method'
attribute
s:submit type=button label=Display
method=display?templateId=%{#status.index} /
Whatever you specify for method will be taken as the method name.
So it is looking for a method named display?templateId=0 which
I am currently using struts' built in validation functionality but need to
extend it somewhat. Currently I have the following error tag:
html:text property=username maxlength=45 styleId=username/
html:errors property=username /
When there is an error, some html is rendered which tells the user
Hi there!
Well finally got the problem Weblogic when exploding WAR does not
put classes in WEB-INF/classes. That's why ClassFinder (via ClassLoader)
does not find the actions if they are annotated. Does anybody has
workaround for this issue or am I stuck to struts.xml? The first idea i
Hi ,
I am using Struts 2.1.6. I want to show the content a tr only if action
error exists. If not I don't want to show the content of my tr. How do I
check whether action error exists or not in my page? The action error is set
by my action class if there is an error.
I have done to coding (CSS)
I put the following in a DIV at the top of every page:
%@ taglib prefix=s uri=/struts-tags %
s:include value=/pages/common/jsps/header.jsp /
body
div id='top_div'
h1s:text name=co_title//h1
s:include value=/pages/common/jsps/menu.jsp
search the mailing list, I vaguely remember this came up before.
musachy
On Fri, Oct 9, 2009 at 9:16 AM, Gregor Marinšek gmarin...@tis.si wrote:
Hi there!
Well finally got the problem Weblogic when exploding WAR does not put
classes in WEB-INF/classes. That's why ClassFinder (via
I have a request filter that needs to be executed only once during processing
of a request. Unfortunately, whenever another action is included within the
same request using action tag, my request filter is invoked.
How can I prevent invocation of request filter when an action is included
using
It seems like ajaxtags is doing something that xerces doesn't like:
On Fri, Oct 9, 2009 at 10:44 AM, Bruno brun...@gmail.com wrote:
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at
Use the dispatcher element in the filter-mapping element in web.xml, like:
filter-mapping
filter-nameMyFilter/filter-name
url-pattern/*/url-pattern
dispatcherREQUEST/dispatcher
/filter-mapping
On Fri, Oct 9, 2009 at 10:16 AM, Pancham pancham.si...@gmail.com wrote:
Greg Lindholm-2 wrote:
I have thought about extending the DefaultActionMapper to accept a name
parameter with a syntax sorta like:
name=action:myAction:method:MyMethod:param:name=value
I think this would be a useful enhancement. (Maybe someone with more time
on
there hands will
I've followed the instructions at
http://struts.apache.org/2.0.14/docs/actionmapper.html and defined my custom
mapper that extends DefaultActionMapper in struts.xml, but it won't load
because the mapper has already been loaded. I've never tried anything like
this before so I'm at a total loss to
this is how you do it:
bean type=org.apache.struts2.dispatcher.mapper.ActionMapper
class=com.MySuperMapper name=superMapper/
constant name=struts.mapper.class value=superMapper /
musachy
On Fri, Oct 9, 2009 at 2:59 PM, RogerV roger.var...@googlemail.com wrote:
I've followed the instructions
On Monday 05 October 2009 07:37:25 am mailtolouis2020-str...@yahoo.com wrote:
Hi Wes,
I just notice that I can select mirror from the download page, I tried many
different mirrors site, but still the MD5 and PGP link still not work.
Could you give me the mirror you use which is working for
21 matches
Mail list logo