myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Robinson" <andrew.rw.robin...@gmail.com>
Subject Re: h:outputLink with multiple f:param
Date Thu, 10 Apr 2008 17:53:44 GMT
Why would this be needed?

"&amp;amp;" is not valid xhtml, it should be "&amp;" right?

On Thu, Apr 10, 2008 at 11:48 AM, Christoph Ebner
<christoph.ebner@gmail.com> wrote:
> Hi Mirco,
>
> set context-param org.apache.myfaces.STRICT_XHTML_LINKS to false in your
> web.xml.
>
> regards
> christoph
>
>
>  On Thu, Apr 10, 2008 at 7:18 PM, Mirco Attocchi <amirco@gmail.com> wrote:
> > With this code
> >
> > <h:outputLink
> value="#{facesContext.externalContext.requestContextPath}/Print"
> target="_blank" title="Print">
> >
> > <h:graphicImage url="/images/22x22/printer.png" title="Print"
> alt="Print"/>
> > <f:param name="type" value="type1"/>
> > <f:param name="id" value="#{row.id}"/>
> > </h:outputLink>
> >
> > I've this uncorrect html output:
> >
> > <a href="/WebApp/Print?type=type1&amp;amp;id=34" target="_blank"
> title="Print"><img src="/WebApp/images/22x22/printer.png" alt="Print"
> title="Print"></a>
> >
> > Why?
> >
> > I'm using MyFaces 1.2.2
> >
> > Thanks in advance.
> >
> > --
> > Mirco Attocchi
>
>

Mime
View raw message