<c:choose>-tag

View: New views
3 Messages — Rating Filter:   Alert me  

<c:choose>-tag

by herbert :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi!

I'm new to facelets and reading https://facelets.dev.java.net/nonav/docs/dev/docbook.html#gettingstarted.

There I can read, that facelets supports from the JSTL-core-library only the tags <c:if/>, <c:forEach/>,<c:catch/> and <c:set/>.

I've just played around a bit and put the tag <c:choose/> in my facelet-template and - surprise - it works like it should.

What is wrong here? Is the documentation out of date?

I'm using facelets 1.1.4

Regars, Mo
--
Neu: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate + Telefonanschluss für nur 17,95 Euro/mtl.!* http://portal.gmx.net/de/go/dsl02

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: <c:choose>-tag

by Paulo Pinto :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

the Facelets jar provides reimplementations for those tags. So even though it looks like you're
using JSTL tags, they are being fetched from the jar.

I'm not sure if all funcionality is supported, though.

--
Paulo

On Wed, May 27, 2009 at 11:45 AM, <Iops@...> wrote:
Hi!

I'm new to facelets and reading https://facelets.dev.java.net/nonav/docs/dev/docbook.html#gettingstarted.

There I can read, that facelets supports from the JSTL-core-library only the tags <c:if/>, <c:forEach/>,<c:catch/> and <c:set/>.

I've just played around a bit and put the tag <c:choose/> in my facelet-template and - surprise - it works like it should.

What is wrong here? Is the documentation out of date?

I'm using facelets 1.1.4

Regars, Mo
--
Neu: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate + Telefonanschluss für nur 17,95 Euro/mtl.!* http://portal.gmx.net/de/go/dsl02

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...



Re: <c:choose>-tag

by Mark Collette :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I think that he's pointing out that if you look at the JSTL section of
the docs, there's no mention of c:choose support, but you'll notice the
existence of com.sun.facelets.tag.jstl.core.ChooseHandler, and see that
c:choose is supported. Looks like the docs should be updated.  
Interestingly, section 5.2 <ui:component> has an example that uses c:choose.

https://facelets.dev.java.net/nonav/docs/dev/docbook.html#taglib-available-jstl
https://facelets.dev.java.net/nonav/docs/dev/docbook.html#template-component

- Mark Collette


Paulo Pinto wrote:

> Hi,
>
> the Facelets jar provides reimplementations for those tags. So even
> though it looks like you're
> using JSTL tags, they are being fetched from the jar.
>
> I'm not sure if all funcionality is supported, though.
>
> --
> Paulo
>
> On Wed, May 27, 2009 at 11:45 AM, <Iops@... <mailto:Iops@...>>
> wrote:
>
>     Hi!
>
>     I'm new to facelets and reading
>     https://facelets.dev.java.net/nonav/docs/dev/docbook.html#gettingstarted.
>
>     There I can read, that facelets supports from the
>     JSTL-core-library only the tags <c:if/>, <c:forEach/>,<c:catch/>
>     and <c:set/>.
>
>     I've just played around a bit and put the tag <c:choose/> in my
>     facelet-template and - surprise - it works like it should.
>
>     What is wrong here? Is the documentation out of date?
>
>     I'm using facelets 1.1.4
>
>     Regars, Mo
>     --
>     Neu: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate +
>     Telefonanschluss für nur 17,95 Euro/mtl.!*
>     http://portal.gmx.net/de/go/dsl02
>
>     ---------------------------------------------------------------------
>     To unsubscribe, e-mail: users-unsubscribe@...
>     <mailto:users-unsubscribe@...>
>     For additional commands, e-mail: users-help@...
>     <mailto:users-help@...>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...