You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by Matthias Wessendorf <ma...@apache.org> on 2007/09/10 20:00:24 UTC

[TRINIDAD-700]

Hi,

I run into the issue of Trinidad-700 (see [1]). I was running Trinidad
ontop of the JSF RI and noticed that an EL like #{'full'} isn't
evaluated on the Trinidad <tr:convertDateTime />, but on the
<f:convertDateTime />. Haven't tested against MyFaces yet, but I
think, when using MyFaces, there behavior is like Trinidad.

Perhaps we should do some EL evaluations before returning the converter.

I haven't used an EL like #{'text'} before...

(I think that is true of other EL like

<tr:convertNumber type="#{'currency'}" ...  />

as well)

Greetings,
Matthias

[1] https://issues.apache.org/jira/browse/TRINIDAD-700

-- 
Matthias Wessendorf

further stuff:
blog: http://matthiaswessendorf.wordpress.com/
mail: matzew-at-apache-dot-org

Re: [TRINIDAD-700]

Posted by Matthias Wessendorf <ma...@apache.org>.
full, but on the converter it is ignored (true for
convertNumber type="#{'currency}" ...

as well



On 9/10/07, Martin Marinschek <ma...@gmail.com> wrote:
> You mean it's an EL problem or a trinidad date-converter problem? what
> do you get when you print out
>
> <tr:outputText value="#{'full'}"/>
>
> ?
>
> regards,
>
> Martin
>
> On 9/10/07, Matthias Wessendorf <ma...@apache.org> wrote:
> > so... #{'full'} on f:conv... (RI) is honored, but on tr:con... it's ignored
> >
> > -M
> >
> > On 9/10/07, Matthias Wessendorf <ma...@apache.org> wrote:
> > > dateStyle attr. on convertDateTime
> > >
> > > this:
> > > #{test?'option1':'option2'}
> > >
> > > is different ;-)
> > >
> > > On 9/10/07, Martin Marinschek <ma...@gmail.com> wrote:
> > > > I've often been using stuff like this - in the form #{test?'option1':'option2'}
> > > >
> > > > What does your example evaluate to? What is the difference in the
> > > > output between the two options?
> > > >
> > > > regards,
> > > >
> > > > Martin
> > > >
> > > > On 9/10/07, Matthias Wessendorf <ma...@apache.org> wrote:
> > > > > Hi,
> > > > >
> > > > > I run into the issue of Trinidad-700 (see [1]). I was running Trinidad
> > > > > ontop of the JSF RI and noticed that an EL like #{'full'} isn't
> > > > > evaluated on the Trinidad <tr:convertDateTime />, but on the
> > > > > <f:convertDateTime />. Haven't tested against MyFaces yet, but I
> > > > > think, when using MyFaces, there behavior is like Trinidad.
> > > > >
> > > > > Perhaps we should do some EL evaluations before returning the converter.
> > > > >
> > > > > I haven't used an EL like #{'text'} before...
> > > > >
> > > > > (I think that is true of other EL like
> > > > >
> > > > > <tr:convertNumber type="#{'currency'}" ...  />
> > > > >
> > > > > as well)
> > > > >
> > > > > Greetings,
> > > > > Matthias
> > > > >
> > > > > [1] https://issues.apache.org/jira/browse/TRINIDAD-700
> > > > >
> > > > > --
> > > > > Matthias Wessendorf
> > > > >
> > > > > further stuff:
> > > > > blog: http://matthiaswessendorf.wordpress.com/
> > > > > mail: matzew-at-apache-dot-org
> > > > >
> > > >
> > > >
> > > > --
> > > >
> > > > http://www.irian.at
> > > >
> > > > Your JSF powerhouse -
> > > > JSF Consulting, Development and
> > > > Courses in English and German
> > > >
> > > > Professional Support for Apache MyFaces
> > > >
> > >
> > >
> > > --
> > > Matthias Wessendorf
> > >
> > > further stuff:
> > > blog: http://matthiaswessendorf.wordpress.com/
> > > mail: matzew-at-apache-dot-org
> > >
> >
> >
> > --
> > Matthias Wessendorf
> >
> > further stuff:
> > blog: http://matthiaswessendorf.wordpress.com/
> > mail: matzew-at-apache-dot-org
> >
>
>
> --
>
> http://www.irian.at
>
> Your JSF powerhouse -
> JSF Consulting, Development and
> Courses in English and German
>
> Professional Support for Apache MyFaces
>


-- 
Matthias Wessendorf

further stuff:
blog: http://matthiaswessendorf.wordpress.com/
mail: matzew-at-apache-dot-org

Re: [TRINIDAD-700]

Posted by Martin Marinschek <ma...@gmail.com>.
You mean it's an EL problem or a trinidad date-converter problem? what
do you get when you print out

<tr:outputText value="#{'full'}"/>

?

regards,

Martin

On 9/10/07, Matthias Wessendorf <ma...@apache.org> wrote:
> so... #{'full'} on f:conv... (RI) is honored, but on tr:con... it's ignored
>
> -M
>
> On 9/10/07, Matthias Wessendorf <ma...@apache.org> wrote:
> > dateStyle attr. on convertDateTime
> >
> > this:
> > #{test?'option1':'option2'}
> >
> > is different ;-)
> >
> > On 9/10/07, Martin Marinschek <ma...@gmail.com> wrote:
> > > I've often been using stuff like this - in the form #{test?'option1':'option2'}
> > >
> > > What does your example evaluate to? What is the difference in the
> > > output between the two options?
> > >
> > > regards,
> > >
> > > Martin
> > >
> > > On 9/10/07, Matthias Wessendorf <ma...@apache.org> wrote:
> > > > Hi,
> > > >
> > > > I run into the issue of Trinidad-700 (see [1]). I was running Trinidad
> > > > ontop of the JSF RI and noticed that an EL like #{'full'} isn't
> > > > evaluated on the Trinidad <tr:convertDateTime />, but on the
> > > > <f:convertDateTime />. Haven't tested against MyFaces yet, but I
> > > > think, when using MyFaces, there behavior is like Trinidad.
> > > >
> > > > Perhaps we should do some EL evaluations before returning the converter.
> > > >
> > > > I haven't used an EL like #{'text'} before...
> > > >
> > > > (I think that is true of other EL like
> > > >
> > > > <tr:convertNumber type="#{'currency'}" ...  />
> > > >
> > > > as well)
> > > >
> > > > Greetings,
> > > > Matthias
> > > >
> > > > [1] https://issues.apache.org/jira/browse/TRINIDAD-700
> > > >
> > > > --
> > > > Matthias Wessendorf
> > > >
> > > > further stuff:
> > > > blog: http://matthiaswessendorf.wordpress.com/
> > > > mail: matzew-at-apache-dot-org
> > > >
> > >
> > >
> > > --
> > >
> > > http://www.irian.at
> > >
> > > Your JSF powerhouse -
> > > JSF Consulting, Development and
> > > Courses in English and German
> > >
> > > Professional Support for Apache MyFaces
> > >
> >
> >
> > --
> > Matthias Wessendorf
> >
> > further stuff:
> > blog: http://matthiaswessendorf.wordpress.com/
> > mail: matzew-at-apache-dot-org
> >
>
>
> --
> Matthias Wessendorf
>
> further stuff:
> blog: http://matthiaswessendorf.wordpress.com/
> mail: matzew-at-apache-dot-org
>


-- 

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces

Re: [TRINIDAD-700]

Posted by Matthias Wessendorf <ma...@apache.org>.
so... #{'full'} on f:conv... (RI) is honored, but on tr:con... it's ignored

-M

On 9/10/07, Matthias Wessendorf <ma...@apache.org> wrote:
> dateStyle attr. on convertDateTime
>
> this:
> #{test?'option1':'option2'}
>
> is different ;-)
>
> On 9/10/07, Martin Marinschek <ma...@gmail.com> wrote:
> > I've often been using stuff like this - in the form #{test?'option1':'option2'}
> >
> > What does your example evaluate to? What is the difference in the
> > output between the two options?
> >
> > regards,
> >
> > Martin
> >
> > On 9/10/07, Matthias Wessendorf <ma...@apache.org> wrote:
> > > Hi,
> > >
> > > I run into the issue of Trinidad-700 (see [1]). I was running Trinidad
> > > ontop of the JSF RI and noticed that an EL like #{'full'} isn't
> > > evaluated on the Trinidad <tr:convertDateTime />, but on the
> > > <f:convertDateTime />. Haven't tested against MyFaces yet, but I
> > > think, when using MyFaces, there behavior is like Trinidad.
> > >
> > > Perhaps we should do some EL evaluations before returning the converter.
> > >
> > > I haven't used an EL like #{'text'} before...
> > >
> > > (I think that is true of other EL like
> > >
> > > <tr:convertNumber type="#{'currency'}" ...  />
> > >
> > > as well)
> > >
> > > Greetings,
> > > Matthias
> > >
> > > [1] https://issues.apache.org/jira/browse/TRINIDAD-700
> > >
> > > --
> > > Matthias Wessendorf
> > >
> > > further stuff:
> > > blog: http://matthiaswessendorf.wordpress.com/
> > > mail: matzew-at-apache-dot-org
> > >
> >
> >
> > --
> >
> > http://www.irian.at
> >
> > Your JSF powerhouse -
> > JSF Consulting, Development and
> > Courses in English and German
> >
> > Professional Support for Apache MyFaces
> >
>
>
> --
> Matthias Wessendorf
>
> further stuff:
> blog: http://matthiaswessendorf.wordpress.com/
> mail: matzew-at-apache-dot-org
>


-- 
Matthias Wessendorf

further stuff:
blog: http://matthiaswessendorf.wordpress.com/
mail: matzew-at-apache-dot-org

Re: [TRINIDAD-700]

Posted by Matthias Wessendorf <ma...@apache.org>.
dateStyle attr. on convertDateTime

this:
#{test?'option1':'option2'}

is different ;-)

On 9/10/07, Martin Marinschek <ma...@gmail.com> wrote:
> I've often been using stuff like this - in the form #{test?'option1':'option2'}
>
> What does your example evaluate to? What is the difference in the
> output between the two options?
>
> regards,
>
> Martin
>
> On 9/10/07, Matthias Wessendorf <ma...@apache.org> wrote:
> > Hi,
> >
> > I run into the issue of Trinidad-700 (see [1]). I was running Trinidad
> > ontop of the JSF RI and noticed that an EL like #{'full'} isn't
> > evaluated on the Trinidad <tr:convertDateTime />, but on the
> > <f:convertDateTime />. Haven't tested against MyFaces yet, but I
> > think, when using MyFaces, there behavior is like Trinidad.
> >
> > Perhaps we should do some EL evaluations before returning the converter.
> >
> > I haven't used an EL like #{'text'} before...
> >
> > (I think that is true of other EL like
> >
> > <tr:convertNumber type="#{'currency'}" ...  />
> >
> > as well)
> >
> > Greetings,
> > Matthias
> >
> > [1] https://issues.apache.org/jira/browse/TRINIDAD-700
> >
> > --
> > Matthias Wessendorf
> >
> > further stuff:
> > blog: http://matthiaswessendorf.wordpress.com/
> > mail: matzew-at-apache-dot-org
> >
>
>
> --
>
> http://www.irian.at
>
> Your JSF powerhouse -
> JSF Consulting, Development and
> Courses in English and German
>
> Professional Support for Apache MyFaces
>


-- 
Matthias Wessendorf

further stuff:
blog: http://matthiaswessendorf.wordpress.com/
mail: matzew-at-apache-dot-org

Re: [TRINIDAD-700]

Posted by Martin Marinschek <ma...@gmail.com>.
I've often been using stuff like this - in the form #{test?'option1':'option2'}

What does your example evaluate to? What is the difference in the
output between the two options?

regards,

Martin

On 9/10/07, Matthias Wessendorf <ma...@apache.org> wrote:
> Hi,
>
> I run into the issue of Trinidad-700 (see [1]). I was running Trinidad
> ontop of the JSF RI and noticed that an EL like #{'full'} isn't
> evaluated on the Trinidad <tr:convertDateTime />, but on the
> <f:convertDateTime />. Haven't tested against MyFaces yet, but I
> think, when using MyFaces, there behavior is like Trinidad.
>
> Perhaps we should do some EL evaluations before returning the converter.
>
> I haven't used an EL like #{'text'} before...
>
> (I think that is true of other EL like
>
> <tr:convertNumber type="#{'currency'}" ...  />
>
> as well)
>
> Greetings,
> Matthias
>
> [1] https://issues.apache.org/jira/browse/TRINIDAD-700
>
> --
> Matthias Wessendorf
>
> further stuff:
> blog: http://matthiaswessendorf.wordpress.com/
> mail: matzew-at-apache-dot-org
>


-- 

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces