31 PM
To: MyFaces Discussion
Subject: Re: General Converter Question
On 4/27/06, Frank Russo <[EMAIL PROTECTED]> wrote:
> I've tried other sandbox components in the past, but have had similar
> problems.
Possibly a newline issue in the facelets.LIBRARIES list?
Here
On 4/27/06, Frank Russo <[EMAIL PROTECTED]> wrote:
> I've tried other sandbox components in the past, but have had similar
> problems.
Possibly a newline issue in the facelets.LIBRARIES list?
Here's what I have:
web.xml:
==
facelets.LIBRARIES
/WEB-INF/je
Frank Russo
Senior Developer
FX Alliance, LLC
-Original Message-
From: Mike Kienenberger [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 27, 2006 4:15 PM
To: MyFaces Discussion
Subject: Re: General Converter Question
Only thing
eb.xml. Both the taglib and the sandbox jar are included in
> my webapp. Is there something I'm missing?
>
> Frank Russo
> Senior Developer
> FX Alliance, LLC
>
>
> -Original Message-
> From: Mike Kienenberger [mailto:[EMAIL PROTECTED]
> Sent: Thursday, Apri
eveloper
FX Alliance, LLC
-Original Message-
From: Mike Kienenberger [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 27, 2006 3:03 PM
To: MyFaces Discussion
Subject: Re: General Converter Question
On 4/27/06, Frank Russo <[EMAIL PROTECTED]> wrote:
> Actually, I thought it was worki
On 4/27/06, Frank Russo <[EMAIL PROTECTED]> wrote:
> Actually, I thought it was working, but it was getting a null, but the
> checkbox rendered unchecked. When I set a value, I get the exception
> below. It seems to not be finding the converter, as it's never called.
>
> I've added the sandbox.tagl
: MyFaces Discussion
Subject: RE: General Converter Question
It works like a charm with the following in the facelets taglib:
convertBoolean
org.apache.myfaces.custom.convertboolean.BooleanConverter<
/converter-id>
Frank Russo
Senior Developer
FX All
convertBoolean
>
>
> org.apache.myfaces.custom.convertboolean.BooleanConverter<
> /converter-id>
>
>
>
>
> Frank Russo
> Senior Developer
> FX Alliance, LLC
>
>
> -Original Message-
> From: Frank Russo
> Sent: Thursday, April 27, 2006 1:24 PM
&g
Sent: Thursday, April 27, 2006 1:24 PM
To: MyFaces Discussion
Subject: RE: General Converter Question
Can I apply the below to the facelet taglib as is? I'm trying it now, so
hopefully...
Frank Russo
Senior Developer
FX Alliance, LLC
-Original Message-
From: [EMAIL PROTECTED] [ma
Faces Discussion
Subject: Re: General Converter Question
taken from TLD file
convertBoolean
org.apache.myfaces.custom.convertboolean.ConvertBooleanTag
Boolean Converter
Converts a boolean to custom format
(yes/no), (1/0)
On 4/27/06, Frank Russo <[EMAIL PROTECTED]> wrote:
> That's it exactly. Is it as simple as putting trueValue="Y" falseValue="N"/> in my page?
Well, that and defining your facelet taglib. :-)
---Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
> Matthias Wessendorf
> Sent: Thursday, April 27, 2006 12:54 PM
> To: MyFaces Discussion
> Subject: Re: General Converter Question
>
> Frank-
>
> perhaps [1] is useful to you
>
> -
t: Re: General Converter Question
Frank-
perhaps [1] is useful to you
-Matthias
[1]
http://myfaces.apache.org/sandbox/apidocs/org/apache/myfaces/custom/conv
ertboolean/BooleanConverter.html
On 4/27/06, Mike Kienenberger <[EMAIL PROTECTED]> wrote:
> Yes, this should work. I have the sam
On 4/27/06, Julian Ray <[EMAIL PROTECTED]> wrote:
> If you use something like the BooleanUtils class from commons-lang, much of
> the technical aspects of conversion from strings to boolean values is done
> for you. All you need is a simple converter wrapper and a taglib.
>
> As this is such a comm
If you look at the source there is already a boolean converter, but it does the
*opposite* of what you need. It was in sandbox the last time I saw it but it
may have moved to tomahawk. Should be quick to implement though.
Dennis Byrne
>-Original Message-
>From: Frank Russo [mailto:[EM
Frank-
perhaps [1] is useful to you
-Matthias
[1]
http://myfaces.apache.org/sandbox/apidocs/org/apache/myfaces/custom/convertboolean/BooleanConverter.html
On 4/27/06, Mike Kienenberger <[EMAIL PROTECTED]> wrote:
> Yes, this should work. I have the same issue, but I generally deal
> with it b
d
one into the Tomahawk build.
-Original Message-
From: Mike Kienenberger [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 27, 2006 12:40 PM
To: MyFaces Discussion
Subject: Re: General Converter Question
Yes, this should work. I have the same issue, but I generally deal
with it by conve
Yes, this should work. I have the same issue, but I generally deal
with it by converting the String type to a boolean type at the
database layer level.
But there's no reason you can't create a converter. You'll need to
manually assign it each place it is used, but that's probably what you
want
18 matches
Mail list logo