Has anyone got any impressions of the two different combinations shale +
facelets and shale + clay? In particular I was wondering:
1. Is shale *completely* separated from clay so that using facelets
instead of clay does not break anything?
2. Has clay got any advantages over facelets when used
Looking at:
http://wiki.apache.org/shale/ExceptionHandling
i created a error handler which implements
org.apache.shale.view.ExceptionHandler.
I've than stored it in application scope - faces-config.xml:
org$apache$shale$view$EXCEPTION_HANDLER
Hi
1. Yes, Shale does not depend on Clay in any way - Actually it is almost true
the other way around too, bar some Shale utility function that is uses.
2. One of the greatest advantages is that Clay supports the OO paradigm with
inheritance, where Facelets only supports composition.
You seem t
Hm realized that i've got a warning:
WARN main org.apache.myfaces.config.FacesConfigurator - More than one
managed bean w/ the name of 'org$apache$shale$view$EXCEPTION_HANDLER' -
only keeping the last
Hm which one it keeps - i hope mine?
Torsten
Am Mittwoch, den 18.10.2006, 09:14 +0200 schrieb
Example:
/jsf/login.html
loginPass
/jsf/admin_user.jsp
loginFail
/jsf/login.html
I want to use the html Views and made some components referring to
[EMAIL PROTECTED]
How do i set this in a html view?
In a jsp i would use:
But now i got pure html with some implicit mappings and explicit ones
like:
The rest is declared at the component.
Where to set the bean which should
Solved it using:
and set the surrounding form to be jsfid="loginForm"
Is this behaviour ok - or should this usecase be solved in another way,
maybe better?
Does allowBody only manage if the content of the tag is render
Hi
You could either declare it in the component for myInputComponent or use
something like
mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 18, 2006 11:30 AM
To: user@shale.apache.org
Subject: Clay HTML View - where to set @managed-bean-name?
I want to use the html Views and made some compone
Hi
allowbody refers to whether or not the content between your start and end tag
is rendered or not
ie:
mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 18, 2006 11:50 AM
To: user@shale.apache.org
Subject: Re: Clay HTML View - where to set @managed-bean-name?
Solved it using:
Hi
If you want a sample to look at, you can download this and have a look:
http://www.opstvedt.com/div/ClayMal.zip
Hermod
-Original Message-
From: Torsten Krah [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 18, 2006 11:50 AM
To: user@shale.apache.org
Subject: Re: Clay HTML View - wh
Is there a way to set the locale of the viewRoot?
In the jsp:
...
does the job.
But where to do this in clay html/xml views?
Torsten
Has anyone seen a comparison chart on the net somewhere? I have been
googling for some more information about what clay can and cannot do in
comparison to what facelets can and cannot do.
I have been testing facelets for some time now, but I would like to find
out if it is worth the effort to
Hi
As far as I am concerned, Clay can do whatever Facelets can do and then some.
Hermod
-Original Message-
From: Randahl Fink Isaksen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 18, 2006 1:48 PM
To: user@shale.apache.org
Subject: Re: Shale and facelets vs. Shale and Clay
Has any
My short tour of Clay documentation looks as if Clay is more heavy when
it comes to declarations. It looks to me as if Facelets has much more
default behavior built in, and that Clay requires you to write more XML
to declare more about what you want to do (please correct me if I am
wrong).
Ran
Hi
Well nothing comes for free. However, this will change when the worlds turn
jdk1.5 in full. Then annotations will take over for much of what we today see
in xml files. I might be biased here, but I do not think that Clay is more
complex with regards to configuration than say Spring which ev
Hi
In html/xml views, this is handled by you in your backing beans, and when using
resourcebundles by the message tag
Hermod
-Original Message-
From: Torsten Krah [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 18, 2006 12:54 PM
To: user@shale.apache.org
Subject: Clay - how to set lo
is there a good example of how to implement tiles in shale and all the steps
neccessary to do so?
_
Stay in touch with old friends and meet new ones with Windows Live Spaces
http://clk.atdmt.com/MSN/go/msnnkwsp007001msn/direct/
But this makes the assumption that the browsers preferences are used ( i
dont want to make views for every language, one view for all - which
changes lang according to a property ).
But i want to use a locale which is "fixed" until a property changes -
this must be bound to the rootView ( f:view ).
>From: Torsten Krah <[EMAIL PROTECTED]>
>
> I would prefer to keep them for the common used tags - its a lightweight
> way to get into clay ( which i am still trying to understand the whole
> thing ^^ ).
>
Ok, let's keep an eye on implicit mappings that are missing or broken. I'll
get to SH
Hi
As I said - You handle this in you backing beans. Remember there is a
difference between html and jsp
Hermod
-Opprinnelig melding-
Fra: Torsten Krah [mailto:[EMAIL PROTECTED]
Sendt: 18. oktober 2006 15:41
Til: user@shale.apache.org
Emne: RE: Clay - how to set locale Parameter for f:
>From: Randahl Fink Isaksen <[EMAIL PROTECTED]>
>
> Has anyone got any impressions of the two different combinations shale +
> facelets and shale + clay? In particular I was wondering:
>
> 1. Is shale *completely* separated from clay so that using facelets
> instead of clay does not break anyt
Hm - i dont get it ( sorry ).
How can i handle the language of the viewRoot in my backingbean?
Like i said - i am searching for the pendant or a method or something,
which give me the power to set the locale parameter of the viewRoot, so
the language is managable per backing bean variable.
The jsp
>From: Torsten Krah <[EMAIL PROTECTED]>
>
> But this makes the assumption that the browsers preferences are used ( i
> dont want to make views for every language, one view for all - which
> changes lang according to a property ).
> But i want to use a locale which is "fixed" until a property ch
First, some suggestions for the website:
On the "Issue tracking" page, the link "Search the mailing list archive"
links to the Struts mailing list.
The "Shale Framework" page states "you can successfully run Shale based
applications on a Servlet 2.3 / JSP 1.2 platform" but LifecycleListener,
part
-Original Message-
From: Jonathan Smith [mailto:[EMAIL PROTECTED]
Sent: Wed 10/18/2006 7:42 AM
To: user@shale.apache.org
Cc:
Subject:new to shale tiles
is there a good example of how to implement tiles in shale and all the steps
neccessary to do so?
__
I finally got a chance to look at this again... there was something wrong
with my app though I'm still not quite sure what.
It may have been that I had non-matching versions of shale-core and
shale-remoting (both are required since shale-core contains the shale filter
class) but not positive.
In
26 matches
Mail list logo