[jbosstools-issues] [JBoss JIRA] (JBIDE-10927) Can drag dataTable component from the palette and drop inside h:form component, in source view

Yahor Radtsevich (JIRA) jira-events at lists.jboss.org
Thu Feb 23 09:19:37 EST 2012


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

Yahor Radtsevich edited comment on JBIDE-10927 at 2/23/12 9:19 AM:
-------------------------------------------------------------------

Vimal, could you please describe more precisely what you do and what you get?

The following steps worked for me:
# Create new JSF Project -> Name: jsf12, JSF Environment: JSF 1.2, Template: JSFKickStartWithoutLibs -> Finish
# Right click on jsf12/WebContent -> New -> Other -> XHTML Page -> Next -> Finish
# NewFile.jsp should be created. Open it with ??JBoss Tools JSP Editor?? and select the ??Source?? tab
# Open Palette View -> JSF HTML -> drag {{form}} and drop inside {{body}} tag. Click ??Finish?? in opened dialog.
# From Palette View drag {{dataTable}} and drop it inside created {{h:form}}. Click ??Finish?? in opened dialog.

I got the following code after these steps:
{code:xml|title=NewFile.jsp}
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<h:form>
	<h:dataTable>
		
	</h:dataTable>
</h:form>
</body>
</html>
{code}

                
      was (Author: yradtsevich):
    Vimal, could you please describe explain more precisely what you do and what you get?

The following steps worked for me:
# Create new JSF Project -> Name: jsf12, JSF Environment: JSF 1.2, Template: JSFKickStartWithoutLibs -> Finish
# Right click on jsf12/WebContent -> New -> Other -> XHTML Page -> Next -> Finish
# NewFile.jsp should be created. Open it with JBoss Tools JSP Editor and select the Source tab
# Open Palette View -> JSF HTML -> drag {{form}} and drop inside {{body}} tag. Click ??Finish?? in opened dialog.
# From Palette View drag {{dataTable}} and drop it inside created {{h:form}}. Click ??Finish?? in opened dialog.

I got the following code after these steps:
{code:xml|title=NewFile.jsp}
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<h:form>
	<h:dataTable>
		
	</h:dataTable>
</h:form>
</body>
</html>
{code}

                  
> Can drag dataTable component from the palette and drop inside h:form component, in source view
> ----------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-10927
>                 URL: https://issues.jboss.org/browse/JBIDE-10927
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Visual Page Editor core
>            Reporter: Vimal Kansal
>            Assignee: Yahor Radtsevich
>
> I have dropped a <h:form> component in 'source' view of the page editor and now trying to drag and drop a h:dataTable component inside <h:form>, but I am unable to do it.

--
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