Hi

First thing to note is that while Struts is page-centric, JSF is 
component-centric.

To describe this in short: In struts a submit/get from a page always goes to an 
action.

In JSF, each component is (may be) wired to its own method in what is known as 
a backing bean (or i Shale ViewController). There is no get, allways post in 
JSF.

This is a shift of pradigms actually, and you need to shift your way of 
thinking when moving to JSF from Struts. Think of it as being more like 
programming in Swing or that that matter what we used to do VB6 back in the old 
days.

Hermod

-----Original Message-----
From: Thomas Walland [mailto:[EMAIL PROTECTED]
Sent: Friday, November 03, 2006 10:04 AM
To: [email protected]
Subject: General questions to shale...


Hi,

As I already wrote, I am a newby to apache shale. So I have a few
general questions.

I have great experience with apache struts, but never made some work
with JSF or other technologies which are used in shale.

So I need something like a short introduction in the style of "shale
für struts users".

I heard a lot about the prerenderer. Is this something like the
controller-classes in struts-tiles? A class or action which is called
just before the associated jsp or html file is rendered?

Until now I had only a look to the clay-usecases example which is
distributed on the shale-webpage. In this example, there is a
managed-bean defined (QueryParam) which puts some Request-Parameters
into the defined class.

Can we say in general, that this is a rebuild of the functionality of
the Struts-Action's?

Another question: Most question and mails on this list refer to jsp
functionality and problems with some jsp-errors. As I heard about
struts especially about clay, this was the most interesting point for
me. But it seems that not that much people are using clay at the
moment?

Are there some great disadvantages about this technology? I want to
realize a huge project with shale and also with clay. Is it a too
early stage to use clay? Is there some further developement work,
which should be done?

I hope my questions are clearly written. I am not so an experienced
english-writer.

Thanks :-)
       Thomas

---
Thomas Walland
http://www.walland.net
[EMAIL PROTECTED]



* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that the DnB NOR Group
cannot accept any payment orders or other legally binding correspondence with
customers as a part of an email. 

This email message has been virus checked by the anti virus programs used
in the DnB NOR Group.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

Reply via email to