, but not really great at 'View'. With the proper approach,
they are perfectly compatible. (Too bad Shale seems moribund).
- Ray Clough
[EMAIL PROTECTED]
- Original Message -
From: Dave Newton [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Subject: Re: [friday] Re
:
interesting ...can you implement ajax functionality such as theme='ajax'
from dojo?
Martin-
- Original Message -
From: Ray Clough [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Friday, February 29, 2008 6:08 PM
Subject: Re: [friday] Re: Struts2 vs JSF
I have
of its complexity unwarranted.
Adam
Ray Clough on 24/02/08 02:23, wrote:
Thanks Jeromy. (usually my wife is the only one who notices my
'rants').
Jeromy Evans wrote:
Hi Ray,
I'm not sure, but check out Tom's new scope plugin as it may get you
part of the way there.
http://cwiki.apache.org
from August 07 that mentioned the
need to use ModelDriven's model across a conversation and think this
will be useful.
cheers,
Jeromy Evans
Ray Clough wrote:
JSF has a ConversationScope for extended series of requests/responses
dealing with the same topic, and usually the same data model. I'm
, etc.
Thanks,
Ray Clough
--
View this message in context:
http://www.nabble.com/Conversation-Scope--tp15648166p15648166.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL
to the url.
- Ray Clough
- Original Message -
From: Rubbinio [EMAIL PROTECTED]
To: user@struts.apache.org
Subject: Mixing Struts 1 and Struts 2
Date: Tue, 18 Dec 2007 06:08:23 -0800 (PST)
Hi,
we have a fairly tricky question. We have a Struts 1 application which is
very big. We do
. But it helps to keep it in mind as an ideal.
- Ray Clough
- Original Message -
From: Nuwan Chandrasoma [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Subject: Re: Spring tutorial
Date: Mon, 24 Sep 2007 00:16:03 +0530
Hi,
you can use the same approach you
do not view
as 'OK' (speaking as a purist myself, while acknowledging this as a possible
character flaw.).
- Ray Clough
- Original Message -
From: Gabriel Belingueres [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Subject: Re: How to invalidate a session
. (And I haven't even tried JSP 2.1 syntax yet).
As it stands, this is a TERRIBLE shortcoming in S2.
- Ray Clough
- Original Message -
From: Kevin Lawrence
To: Struts Users Mailing List
Subject: Re: Using JSTL Expression Language with Struts 2 tags
Date: Thu, 6 Sep 2007 13:37:39
NO!
- Original Message -
From: Adam Hardy [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Subject: Re: Using JSTL Expression Language with Struts 2 tags
Date: Fri, 07 Sep 2007 00:42:11 +0100
Is OGNL a standard as well as JSTL?
Ray Clough on 06/09/07 23
the 'ServiceLocator'
pattern from the 'Core J2EE Patterns' book, now available on-line from Sun.
Is there a reason to use ThreadLocal context here?
Sorry I couldn't be more helpful.
- Ray Clough
- Original Message -
From: Mary Poppins [EMAIL PROTECTED]
To: user@struts.apache.org
Subject: Struts
I have prepared a pdf document describing this exact problem: Tiles-2
as a standalone service along with Struts-1 and Struts-2. The doc
includes copies of the web.xml and struts.xml files. I am attaching the
file in the hopes it is useful.
- Ray Clough
[EMAIL PROTECTED
the pdf to
anyone who wants it.
-Ray Clough
[EMAIL PROTECTED]
Using Tiles-2 as a Standalone Service, Including Deployment with Struts-1
and Struts-2.
This document describes using Tiles-2 (T2) in a Java Web Application based
on Apache Struts-1 (S1) with Apache Struts-2 (S2). The classical way
to *.tiles will delegate to the definition in tiles.xml, or
whatever you call the definition file(s).
I'll put together a document at work tomorrow. My app uses Struts-1,
Struts-2, and JSF, all using Tiles to render the view.
- Ray Clough
- Original Message -
From: Pavel Sapozhnikov
between
your app and a service it uses, the fewer bugs you will encounter. And those
bugs you do encounter will clearly be in the service, not in the intermediate
layer. This is especially good to remember if the intermediate layers do not
provide any added value.
- Ray Clough
You might also consider Tiles-2 but not using the S2 plugin. Then you aren't
limited by the need to declare the result type= attribute. This leaves
you free to do other things with the 'type', like jsf, for instance.
- Ray Clough
Jeromy Evans - Blue Sky Minds wrote:
Sol, I think they're
to carry the stone? Pink Floyd
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
- Ray Clough
[EMAIL PROTECTED
the model, the model knows
nothing about the database (the 'Importer' knows that), and the Exporter
doesn't expose anything about the Model to the Action or the View. It has
become, in essence, a TO. For other view layers, I produce other Exporters, a
PDFExporter, a SpreadSheetExporter, etc.
- Ray
treat the components as a
super-powerful tag set.
Again, I apologize for the earlier rant.
- Ray Clough
[EMAIL PROTECTED]
- Original Message -
From: Ted Husted [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Subject: Re: [s2] Is it possible to replace/supplement
that I
continue to use it, and the S2 architecture is definitely better than S1 (death
to ActionForm!).
- Ray Clough
- Original Message -
From: Don Brown [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Subject: Re: [s2] Is it possible to replace/supplement i18n
is how to make this
Locale available to the S-2 tags in the login page. The interceptor doc says
it will be saved for all future requests. I need to use it for the current
request. It seems that the solution is to push it to the stack or something,
wherever the S-2 tags get it from.
- Ray Clough
doesn't work. My digging into the source code seemed to tell me that this
would fill the bill, but no happiness resulted.
Thanks,
- Ray Clough
- Original Message -
From: Laurie Harper [EMAIL PROTECTED]
To: user@struts.apache.org
Subject: Re: Locale - make available to JSP
Date: Fri, 03
for the
ActionContext class, LocaleProvider class, etc, and it seems like this code
should work, but it doesn't:
ActionContext.getContext().put(ActionContext.LOCALE, locale);
Any help or advise will be greatly appreciated.
Thank you,
Ray Clough
--
View this message in context:
http
., a big bug) between the jsf plugin and
tiles. Any suggestions? Has anyone tried anything like this and either
succeeded or failed?
- Ray Clough
--
View this message in context:
http://www.nabble.com/-S2--Struts-JSF-Plugin-and-Tiles-tf4131981.html#a11751346
Sent from the Struts - User mailing
the _id1 column. Thus
the table is always sorted on Column-0.
Does anyone have insight into this problem?
- Ray Clough
--
View this message in context:
http://www.nabble.com/-S2--Struts-JSF-Plugin-tf4100325.html#a11660398
Sent from the Struts - User mailing list archive at Nabble.com
, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
- Ray Clough
[EMAIL PROTECTED
if this project is still alive in any
meaningful way. (I notice that its creator is a Struts contributor).
- Ray Clough
- Original Message -
From: Peng Tuck Kwok
To: Struts Users Mailing List
Subject: Re: S2 and JFreeChart (showing images)
Date: Fri, 6 Jul 2007 17:30:23 +0800
hmm
+ has already been invalidated or
timed out.;
logger.warn(msg,ise);
}
- Ray Clough
newton.dave wrote:
--- Srinivas.N. [EMAIL PROTECTED] wrote:
How do I invalidate the session?
You'd probably need to implement
Please go ahead.
- Original Message -
From: Dave Newton [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Subject: Re: [S2] Session Invalidation through SessionAware interface
Date: Sun, 1 Jul 2007 10:47:18 -0700 (PDT)
--- Ray Clough [EMAIL PROTECTED] wrote
Stack? If so, is
that considered a bug?
- Ray Clough
--
View this message in context:
http://www.nabble.com/-S2--Session-Key-for-Locale-tf4001507.html#a11365685
Sent from the Struts - User mailing list archive at Nabble.com
, especially on point #1 would be great.
- Ray Clough
- Original Message -
From: Laurie Harper [EMAIL PROTECTED]
To: user@struts.apache.org
Subject: Re: S2 - How do I ...
Date: Tue, 26 Jun 2007 17:01:35 -0400
Ray Clough wrote:
How do I get the Struts properties from within my
be referenced and read, the question is how.
Also, although this is not a Struts question, how do I resolve the suffix on
a ResourceBundle to the language name?
Thanks,
- Ray Clough
--
View this message in context:
http://www.nabble.com/S2---How-do-I-...-tf3980139.html#a11298949
Sent from
bundled.
Hope this helps you understand why what happened was a little less than
insanity and more some unfortunate circumstances:).
Al.
-Original Message-
From: Ray Clough [mailto:[EMAIL PROTECTED]
Sent: 13 June 2007 22:09
To: user@struts.apache.org
Subject: RE: Struts 2.0.8
It doesn't seem to be a straight forward upgrade from 2.0.6, at least so far
as Tiles is concerned. We get a bunch of different exceptions, depending on
what we try to do. Each fix seems to break something else, though.
Advice?
- Ray Clough
--
View this message in context:
http
-2.0.8, but 2.0.8
does not include a 'tiles-jsp-2.0.3.jar' file.
- Ray Clough
Al Sutton-4 wrote:
Have you checked the old version of tiles has been removed?, the version
shipped with 2.0.6 was a pre-release of Tiles 2 and the internal APIs
changed, I had some problems until I realised my
raised the
issue, yet they still failed to include it.)
- Ray Clough
Al Sutton-4 wrote:
Grab the distribution from tiles.apache.org and copy the jsp jar into your
webapp.
This is something I raised on the dev list and the jar will be part of
future builds.
-Original Message
that route give me that the non-Struts Tiles usage
wouldn't.
A third question (but maybe for the Tiles or JSF forums) is, what would be
needed to make this work with the JSF (myFaces) part of the app.
- Ray Clough
--
View this message in context:
http://www.nabble.com/S2-S1-Tiles2-Tiles1
-remembering (I don't use Tiles
with Struts 2 at the moment). Assuming that's true, however, I
would advise keeping an eye on the Tiles dev list so you can track
changes that may impact your deployment -- and perhaps raise your
concerns if you feel they're over-burdensome.
L.
Ray Clough
is for the app to redirect to the error page. Can the Ajax, once
invoked, be turned off? Any ideas?
Thanks,
- Ray Clough
--
View this message in context:
http://www.nabble.com/%28S2%29-Refreshing-an-Ajax-Div-tf3910831.html#a11088713
Sent from the Struts - User mailing list archive at Nabble.com
time. Take all the pain at once, but implement one change at a time and get
each change working before continuing. If the app isn't too big and/or too
messy, and things don't go totally haywire, should not be a difficult an
upgrade.
- Ray Clough
Srinivasula Reddy A , Bangalore wrote:
Hi
if you are constructing the url using the s:url tag, there are two different
attributes you may be using. The action attribute assumes that the action
will end in *.action, so you can't forward to a Struts-1 action using the
action attribute. Instead use the 'value' attribute, and you can then
, but this takes more lines of code than either s2 or jstl
alone, and of course the s2 tags work best with the s2 data stack.
- rc
Manos Batsis wrote:
Ray Clough wrote:
The failure is in the deployed code. The processor which produces html
from the jsp markup (in tomcat, in this case
-formed
XML. This isn't a Struts tags issue; the same would be true for any
JSP custom action (tag) from any source.
For the case you describe below I'd probably try a combination of
jsp:element and jsp:attribute, or just rely on JSTL, perhaps with a
c:set.
L.
Ray Clough wrote
in the struts documentation use this, which is not a problem for
regular html, but is a big show stopper in xml. The tags do allow jsp-el,
but not other elements.
Any suggestions?
- Ray Clough
--
View this message in context:
http://www.nabble.com/xhtml-problem-tf3848996.html#a10902429
Sent
;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.struts2.ServletActionContext;
import com.opensymphony.xwork2.ActionSupport;
/**
* @author Ray Clough, Michael Matz.
* Created: May 29, 2007
* Project
-aware select tag in the Dojo library, or
does anyone know a better solution.
Thanks,
- Ray Clough
--
View this message in context:
http://www.nabble.com/S2---AJAX-questions-tf3815167.html#a1078
Sent from the Struts - User mailing list archive at Nabble.com
May 2007 03:35:14 -0700 (PDT)
--- Ray Clough [EMAIL PROTECTED] wrote:
[Ajaxy stuff]
You may want to explore Dojo's listenTopics and
notifyTopics; you can define quite a bit of behavior
based on a DIV load etc.
It's discussed in an S2 context at:
http://struts.apache.org/2.x/docs
to
the output stream, without requiring a page for it (not that I'm advising
to
do so ;) ).
musachy
On 5/25/07, Dave Newton [EMAIL PROTECTED] wrote:
--- Ray Clough [EMAIL PROTECTED] wrote:
[Ajaxy stuff]
You may want to explore Dojo's listenTopics and
notifyTopics; you can define
link 2 of them easily.
musachy
On 5/25/07, Ray Clough [EMAIL PROTECTED] wrote:
We've gotten it to work by having the action method write to the output
stream and return null. This is by far the best solution I've seen yet,
but
it is a little unsatisfying from an architectual point of view
rid of the
Interceptor and just do it with a Filter, but there are advantages to the
Interceptor which would be lost that way.
(by the way, Laurie, These are not the Droids you're looking for!)
- Ray C.
Laurie Harper wrote:
Ray Clough wrote:
I've got a large S1 app into which I'm putting S2
I've got a large S1 app into which I'm putting S2 features - starting with a
LoginInterceptor, because the S1 security-implementation was NG. The S2
mapping in web.xml is to the url /*, which I figured would catch all
requests, both from S1 actions and from S2 actions. The S1 Action servlet
is
tags with refresh, you can use the jsp EL to
repopulate, something like **input type=text name=userName
value=${userName}** If 'userName' is found in the
jsp-accessible scope, the box will be re-populated.
Probably you should not re-populate sensitive fields like SSN or
password, however.
- Ray
your code to work in the new framework.
All this, of course, is IMHO, and I know I'm probably a minority here.
- Ray Clough
Rick Schumeyer wrote:
Now I'm trying to configure Hibernate with S2, which many others have
done. I was trying to follow the example in WebWork in Action, but
things
.
I've found that S2 works fairly well most of the time, but there are
definitely lots of twitches which I'd like explained. Lots of info about
injectors would help. Life Cycle explanations and examples. Etc.
- Ray Clough
Mark Menard wrote:
I'm seriously considering writing a dead tree Struts 2
continue shopping, which does NOT take you back to where
you were.
I've been wanting to implement a Struts-2 BreadCrumbsInterceptor, or
maybe a Filter, but have not gotten around to it. I'd be interested if
anyone has done this.
- Ray Clough
Zhang, Larry (L.) wrote:
Say I have two Jsp pages
pointless. Am I doing something silly or wrong (I could believe
either)?
Thanks,
Ray Clough
--
View this message in context:
http://www.nabble.com/%28S2%29-submit-question-tf3717366.html#a10399618
Sent from the Struts - User mailing list archive at Nabble.com
through the Request/Response cycle. Would there
be any benefit to that over storing it in the session?
Thanks,
Ray Clough
Dave Newton-4 wrote:
--- Ray Clough [EMAIL PROTECTED] wrote:
Is the creation of a new instance the standard
behavior - I can't believe it is, because that would
make
Is it possible to use JSTL to access the value stack? If so, what is
the syntax. If that doesn't work, what is the syntax for accessing it
with a scriptlet? That must be possible, because that is what the tags do.
Thanks very much,
Ray Clough
with the other children, as my grade school teacher once
reported. Maybe I'm wrong, but that is my experience so far.
- Ray Clough
Dave Newton wrote:
--- Ray Clough [EMAIL PROTECTED] wrote:
Is it possible to use JSTL to access the value
stack?
The StrutsRequestWrapper (?) will forward
tag to work here? Thanks a million.
- Ray Clough
Musachy Barroso wrote:
http://cwiki.apache.org/confluence/display/WW/Can+we+use+JSTL+with+the+framework
I shouldn't be linking to the wiki but the main doc has an error (fixed on
wiki already).
regards
musachy
On 4/17/07, Ray Clough
()' is the way
in which the Exporter is exposed, then it doesn't work for jstl.
- Ray Clough
Dave Newton-4 wrote:
--- Ray Clough [EMAIL PROTECTED] wrote:
My Action has a method public Exporter
getExporter(). If I use the struts2
tags I can access the exporter with
s:iterator value
not
only to the framework, but to the type of delivery platform (eg a Web App),
which will prevent you from later making a Swing app or something else out
of it if you want to.
- Ray Clough
nicolas de loof-2 wrote:
Hello,
I've used struts1 for several years and I'm now looking at Struts
. They certainly have the resources to fix it, but it seems
they'd rather not. I wonder if their reasons include universal good
will and compassion.
- Ray Clough
Ashuin Sharma Chamorro wrote:
Im developing a web application with struts 1.2.9 and if I run it in firefox
everything looks
Is there a place where small demo apps like this can be posted for
others to use/evaluate? I have such a program, but with the libraries,
it is far too big to email.
- Ray Clough
[EMAIL PROTECTED]
Brian Thompson wrote:
Sounds like AppFuse would probably do the trick:
http://appfuse.org
action=ReportXxxx?reset=1 target=mainbean:message
key=rp.Xxxx
bundle=menu //html:link/li
I hope this helps.
- Ray Clough
[EMAIL PROTECTED]
doktora wrote:
Ray,
Which definition files specifically do you need to be split?
One of the biggest problems I had (which I
to use S1 with T2 or S2 with T1 - at least not out of
the box.
Ray Clough
Greg Reddin wrote:
On 3/27/07, Frank W. Zammetti [EMAIL PROTECTED] wrote:
Your saying that any S1 app using Tiles can't, based on your experience,
be run with part of it being S2-based, in the same WAR? Could you
way to do it in Struts-2. Has anyone done this before, or
is there a feature of S2 which will do this?
Thanks,
Ray Clough
[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Yeah, That's how I see it, too. That's how I did it in Struts-1, with
the ability to go to the current page, previous page, or page before
previous. I'm wondering if there is some existing facility to do this.
Ray Clough
Matt Filion wrote:
I would imagine you'd actually want to do
manually?
Thanks,
- Ray Clough
[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Thanks, Dave. It works fine, but neither the cssClass nor cssStyle
attributes work.
- Ray Clough
[EMAIL PROTECTED]
Dave Newton wrote:
--- Ray Clough [EMAIL PROTECTED] wrote:
Could someone tell me what to retrieve to display
validation errors manually?
http://struts.apache.org/2.x
they be chained together somehow? Has
anyone done this, or has it even been considered?
Thanks for your help. This is really wrapping me around the axle.
- Ray Clough
[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL
the MyFacesExtensionsFilter component.
- Ray Clough
Don Brown wrote:
Good question. You could perhaps write a result that wrapped the two,
somehow, but you'd probably need to dig into the source to accomplish
it. If you figure anything out, file a JIRA ticket we can improve
both plugins.
Don
On 3/16
In my S2 actions I set the result 'type' = jsf. The instructions do not
seem to cover using both JSF and Tiles. How do I integrate Tiles with my
Struts2-rendered jsf pages? Do I need to use the packages and instructions
from MyFaces to do this?
Thanks,
Ray Clough
--
View this message
I've been using Tiles with all Struts versions since 1.1 and all the
latest Tomcat versions. I have not been able to use it with Struts 2.0,
but others have reported that it works fine there, too, so it must be
something I've done wrong.
- Ray Clough
Frank Russo wrote:
Has anyone had luck
. No such luck.
As long as Tiles is configured in the app, the advanced Tomahawk components
will not load, with the MyFacesExtensionFilter config problem previously
discussed.This is a really serious problem for me. Has anyone found a
solution? I did not find any bug report on this issue.
Thanks,
Ray
, then the documentation (at least) needs to be fixed.
- Ray Clough
Rodrigo Pereira wrote:
Hi,
I tried to update to a newer version of MyFaces ( according
http://issues.apache.org/jira/browse/MYFACES-1421 ) but I cannot
configure the Extension Filter, I keep getting the same message (
ExtensionsFilter
? Is there
a projected fix date?
Thanks,
Ray Clough
[EMAIL PROTECTED]
Rodrigo Pereira wrote:
Are you using Tiles?
I guess the issue relies here. If I try to use Tomahawk w/o Tiles, no
problem, but when I use tiles, booom, I get an error.
Thanks,
Rodrigo Pereira
On 3/9/07, Ray Clough [EMAIL PROTECTED] wrote:
I
piece of Struts, and I can't see using
Struts-2 without Tiles.
Thanks,
- Ray Clough
[EMAIL PROTECTED]
Dave Newton wrote:
--- Neil Aggarwal [EMAIL PROTECTED] wrote:
Is there another way of doing similar functionality
on struts2?
A lot can be done with the s:action.../ tag
'jspx' format docs instead of 'jsp' pages. The use of jspx
(Sun calls them 'jsp documents') seems to me like a big improvement over
jsp, and there are equivalent jsp and jspx pages for everything.
- Ray Clough
[EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
Hi,
I trying to implement Tile
specifies that
no files except for Tiles-plugin jar need to be copied. Any advice as
to where I've gone wrong here.
Thanks,
Ray Clough
[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
80 matches
Mail list logo