Author: smukhina
Date: 2009-05-11 12:37:33 -0400 (Mon, 11 May 2009)
New Revision: 15200
Added:
branches/jbosstools-3.0.x/jsf/docs/userguide/en/modules/vwt_faq.xml
Log:
https://jira.jboss.org/jira/browse/JBDS-717 merged changes from trunk are added to the
corresponding branch
Copied: branches/jbosstools-3.0.x/jsf/docs/userguide/en/modules/vwt_faq.xml (from rev
15128, trunk/jsf/docs/userguide/en/modules/vwt_faq.xml)
===================================================================
--- branches/jbosstools-3.0.x/jsf/docs/userguide/en/modules/vwt_faq.xml
(rev 0)
+++ branches/jbosstools-3.0.x/jsf/docs/userguide/en/modules/vwt_faq.xml 2009-05-11
16:37:33 UTC (rev 15200)
@@ -0,0 +1,50 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<chapter id="vwt_faq" xreflabel="vwt_faq">
+ <?dbhtml filename="vwt_faq.html"?>
+ <title>FAQ</title>
+
+ <section id="question_1">
+ <title>What should I do if Visual Page Editor does not start under
Linux?</title>
+
+ <para> The <property>Visual Page Editor</property> requires the
library libstdc++.so.5. This library is
+ contained in the compat-libstdc++-33.i386 package.</para>
+
+ <itemizedlist>
+ <listitem>
+ <para>To install this package on Fedora Core or Red Hat Enterprise
Linux run the
+ following command:</para>
+ <programlisting role="JAVA"><![CDATA[yum install
compat-libstdc++-33.i386
+]]></programlisting>
+ </listitem>
+
+ <listitem>
+ <para>On any other rpm based distributions download libstdc++.so.5
and run the
+ following command:</para>
+ <programlisting role="JAVA"><![CDATA[rpm -Uvh
compat-libstdc++-33.i386
+]]></programlisting>
+ </listitem>
+
+ <listitem>
+ <para>On Debian based distributives run the following command:
</para>
+ <programlisting role="JAVA"><![CDATA[apt-get install
compat-libstdc++-33.i386
+]]></programlisting>
+ </listitem>
+ </itemizedlist>
+
+ <para> In case you have the library installed and you still have issue with
starting the
+ <property>Visual Page Editor</property> then close all browser
views/editors and leave one <property>Visual Page
+ Editor</property> open and restart eclipse. This should force a load of
the right XULRunner
+ viewer.</para>
+ </section>
+
+ <section id="question_2">
+ <title>How do I change the auto-formating preferences for the Visual Page
Editor?</title>
+
+ <para>JBoss HTML/JSP editor uses basic eclipse HTML formatter to format
files. So if you
+ want to change preferences of formatter for the <property>Visual Page
Editor</property>, you should change it
+ for eclipse html editor (open <emphasis><property>Window
>
+ Preferences</property>,</emphasis> then choose
<emphasis>
+ <property>Web > HTML Files > Editor</property>
+ </emphasis>).</para>
+ </section>
+</chapter>