-
1. Re: file extension .jsf ? instead of .jsp and .xhtml
maxandersen Mar 25, 2008 10:46 AM (in response to antoine_h)why are you saying it is not .xhtml ?
afaik, they are ;)
About using .jsf extension then that should work as long as you setup our editor for it in Editor assoication preferences. -
2. Re: file extension .jsf ? instead of .jsp and .xhtml
antoine_h Mar 27, 2008 4:58 AM (in response to antoine_h)thanks,
yes... I realized after posting they are xhtml... (with the extensions...).
For the preferences configuration :
- in General => Editors => File Association
- the .jsf is there, with several editors, among them :
- JBoss Tools JSP Editor (locked by 'JSP Fragment' content type)
- in the .xhtml extension, there is this editor :
- JBoss Tools HTML Editor (locked by 'HTML Fragment' content type)
I put also the JBoss Tools HTML Editor in the .jsf association.
I have tried all these editor, to open a .jsf file.
There still was no code completion, no toolTips about the tags, etc...
May be this config is not enough ?...
Which editor is "our editor" for jsf files ?
Did I missed something ? -
3. Re: file extension .jsf ? instead of .jsp and .xhtml
maxandersen Mar 28, 2008 2:59 AM (in response to antoine_h)hmmmm....that sounds a bit like a bug to me that JSP is chosen as the editor for JSF ...well actually depends if it is just jsp tags you use in those .jsf files.
Does it work if you use Open With and choose JBoss tools HTML editor ? -
4. Re: file extension .jsf ? instead of .jsp and .xhtml
antoine_h Mar 28, 2008 6:09 AM (in response to antoine_h)To check better :
- I create a new file (simple new file), with .jsf extension
- I copied into it the exact whole content of a .xhtml file that works well.
=> the file is set as a JSP (the icon is jsp, the default editor is JBoss Tool JSP editor).
if I open it with "open with", and choose JBoss Tool HTML editor.
idem : no code completion, no code validation etc...
note : the icon of the editor window is "green with htm"... and not "blue with jsp"
so, it seems there is something that prevent the editor to run with this file as a jsf file.
for the time being, I keep on with .xhtml file, because I need to go on with my work.
but I think .jsf files should be better.
xhtml is a great standard... but it now means everything... so it means nothing...
I mean : if someone want to search in files... it may be usefull to filter on the jsf file from other types of files... with the .jsf.
If I can help with some testing ...
I will try again the .jsf.... as soon as it can be possible...
Thanks, -
5. Re: file extension .jsf ? instead of .jsp and .xhtml
maxandersen Mar 28, 2008 8:46 AM (in response to antoine_h)could you report it in jira with a reference to this forum -then we won't forget it.
thanks -
6. Re: file extension .jsf ? instead of .jsp and .xhtml
antoine_h Mar 28, 2008 10:14 AM (in response to antoine_h)done
http://jira.jboss.org/jira/browse/JBIDE-1967
thanks...