[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
Fri Dec 23 05:13:09 EST 2011
[ https://issues.jboss.org/browse/JBIDE-8009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12652993#comment-12652993 ]
Denis Maliarevich commented on JBIDE-8009:
------------------------------------------
1)Facelets ui:composition's files should be added in the following way:
WebContent/templates/simpleTemp.xthml
WebContent/templates/includes/simpleForm.xthml
WebContent/pages/simplePage.xhtml
2)Then open url "/pages/simplePage.faces" in browser -- and see that:
{code}
DIV link1link2: This link is disabled as it is not nested within a JSF form.
{code}
link1 is enabled and fine,
link2 -- is disabled.
3)In the specified welcome.xhtml from richfaces_4.0.0 <h:link> is used.
4) The solution: template for <h:link> should be updated. Now it uses the rendering logic from <h:commandLink> template
> 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, simpleForm.xhtml, simplePage.xhtml, simpleTemp.xhtml
>
>
> 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