webtier@glassfish.java.net

Re: [webtier] how to extract URL parameters?

From: Felipe Gaucho <fgaucho_at_gmail.com>
Date: Fri, 25 Dec 2009 10:32:01 +0100

I figured out I need Facelets to produce the output I am looking for,
including the new Ajax feature...

At first sight ajax and facelets seems complicated but i am willing to
invest some days in a prime prototype...

Thanks for all support... It is time for homework here ;)

On 25.12.2009, at 06:58, "Lincoln Baxter, III"
<lincolnbaxter_at_gmail.com> wrote:

> did your URL have ?type=mytypevalue
>
> ?
> What you have looks correct.
>
> 2009/12/24 Felipe Gaúcho <fgaucho_at_gmail.com>:
>> Typo: metaData -> metadata
>>
>> it loaded but didn't showed the type:
>>
>> <!DOCTYPE html
>> PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
>> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
>> <html xmlns="http://www.w3.org/1999/xhtml"
>> xmlns:f="http://java.sun.com/jsf/core"
>> xmlns:h="http://java.sun.com/jsf/html"
>> xmlns:ui="http://java.sun.com/jsf/facelets" xml:lang="en"
>> lang="en"
>> xmlns:c="http://java.sun.com/jstl/core">
>> <head>
>> </head>
>> <body>
>> <ui:composition template="/template/template.xhtml">
>> <f:metadata>
>> <f:viewParam name="type" value="#{headlines.type}" />
>> </f:metadata>
>>
>> <ui:define name="central-pane">
>> <p>#{headlines.type}</p>
>> </ui:define>
>> </ui:composition>
>> </body>
>> </html>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: webtier-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: webtier-help_at_glassfish.dev.java.net
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: webtier-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: webtier-help_at_glassfish.dev.java.net
>