I Like Core JSF as well, along with the O'Reilly book JavaServer Faces
by Hans Bergsten (which I feel does a better job going over certain
concepts).
Both books describe working with JSF and Tiles, which I found useful.
(For more information about working with JSF and Tiles, e.g., using a
single t
OK, thanks. I'll look at that.
- Brendan
-Original Message-
From: Gary VanMatre [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 22, 2006 4:55 PM
To: Struts Users Mailing List
Subject: RE: Re: [SHALE] Using the Test Framework
>From: "CONNER, BRENDAN (SBCSI)"
If you are using the shale test framework with simple junit tests, the
test framework doesn't digest your faces-confg.xml anyway. You have to
do that kind of setup in the test cases.
The isolated code you want to test in the managed beans would just use a
indirect reference (the managed bean name
Sorry, ignore that last paragraph. ;-)
- Brendan
-Original Message-
From: CONNER, BRENDAN (SBCSI)
Sent: Wednesday, February 22, 2006 3:47 PM
To: Struts Users Mailing List
Subject: RE: Re: [SHALE] Using the Test Framework
Well, the thing that's nice about my approach is that al
3:37 PM
To: Struts Users Mailing List
Subject: RE: Re: [SHALE] Using the Test Framework
>From: "CONNER, BRENDAN (SBCSI)" <[EMAIL PROTECTED]>
>
> Are you saying I should register my delegates as JSF managed beans?
>
Sure, why not? The faces IoC container is not spri
t;CONNER, BRENDAN (SBCSI)" <[EMAIL PROTECTED]>
>
> In case anyone else was in the same boat I was in trying to run the
Shale Test
> Framework "in isolation" on the Web Tier of a 3-tier application, I
did come up
> with a technique that doesn't depend upon Spring
Struts Users Mailing List'
Subject: SV: Re: [SHALE] Using the Test Framework
Hi
Easy: Spring. It's all done with configuration. In a no "EJB container
available" setting, you configure spring to return a different service than
when you have EJB container available.
Hermod
---
nal testing (browser-based) tools to test maintenance
changes.
- Brendan
-Original Message-
From: CONNER, BRENDAN (SBCSI)
Sent: Thursday, February 16, 2006 3:37 PM
To: Struts Users Mailing List
Subject: RE: Re: [SHALE] Using the Test Framework
Cool. Actually, all joking aside, I'
the Test Framework
I'm just telling you what I find easier.
> -Original Message-
> From: CONNER, BRENDAN (SBCSI) [mailto:[EMAIL PROTECTED]
> Sent: Thursday, February 16, 2006 4:51 PM
> To: Struts Users Mailing List
> Subject: RE: Re: [SHALE] Using the Test Framework
&g
Although those are interesting comments, they don't address my basic
point about the amount of effort required to mock up all those calls.
;-)
- Brendan
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Thursday, February 16, 2006 3:41 PM
To: user@struts.apache.o
Hi
If you have not looked at Spring before: Boy do you have something in store
for you.
Hermod
-Opprinnelig melding-----
Fra: CONNER, BRENDAN (SBCSI) [mailto:[EMAIL PROTECTED]
Sendt: 16. februar 2006 22:31
Til: Struts Users Mailing List
Emne: RE: Re: [SHALE] Using the Test Framework
Sigh. OK,
Mailing List'
Subject: SV: Re: [SHALE] Using the Test Framework
Hi
Easy: Spring. It's all done with configuration. In a no "EJB container
available" setting, you configure spring to return a different service than
when you have EJB container available.
Hermod
-Opprinn
Framework
On 2/16/06, Gary VanMatre <[EMAIL PROTECTED]> wrote:
>
>
> >From: "CONNER, BRENDAN (SBCSI)" <[EMAIL PROTECTED]>
> >
> > OK, I'll look at that. But, out of curiosity, how is the Shale Test
> > Framework being used by people now? I
ra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne av Craig
McClanahan
Sendt: 16. februar 2006 20:18
Til: Struts Users Mailing List
Emne: Re: Re: [SHALE] Using the Test Framework
On 2/16/06, Gary VanMatre <[EMAIL PROTECTED]> wrote:
>
>
> >From: "CONNER, BRENDAN (SBCSI
[EMAIL PROTECTED] On Behalf Of Craig
McClanahan
Sent: Thursday, February 16, 2006 1:18 PM
To: Struts Users Mailing List
Subject: Re: Re: [SHALE] Using the Test Framework
On 2/16/06, Gary VanMatre <[EMAIL PROTECTED]> wrote:
>
>
> >From: "CONNER, BRENDAN (SBCSI)" <[EMAIL PRO
OK, so maybe I have to learn more about the injection process. For all
this talk about simplifying the process, it's starting to get
complicated, but, hey, I'm flexible. ;-)
Can someone point me to a resource that would explain this in more
detail? It sounds like I have to create a bunch of alte
s, because then there would be no need for JSF support.)
Thanks,
- Brendan
-Original Message-
From: Gary VanMatre [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 16, 2006 11:31 AM
To: Struts Users Mailing List
Subject: RE: Re: [SHALE] Using the Test Framework
>From: "CONN
'd probably be much better served by taking a functional testing
approach using something like, as Craig suggested, HtmlUnit or Cannoo.
I'd also recommend taking a look at Selenium [1]; I haven't used it yet,
but it looks very promising, depending on your needs.
L.
[1] http://www.o
of Enterprise Application Architecture" by Martin Fowler
(http://www.amazon.com/exec/obidos/ASIN/0321127420/alberg30-20)
- George Dinwiddie
http://idiacomputing.com/moin/FavoriteBooks
> -----Original Message-----
> From: CONNER, BRENDAN (SBCSI) [mailto:[EMAIL PROTECTED]
> Sent: Wednesday,
this way you can
use request scope for just about anything.
Mark
On 2/16/06, Mark Lowe <[EMAIL PROTECTED]> wrote:
> On 2/15/06, CONNER, BRENDAN (SBCSI) <[EMAIL PROTECTED]> wrote:
> > I agree that having a scope that is somewhere between "request" and
> > "s
Users Mailing List
Subject: Re: [SHALE] Using the Test Framework
On 2/15/06, CONNER, BRENDAN (SBCSI) <[EMAIL PROTECTED]> wrote:
>
> But let's say my test executes an action method on my application's
> managed bean. That method uses the mock objects and then tries to
call
&
2006 2:22 PM
To: Struts Users Mailing List
Subject: RE: [SHALE] Using the Test Framework
>From: "CONNER, BRENDAN (SBCSI)" <[EMAIL PROTECTED]>
>
> OK, sorry for being a little dense about this, but, if, for example,
my
> application code is referencing a FacesContext o
l Message-
From: Mark Lowe [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 15, 2006 3:57 PM
To: Struts Users Mailing List
Subject: Re: [shale] datatables request scope
On 2/15/06, CONNER, BRENDAN (SBCSI) <[EMAIL PROTECTED]> wrote:
> Hmm. I must be coming from a different pers
Subject: Re: [shale] datatables request scope
On 2/14/06, Craig McClanahan <[EMAIL PROTECTED]> wrote:
> On 2/14/06, CONNER, BRENDAN (SBCSI) <[EMAIL PROTECTED]> wrote:
> >
> > Isn't that functionally what the MyFaces component
does?
>
>
> Yes, but requires t
Isn't that functionally what the MyFaces component does?
- Brendan
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Craig
McClanahan
Sent: Tuesday, February 14, 2006 3:26 PM
To: Struts Users Mailing List
Subject: Re: [shale] datatables request scope
[sni
ry 14, 2006 11:55 AM
To: Struts Users Mailing List
Subject: RE: [SHALE] Using the Test Framework
>From: "CONNER, BRENDAN (SBCSI)" <[EMAIL PROTECTED]>
>
> Maybe I'm misunderstanding the problem that the Shale Test Framework
is
> trying to solve. My JSF actions are doi
t: RE: [SHALE] Using the Test Framework
>From: "CONNER, BRENDAN (SBCSI)" <[EMAIL PROTECTED]>
>
> OK, I'm going through the section in the PDF document ("Shale
Framework
> v.1.0.1-SNAPSHOT Project Documentation") on the Test Framework. In
that
> sect
ary VanMatre [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 14, 2006 10:42 AM
To: Struts Users Mailing List
Subject: RE: [SHALE] Using the Test Framework
>From: "CONNER, BRENDAN (SBCSI)" <[EMAIL PROTECTED]>
>
> OK, I'm going through the section in the PDF docu
rough multiple pages of a conversation.
- Brendan
-Original Message-
From: Gary VanMatre [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 14, 2006 10:35 AM
To: Struts Users Mailing List
Subject: RE: [shale] datatables request scope
>From: "CONNER, BRENDAN (SBCSI)" <[EMAI
As Gary mentioned, you can use the MyFaces component to
carry bean values from one request to another. I'm new to Shale, but I
saw something about a Dialog framework. Is that also supposed to
address this issue?
- Brendan
-Original Message-
From: Gary VanMatre [mailto:[EMAIL PROTECTED]
OK, I'm going through the section in the PDF document ("Shale Framework
v.1.0.1-SNAPSHOT Project Documentation") on the Test Framework. In that
section, the example appears to involve creating a test class
(SelectTestCase) in the same WAR project as the application code. Is
this true? If so, how
ALE] Using the Test Framework
On 2/10/06, CONNER, BRENDAN (SBCSI) <[EMAIL PROTECTED]> wrote:
> Also, I noticed links to nightly downloads on the Shale project's web
> site, but I was not able to locate any "release" downloads. Are there
> "release" downloads
I'm new to Shale, but I've been using JSF (and the MyFaces
implementation) for about 18 months now. I'm interested in utilizing
the Test Framework that Shale offers, but I'm unsure about how much that
framework depends upon the rest of Shale. Can I use it in isolation
with a vanilla JSF applicati
33 matches
Mail list logo