Hello,
I try to use the full HTML views provided by Clay - if possible without the
need for additional component definition(s) in XML.
When defining converters (e.g. a DateTimeConverter) like the following:
01.01.1900
I receive the following ERRORs:
13:45:23,275 ERROR [Appli
> Declare your backing bean as a , using a
> value that can be mapped from the view identifier.
> (See DefaultViewControllerMapper for the details of the default
> mapping.) In nearly all circumstances, you will want the bean to be
> placed in request scope.
>
> In which xml should i define the
Hi Adrian,
the rules applying to the managed-bean-name when using the
DefaultViewControllerMapper are documented right there:
http://shale.apache.org/shale-core/apidocs/index.html - as stated in the docs.
Cheers,
René
- Original Message -
From: Adrian Mitev
[mailto:[EMAIL PROTECTED]
EMAIL PROTECTED]
To: user@shale.apache.org
Sent: Wed, 26 Jul
2006 18:41:18 +0200
Subject: Re: How to define
converter/validator/actionListener in Clay's full HTML view without XML
configuration?
> >From: René Zanner <[EMAIL PROTECTED]>
> >
> > Hello,
> >
> &g
Hi all,
unfortunately the "binding" attribute isn't standard for all JSF components.
Will that change in the future? I think it's a required attribute when trying
to be conform to the JSF standard...
Otherwise I'm forced to inherit from the standard components provided by clay
just to provide
Hi folks,
I'm missing something in Clay's full HTML views which is known from the Tiles
integration.
In a JSF/Tiles integration, when specifying a view id, this id is looked up in
the tiles-defs.xml first (maybe after some processing of the view id, e.g.
replacing the extension and so on). On
Hi Adrian,
simply write your own ViewControllerMapper implementation. This one can even be
configurable via XML files to map view ids to managed bean names.
To inject your own implementation add a context-parameter to your web.xml as
the following:
org.apache.shale.view.VIEW_CONTROLLER_MAP
Hi Stephan,
have you tried to put the xmlns attributes to the root element of the document
(which should be in any case...)?
I do not see the connection with the inputCalendar, I'm afraid. Can you explain
a bit more?
Cheers,
René
PS: By the way: what does this problem have to do with the s
;;>
>
> if i do this and have a included side with the calendar - it works in
> IE but not in firefox (he thinks an xml will be called...)
>
> if i maybe only surrond the page included to the base page with xmlns...
> the calendar works only in firefox but not in IE
>
&g
Hello,
comments are inline...
- Original Message -
From: Gary VanMatre
[mailto:[EMAIL PROTECTED]
To: user@shale.apache.org
Sent: Fri, 28 Jul
2006 03:23:37 +0200
Subject: Re: "binding" attribute of JSF standard
components
> >From: René Zanner <[EMAIL PROTECTE
Hello all,
I made a test with the full xml view approach and it's working as expected -
thank you!
The additional clay config file provides a separation between "normal"
component definitions and "view composition" definitions, which is something I
welcome!
I use the suffix ".page" and remove
Hi all,
one question just came to my mind... When using HTML templates in conjunction
with view composition, I want to use HTML templates from my HTML designers and
exclude all the redundant stuff. Only the portion of the page containing my
body content (or footer panel or whatever) should be a
Hi,
for commandButton there is no "onclick" generated by the framework - so it's
free for you to use :o).
You can set an "onclick" event handler to your commandButton component calling
your JavaScript function. When this method returns "false", the submit of the
button is not executed.
Cheer
Hi Craig,
when something changed in the way a ViewControllerMapper is defined, the Wiki
page on that topic (http://wiki.apache.org/shale/ViewControllerMapper) should
be updated. Unfortunately I'm not using/evaluating Shale any longer, so I won't
have time to do this as I did before.
Cheers,
R
Hi Adrian,
no - at least not with the last distribution 1.0.2 I use.
I suppose you need to configure one of the Shale ViewHandlers for JSF, as
stated in the docs here:
http://shale.apache.org/shale-core/apidocs/org/apache/shale/view/ViewController.html
I use Clay's ViewHandler (org.apache.shal
Hi Jonathan,
since the navigation bar is visible on all pages, why don't you use a special
backing bean (e.g. NavigationController) for your navigation bar and put all
the global navigation code into action listener methods of that specific bean?
It can reside in session scope (or even in applic
Here is my Shale logo contest vote (hopefully not too late...):
1st choice: # 79
2nd choice: # 90
3rd choice: # 82
4th choice: # 14/17
5th choice: # 4
Cheers,
René
Hi "JS Portal Support",
sorry about the last incomplete post - my mail client was so eager to send that
mail away - I could not stop him from doing so... ;o)
Last year I did something you intend. I was heavily disturbed about how
ignorant the JSF standard is about this basic programming require
following:
Hope that helps...
Cheers,
René
- Original Message -----
From: René Zanner
[mailto:[EMAIL PROTECTED]
To: user@shale.apache.org
Sent: Tue, 26
Sep 2006 09:31:53 +0200
Subject: Re: How to reference a static value in
JSF
> Hi "JS Portal Support",
>
> sorry about
Hi "JS Portal Support",
I did something you intend last year. I put all my application wide constants
in a single "Constants" class.
I used a ServletContextListener to put all the fields via introspection in a
Map in the application scope using the key "Constants".
public void contextInitialize
20 matches
Mail list logo