JBoss Tools SVN: r14475 - trunk/as/tests/org.jboss.ide.eclipse.as.archives.integration.test/src/org/jboss/ide/eclipse/as/archives/integration/test.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2009-04-02 23:16:32 -0400 (Thu, 02 Apr 2009)
New Revision: 14475
Modified:
trunk/as/tests/org.jboss.ide.eclipse.as.archives.integration.test/src/org/jboss/ide/eclipse/as/archives/integration/test/BuildDeployTest.java
Log:
JBIDE-3825 - test case
Modified: trunk/as/tests/org.jboss.ide.eclipse.as.archives.integration.test/src/org/jboss/ide/eclipse/as/archives/integration/test/BuildDeployTest.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.archives.integration.test/src/org/jboss/ide/eclipse/as/archives/integration/test/BuildDeployTest.java 2009-04-03 03:08:09 UTC (rev 14474)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.archives.integration.test/src/org/jboss/ide/eclipse/as/archives/integration/test/BuildDeployTest.java 2009-04-03 03:16:32 UTC (rev 14475)
@@ -35,6 +35,7 @@
import org.eclipse.wst.server.core.IServerType;
import org.eclipse.wst.server.core.IServerWorkingCopy;
import org.eclipse.wst.server.core.ServerCore;
+import org.eclipse.wst.server.core.internal.Server;
import org.eclipse.wst.server.core.internal.ServerWorkingCopy;
import org.jboss.ide.eclipse.archives.core.model.ArchiveNodeFactory;
import org.jboss.ide.eclipse.archives.core.model.ArchivesModel;
@@ -63,7 +64,9 @@
private IFile textBuildArchiveFile;
private File textDeployedFile;
private IArchive rootArchive;
- public void testOne() throws Exception {
+
+
+ public void testAll() throws Exception {
// Builder is off, auto-deploy is off
enableAutomaticBuilder(false);
createProject();
@@ -79,8 +82,8 @@
enableAutomaticBuilder(true);
int count = ++index;
setContents(count);
+ callBuild(); // just to speed the test
assertSourceContents(count);
- JobUtils.waitForIdle();
assertBinContents(count);
assertBuiltArchiveContents(count);
try {
@@ -92,7 +95,13 @@
// Builder is on, auto-deploy is on
changeArchivesDeployPrefs(true, server.getId());
count = ++index;
+ try {
+ Thread.sleep(3000);
+ } catch( InterruptedException ie) {}
+ JobUtils.waitForIdle();
+
setContents(count);
+ callBuild(); // just to speed the test
assertSourceContents(count);
assertBinContents(count);
assertBuiltArchiveContents(count);
@@ -224,6 +233,8 @@
swc.setAttribute(DeployableServer.DEPLOY_DIRECTORY, deploy.toOSString());
swc.setAttribute(DeployableServer.TEMP_DEPLOY_DIRECTORY, tempDeploy.toOSString());
swc.setRuntime(runtime);
+ swc.setAutoPublishTime(1);
+ swc.setAutoPublishSetting(Server.AUTO_PUBLISH_ENABLE);
}
server = wc.save(true, new NullProgressMonitor());
@@ -264,11 +275,7 @@
protected void buildArchive() {
Job j = new BuildAction().run(rootArchive);
- while(j.getResult() == null ) {
- try {
- Thread.sleep(100);
- } catch( InterruptedException ie) {}
- }
+ JobUtils.waitForIdle();
assertTrue(j.getResult().isOK());
}
@@ -279,8 +286,10 @@
protected void setContents(int val) throws IOException , CoreException{
textFile.setContents(new ByteArrayInputStream(new String(VALUE_PREFIX + (val)).getBytes()), false, false, new NullProgressMonitor());
+ try {
+ Thread.sleep(2000);
+ } catch( InterruptedException ie) {}
JobUtils.waitForIdle();
- System.out.println("finish setContents");
}
protected void assertContents(InputStream is, int val) throws IOException {
@@ -293,9 +302,6 @@
}
protected void assertBinContents(int val) throws IOException, CoreException {
- try {
- Thread.sleep(20000);
- } catch( InterruptedException ie) {}
assertContents(textOutputFile.getContents(), val);
}
15 years, 9 months
JBoss Tools SVN: r14474 - in trunk: esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/messages and 2 other directories.
by jbosstools-commits@lists.jboss.org
Author: dennyxu
Date: 2009-04-02 23:08:09 -0400 (Thu, 02 Apr 2009)
New Revision: 14474
Modified:
trunk/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/facet/UninstallJBossClassPathCommand.java
trunk/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/messages/JBossFacetCore.properties
trunk/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/messages/JBossFacetCoreMessages.java
trunk/ws/plugins/org.jboss.tools.ws.core/src/org/jboss/tools/ws/core/messages/JBossWSCore.properties
trunk/ws/plugins/org.jboss.tools.ws.core/src/org/jboss/tools/ws/core/messages/JBossWSCoreMessages.java
trunk/ws/plugins/org.jboss.tools.ws.creation.core/src/org/jboss/tools/ws/creation/core/messages/JBossWSCreationCore.properties
trunk/ws/plugins/org.jboss.tools.ws.creation.core/src/org/jboss/tools/ws/creation/core/messages/JBossWSCreationCoreMessages.java
Log:
JBIDE-4044: Review unused strings from Messages classes of ESB and web service module
Modified: trunk/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/facet/UninstallJBossClassPathCommand.java
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/facet/UninstallJBossClassPathCommand.java 2009-04-03 03:01:59 UTC (rev 14473)
+++ trunk/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/facet/UninstallJBossClassPathCommand.java 2009-04-03 03:08:09 UTC (rev 14474)
@@ -72,7 +72,7 @@
} catch (CoreException e) {
status = StatusUtils.errorStatus(
- JBossFacetCoreMessages.Error_Remove_Facet_JBossWS, e);
+ JBossFacetCoreMessages.Error_Remove_Facet_JBossESB, e);
}
return status;
}
@@ -101,7 +101,7 @@
}
} catch (JavaModelException e) {
status = StatusUtils.errorStatus(NLS.bind(
- JBossFacetCoreMessages.Error_Remove_Facet_JBossWS,
+ JBossFacetCoreMessages.Error_Remove_Facet_JBossESB,
new String[] { e.getLocalizedMessage() }), e);
return status;
}
Modified: trunk/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/messages/JBossFacetCore.properties
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/messages/JBossFacetCore.properties 2009-04-03 03:01:59 UTC (rev 14473)
+++ trunk/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/messages/JBossFacetCore.properties 2009-04-03 03:08:09 UTC (rev 14474)
@@ -1,16 +1,8 @@
-Progress_Install_JBossWS_Runtime=JBoss ESB Runtime
-Progress_UnInstall_JBossWS_Runtime=Uninstall JBoss ESB Runtime
-Dir_Lib=lib
-Dir_Client=client
-Dir_Web_Inf=WEB-INF
-Dir_Web_Content=WebContent
-Error_Copy=Exception while copy runtime jars
+
# START NON-TRANSLATABLE
ESB_Location=jbossesbruntimelocation
# END NON-TRANSLATABLE
JBoss_Runtime=JBoss ESB Runtime
-JBossAS=JBOSS
-Error_WS_Location=The JBoss ESB Runtime Location is NULL
-Error_WS_Classpath=A error comes up when create JBoss ESB runtime Classpath
+
Error_Add_Facet_JBossESB=Exception while install JBoss ESB facet
-Error_Remove_Facet_JBossWS=Exception while uninstall JBoss ESB facet
+Error_Remove_Facet_JBossESB=Exception while uninstall JBoss ESB facet
Modified: trunk/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/messages/JBossFacetCoreMessages.java
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/messages/JBossFacetCoreMessages.java 2009-04-03 03:01:59 UTC (rev 14473)
+++ trunk/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/messages/JBossFacetCoreMessages.java 2009-04-03 03:08:09 UTC (rev 14474)
@@ -24,20 +24,11 @@
// Do not instantiate
}
- public static String Progress_Install_JBossWS_Runtime;
- public static String Progress_UnInstall_JBossWS_Runtime;
- public static String Dir_Lib;
- public static String Dir_Client;
- public static String Dir_Web_Inf;
- public static String Dir_Web_Content;
public static String Error_Copy;
public static String ESB_Location;
public static String JBoss_Runtime;
- public static String JBossAS;
- public static String Error_WS_Location;
- public static String Error_WS_Classpath;
public static String Error_Add_Facet_JBossESB;
- public static String Error_Remove_Facet_JBossWS;
+ public static String Error_Remove_Facet_JBossESB;
static {
Modified: trunk/ws/plugins/org.jboss.tools.ws.core/src/org/jboss/tools/ws/core/messages/JBossWSCore.properties
===================================================================
--- trunk/ws/plugins/org.jboss.tools.ws.core/src/org/jboss/tools/ws/core/messages/JBossWSCore.properties 2009-04-03 03:01:59 UTC (rev 14473)
+++ trunk/ws/plugins/org.jboss.tools.ws.core/src/org/jboss/tools/ws/core/messages/JBossWSCore.properties 2009-04-03 03:08:09 UTC (rev 14474)
@@ -2,14 +2,9 @@
Progress_UnInstall_JBossWS_Runtime=Uninstall JBoss Web Service Runtime
Dir_Lib=lib
Dir_Client=client
-Dir_Web_Inf=WEB-INF
-Dir_Web_Content=WebContent
Error_Copy=Exception while copy JBossWS jars
WS_Location=jbosswsruntimelocation
JBossWS_Runtime_Lib=JBossWS_Runtime
JBossWS_Runtime=JBoss WS Runtime
-JBossAS=JBOSS
-Error_WS_Location=The JBoss WS Runtime Location is NULL
-Error_WS_Classpath=A error comes up when create JBoss WS Classpath
Error_Add_Facet_JBossWS=Exception while install JBossWS facet
Error_Remove_Facet_JBossWS=Exception while uninstall JBossWS facet
Modified: trunk/ws/plugins/org.jboss.tools.ws.core/src/org/jboss/tools/ws/core/messages/JBossWSCoreMessages.java
===================================================================
--- trunk/ws/plugins/org.jboss.tools.ws.core/src/org/jboss/tools/ws/core/messages/JBossWSCoreMessages.java 2009-04-03 03:01:59 UTC (rev 14473)
+++ trunk/ws/plugins/org.jboss.tools.ws.core/src/org/jboss/tools/ws/core/messages/JBossWSCoreMessages.java 2009-04-03 03:08:09 UTC (rev 14474)
@@ -28,15 +28,10 @@
public static String Progress_UnInstall_JBossWS_Runtime;
public static String Dir_Lib;
public static String Dir_Client;
- public static String Dir_Web_Inf;
- public static String Dir_Web_Content;
public static String Error_Copy;
public static String WS_Location;
public static String JBossWS_Runtime_Lib;
public static String JBossWS_Runtime;
- public static String JBossAS;
- public static String Error_WS_Location;
- public static String Error_WS_Classpath;
public static String Error_Add_Facet_JBossWS;
public static String Error_Remove_Facet_JBossWS;
Modified: trunk/ws/plugins/org.jboss.tools.ws.creation.core/src/org/jboss/tools/ws/creation/core/messages/JBossWSCreationCore.properties
===================================================================
--- trunk/ws/plugins/org.jboss.tools.ws.creation.core/src/org/jboss/tools/ws/creation/core/messages/JBossWSCreationCore.properties 2009-04-03 03:01:59 UTC (rev 14473)
+++ trunk/ws/plugins/org.jboss.tools.ws.creation.core/src/org/jboss/tools/ws/creation/core/messages/JBossWSCreationCore.properties 2009-04-03 03:08:09 UTC (rev 14474)
@@ -6,32 +6,36 @@
Label_Binding_File=Binding files
Label_JaxWS_Target=JAX-WS specification
Label_Update_Webxml=Update the default Web.xml
+# START NON-TRANSLATABLE
Value_Target_0=2.0
Value_Target_1=2.1
+# END NON-TRANSLATABLE
Label_Button_Text_Remove=Remove
Error_Message_Invalid_Binding_File={0} is not a valid JAX-WS or JAXB binding file
-Error_Read_Binding_File=Exception occurred while reading binding file
Error_Message_Failed_To_Generate_Code=Failed to Generate Web Service code, please check the log for more details
Error_Message_Failed_to_Generate_Implementation=Failed to generate implementation class
Error_Message_Command_File_Not_Found=The command file: "{0}" does not exist, please check the JBoss Web Service runtime setting to make sure the location of JBoss Web Service runtime is valid.
-Error_Message_Execute_Command=Exception occurred while execute JBossWS tool command
Error_Message_No_Runtime_Specified=No JBoss Web Service runtime has been specified.
-Separator_Java=/
-Error_Implemetation_Code_Generation=Exception occurred while generating implementation class
+
Error_No_Annotation=This class has no required JAXWS Annotation!
+# START NON-TRANSLATABLE
+Separator_Java=/
WebserviceClient_Annotation=@WebServiceClient
Webservice_Annotation=@WebService
Webservice_Annotation_Prefix=(a)javax.jws.WebService
-Error_No_Class= The class {0} cannot be loaded via project {1}.Check that the project contains the class, or that the class is loadable according to the Java Build Path of the project.
-Error_WS_Location=The JBoss WS Runtime Location is NULL. Please set the location on JBoss WS preferences page.
Webservice_Annotation_Check=@WebService(
Client_Sample_Package_Name=.clientsample
Client_Sample_Class_Name=ClientSample
-Error_Create_Client_Sample=When create a client sample, a error comes up. Please check the generated files.
WebEndpoint=WebEndpoint
+# END NON-TRANSLATABLE
+Error_No_Class= The class {0} cannot be loaded via project {1}.Check that the project contains the class, or that the class is loadable according to the Java Build Path of the project.
+Error_WS_Location=The JBoss WS Runtime Location is NULL. Please set the location on JBoss WS preferences page.
+Error_Create_Client_Sample=When create a client sample, a error comes up. Please check the generated files.
+
+
Error_WS_Chose_runtime=Select an JBoss Web Service runtime. If a server supplied JBoss Web Service runtime is chosen ,\n the chosen server adapter must be capable of providing the JBoss Web Service runtime
Error_WS_No_Runtime_Specifed=A JBossWS runtime has not been chosen
JBossWSFacetInstallPage_Title=JBossWS Facet
@@ -40,4 +44,3 @@
JBossWSFacetInstallPage_Deploy= Package all JBossWS runtime jars into the deployment archive
JBossWSFacetInstallPage_New=New...
Client_Sample_Run_Over= Call Over!
-
Modified: trunk/ws/plugins/org.jboss.tools.ws.creation.core/src/org/jboss/tools/ws/creation/core/messages/JBossWSCreationCoreMessages.java
===================================================================
--- trunk/ws/plugins/org.jboss.tools.ws.creation.core/src/org/jboss/tools/ws/creation/core/messages/JBossWSCreationCoreMessages.java 2009-04-03 03:01:59 UTC (rev 14473)
+++ trunk/ws/plugins/org.jboss.tools.ws.creation.core/src/org/jboss/tools/ws/creation/core/messages/JBossWSCreationCoreMessages.java 2009-04-03 03:08:09 UTC (rev 14474)
@@ -31,17 +31,14 @@
public static String Label_Button_Text_Remove;
public static String Error_Message_Invalid_Binding_File;
- public static String Error_Read_Binding_File;
+
public static String Separator_Java;
public static String Error_Message_Failed_To_Generate_Code;
public static String Error_Message_Failed_to_Generate_Implementation;
public static String Error_Message_Command_File_Not_Found;
- public static String Error_Message_Execute_Command;
-
-
- public static String Error_Implemetation_Code_Generation;
+
public static String Error_No_Annotation;
public static String WebserviceClient_Annotation;
public static String Error_No_Class;
15 years, 9 months
JBoss Tools SVN: r14473 - trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/actions.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2009-04-02 23:01:59 -0400 (Thu, 02 Apr 2009)
New Revision: 14473
Modified:
trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/actions/BuildAction.java
Log:
Old comment removed.
Modified: trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/actions/BuildAction.java
===================================================================
--- trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/actions/BuildAction.java 2009-04-03 02:38:54 UTC (rev 14472)
+++ trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/src/main/org/jboss/ide/eclipse/archives/ui/actions/BuildAction.java 2009-04-03 03:01:59 UTC (rev 14473)
@@ -70,7 +70,6 @@
private Job buildSelectedNode(final Object selected) {
Job j = new Job(ArchivesUIMessages.BuildArchivesNode) {
- // TODO actually get the status object
protected IStatus run(IProgressMonitor monitor) {
if( selected == null ) return Status.OK_STATUS;
if( selected instanceof IArchiveNode ) {
15 years, 9 months
JBoss Tools SVN: r14472 - trunk/as/plugins/org.jboss.ide.eclipse.archives.webtools/src/org/jboss/ide/eclipse/archives/webtools/ui.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2009-04-02 22:38:54 -0400 (Thu, 02 Apr 2009)
New Revision: 14472
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.archives.webtools/src/org/jboss/ide/eclipse/archives/webtools/ui/PublishAction.java
Log:
forgotton file
Modified: trunk/as/plugins/org.jboss.ide.eclipse.archives.webtools/src/org/jboss/ide/eclipse/archives/webtools/ui/PublishAction.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.archives.webtools/src/org/jboss/ide/eclipse/archives/webtools/ui/PublishAction.java 2009-04-03 01:36:51 UTC (rev 14471)
+++ trunk/as/plugins/org.jboss.ide.eclipse.archives.webtools/src/org/jboss/ide/eclipse/archives/webtools/ui/PublishAction.java 2009-04-03 02:38:54 UTC (rev 14472)
@@ -43,7 +43,7 @@
if( servers != null ) {
Job j = new Job(Messages.BuildArchive) {
protected IStatus run(IProgressMonitor monitor) {
- ArchivesModuleModelListener.publish(pkg, servers2, IServer.PUBLISH_FULL);
+ ArchivesModuleModelListener.getInstance().publish(pkg, servers2, IServer.PUBLISH_FULL);
return Status.OK_STATUS;
} };
j.schedule();
15 years, 9 months
JBoss Tools SVN: r14471 - trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/messages.
by jbosstools-commits@lists.jboss.org
Author: sflanigan
Date: 2009-04-02 21:36:51 -0400 (Thu, 02 Apr 2009)
New Revision: 14471
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/messages/messages.properties
Log:
JBIDE-3557 Removed message with duplicate key
Modified: trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/messages/messages.properties
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/messages/messages.properties 2009-04-02 18:00:20 UTC (rev 14470)
+++ trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/messages/messages.properties 2009-04-03 01:36:51 UTC (rev 14471)
@@ -38,7 +38,6 @@
SPECIFIED_FOLDER_DOESNOT_EXIST=Specified folder does not exist.
SPECIFIED_FOLDER_ISNOT_JVMHOME=Specified folder is not JVM home.
APPLICATION_IS_ALREADY_REGISTERED=Application {0} is already registered in {1}
-APPLICATION_IS_ALREADY_REGISTERED=Application is already registered.
APPLICATION_HAS_BEEN_UNREGISTERED_FROM=Application {0} has been unregistered from {1}.
SERVERS_DIRECTORY_ISNOT_FOUND=Servers directory is not found.
SERVER_ISNOT_FOUND=Server {0} is not found
15 years, 9 months
JBoss Tools SVN: r14470 - trunk/documentation/guides/GettingStartedGuide/en/modules.
by jbosstools-commits@lists.jboss.org
Author: smukhina
Date: 2009-04-02 14:00:20 -0400 (Thu, 02 Apr 2009)
New Revision: 14470
Modified:
trunk/documentation/guides/GettingStartedGuide/en/modules/further_reading.xml
Log:
https://jira.jboss.org/jira/browse/JBDS-691 GSG. Further reading chapter update.
Modified: trunk/documentation/guides/GettingStartedGuide/en/modules/further_reading.xml
===================================================================
--- trunk/documentation/guides/GettingStartedGuide/en/modules/further_reading.xml 2009-04-02 17:44:11 UTC (rev 14469)
+++ trunk/documentation/guides/GettingStartedGuide/en/modules/further_reading.xml 2009-04-02 18:00:20 UTC (rev 14470)
@@ -13,17 +13,8 @@
<title>Further Reading</title>
- <para>
- <emphasis role="bold">JSF Tools Reference Guide</emphasis>
- <ulink url="&jsfreflink;">(html)</ulink>
+
- </para>
- <para> From this guide you'll discover all peculiarities of work at a JSF project. You'll
- learn all shades that cover the process of project creation and take a closer look at the JSF
- configuration file. Also you'll get to know managed beans and how to work with them and
- find out, how to create and register a custom converter, custom validator and referenced beans
- in a JSF project. </para>
-
<itemizedlist>
<listitem>
@@ -40,7 +31,7 @@
<listitem>
<para>
<emphasis role="bold">Visual Web Tools Reference Guide</emphasis>
- <ulink url="&jsflink;">(html)</ulink> provides general orientation and an overview of JBDS visual web tools functionality
+ <ulink url="&jsflink;">(html)</ulink> provides general orientation and an overview of JBDS visual web tools functionality. This guide discusses the following topics: editors, palette, web properties view, openOn, content assist, RichFaces support.
</para>
</listitem>
@@ -83,8 +74,8 @@
<emphasis role="bold">ESB Editor Reference Guide</emphasis>
<ulink url="&esblink;">(html)</ulink>
</para>
- <para>This guide provides you with the information on ESB Editor which allows you to develop ESB
- files.</para>
+ <para>This guide provides you with the information on ESB Editor and all necessary wizards for ESB
+ files development.</para>
</listitem>
<listitem>
@@ -101,7 +92,7 @@
<emphasis role="bold">JBoss WS User Guide</emphasis>
<ulink url="&wslink;">(html)</ulink>
</para>
- <para>This guide gives you practical help on JBossWS usage.</para>
+ <para>This guide gives you practical help on JBossWS usage. You will learn how to create a web service using JBossWS runtime, find out how to create a web service client from a WSDL document using JBoss WS and also see how to set your development environment.</para>
</listitem>
<listitem>
@@ -109,7 +100,7 @@
<emphasis role="bold">Smooks Tools Reference Guide</emphasis>
<ulink url="&wslink;">(html)</ulink>
</para>
- <para>This guide is packed with useful and easy-to-understand information about Jboss Smooks Tools.</para>
+ <para>This guide is packed with useful and easy-to-understand information about graphical, configuration and source editor pages.</para>
</listitem>
<listitem>
@@ -117,7 +108,7 @@
<emphasis role="bold">Drools Tools Reference Guide</emphasis>
<ulink url="&wslink;">(html)</ulink>
</para>
- <para>The guide help you to discover how to work with JBoss Drools Tools.</para>
+ <para>The guide help you to discover how to create a new Drools project, use debugging rules and work with different editors.</para>
</listitem>
<listitem>
@@ -125,7 +116,7 @@
<emphasis role="bold">JMX Tools Reference Guide</emphasis>
<ulink url="&wslink;">(html)</ulink>
</para>
- <para>With the help of this guide you'll explore the best practices to follow when working with JBoss JMX Tools.</para>
+ <para>With the help of this guide you'll explore the best practices to follow when working with MBean Explorer, MBean Editor, Connections and etc.</para>
</listitem>
<listitem>
@@ -138,6 +129,18 @@
</listitem>
<listitem> <para>
+ <emphasis role="bold">JSF Tools Reference Guide</emphasis>
+ <ulink url="&jsfreflink;">(html)</ulink>
+
+ </para>
+ <para> From this guide you'll discover all peculiarities of work at a JSF project. You'll
+ learn all shades that cover the process of project creation and take a closer look at the JSF
+ configuration file. Also you'll get to know managed beans and how to work with them and
+ find out, how to create and register a custom converter, custom validator and referenced beans
+ in a JSF project. </para>
+ </listitem>
+
+ <listitem> <para>
<emphasis role="bold">Struts Tools Reference Guide</emphasis>
<ulink url="&strutsreflink;">(html)</ulink>
</para>
@@ -171,7 +174,6 @@
url="http://www.jboss.com/index.html?module=bb&op=viewforum&f=201"
>JBoss Tools Users Forum</ulink> to ask questions. There we are also looking for
your suggestions and comments.</para>
- </section>
-
</itemizedlist>
+
</chapter>
15 years, 9 months
JBoss Tools SVN: r14469 - trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/messages.
by jbosstools-commits@lists.jboss.org
Author: vrubezhny
Date: 2009-04-02 13:44:11 -0400 (Thu, 02 Apr 2009)
New Revision: 14469
Modified:
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/messages/UIMessages.java
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/messages/messages.properties
Log:
JBIDE-4044 Review unused strings from Messages classes as reported by UCDetector
The unused properies are removed from UIMessages bundle class and its bundle (messages.properties)
Modified: trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/messages/UIMessages.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/messages/UIMessages.java 2009-04-02 17:30:57 UTC (rev 14468)
+++ trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/messages/UIMessages.java 2009-04-02 17:44:11 UTC (rev 14469)
@@ -20,10 +20,5 @@
// load message values from bundle file
NLS.initializeMessages(BUNDLE_NAME, UIMessages.class);
}
- public static String ERROR_CREATING_NESTED_TEXT_EDITOR;
- public static String CHANGE_FONT;
- public static String PROPERTIES;
- public static String PREVIEW;
- public static String MUST_BE_IFILEEDITORINPUT;
public static String CANNOT_DISPLAY_DOCUMENT_CONTENTS;
}
Modified: trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/messages/messages.properties
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/messages/messages.properties 2009-04-02 17:30:57 UTC (rev 14468)
+++ trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/messages/messages.properties 2009-04-02 17:44:11 UTC (rev 14469)
@@ -1,6 +1 @@
-ERROR_CREATING_NESTED_TEXT_EDITOR=Error creating nested text editor
-CHANGE_FONT=Change Font...
-PROPERTIES=Properties
-PREVIEW=Preview
-MUST_BE_IFILEEDITORINPUT=Invalid Input: Must be IFileEditorInput
CANNOT_DISPLAY_DOCUMENT_CONTENTS=Cannot display document contents.
\ No newline at end of file
15 years, 9 months
JBoss Tools SVN: r14468 - trunk/struts/plugins/org.jboss.tools.struts/src/org/jboss/tools/struts/messages.
by jbosstools-commits@lists.jboss.org
Author: vrubezhny
Date: 2009-04-02 13:30:57 -0400 (Thu, 02 Apr 2009)
New Revision: 14468
Modified:
trunk/struts/plugins/org.jboss.tools.struts/src/org/jboss/tools/struts/messages/StrutsUIMessages.java
trunk/struts/plugins/org.jboss.tools.struts/src/org/jboss/tools/struts/messages/messages.properties
Log:
JBIDE-4044 Review unused strings from Messages classes as reported by UCDetector
The unused properies are removed from StrutsUIMessages bundle class and its bundle (messages.properties)
Modified: trunk/struts/plugins/org.jboss.tools.struts/src/org/jboss/tools/struts/messages/StrutsUIMessages.java
===================================================================
--- trunk/struts/plugins/org.jboss.tools.struts/src/org/jboss/tools/struts/messages/StrutsUIMessages.java 2009-04-02 16:34:51 UTC (rev 14467)
+++ trunk/struts/plugins/org.jboss.tools.struts/src/org/jboss/tools/struts/messages/StrutsUIMessages.java 2009-04-02 17:30:57 UTC (rev 14468)
@@ -101,12 +101,6 @@
public static String REOPEN;
public static String OVERWRITE;
public static String APPLICATION_NAME_AND_WEBXML_FOLDER;
- public static String ENTER_PATH_TO_EXISTING_FOLDER;
- public static String IMPORT_WEB_PROJECT;
- public static String ENTER_PROJECT_NAME_AND_SELECT_THE_FOLDER;
- public static String STEP1_PROJECTNAME_AND_LOCATION;
- public static String SPECIFY_EXISTING_FOLDER;
- public static String STEP2_FOLDERS;
public static String CREATE_WEB_PROJECT;
public static String ENTER_PROJECTNAME_AND_CONFIGURATIONFILE_VERSION;
public static String STEP1_PROJECTNAME_AND_VERSION;
@@ -194,5 +188,4 @@
public static String DIAGRAM_TOOLBAR_ADD_GLOBAL_FORWARD;
public static String DIAGRAM_TOOLBAR_ADD_GLOBAL_EXCEPTION;
public static String DIAGRAM_TOOLBAR_ADD_PAGE;
- public static String DIAGRAM_TOOLBAR_VIEW_TEMPLATE;
}
Modified: trunk/struts/plugins/org.jboss.tools.struts/src/org/jboss/tools/struts/messages/messages.properties
===================================================================
--- trunk/struts/plugins/org.jboss.tools.struts/src/org/jboss/tools/struts/messages/messages.properties 2009-04-02 16:34:51 UTC (rev 14467)
+++ trunk/struts/plugins/org.jboss.tools.struts/src/org/jboss/tools/struts/messages/messages.properties 2009-04-02 17:30:57 UTC (rev 14468)
@@ -6,7 +6,6 @@
MODULE_CANNOT_BE_REGISTERED_IS_INCORRECT=Module cannot be registered because web.xml is incorrect.
SELECT_AT_LEAST_ONE_CLASS_TYPE=Select at least one class type
STEP_2_ACTIONS=Step 2 - Actions
-STEP2_FOLDERS=Step 2 - Folders
STEP_3_FORMBEANS=Step 3 - FormBeans
STEP_4_FORWARDS=Step 4 - Forwards
STEP_5_EXCEPTIONS=Step 5 - Exceptions
@@ -105,14 +104,9 @@
REOPEN=Reopen
OVERWRITE=Overwrite
APPLICATION_NAME_AND_WEBXML_FOLDER=Application Name and web.xml Folder
-ENTER_PATH_TO_EXISTING_FOLDER=Please, enter path to existing folder for
-IMPORT_WEB_PROJECT=Import Web Project
IMPORT_STRUTS_PROJECT=Import Struts Project
-ENTER_PROJECT_NAME_AND_SELECT_THE_FOLDER=Enter project name and select the folder where Struts configuration file is located.
ENTER_PROJECTNAME_AND_CONFIGURATIONFILE_VERSION=Enter project name and Struts configuration file version.
-STEP1_PROJECTNAME_AND_LOCATION=Step 1 - Project Name and Location
STEP1_PROJECTNAME_AND_VERSION=Step 1 - Project Name and Version
-SPECIFY_EXISTING_FOLDER=Please, specify existing folder
PROJECT_ROOTFOLDER_AND_SELECT_TEMPLATE=Enter project's root folder and select template.
STEP2_LOCATION_AND_TEMPLATE=Step 2 - Location and Template
FOLDER_EXISTS_AND_ISNOT_EMPTY=Folder {0} exists and is not empty. Overwrite?
@@ -167,4 +161,3 @@
DIAGRAM_TOOLBAR_ADD_GLOBAL_FORWARD=Add Global Forward
DIAGRAM_TOOLBAR_ADD_GLOBAL_EXCEPTION=Add Global Exception
DIAGRAM_TOOLBAR_ADD_PAGE=Add Page
-DIAGRAM_TOOLBAR_VIEW_TEMPLATE=View Template
\ No newline at end of file
15 years, 9 months
JBoss Tools SVN: r14467 - trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/messages.
by jbosstools-commits@lists.jboss.org
Author: vrubezhny
Date: 2009-04-02 12:34:51 -0400 (Thu, 02 Apr 2009)
New Revision: 14467
Modified:
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/messages/JstUIMessages.java
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/messages/messages.properties
Log:
JBIDE-4044 Review unused strings from Messages classes as reported by UCDetector
The unused properies are removed from JstUIMessages bundle class and its bundle (messages.properties)
Modified: trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/messages/JstUIMessages.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/messages/JstUIMessages.java 2009-04-02 16:20:23 UTC (rev 14466)
+++ trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/messages/JstUIMessages.java 2009-04-02 16:34:51 UTC (rev 14467)
@@ -39,19 +39,12 @@
return fResourceBundle;
}
- public static String CSS_FILE_SELECT_DIALOG_TITLE;
- public static String CSS_FILE_SELECT_DIALOG_LABEL;
- public static String CSS_FILE_SELECT_DIALOG_EMPTY_MESSAGE;
- public static String CSS_STYLE_CLASS_EDITOR_HEADER_TITLE;
public static String CSS_STYLE_CLASS_EDITOR_DESCRIPTION;
public static String CSS_STYLE_CLASS_EDITOR_TITLE;
public static String CSS_STYLE_EDITOR_TITLE;
public static String CSS_EMPTY_FILE_PATH_MESSAGE;
public static String CSS_EMPTY_STYLE_CLASS_MESSAGE;
- public static String CSS_SAVE_DIALOG_TITLE;
- public static String CSS_SAVE_DIALOG_MESSAGE;
public static String CSS_CLASS_DIALOG_FILE_LABEL;
- public static String CSS_BROWSE_BUTTON_TOOLTIP;
public static String CSS_CLASS_DIALOG_STYLE_CLASS_LABEL;
public static String CSS_CLEAR_STYLE_SHEET;
public static String CSS_APPLY_CHANGES;
Modified: trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/messages/messages.properties
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/messages/messages.properties 2009-04-02 16:20:23 UTC (rev 14466)
+++ trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/messages/messages.properties 2009-04-02 16:34:51 UTC (rev 14467)
@@ -1,22 +1,16 @@
-CSS_FILE_SELECT_DIALOG_TITLE=CSS File Selection
-CSS_FILE_SELECT_DIALOG_LABEL=Select CSS file from the tree:
-CSS_FILE_SELECT_DIALOG_EMPTY_MESSAGE=No CSS file in the current project
-CSS_STYLE_CLASS_EDITOR_HEADER_TITLE=CSS Style Class Editor
CSS_STYLE_CLASS_EDITOR_DESCRIPTION=Create New CSS Class
CSS_STYLE_CLASS_EDITOR_TITLE=CSS Class
CSS_STYLE_EDITOR_TITLE=CSS Style
CSS_EMPTY_FILE_PATH_MESSAGE=Choose any CSS file
CSS_EMPTY_STYLE_CLASS_MESSAGE=Style class field is empty
CSS_INVALID_STYLE_PROPERTY=Invalid Style class property has been entered.Preview Tab will be not updated.
-CSS_SAVE_DIALOG_TITLE=Save CSS file
-CSS_SAVE_DIALOG_MESSAGE=CSS file has been changed.\nWould you like to save changes?
+#CSS_SAVE_DIALOG_TITLE=Save CSS file
CSS_CLASS_DIALOG_FILE_LABEL=CSS file:
CSS_CLASS_DIALOG_STYLE_CLASS_LABEL=Style class:
CSS_NO_EDITED_PROPERTIES=No Edited Properties
-CSS_BROWSE_BUTTON_TOOLTIP=Browse
CSS_CLEAR_STYLE_SHEET=Clear style sheet
CSS_APPLY_CHANGES=Apply changes
15 years, 9 months
JBoss Tools SVN: r14466 - in trunk/jsf/plugins: org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template and 2 other directories.
by jbosstools-commits@lists.jboss.org
Author: dmaliarevich
Date: 2009-04-02 12:20:23 -0400 (Thu, 02 Apr 2009)
New Revision: 14466
Added:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.seam/src/org/jboss/tools/jsf/vpe/seam/template/SeamLinkTemplate.java
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/META-INF/MANIFEST.MF
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfCommandLinkTemplate.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfOutputTextTemplate.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.seam/templates/vpe-templates-seam.xml
Log:
https://jira.jboss.org/jira/browse/JBIDE-3690, vpe-text class was added to span elements to avoid custom style declaration influences, some seam templates were added.
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/META-INF/MANIFEST.MF
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/META-INF/MANIFEST.MF 2009-04-02 16:20:16 UTC (rev 14465)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/META-INF/MANIFEST.MF 2009-04-02 16:20:23 UTC (rev 14466)
@@ -18,6 +18,7 @@
Eclipse-LazyStart: true
Export-Package: org.jboss.tools.jsf.vpe.jsf.template,
org.jboss.tools.jsf.vpe.jsf.template.selectitem,
+ org.jboss.tools.jsf.vpe.jsf.template.util,
org.jboss.tools.jsf.vpe.jsf.template.util.model
Bundle-Localization: plugin
Import-Package: org.jboss.tools.jst.web.tld
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfCommandLinkTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfCommandLinkTemplate.java 2009-04-02 16:20:16 UTC (rev 14465)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfCommandLinkTemplate.java 2009-04-02 16:20:23 UTC (rev 14466)
@@ -16,6 +16,7 @@
import org.jboss.tools.vpe.editor.template.VpeCreationData;
import org.jboss.tools.vpe.editor.template.VpeTemplateManager;
import org.jboss.tools.vpe.editor.util.HTML;
+import org.jboss.tools.vpe.editor.util.VisualDomUtil;
import org.mozilla.interfaces.nsIDOMDocument;
import org.mozilla.interfaces.nsIDOMElement;
import org.w3c.dom.Element;
@@ -45,9 +46,9 @@
boolean hasParentForm = hasParentForm(pageContext, element);
if (!hasParentForm) {
- parentElement = visualDocument.createElement(HTML.TAG_SPAN);
- } else if (disabled){
- parentElement = visualDocument.createElement(HTML.TAG_SPAN);
+ parentElement = VisualDomUtil.createBorderlessContainer(visualDocument);
+ } else if (disabled) {
+ parentElement = VisualDomUtil.createBorderlessContainer(visualDocument);
} else {
parentElement = visualDocument.createElement(HTML.TAG_A);
}
@@ -57,8 +58,8 @@
VpeCreationData creationData;
if (!hasParentForm) {
- nsIDOMElement topSpan = visualDocument.createElement(HTML.TAG_SPAN);
- nsIDOMElement noteSpan = visualDocument.createElement(HTML.TAG_SPAN);
+ nsIDOMElement topSpan = VisualDomUtil.createBorderlessContainer(visualDocument);
+ nsIDOMElement noteSpan = VisualDomUtil.createBorderlessContainer(visualDocument);
noteSpan.appendChild(visualDocument.createTextNode(OUTSIDE_FORM_TEXT));
topSpan.appendChild(parentElement);
topSpan.appendChild(noteSpan);
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfOutputTextTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfOutputTextTemplate.java 2009-04-02 16:20:16 UTC (rev 14465)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfOutputTextTemplate.java 2009-04-02 16:20:23 UTC (rev 14466)
@@ -13,6 +13,7 @@
import org.jboss.tools.vpe.editor.context.VpePageContext;
import org.jboss.tools.vpe.editor.template.VpeCreationData;
import org.jboss.tools.vpe.editor.util.HTML;
+import org.jboss.tools.vpe.editor.util.VisualDomUtil;
import org.mozilla.interfaces.nsIDOMDocument;
import org.mozilla.interfaces.nsIDOMElement;
import org.mozilla.interfaces.nsIDOMNode;
@@ -39,7 +40,7 @@
Element element = (Element) sourceNode;
// create span element
- nsIDOMElement span = visualDocument.createElement(HTML.TAG_SPAN);
+ nsIDOMElement span = VisualDomUtil.createBorderlessContainer(visualDocument);
// creation data
VpeCreationData creationData = new VpeCreationData(span);
Added: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.seam/src/org/jboss/tools/jsf/vpe/seam/template/SeamLinkTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.seam/src/org/jboss/tools/jsf/vpe/seam/template/SeamLinkTemplate.java (rev 0)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.seam/src/org/jboss/tools/jsf/vpe/seam/template/SeamLinkTemplate.java 2009-04-02 16:20:23 UTC (rev 14466)
@@ -0,0 +1,76 @@
+/*******************************************************************************
+ * Copyright (c) 2007-2009 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributor:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.jsf.vpe.seam.template;
+
+import org.jboss.tools.jsf.vpe.jsf.template.util.ComponentUtil;
+import org.jboss.tools.vpe.editor.context.VpePageContext;
+import org.jboss.tools.vpe.editor.template.VpeChildrenInfo;
+import org.jboss.tools.vpe.editor.template.VpeCreationData;
+import org.jboss.tools.vpe.editor.util.HTML;
+import org.jboss.tools.vpe.editor.util.VisualDomUtil;
+import org.jboss.tools.jsf.vpe.jsf.template.AbstractOutputJsfTemplate;
+import org.mozilla.interfaces.nsIDOMDocument;
+import org.mozilla.interfaces.nsIDOMElement;
+import org.w3c.dom.Element;
+import org.w3c.dom.Node;
+
+/**
+ * Template for s:link tag
+ *
+ * @author dmaliarevich
+ *
+ */
+public class SeamLinkTemplate extends AbstractOutputJsfTemplate {
+
+ public VpeCreationData create(VpePageContext pageContext, Node sourceNode,
+ nsIDOMDocument visualDocument) {
+
+ Element element = (Element) sourceNode;
+ nsIDOMElement parentElement;
+
+ boolean disabled = ComponentUtil.string2boolean(ComponentUtil
+ .getAttribute(element, HTML.ATTR_DISABLED));
+ String value = ComponentUtil.getAttribute(element, HTML.ATTR_VALUE);
+ if (disabled){
+ parentElement = VisualDomUtil.createBorderlessContainer(visualDocument);
+ } else {
+ parentElement = visualDocument.createElement(HTML.TAG_A);
+ }
+
+ /*
+ * copy attributes
+ */
+ copyOutputJsfAttributes(parentElement, element);
+
+ VpeCreationData creationData;
+ creationData = new VpeCreationData(parentElement);
+
+ VpeChildrenInfo linkInfo = new VpeChildrenInfo(parentElement);
+ creationData.addChildrenInfo(linkInfo);
+
+ for (Node child : ComponentUtil.getChildren(element)) {
+ linkInfo.addSourceChild(child);
+ }
+ if (ComponentUtil.isNotBlank(value)) {
+ parentElement.appendChild(visualDocument.createTextNode(value));
+ }
+ return creationData;
+
+ }
+
+ @Override
+ public boolean recreateAtAttrChange(VpePageContext pageContext,
+ Element sourceElement, nsIDOMDocument visualDocument,
+ nsIDOMElement visualNode, Object data, String name, String value) {
+ return true;
+ }
+
+}
Property changes on: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.seam/src/org/jboss/tools/jsf/vpe/seam/template/SeamLinkTemplate.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:keywords
+ Author Id Revision Date
Name: svn:eol-style
+ native
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.seam/templates/vpe-templates-seam.xml
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.seam/templates/vpe-templates-seam.xml 2009-04-02 16:20:16 UTC (rev 14465)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.seam/templates/vpe-templates-seam.xml 2009-04-02 16:20:23 UTC (rev 14466)
@@ -4,58 +4,84 @@
<vpe:template-taglib uri="http://jboss.com/products/seam/taglib"
prefix="s" />
- <vpe:tag name="s:button" case-sensitive="yes">
- <vpe:if test="not(attrpresent('image'))">
- <vpe:if test="@type=''">
- <vpe:template children="no" modify="no">
- <input type="submit" value="{iif(@value='',' ',jsfvalue(@value))}" class="{@styleClass}" style="{@style}" title="{tagstring()}"/>
- <vpe:resize>
- <vpe:width width-attr="style.width" />
- <vpe:height height-attr="style.height" />
- </vpe:resize>
- <vpe:dnd>
- <vpe:drag start-enable="yes"/>
- </vpe:dnd>
- <vpe:textFormatting use-default-formats="yes">
- </vpe:textFormatting>
- </vpe:template>
- </vpe:if>
- <vpe:if test="(@type='button')|(@type='reset')|(@type='submit')">
- <vpe:template children="no" modify="no">
- <input type="{@type}" value="{jsfvalue(@value)}" class="{@styleClass}" style="{@style}" title="{tagstring()}"/>
- <vpe:resize>
- <vpe:width width-attr="style.width" />
- <vpe:height height-attr="style.height" />
- </vpe:resize>
- <vpe:dnd>
- <vpe:drag start-enable="yes"/>
- </vpe:dnd>
- <vpe:textFormatting use-default-formats="yes">
- </vpe:textFormatting>
- </vpe:template>
- </vpe:if>
- </vpe:if>
- <vpe:if test="attrpresent('image')">
- <vpe:template children="no" modify="no">
- <input type="image" src="{src(@image)}" class="{@styleClass}" style="{@style}" title="{tagstring()}"/>
- <vpe:resize>
- <vpe:width width-attr="style.width" />
- <vpe:height height-attr="style.height" />
- </vpe:resize>
- <vpe:textFormatting use-default-formats="yes">
- </vpe:textFormatting>
- </vpe:template>
- </vpe:if>
- </vpe:tag>
+ <vpe:tag name="s:button" case-sensitive="yes">
+ <!-- This is a very big if-statement.
+ Its goal is to add support of 'disabled property'
+ DO NOT FORGET TO EDIT 'ELSE' PART IN FUTURE MODIFICATIONS -->
+ <vpe:if test="(@disabled='true')">
+ <vpe:if test="not(attrpresent('image'))">
+ <vpe:template children="no" modify="no">
+ <input type="button" value="{iif(@value='',' ',jsfvalue(@value))}"
+ class="{@styleClass}" style="{@style}"
+ title="{tagstring()}" dir="{@dir}"
+ disabled='disabled'/>
+ <vpe:resize>
+ <vpe:width width-attr="style.width" />
+ <vpe:height height-attr="style.height" />
+ </vpe:resize>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ </vpe:dnd>
+ <vpe:textFormatting use-default-formats="yes">
+ </vpe:textFormatting>
+ </vpe:template>
+ </vpe:if>
+ <vpe:if test="attrpresent('image')">
+ <vpe:template children="no" modify="no">
+ <input type="image" src="{src(@image)}"
+ class="{@styleClass}" style="{@style}" title="{tagstring()}"
+ disabled='disabled'/>
+ <vpe:resize>
+ <vpe:width width-attr="style.width" />
+ <vpe:height height-attr="style.height" />
+ </vpe:resize>
+ <vpe:textFormatting use-default-formats="yes">
+ </vpe:textFormatting>
+ </vpe:template>
+ </vpe:if>
+ </vpe:if>
+ <!--else-->
+ <vpe:if test="not(attrpresent('image'))">
+ <vpe:template children="no" modify="no">
+ <input type="button" value="{iif(@value='',' ',jsfvalue(@value))}"
+ class="{@styleClass}" style="{@style}"
+ title="{tagstring()}" dir="{@dir}"/>
+ <vpe:resize>
+ <vpe:width width-attr="style.width" />
+ <vpe:height height-attr="style.height" />
+ </vpe:resize>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ </vpe:dnd>
+ <vpe:textFormatting use-default-formats="yes">
+ </vpe:textFormatting>
+ </vpe:template>
+ </vpe:if>
+ <vpe:if test="attrpresent('image')">
+ <vpe:template children="no" modify="no">
+ <input type="image" src="{src(@image)}"
+ class="{@styleClass}" style="{@style}" title="{tagstring()}" />
+ <vpe:resize>
+ <vpe:width width-attr="style.width" />
+ <vpe:height height-attr="style.height" />
+ </vpe:resize>
+ <vpe:textFormatting use-default-formats="yes">
+ </vpe:textFormatting>
+ </vpe:template>
+ </vpe:if>
+ <!--end-of-else-->
+ </vpe:tag>
<vpe:tag name="s:cache" case-sensitive="yes">
<vpe:template children="yes" modify="yes">
- <div />
+ <span class="vpe-text"/>
</vpe:template>
</vpe:tag>
<vpe:tag name="s:conversationId" case-sensitive="yes">
- <vpe:template children="no" modify="no" />
+ <vpe:template children="yes" modify="yes" >
+ <span class="vpe-text"/>
+ </vpe:template>
</vpe:tag>
<vpe:tag name="s:conversationPropagation" case-sensitive="yes">
@@ -85,8 +111,10 @@
</vpe:template>
</vpe:tag>
- <vpe:tag name="s:defaultAction">
- <vpe:template children="no" modify="no" />
+ <vpe:tag name="s:defaultAction" case-sensitive="yes">
+ <vpe:template children="yes" modify="yes" >
+ <span class="vpe-text"/>
+ </vpe:template>
</vpe:tag>
<vpe:tag name="s:enumItem" case-sensitive="yes">
@@ -135,11 +163,7 @@
<vpe:tag name="s:fileUpload" case-sensitive="yes">
<vpe:template children="no" modify="no">
- <div class="{@styleClass}" onclick="{@onclick}"
- rendered="{@rendered}" title="{tagstring()}">
- <vpe:value expr="{jsfvalue(@value)}" />
- <input type="file" style="{@style}" />
- </div>
+ <input type="file" style="{@style}" class="{@styleClass}" title="{tagstring()}"/>
<vpe:dnd>
<vpe:drag start-enable="yes" />
<vpe:drop container="no" />
@@ -156,13 +180,12 @@
<vpe:tag name="s:formattedText" case-sensitive="yes">
<vpe:template children="yes" modify="yes"
class="org.jboss.tools.jsf.vpe.seam.template.SeamFormattedTextTemplate">
-
</vpe:template>
</vpe:tag>
<vpe:tag name="s:fragment" case-sensitive="yes">
- <vpe:template children="yes" modify="no" >
- <div style="{iif(@rendered='true',' ','display: none;')}"/>
+ <vpe:template children="yes" modify="yes" >
+ <span class="vpe-text"/>
</vpe:template>
</vpe:tag>
@@ -209,14 +232,37 @@
</vpe:template>
</vpe:tag>
- <vpe:tag name="s:link" case-sensitive="yes">
- <vpe:template children="yes" modify="yes">
- <span class="{@styleClass}"
- style="color:blue;text-decoration:underline;{@style}"
- title="{tagstring()}">
- <vpe:value expr="{@value}" />
- </span>
- </vpe:template>
+ <vpe:tag name="s:link" case-sensitive="yes">
+ <vpe:template children="yes" modify="yes"
+ class="org.jboss.tools.jsf.vpe.seam.template.SeamLinkTemplate">
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ <vpe:drop container="yes">
+ <vpe:container-child tag-name="outputText" />
+ </vpe:drop>
+ </vpe:dnd>
+ <vpe:textFormatting>
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style" />
+ </vpe:format>
+ </vpe:textFormatting>
+ <vpe:pseudoContent />
+ </vpe:template>
</vpe:tag>
<vpe:tag name="s:message" case-sensitive="yes">
@@ -235,7 +281,8 @@
</vpe:tag>
<vpe:tag name="s:remote" case-sensitive="yes">
- <vpe:template children="no" modify="no" />
+ <vpe:template children="yes" modify="yes" />
+ <span class="vpe-text"/>
</vpe:tag>
<vpe:tag name="s:selectDate" case-sensitive="yes">
@@ -311,6 +358,17 @@
</vpe:tag>
<vpe:tag name="s:validateAll" case-sensitive="yes">
- <vpe:template children="no" modify="no" />
- </vpe:tag>
+ <vpe:template children="yes" modify="yes">
+ <span class="vpe-text"/>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="s:validateFormattedText" case-sensitive="yes">
+ <vpe:template children="no" modify="no"/>
+ </vpe:tag>
+
+ <vpe:tag name="s:taskId" case-sensitive="yes">
+ <vpe:template children="no" modify="no"/>
+ </vpe:tag>
+
</vpe:templates>
15 years, 9 months