[jbosstools-issues] [JBoss JIRA] (JBIDE-10819) vpe not rendering default index.xhtml for JBoss EE Web Project

Denis Maliarevich (JIRA) jira-events at lists.jboss.org
Wed Feb 8 06:08:48 EST 2012


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

Denis Maliarevich commented on JBIDE-10819:
-------------------------------------------

The problem is that css file from the line from page "/WEB-INF/templates/default.xhtml"
{code}
<h:outputStylesheet name="css/screen.css" />
{code}
hasn't been resolved.

Class VpeFunctionHref did not get the path correctly in its "exec(..)" method. The cause is that the JBoss EE Web Project uses maven style path: "ProjectName\src\main\webapp\resources\css\". While VpeFunctionHref.exec(..) implies the path to be "ProjectName\resources\css\"

The solution is to update VpeFunctionHref.exec(..) to get correct full path to resources.

                
> vpe not rendering default index.xhtml for JBoss EE Web Project
> --------------------------------------------------------------
>
>                 Key: JBIDE-10819
>                 URL: https://issues.jboss.org/browse/JBIDE-10819
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Visual Page Editor core
>    Affects Versions: 3.3.0.M5
>            Reporter: Max Rydahl Andersen
>            Assignee: Denis Maliarevich
>            Priority: Critical
>             Fix For: 3.3.0.Beta1
>
>         Attachments: JBIDE-10819-Firefox.png, screenshot0.png
>
>
> Use jboss central to get "JBoss JEE Web Project" example
> Open .xhtml 
> Assert: layout is more or less similar to what will be shown in browser.
> Currently it isn't - looks like styles or templates aren't loaded properly.

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