:
>
> 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"
> Sent: Friday, February 29, 2008 6:
ing Ajax behind the scenes. S2 is a superior
'Control' component, 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
o provoke another rant, it's just
that I've suffered my fair share of pain grappling with SWF and I find
all justifications 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').
ng one of your rants 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, an
anyone have details,
code, 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 unsubsc
p14397614.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
- Ray Clough
[EMAIL PROTECTED]
---
x27;, and implementation always has to make
compromises. 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"
> Subject: Re: Spring tuto
rol logic in a jsp page, which purists 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 M
NO!
> - Original Message -
> From: "Adam Hardy" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List"
> Subject: Re: Using JSTL Expression Language with Struts 2 tags
> Date: Fri, 07 Sep 2007 00:42:11 +0100
>
>
> Is OGNL a standard
standards. (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
2) use 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" <[EM
d 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 w
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
mapped 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: "Pav
e fewer intermediate layers 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 v
You might also consider Tiles-2 but not using the S2 plugin. Then you aren't
limited by the need to declare the 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 thi
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> "Hey you! Would you help me to carry the stone?" Pink Floyd
>
> --
n essence, a TO. For other view layers, I produce other Exporters, a
PDFExporter, a SpreadSheetExporter, etc.
- Ray Clough
[EMAIL PROTECTED]
> - Original Message -
> From: mraible <[EMAIL PROTECTED]>
> To: user@struts.apache.org
> Subject: Re: [s2] Is it possible to repla
ted
data items is an ideal compromise for me. We just 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: "Stru
ot read, or did not
comprehend, or did not believe, the central theme of "Why Getters and Setters
are Evil").
Sorry for the rant, but I do like many of the S2 features well enough that I
continue to use it, and the S2 architecture is definitely better than S1 (death
to ActionForm!)
x27;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 -
you are looking for I18nInterceptor?
>
> http://struts.apache.org/2.x/docs/i18n-interceptor.html
>
> Ray Clough schrieb:
> > The first page of my app is a Login page. Every other page is correctly
> > localized, because the app gets the user's preferred locale from a DB
e 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 cont
mpatibility (i.e., 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 Str
en we click the column header, but
the property is always "_id0", even when clicking 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
Errors. Also in Simple Theme I can't
> >> get to generate the JavaScript code for Client Side Validation.
> >>
> >> Regards,
> >>
> >> Néstor Boscán
> >>
> >>
> >
> > ----------
er 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:
Please go ahead.
> - Original Message -
> From: "Dave Newton" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List"
> Subject: Re: [S2] Session Invalidation through SessionAware interface
> Date: Sun, 1 Jul 2007 10:47:18 -0700 (PDT)
>
&
tion, possibly
because the session "
+ "has already been invalidated or
timed out.";
logger.warn(msg,ise);
}
- Ray Clough
newton.dave wrote:
>
> --- "Srinivas.N." <[EMAIL PROTE
wly set value in the Session to the Value 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
).getLocale().getLanguage()', or
something like that).
I hope that is clear. Any advice, especially on point #1 would be great.
- Ray Clough
> - Original Message -
> From: "Laurie Harper" <[EMAIL PROTECTED]>
> To: user@struts.apache.org
> Subject: Re: S2 -
ies object
which can 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#a11
luck was that the 2.0.4 release was made the day
> after the 2.0.8 release was rolled, hence why 2.0.8 has Tiles 2.0.3 bundled.
>
> Hope this helps you understand why what happened was a little less than
> insanity and more some unfortunate circumstances:).
>
> Al.
>
>
can track
> changes that may impact your deployment -- and perhaps raise your
> concerns if you feel they're over-burdensome.
>
> L.
>
> Ray Clough wrote:
> > I got it to work with 2 steps. 1) I downloaded the 2.0.3
> > version of Tiles. Note that this requi
ionality - what does 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.nabbl
t you had previously 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
> fut
ith Struts-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 ha
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:
to
happen 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
same
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 wr
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 th
cument example. My bet is that
> > whoever initially architected the s2 tags never considered this
> > use case. The only fall-back is to mix the s2 tags with jstl and
> > jsp-el to achieve the
> > desired effects, but this takes more lines of code than either s2 or jstl
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) will not allow
l problem
> Date: Fri, 01 Jun 2007 13:14:45 +0300
>
>
> Ray Clough wrote:
> > I produce all my jsp pages is xml format - ie. as 'jspx' jsp-documents. I
> > find a serious drawback to the struts tags, and I'm wondering if anyone has
> > a suggestion.
of
examples 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#a1090242
2.ServletActionContext;
import com.opensymphony.xwork2.ActionSupport;
/**
* @author Ray Clough, Michael Matz.
* Created: May 29, 2007
* Project: GreetingsEarth_S2_S1_Tiles
* Package: greetings.struts2.action
* File:AjaxDDS_DemoActio
ter tag? You can 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 soluti
said you would do it in S1, writing
> 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]>
Re: S2 & AJAX questions
> Date: Fri, 25 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
Ajax-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 Nabbl
*AND* an Interceptor to accomplish the login. Perhaps I'll get 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 w
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
ive fields like SSN or
password, however.
- Ray Clough
Thanks for the answers, but I would like a direct answer to my questions
(1)... (2)... . Any thoughts?
Zhang, Larry (L.) wrote:
> Say I have two Jsp pages, Page 1, Page 2.
>
> On page 1 I have some text fields such as Name, SSN for
ke to read your book.
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 serious
e before
you can get 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 follo
ave a link "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
Zhan
mplement 'ModelDriven' to push the 'myList' onto the stack,
would this object persist 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]&
ted (a different
instance 'id'). Is the creation of a new instance the standard behavior - I
can't believe it is, because that would make the whole 'thread-safe' model
in S2 pointless. Am I doing something silly or wrong (I could believe
either)?
Thanks,
Ray Clough
--
Vie
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
JSTL tags
working nicely with S2. The page works perfectly if the object is
explicitly placed into the HttpRequest. If the 'getExporter()' is the way
in which the Exporter is exposed, then it doesn't work for jstl.
- Ray Clough
Dave Newton-4 wrote:
>
> --- Ray Clough <[
My Action has a method "public Exporter getExporter()". If I use the struts2
tags I can access the "exporter" with , and it works fine. If I use the jstl
syntax , nothing
is found. How do I get the jstl tag to work here? Thanks a million.
- Ray Clough
Musachy Barr
ot;don't play
nicely 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
s
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 C
. 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
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
ed the jstl core tags for the url, but you need to put the suffix
after the url.
calling S2 from S1, using S1 and jstl tags:
key="rp.Xxxx" bundle="menu" />
calling S1 usign S1 tags:
key="rp.Xxxx"
le 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
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 actu
e the best 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-ma
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
rrors manually?
Thanks,
- Ray Clough
[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
em, so it must be somewhere in the code
which configures 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 fi
ere
some compound result type? Can 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]
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
--
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 anyon
ssue.
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
>
"
--
View t
t? 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
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 (
"ExtensionsF
ntioned above
during the load process. Please, I need advice. I have long contended
that Tiles is the niftiest 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]> wrot
is to use '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]
e tutorial 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 additio
81 matches
Mail list logo