List Info

Thread: Created: (JBSEAM-2611) tag for setting focus on page e




Created: (JBSEAM-2611) <s:prefocus/> tag for setting focus on page e
country flaguser name
United States
2008-02-09 14:51:03
<s:prefocus/> tag for setting focus on page entry
-------------------------------------------------

                 Key: JBSEAM-2611
                 URL: http://
jira.jboss.com/jira/browse/JBSEAM-2611
             Project: JBoss Seam
          Issue Type: Feature Request
          Components: JSF Controls
            Reporter: Nicklas Karlsson


It might be convenient to have a <s:prefocus/> tag
that could be e.g. nested inside an inputText field you
would like to have focused when the page is loaded.
It could be implemented with a simple
document.getElementById('...').focus(); (or other
browser-compatible code) at the end of the page.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the
administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atl
assian.com/software/jira

        
_______________________________________________
jbossseam-issues mailing list
jbossseam-issueslists.jboss.org
https://lists.jboss.org/mailman/listinfo/jbossseam-issu
es

Commented: (JBSEAM-2611) <s:prefocus/> tag for setting focus on page
country flaguser name
United States
2008-02-10 01:24:03
    [ http://jira.jboss.com/jira/browse/JBS
EAM-2611?page=comments#action_12399018 ] 
            
Kenneth Christensen commented on JBSEAM-2611:
---------------------------------------------

I have just started to work on this type of component -
maybe 'Team Seam' want to use it when it's finish?

<s:focus focusedComponentId="<component
id>" saveFocus="<true/false>"/>

focusedComponentId (optional): specifies the id of the
component to be focused. 
saveFocus (optional): focus is saved between page
submissions.

Examples:

<h:form>
    <s:focus saveFocus="true"/>
</h:form>

or

<h:form>
    <s:focus focusedComponentId="email"
saveFocus="true"/>

    <h:inputText id="email"
value="#{user.email}"/>
</h:form>

or

<h:form>
    <h:inputText id="email"
value="#{user.email}">
        <s:focus saveFocus="true"/>
    </h:inputText>
</h:form>

or

<h:form>
    <h:inputText id="email"
value="#{user.email}">
        <s:focus/>
    </h:inputText>
</h:form>


> <s:prefocus/> tag for setting focus on page
entry
> -------------------------------------------------
>
>                 Key: JBSEAM-2611
>                 URL: http://
jira.jboss.com/jira/browse/JBSEAM-2611
>             Project: JBoss Seam
>          Issue Type: Feature Request
>          Components: JSF Controls
>            Reporter: Nicklas Karlsson
>
> It might be convenient to have a <s:prefocus/>
tag that could be e.g. nested inside an inputText field you
would like to have focused when the page is loaded.
> It could be implemented with a simple
document.getElementById('...').focus(); (or other
browser-compatible code) at the end of the page.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the
administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atl
assian.com/software/jira

        
_______________________________________________
jbossseam-issues mailing list
jbossseam-issueslists.jboss.org
https://lists.jboss.org/mailman/listinfo/jbossseam-issu
es

Commented: (JBSEAM-2611) <s:prefocus/> tag for setting focus on page
country flaguser name
United States
2008-02-10 07:32:03
    [ http://jira.jboss.com/jira/browse/JBS
EAM-2611?page=comments#action_12399027 ] 
            
Nicklas Karlsson commented on JBSEAM-2611:
------------------------------------------

Sounds useful. I think the RichFaces/ICEFaces teams would be
interested in it if Seam thinks its "out of scope"
since it doesn't integrate with the framework itself...

> <s:prefocus/> tag for setting focus on page
entry
> -------------------------------------------------
>
>                 Key: JBSEAM-2611
>                 URL: http://
jira.jboss.com/jira/browse/JBSEAM-2611
>             Project: JBoss Seam
>          Issue Type: Feature Request
>          Components: JSF Controls
>            Reporter: Nicklas Karlsson
>
> It might be convenient to have a <s:prefocus/>
tag that could be e.g. nested inside an inputText field you
would like to have focused when the page is loaded.
> It could be implemented with a simple
document.getElementById('...').focus(); (or other
browser-compatible code) at the end of the page.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the
administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atl
assian.com/software/jira

        
_______________________________________________
jbossseam-issues mailing list
jbossseam-issueslists.jboss.org
https://lists.jboss.org/mailman/listinfo/jbossseam-issu
es

Commented: (JBSEAM-2611) <s:prefocus/> tag for setting focus on page
country flaguser name
United States
2008-02-10 07:34:03
    [ http://jira.jboss.com/jira/browse/JBS
EAM-2611?page=comments#action_12399028 ] 
            
Nicklas Karlsson commented on JBSEAM-2611:
------------------------------------------

While you are at it - add suport for scroll location saving
in scrollable divs etc 

> <s:prefocus/> tag for setting focus on page
entry
> -------------------------------------------------
>
>                 Key: JBSEAM-2611
>                 URL: http://
jira.jboss.com/jira/browse/JBSEAM-2611
>             Project: JBoss Seam
>          Issue Type: Feature Request
>          Components: JSF Controls
>            Reporter: Nicklas Karlsson
>
> It might be convenient to have a <s:prefocus/>
tag that could be e.g. nested inside an inputText field you
would like to have focused when the page is loaded.
> It could be implemented with a simple
document.getElementById('...').focus(); (or other
browser-compatible code) at the end of the page.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the
administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atl
assian.com/software/jira

        
_______________________________________________
jbossseam-issues mailing list
jbossseam-issueslists.jboss.org
https://lists.jboss.org/mailman/listinfo/jbossseam-issu
es

Commented: (JBSEAM-2611) <s:prefocus/> tag for setting focus on page
country flaguser name
United States
2008-02-10 10:55:03
    [ http://jira.jboss.com/jira/browse/JBS
EAM-2611?page=comments#action_12399030 ] 
            
Jason Long commented on JBSEAM-2611:
------------------------------------

Yes.  Please add support for scroll location saving in
scrollable divs. 

> <s:prefocus/> tag for setting focus on page
entry
> -------------------------------------------------
>
>                 Key: JBSEAM-2611
>                 URL: http://
jira.jboss.com/jira/browse/JBSEAM-2611
>             Project: JBoss Seam
>          Issue Type: Feature Request
>          Components: JSF Controls
>            Reporter: Nicklas Karlsson
>
> It might be convenient to have a <s:prefocus/>
tag that could be e.g. nested inside an inputText field you
would like to have focused when the page is loaded.
> It could be implemented with a simple
document.getElementById('...').focus(); (or other
browser-compatible code) at the end of the page.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the
administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atl
assian.com/software/jira

        
_______________________________________________
jbossseam-issues mailing list
jbossseam-issueslists.jboss.org
https://lists.jboss.org/mailman/listinfo/jbossseam-issu
es

Commented: (JBSEAM-2611) <s:prefocus/> tag for setting focus on page
country flaguser name
United States
2008-02-10 12:43:03
    [ http://jira.jboss.com/jira/browse/JBS
EAM-2611?page=comments#action_12399039 ] 
            
Kenneth Christensen commented on JBSEAM-2611:
---------------------------------------------

OK, I will try to include it 


> <s:prefocus/> tag for setting focus on page
entry
> -------------------------------------------------
>
>                 Key: JBSEAM-2611
>                 URL: http://
jira.jboss.com/jira/browse/JBSEAM-2611
>             Project: JBoss Seam
>          Issue Type: Feature Request
>          Components: JSF Controls
>            Reporter: Nicklas Karlsson
>
> It might be convenient to have a <s:prefocus/>
tag that could be e.g. nested inside an inputText field you
would like to have focused when the page is loaded.
> It could be implemented with a simple
document.getElementById('...').focus(); (or other
browser-compatible code) at the end of the page.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the
administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atl
assian.com/software/jira

        
_______________________________________________
jbossseam-issues mailing list
jbossseam-issueslists.jboss.org
https://lists.jboss.org/mailman/listinfo/jbossseam-issu
es

Commented: (JBSEAM-2611) <s:prefocus/> tag for setting focus on page
country flaguser name
United States
2008-02-10 13:36:03
    [ http://jira.jboss.com/jira/browse/JBS
EAM-2611?page=comments#action_12399042 ] 
            
Kenneth Christensen commented on JBSEAM-2611:
---------------------------------------------

I will create a <s:scrollPosition
saveScrollPos="<true/false>"/> component
for the scroll location saving.


> <s:prefocus/> tag for setting focus on page
entry
> -------------------------------------------------
>
>                 Key: JBSEAM-2611
>                 URL: http://
jira.jboss.com/jira/browse/JBSEAM-2611
>             Project: JBoss Seam
>          Issue Type: Feature Request
>          Components: JSF Controls
>            Reporter: Nicklas Karlsson
>
> It might be convenient to have a <s:prefocus/>
tag that could be e.g. nested inside an inputText field you
would like to have focused when the page is loaded.
> It could be implemented with a simple
document.getElementById('...').focus(); (or other
browser-compatible code) at the end of the page.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the
administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atl
assian.com/software/jira

        
_______________________________________________
jbossseam-issues mailing list
jbossseam-issueslists.jboss.org
https://lists.jboss.org/mailman/listinfo/jbossseam-issu
es

Commented: (JBSEAM-2611) <s:prefocus/> tag for setting focus on page
country flaguser name
United States
2008-02-10 18:30:58
    [ http://jira.jboss.com/jira/browse/JBS
EAM-2611?page=comments#action_12399054 ] 
            
Pete Muir commented on JBSEAM-2611:
-----------------------------------

Probably this is better in RichFaces than Seam, as you are
considering some fairly complex javascript type stuff.

> <s:prefocus/> tag for setting focus on page
entry
> -------------------------------------------------
>
>                 Key: JBSEAM-2611
>                 URL: http://
jira.jboss.com/jira/browse/JBSEAM-2611
>             Project: JBoss Seam
>          Issue Type: Feature Request
>          Components: JSF Controls
>            Reporter: Nicklas Karlsson
>
> It might be convenient to have a <s:prefocus/>
tag that could be e.g. nested inside an inputText field you
would like to have focused when the page is loaded.
> It could be implemented with a simple
document.getElementById('...').focus(); (or other
browser-compatible code) at the end of the page.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the
administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atl
assian.com/software/jira

        
_______________________________________________
jbossseam-issues mailing list
jbossseam-issueslists.jboss.org
https://lists.jboss.org/mailman/listinfo/jbossseam-issu
es

Updated: (JBSEAM-2611) <s:prefocus/> tag for setting focus on page e
country flaguser name
United States
2008-02-11 19:00:05
     [ http://jira.jboss.com/jira/browse/JBSEAM-2611?page=all
]

Kenneth Christensen updated JBSEAM-2611:
----------------------------------------

    Attachment: jboss-seam-ui-focus-beta1.jar

First beta version of <s:focus/> - please test.

At the moment it's a Seam JSF component, maybe it should be
moved to the Richfaces project - if they (Seam or Richfaces)
want to use it 

BTW: I don't have time to move it to the Richfaces project.

The source code will be released very soon (end of the
week).

Next up: <s:scrollPosition/> 


> <s:prefocus/> tag for setting focus on page
entry
> -------------------------------------------------
>
>                 Key: JBSEAM-2611
>                 URL: http://
jira.jboss.com/jira/browse/JBSEAM-2611
>             Project: JBoss Seam
>          Issue Type: Feature Request
>          Components: JSF Controls
>            Reporter: Nicklas Karlsson
>         Attachments: jboss-seam-ui-focus-beta1.jar
>
>
> It might be convenient to have a <s:prefocus/>
tag that could be e.g. nested inside an inputText field you
would like to have focused when the page is loaded.
> It could be implemented with a simple
document.getElementById('...').focus(); (or other
browser-compatible code) at the end of the page.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the
administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atl
assian.com/software/jira

        
_______________________________________________
jbossseam-issues mailing list
jbossseam-issueslists.jboss.org
https://lists.jboss.org/mailman/listinfo/jbossseam-issu
es

Commented: (JBSEAM-2611) <s:prefocus/> tag for setting focus on page
country flaguser name
United States
2008-02-12 10:07:04
    [ http://jira.jboss.com/jira/browse/JBS
EAM-2611?page=comments#action_12399232 ] 
            
Kenneth Christensen commented on JBSEAM-2611:
---------------------------------------------

<h:form>
    <h:inputText id="email"
value="#{user.email}">
        <s:focus saveFocus="true"/>
    </h:inputText>
</h:form>

and

<h:form>
    <h:inputText id="email"
value="#{user.email}">
        <s:focus/>
    </h:inputText>
</h:form>

Will be deprecated because of problems when using it
together with a4j:support.


> <s:prefocus/> tag for setting focus on page
entry
> -------------------------------------------------
>
>                 Key: JBSEAM-2611
>                 URL: http://
jira.jboss.com/jira/browse/JBSEAM-2611
>             Project: JBoss Seam
>          Issue Type: Feature Request
>          Components: JSF Controls
>            Reporter: Nicklas Karlsson
>         Attachments: jboss-seam-ui-focus-beta1.jar
>
>
> It might be convenient to have a <s:prefocus/>
tag that could be e.g. nested inside an inputText field you
would like to have focused when the page is loaded.
> It could be implemented with a simple
document.getElementById('...').focus(); (or other
browser-compatible code) at the end of the page.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the
administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atl
assian.com/software/jira

        
_______________________________________________
jbossseam-issues mailing list
jbossseam-issueslists.jboss.org
https://lists.jboss.org/mailman/listinfo/jbossseam-issu
es

[1-10]

about | contact  Other archives ( Real Estate discussion Medical topics )