dev@jsftemplating.java.net

How to retreive submitted data?

From: Karam Singh Badesha <Karam.Badesha_at_Sun.COM>
Date: Tue, 23 Jan 2007 14:35:08 -0800

Hi,
I have a very simple test page:

<sun:page>
    <sun:html>
    <sun:head id="head" />
    <sun:body>
        <sun:form id="form">
        "<p>&nbsp;</p>
                <sun:staticText value="requestParameter is
$requestParameter{in}" />
                "<br>
                <sun:staticText value="requestScope is
#{requestScope.in}" />
                "<br>
                <sun:staticText value="noScope is #{in}" />
                "<br>
        <sun:textField id="in" immediate="$boolean{true}"/>
        "<br /><br />
        <sun:button text="Go!" />
        </sun:form>
    </sun:body>
    </sun:html>
</sun:page>

I can't seem to get the value of the textfield entry to show up. I don't
want to set up a pageSession variable using action. Just want to know
how the form variables can be retrieved so that I can show the data on
the same page with when the page gets refreshed. What is the correct call?

thanks
Karam