[jbosstools-issues] [JBoss JIRA] (JBIDE-8009) h:link must not necessarily be nested in a form

Denis Maliarevich (Commented) (JIRA) jira-events at lists.jboss.org
Thu Dec 22 12:15:10 EST 2011


    [ https://issues.jboss.org/browse/JBIDE-8009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12652869#comment-12652869 ] 

Denis Maliarevich commented on JBIDE-8009:
------------------------------------------

If the link is outside <form> component JSF renders it with additional note "This link is disabled as it is not nested within a JSF form"

In this particular case the link is insite <ui:composition> without the form, but its parent could have one.

So we should update the template to figure out if there any <form> in the hierarchy.
                
> h:link must not necessarily be nested in a form
> -----------------------------------------------
>
>                 Key: JBIDE-8009
>                 URL: https://issues.jboss.org/browse/JBIDE-8009
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Visual Page Editor Templates
>    Affects Versions: 3.2.0.Beta2
>            Reporter: Yahor Radtsevich
>            Assignee: Denis Maliarevich
>            Priority: Minor
>              Labels: richfaces4
>             Fix For: 3.3.0.Beta1
>
>         Attachments: screenshot-1.png
>
>
> In some cases VPE renders h:link as "${value}: This link is disabled as it is not nested within a JSF form" while in browsers is rendered without errors (see screenshot-1.png).
> STEPS TO REPRODUCE
> 1. Import RichFaces 4.0 Showcase into workspace [1].
> 2. Open the file 'welcome.xhtml'.
> [1]. https://repository.jboss.org/nexus/content/groups/public/org/richfaces/examples/richfaces-showcase/ */richfaces-showcase-4.0.0-*.war

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list