That's the explanation I was looking for. Thanks.
sean On Wed, 16 Feb 2005 11:21:02 -0600, Heath Borders <[EMAIL PROTECTED]> wrote: > That's because you can actually encode any UIOutput with the > LinkRenderer, so you should be able to decode them as well. > > More specifically, MyFaces chose to render all components in the > component-family "javax.faces.Link" with the same renderer (which > makes sense). The two components in this family are HtmlCommandLink > and HtmlOutputLink. HtmlOutputLink extends UIOutput, and that's why > the HtmlLinkRendererBase needs to support plain UIOutputs. > > > On Wed, 16 Feb 2005 09:16:58 -0500, Sean Schofield > <[EMAIL PROTECTED]> wrote: > > I'm a litttle confused as to why the decode method of > > HtmlLinkRendererBase checks if the component is an instanceof UIOuput. > > When would that ever be the case? I am assuming there is a MyFaces > > specific reason but it escapes me. > > > > sean > > > > -- > -Heath Borders-Wing > [EMAIL PROTECTED] >
