myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Myfaces Wiki] Update of "Focus" by RogerioAraujo
Date Sun, 27 Nov 2005 20:05:17 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Myfaces Wiki" for change notification.

The following page has been changed by RogerioAraujo:
http://wiki.apache.org/myfaces/Focus

New page:
##language:en
== Focus Component ==
===== Authors: Rogério Araújo =====
An component that controls the focus on the page across submissions, this component is available
as module focus in cvs for the jsf-comp [http://sourceforge.net/cvs/?group_id=137466 ] project.

Focus currently has only one attribute called "component".

For assistance, send email to rogerio.araujo@gmail.com

=== Example ===
{{{
<html [...] xmlns:s="http://myfaces.apache.org/sandbox">
[...]
    <h:form id="form">
        <h:inputText value="#{value}" id="name" />
        [...]
        <s:focus id="focus" component="name" />
    </h:form>
[...]
</html>
}}} 


=== Implementation notes ===
 * The Focus component must be placed after all other components. Safest bet is to put it
right before the closing </h:form> tag.  This is probably also true for other JSF implementations.

Mime
View raw message