[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-924) visualization of facelets tags in a seamgen project

Max Andersen (JIRA) jira-events at lists.jboss.org
Fri Oct 12 07:01:03 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBIDE-924?page=all ]

Max Andersen updated JBIDE-924:
-------------------------------

          Component/s: Visual Page Editor
        Fix Version/s: 2.0.0.CR1
    Affects Version/s: 2.0.0.Beta4
          Description: 
This is for JBossTools-200709200350-nightly-ALL 
Visualization of ui:composition,ui:include and ui:decorate do not work correctly in a seamgen project

The problem is with absolute pathnames. 
<ui:insert src="/somedir/somefile.xhtml"/> does not visualize the content
whereas <ui:insert src="somedir/somefile.xhtml"/> does.

With an jsf-project both forms works

My problem. I have to use absolute pathnames. with relative ones my app will not run:-(

To reproduce genarate a seamgen project with Seam 2.0..0CR1 
1.seam setup
2.seam new-project

3.copy the generated project to your eclipse workspace
4. do an import existing project into workspace
5. try 

  was:
This is for JBossTools-200709200350-nightly-ALL 
Visualization of ui:composition,ui:include and ui:decorate do not work correctly in a seamgen project

The problem is with absolute pathnames. 
<ui:insert src="/somedir/somefile.xhtml"/> does not visualize the content
whereas <ui:insert src="somedir/somefile.xhtml"/> does not.

With an jsf-project both forms works

My problem. I have to use absolute pathnames. with relative ones my app will not run:-(

To reproduce genarate a seamgen project with Seam 2.0..0CR1 
1.seam setup
2.seam new-project

3.copy the generated project to your eclipse workspace
4. do an import existing project into workspace
5. try 

             Assignee: Alexey Kazakov

Carsten - relative file's work because we can locate them relatively to the edited file. absolutes don't since we don't know where the webroot is.
Why can't your app work without absolute pathnames ?

Alexy - I guess this is because we don't know where the web root is...is there any good fallback we could do or should we say this is expected behavior ?



> visualization of facelets tags in a seamgen project
> ---------------------------------------------------
>
>                 Key: JBIDE-924
>                 URL: http://jira.jboss.com/jira/browse/JBIDE-924
>             Project: JBoss Tools
>          Issue Type: Bug
>          Components: Visual Page Editor
>    Affects Versions: 2.0.0.Beta4
>            Reporter: Carsten H?hne
>         Assigned To: Alexey Kazakov
>             Fix For: 2.0.0.CR1
>
>
> This is for JBossTools-200709200350-nightly-ALL 
> Visualization of ui:composition,ui:include and ui:decorate do not work correctly in a seamgen project
> The problem is with absolute pathnames. 
> <ui:insert src="/somedir/somefile.xhtml"/> does not visualize the content
> whereas <ui:insert src="somedir/somefile.xhtml"/> does.
> With an jsf-project both forms works
> My problem. I have to use absolute pathnames. with relative ones my app will not run:-(
> To reproduce genarate a seamgen project with Seam 2.0..0CR1 
> 1.seam setup
> 2.seam new-project
> 3.copy the generated project to your eclipse workspace
> 4. do an import existing project into workspace
> 5. try 

-- 
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.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list