currently, I am not using jstl tags at all inmy application.
Isnt there anyway to achive this using strictly struts2 tags?
On Tue, Jun 2, 2009 at 1:50 AM, Chris Pratt thechrispr...@gmail.com wrote:
You can use the c:forEach tag for that type of iteration.
(*Chris*)
On Mon, Jun 1, 2009 at
i see that musachy added support for this
http://svn.apache.org/viewvc?view=revrevision=741179
Mushacy, is this ready to be used?
On Tue, Jun 2, 2009 at 2:10 AM, Bhaarat Sharma bhaara...@gmail.com wrote:
currently, I am not using jstl tags at all inmy application.
Isnt there anyway to achive
is this a misconfig or a workaround?
in 2.0.x the default behaviour for / is to go to the welcome file list
there is no mention of a change in behaviour in any of these
http://struts.apache.org/2.1.6/docs/version-notes-216.html
http://struts.apache.org/2.1.6/docs/action-configuration.html
I have tiles.xml file where I have definitions.
All these definitions are inherited from base definition that includes title
page.
I want to write in this page some text depending on what definition it was.
Is it possible ?
--
View this message in context:
This works for me
s:iterator value=outerList
tr
s:iterator
tds:property//td
/s:iterator
/tr
/s:iterator
My inner list is a list of Strings.
This code gives me one innerList list per line
Hope this helps,
Steve
-Original Message-
From: DavidCAIT [mailto:dzaze...@cait.org]
Sent: 02
Hi All,
In my jsp code i had used s:file name=uploadFile label=File
size=20 onkeypress = killEvent(event)/ for file upload using IFrame.
Issue: While loading in Mozilla browser, if i click on the text field,
the upload dialog (File Chooser) opens.
I want to open the upload dialog (File
You're not the only one annoyed by this, but it's a security fix. Here's
someone else's opinion on it:
http://codangaems.blogspot.com/2008/06/firefox-3s-file-upload-box.html
And the security vulnerability description:
http://secunia.com/advisories/20442/
Sorry to say, you can't do what you want
Bhaarat Sharma wrote:
Could you or someone else please explain what exactly this line means?
s:iterator value=%{(dataList.size()).{?(#this%2)==(#this/2)}}
/s:iterator
It's explained in the OGNL documentation.
Dave
-
To
Thanks for all your support, after adding the sx:head i could able to work.
But the problem is , while loading the jsp page itslef the url action is
calling. Actually our intention to call the url , when the onchange of the
text field happens. why it is happening like this? I am attaching my jsp
Thanks for the reply.
I am able to display the contents of the nested list (as indicated in your
example). However, I want to make the list contents editable and return them
to the Struts action. For example, something similar to:
s:iterator value=outerList
tr
s:iterator
tds:textfield
I have been assigned a task to introduce spring in struts 2 project. I have
been novice at both technologies. Right now i am going through the project
to analyze what is actually going and i thought to get some advice from
experts sitting across the globe.
What could be the key areas which will
On Tue, Jun 2, 2009 at 9:32 AM, alee amin
mailing.list.mail...@gmail.com wrote:
I have been assigned a task to introduce spring in struts 2 project. I have
been novice at both technologies. Right now i am going through the project
to analyze what is actually going and i thought to get some
Because that's what sx:div does by default; loads a URL via Ajax.
Maybe the preload attribute has what you need.
http://struts.apache.org/2.x/docs/dojo-div.html
rajeevP wrote:
Thanks for all your support, after adding the sx:head i could able to work.
But the problem is , while loading the
alee amin wrote:
I have been assigned a task to introduce spring in struts 2 project. I have
been novice at both technologies. Right now i am going through the project
to analyze what is actually going and i thought to get some advice from
experts sitting across the globe.
What could be the key
Greetings to all.
I am trying to store dynamic parameters through requests. So, I have a
class like this:
public class WebParameter {
private String name;
private String value;
}
and in my Action class I have:
private ListWebParameter webParameters;
then I would like to do
http://struts.apache.org/2.0.14/docs/spring-plugin.html
that works as long as you're autowiring by type e.g.
struts.objectFactory.spring.autoWire = type
ask any implementation questions here
Martin Gainty
__
Verzicht und Vertraulichkeitanmerkung
try adding *status=webP *in the s:iterator and use:
s:param name=*#webP.name* value=*#webP.value* /
Regards,
-
Girish Naik
Mobile:-+91-09740091638
girish.n...@gmail.com
George Bernard
On Tue, Jun 2, 2009 at 9:59 AM, Girish Naik girish.n...@gmail.com wrote:
try adding *status=webP *in the s:iterator and use:
s:param name=*#webP.name* value=*#webP.value* /
I think it is 'var=' not 'status='
-Wes
--
Wes Wannemacher
Author - Struts 2 In Practice
Includes coverage of Struts
May be, but i have successfully used 'status=' in my project. Anyways why
not try both n use the one which works ;)
Regards,
-
Girish Naik
Mobile:-+91-09740091638
girish.n...@gmail.com
Mark Twain
Girish Naik wrote:
May be, but i have successfully used 'status=' in my project. Anyways why
not try both n use the one which works ;)
status is only the iterator status (with count, index, first, last,
etc.) If it worked for you as the current iteration object then that's a
very, very
Hi David,
My code doesn't include an editing capability so I don't have any working
code that I can cut and paste. Also I have not tried sending a List back
from a JSP page.
Are you getting any sub-lists back or are they all null?
Cheers,
Steve
-Original Message-
From: DavidCAIT
DavidCAIT wrote:
My JSP code looks like:
s:iterator value=myList status=outerStat
s:iterator value=myList[#outerStat.index] status=innerStat
s:textfield value=%{property}
name=myList[%{#outerStat.index}][%{#innerStat.index}].property/
/s:iterator
/s:iterator
I did something very
I'm still trying to get Struts 2.1.6 deployed on WAS 6.1. I'm fighting
a couple of related issues. Index.jsp forwards to
/MyContext/myNamespace/myAction.action, but gets this error:
There is no Action mapped for namespace / and action name . -
[unknown location]
If I type
I had no idea I was in the presence of royalty.
On Tue, Jun 2, 2009 at 10:29 AM, Dave Newton newton.d...@yahoo.com wrote:
DavidCAIT wrote:
My JSP code looks like:
s:iterator value=myList status=outerStat
s:iterator value=myList[#outerStat.index] status=innerStat
s:textfield
Jim Kiley wrote:
I had no idea I was in the presence of royalty.
There's a lotta things about me you don't know anything about, Jim.
Things you wouldn't understand. Things you couldn't understand. Things
you *shouldn't* understand.
I've always been a little disturbed by how much I
Can you respond with a specific version that you used? 2.0.?
Thanks!
-Original Message-
From: Dave Newton [mailto:newton.d...@yahoo.com]
Sent: Friday, May 29, 2009 4:03 PM
To: Struts Users Mailing List
Subject: Re: S2: on Servlet 2.3
Givler, Eric wrote:
I read a few threads on this
I agree with that, can you open a jira ticket with the details?
regards
musachy
On Tue, Jun 2, 2009 at 12:51 AM, Ron Chan rc...@i-tao.com wrote:
is this a misconfig or a workaround?
in 2.0.x the default behaviour for / is to go to the welcome file list
there is no mention of a change in
someone stole my bike!
On Tue, Jun 2, 2009 at 9:39 AM, Dave Newton newton.d...@yahoo.com wrote:
Jim Kiley wrote:
I had no idea I was in the presence of royalty.
There's a lotta things about me you don't know anything about, Jim. Things
you wouldn't understand. Things you couldn't
Givler, Eric wrote:
Can you respond with a specific version that you used? 2.0.?
Probably around 2.0.4-ish, although I really have no clue at this point.
I might be able to find out specifically in a day or two if it's still
in their source control.
Dave
I just downloaded the 2.0.14 from the apache site and the struts-tags.tld file
is definitely 1.2 as opposed to the one included with the 2.1.6 release which
is newer (uses the JSP 2.x xml schema definition).
-Original Message-
From: Dave Newton [mailto:newton.d...@yahoo.com]
Sent:
Steven
Not familiar with your setup and if it works in tomcat and not WAS, even
stranger. But for what it's worth here is my hack, I made a copy of
StrutsPrepareAndExecuteFilter and in the doFilter where it said
ActionMapping mapping = prepare.findActionMapping(request, response);
if (mapping
I will look at that. Meanwhile, I found that WAS logged an error (this
was after the WAS admin tried changing the filter from /* to /[my
context]/*
--Start of DE processing-- = [5/29/09 13:50:09:369 CDT] , key =
javax.servlet.ServletException
Eric
the supported version is specified in DTD spec at head of webapp
/WEB-INF/web.xml
?xml version=1.0 encoding=ISO-8859-1?
!DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application
2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd;
web-app
where referenced DTD contains
!--
This
I've written a couple of articles on my blog about integrating Spring with
Struts 2.
See:
http://www.brucephillips.name/blog/index.cfm/2008/10/17/Using-Struts-2-and-Spring-Frameworks-Together
http://www.brucephillips.name/blog/index.cfm/2009/3/7/Using-Spring-In-A-Struts-2-Web-Application
Hi folks
I'm using Struts 2.1.6 (not convention) and URLRewrite filter.I'm trying to
remove .action extension from a form's action attribute.
A simple tag like this:
s:form id=crearWhere theme=simple action=../where/create
name=crearWhere
it's rendered as:
form id=crearWhere name=crearWhere
Have you tried a 2.1.7 build?
Mitchell, Steven wrote:
I will look at that. Meanwhile, I found that WAS logged an error (this
was after the WAS admin tried changing the filter from /* to /[my
context]/*
--Start of DE processing-- = [5/29/09 13:50:09:369 CDT] , key =
With 2.1.6, w/o any major modifications of configuration, the URLs can
lack the '.action' by default. It seems that s:url and s:form will
render urls with the .action suffix, if the page rendering the tag was
requested with the suffix. Try visiting the page rendering the form
w/o specifying the
The issue is getting S2 to run on a 2.3 container, not how to specify
the version in a web.xml. Web.xml changes won't change S2's ability (or
lack thereof) to *run* under that version.
Martin Gainty wrote:
Eric
the supported version is specified in DTD spec at head of webapp
If two copies of the same action is run at the same time parallelly (by ajax,
iframe, etc.) in the same session, possibly with different parameters, do
these actions call the same instance of an interceptor's intercept() method?
If this is the case, how to avoid problems that can arise?
For
newton.dave wrote:
Because that's what sx:div does by default; loads a URL via Ajax.
Maybe the preload attribute has what you need.
http://struts.apache.org/2.x/docs/dojo-div.html
rajeevP wrote:
Thanks for all your support, after adding the sx:head i could able to
work.
But the
Thanks Dave, i have added one property preload=false in sx:div , that stops
the automatic calling of the url.
Thanks very ...
Rajeev
--
View this message in context:
http://www.nabble.com/AJAX-issues-in-struts-2.1.6-tp23584424p23836546.html
Sent from the Struts - User mailing list
ZeckoN wrote:
public String intercept(ActionInvocation actionInvocation) throws Exception
{
.Do some pre work
String result = actionInvocation.invoke();
.Do some after work
return result;
}
Local variables aren't shared across method invocations.
Dave
On Tue, Jun 2, 2009 at 12:45 PM, ZeckoN zec...@gmail.com wrote:
If two copies of the same action is run at the same time parallelly (by ajax,
iframe, etc.) in the same session, possibly with different parameters, do
these actions call the same instance of an interceptor's intercept() method?
That is why I asked you if you are using Form-based authentication or Basic
authentication. And I got no reply. However, looking at ur logs, esp the
message:
There is no Action mapped for namespace / and action name
j_security_check
Now I know that your are using Form-based
David Canos wrote:
Now we have got to remove the suffix, any idea about the preffix
/MyProject/../?
Don't you want the form to submit to your application?
Dave
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For
thanks for the links
struts.objectFactory.spring.autoWire.alwaysRespect
Whether the autowire strategy should always be
used, or if the framework should try to guess the best strategy based
on the situation
false for backwards-compatibility
t
//code works perfect as long as
I had used it in the project, but since it was not working a colleague has
changed it without my knowledge. Sorry to misguide as I thought it is
working fine :(
Regards,
-
Girish Naik
Mobile:-+91-09740091638
girish.n...@gmail.com
George
Having learned that form-based authentication currently does not
currently work with Struts 2.1.x on WAS 6.1 or WAS 7 I stepped back to
see what does work. I gutted my web.xml and struts.xml and set about
turning things on one at a time. This is what I found:
1. Basic hello world app
Typing http://servername/context/ results in Error 404: There
is no Action mapped for namespace / and action name .
To fix this issue, modify your welcome part of web.xml,
welcome-file-list
welcome-fileindex.html/welconpme-file
/welcome-file-list
create an index.html with the
take a look my blueoxygen project, cimande is the core
http://www.sf.net/projects/cimande
the modules:
http://www.sf.net/projects/mantra
http://www.sf.net/projects/ramen
http://www.sf.net/projects/papaje
http://www.sf.net/projects/lotion
more 20 modules there, all s2, sprng, hibernate.
hi philips,
thanks for the links. however, the pdf on the site are not being downloaded
properly. I duno if it has something to do with the web site. moreover, can
you point me to the link where you have placed the source code.
..alee
http://techboard.wordpress.com
On Tue, Jun 2, 2009 at 9:47
I don't know about Bruce's blog, but I know the source samples for the book he
mentioned are available here -
struts2inpractice.googlecode.com
(btw, thanks for the plug Bruce)
-Wes
On Wednesday 03 June 2009 12:10:22 am alee amin wrote:
hi philips,
thanks for the links. however, the pdf on
52 matches
Mail list logo