JBoss Tools SVN: r13950 - in trunk/archives/tests/org.jboss.ide.eclipse.archives.test/src/org/jboss/ide/eclipse/archives/test: projects and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2009-03-03 05:35:55 -0500 (Tue, 03 Mar 2009)
New Revision: 13950
Modified:
trunk/archives/tests/org.jboss.ide.eclipse.archives.test/src/org/jboss/ide/eclipse/archives/test/core/ant/SimpleAntTest.java
trunk/archives/tests/org.jboss.ide.eclipse.archives.test/src/org/jboss/ide/eclipse/archives/test/projects/JBIDE2296Test.java
Log:
some asserts
Modified: trunk/archives/tests/org.jboss.ide.eclipse.archives.test/src/org/jboss/ide/eclipse/archives/test/core/ant/SimpleAntTest.java
===================================================================
--- trunk/archives/tests/org.jboss.ide.eclipse.archives.test/src/org/jboss/ide/eclipse/archives/test/core/ant/SimpleAntTest.java 2009-03-03 09:32:39 UTC (rev 13949)
+++ trunk/archives/tests/org.jboss.ide.eclipse.archives.test/src/org/jboss/ide/eclipse/archives/test/core/ant/SimpleAntTest.java 2009-03-03 10:35:55 UTC (rev 13950)
@@ -86,7 +86,7 @@
public void testOne() {
try {
- assertTrue(outputFolder.toFile().list().length == 0);
+ assertTrue(outputFolder.toFile().exists());
launcher.launch();
} catch( CoreException ce) {
fail(ce.getMessage());
Modified: trunk/archives/tests/org.jboss.ide.eclipse.archives.test/src/org/jboss/ide/eclipse/archives/test/projects/JBIDE2296Test.java
===================================================================
--- trunk/archives/tests/org.jboss.ide.eclipse.archives.test/src/org/jboss/ide/eclipse/archives/test/projects/JBIDE2296Test.java 2009-03-03 09:32:39 UTC (rev 13949)
+++ trunk/archives/tests/org.jboss.ide.eclipse.archives.test/src/org/jboss/ide/eclipse/archives/test/projects/JBIDE2296Test.java 2009-03-03 10:35:55 UTC (rev 13950)
@@ -41,6 +41,7 @@
public void testJBIDE2296() {
IPath p = project.getLocation().append("output");
File pFile = p.toFile();
+ assertTrue(pFile.toString() + " does not exist", pFile.exists());
assertFalse(pFile.isFile());
assertTrue(pFile.isDirectory());
}
17 years, 1 month
JBoss Tools SVN: r13949 - trunk/archives/tests/org.jboss.ide.eclipse.archives.test/src/org/jboss/ide/eclipse/archives/test/projects.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2009-03-03 04:32:39 -0500 (Tue, 03 Mar 2009)
New Revision: 13949
Modified:
trunk/archives/tests/org.jboss.ide.eclipse.archives.test/src/org/jboss/ide/eclipse/archives/test/projects/JBIDE2296Test.java
Log:
renamed the test as it was incongruous
Modified: trunk/archives/tests/org.jboss.ide.eclipse.archives.test/src/org/jboss/ide/eclipse/archives/test/projects/JBIDE2296Test.java
===================================================================
--- trunk/archives/tests/org.jboss.ide.eclipse.archives.test/src/org/jboss/ide/eclipse/archives/test/projects/JBIDE2296Test.java 2009-03-03 09:08:01 UTC (rev 13948)
+++ trunk/archives/tests/org.jboss.ide.eclipse.archives.test/src/org/jboss/ide/eclipse/archives/test/projects/JBIDE2296Test.java 2009-03-03 09:32:39 UTC (rev 13949)
@@ -38,7 +38,7 @@
provider.dispose();
}
- public void testJBIDE2311() {
+ public void testJBIDE2296() {
IPath p = project.getLocation().append("output");
File pFile = p.toFile();
assertFalse(pFile.isFile());
17 years, 1 month
JBoss Tools SVN: r13948 - trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/util.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2009-03-03 04:08:01 -0500 (Tue, 03 Mar 2009)
New Revision: 13948
Modified:
trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/util/ResourcesUtils.java
trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/util/WorkbenchUtils.java
Log:
organize imports
Modified: trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/util/ResourcesUtils.java
===================================================================
--- trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/util/ResourcesUtils.java 2009-03-03 08:48:17 UTC (rev 13947)
+++ trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/util/ResourcesUtils.java 2009-03-03 09:08:01 UTC (rev 13948)
@@ -17,7 +17,6 @@
import java.io.LineNumberReader;
import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
-import java.util.Arrays;
import java.util.List;
import org.eclipse.core.resources.IFile;
@@ -34,15 +33,11 @@
import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.core.runtime.Path;
import org.eclipse.core.runtime.Platform;
-import org.eclipse.swt.widgets.Display;
-import org.eclipse.swt.widgets.Shell;
import org.eclipse.ui.PlatformUI;
import org.eclipse.ui.dialogs.IOverwriteQuery;
-import org.eclipse.ui.wizards.datatransfer.FileSystemStructureProvider;
import org.eclipse.ui.wizards.datatransfer.ImportOperation;
import org.jboss.tools.tests.ImportBean;
import org.jboss.tools.tests.ImportProvider;
-
import org.osgi.framework.Bundle;
/**
Modified: trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/util/WorkbenchUtils.java
===================================================================
--- trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/util/WorkbenchUtils.java 2009-03-03 08:48:17 UTC (rev 13947)
+++ trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/util/WorkbenchUtils.java 2009-03-03 09:08:01 UTC (rev 13948)
@@ -13,9 +13,7 @@
import junit.framework.TestCase;
-import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IResource;
import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.Path;
@@ -23,7 +21,6 @@
import org.eclipse.jface.preference.PreferenceManager;
import org.eclipse.jface.wizard.IWizard;
import org.eclipse.swt.widgets.Shell;
-import org.eclipse.ui.IEditorDescriptor;
import org.eclipse.ui.IEditorPart;
import org.eclipse.ui.IWorkbench;
import org.eclipse.ui.IWorkbenchPage;
@@ -32,7 +29,6 @@
import org.eclipse.ui.PlatformUI;
import org.eclipse.ui.dialogs.PreferencesUtil;
import org.eclipse.ui.ide.IDE;
-import org.eclipse.ui.part.FileEditorInput;
import org.eclipse.ui.wizards.IWizardDescriptor;
/**
17 years, 1 month
JBoss Tools SVN: r13947 - trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test.
by jbosstools-commits@lists.jboss.org
Author: dazarov
Date: 2009-03-03 03:48:17 -0500 (Tue, 03 Mar 2009)
New Revision: 13947
Modified:
trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/SeamValidatorsTest.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-3701
Modified: trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/SeamValidatorsTest.java
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/SeamValidatorsTest.java 2009-03-03 07:31:11 UTC (rev 13946)
+++ trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/SeamValidatorsTest.java 2009-03-03 08:48:17 UTC (rev 13947)
@@ -14,6 +14,7 @@
import java.util.Set;
import org.eclipse.core.resources.IFile;
+import org.eclipse.core.resources.IMarker;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.resources.ResourcesPlugin;
@@ -103,7 +104,7 @@
}
public void testJiraJbide1696() throws CoreException {
- getSeamProject(project);
+ //getSeamProject(project);
// Test for http://jira.jboss.com/jira/browse/JBIDE-1696
IFile subclassComponentFile = project.getFile("src/action/org/domain/SeamWebWarTestProject/session/SubclassTestComponent.java");
@@ -838,4 +839,17 @@
// ignore
}
}
+
+ public static int getMarkersNumber(IResource resource){
+ try{
+ IMarker[] markers = resource.findMarkers(MARKER_TYPE, true, IResource.DEPTH_INFINITE);
+ for(int i=0;i<markers.length;i++){
+ System.out.println("Marker - "+markers[i].getAttribute(IMarker.MESSAGE, ""));
+ }
+ return markers.length;
+ }catch(CoreException ex){
+ JUnitUtils.fail("Can'r get problem markers", ex);
+ }
+ return -1;
+ }
}
\ No newline at end of file
17 years, 1 month
JBoss Tools SVN: r13946 - in trunk: jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2009-03-03 02:31:11 -0500 (Tue, 03 Mar 2009)
New Revision: 13946
Modified:
trunk/common/tests/org.jboss.tools.common.model.ui.test/src/org/jboss/tools/common/model/ui/test/ModelUiAllTests.java
trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/JsfUiAllTests.java
Log:
warnings in tests were fixed
Modified: trunk/common/tests/org.jboss.tools.common.model.ui.test/src/org/jboss/tools/common/model/ui/test/ModelUiAllTests.java
===================================================================
--- trunk/common/tests/org.jboss.tools.common.model.ui.test/src/org/jboss/tools/common/model/ui/test/ModelUiAllTests.java 2009-03-03 07:17:21 UTC (rev 13945)
+++ trunk/common/tests/org.jboss.tools.common.model.ui.test/src/org/jboss/tools/common/model/ui/test/ModelUiAllTests.java 2009-03-03 07:31:11 UTC (rev 13946)
@@ -30,7 +30,6 @@
public static Test suite() {
TestSuite suite = new TestSuite();
suite.setName("All tests for " + PLUGIN_ID);
- suite.addTestSuite(DecoratorPreferencesPage.class);
suite.addTestSuite(ModelUiPreferencesPageTest.class);
suite.addTestSuite(ObjectDecoratorTest.class);
suite.addTestSuite(FavoritesClassControllerTest.class);
Modified: trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/JsfUiAllTests.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/JsfUiAllTests.java 2009-03-03 07:17:21 UTC (rev 13945)
+++ trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/JsfUiAllTests.java 2009-03-03 07:31:11 UTC (rev 13946)
@@ -20,7 +20,6 @@
public static Test suite() {
TestSuite suite = new TestSuite("JSF UI tests");
- suite.addTestSuite(JSFCapabilitiesPreferencesPage.class);
suite.addTestSuite(CssClassNewWizardTest.class);
suite.addTestSuite(CssFileNewWizardTest.class);
suite.addTestSuite(CSSStyleDialogTest.class);
17 years, 1 month
JBoss Tools SVN: r13945 - in trunk: common/tests/org.jboss.tools.common.verification.ui.test/.settings and 5 other directories.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2009-03-03 02:17:21 -0500 (Tue, 03 Mar 2009)
New Revision: 13945
Removed:
trunk/common/tests/org.jboss.tools.common.verification.ui.test/.settings/org.eclipse.jdt.core.prefs
Modified:
trunk/common/tests/org.jboss.tools.common.verification.ui.test/.classpath
trunk/common/tests/org.jboss.tools.common.verification.ui.test/META-INF/MANIFEST.MF
trunk/common/tests/org.jboss.tools.common.verification.ui.test/src/org/jboss/tools/common/verification/ui/test/VerificationUiAllTests.java
trunk/common/tests/org.jboss.tools.common.verification.ui.test/src/org/jboss/tools/common/verification/ui/vrules/preferences/test/VerificationPreferencePageTest.java
trunk/tests/features/org.jboss.tools.test.feature/feature.xml
trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/util/WorkbenchUtils.java
Log:
increase test coverage
Modified: trunk/common/tests/org.jboss.tools.common.verification.ui.test/.classpath
===================================================================
--- trunk/common/tests/org.jboss.tools.common.verification.ui.test/.classpath 2009-03-03 05:57:46 UTC (rev 13944)
+++ trunk/common/tests/org.jboss.tools.common.verification.ui.test/.classpath 2009-03-03 07:17:21 UTC (rev 13945)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="output" path="bin"/>
Deleted: trunk/common/tests/org.jboss.tools.common.verification.ui.test/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- trunk/common/tests/org.jboss.tools.common.verification.ui.test/.settings/org.eclipse.jdt.core.prefs 2009-03-03 05:57:46 UTC (rev 13944)
+++ trunk/common/tests/org.jboss.tools.common.verification.ui.test/.settings/org.eclipse.jdt.core.prefs 2009-03-03 07:17:21 UTC (rev 13945)
@@ -1,7 +0,0 @@
-#Tue Feb 17 14:01:31 PST 2009
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
-org.eclipse.jdt.core.compiler.compliance=1.6
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.6
Modified: trunk/common/tests/org.jboss.tools.common.verification.ui.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/common/tests/org.jboss.tools.common.verification.ui.test/META-INF/MANIFEST.MF 2009-03-03 05:57:46 UTC (rev 13944)
+++ trunk/common/tests/org.jboss.tools.common.verification.ui.test/META-INF/MANIFEST.MF 2009-03-03 07:17:21 UTC (rev 13945)
@@ -8,4 +8,5 @@
org.eclipse.jface,
org.jboss.tools.common.verification.ui,
org.jboss.tools.common.model.ui
-Export-Package: org.jboss.tools.common.verification.ui.vrules.preferences.test
+Export-Package: org.jboss.tools.common.verification.ui.test,
+ org.jboss.tools.common.verification.ui.vrules.preferences.test
Modified: trunk/common/tests/org.jboss.tools.common.verification.ui.test/src/org/jboss/tools/common/verification/ui/test/VerificationUiAllTests.java
===================================================================
--- trunk/common/tests/org.jboss.tools.common.verification.ui.test/src/org/jboss/tools/common/verification/ui/test/VerificationUiAllTests.java 2009-03-03 05:57:46 UTC (rev 13944)
+++ trunk/common/tests/org.jboss.tools.common.verification.ui.test/src/org/jboss/tools/common/verification/ui/test/VerificationUiAllTests.java 2009-03-03 07:17:21 UTC (rev 13945)
@@ -1,4 +1,3 @@
-package org.jboss.tools.common.verification.ui.test;
/*******************************************************************************
* Copyright (c) 2007 Red Hat, Inc.
* Distributed under license by Red Hat, Inc. All rights reserved.
@@ -10,9 +9,24 @@
* Red Hat, Inc. - initial API and implementation
******************************************************************************/
+package org.jboss.tools.common.verification.ui.test;
+
+import org.jboss.tools.common.verification.ui.vrules.preferences.test.VerificationPreferencePageTest;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
/**
* @author eskimo
*
*/
public class VerificationUiAllTests {
+
+ public static Test suite() {
+ TestSuite suite = new TestSuite();
+ suite.setName("Verification UI Test");
+ suite.addTestSuite(VerificationPreferencePageTest.class);
+ return suite;
+ }
+
}
Modified: trunk/common/tests/org.jboss.tools.common.verification.ui.test/src/org/jboss/tools/common/verification/ui/vrules/preferences/test/VerificationPreferencePageTest.java
===================================================================
--- trunk/common/tests/org.jboss.tools.common.verification.ui.test/src/org/jboss/tools/common/verification/ui/vrules/preferences/test/VerificationPreferencePageTest.java 2009-03-03 05:57:46 UTC (rev 13944)
+++ trunk/common/tests/org.jboss.tools.common.verification.ui.test/src/org/jboss/tools/common/verification/ui/vrules/preferences/test/VerificationPreferencePageTest.java 2009-03-03 07:17:21 UTC (rev 13945)
@@ -12,7 +12,10 @@
package org.jboss.tools.common.verification.ui.vrules.preferences.test;
import org.eclipse.jface.preference.PreferenceDialog;
+import org.eclipse.swt.widgets.Composite;
+import org.eclipse.swt.widgets.TabFolder;
import org.jboss.tools.common.verification.ui.vrules.preferences.VerificationPreferencePage;
+import org.jboss.tools.test.util.SwtUtils;
import org.jboss.tools.test.util.WorkbenchUtils;
import org.jboss.tools.tests.PreferencePageTest;
@@ -24,10 +27,23 @@
*/
public class VerificationPreferencePageTest extends PreferencePageTest {
+ public static final String ID = "org.jboss.tools.common.verification.ui";
public void testShowVerificationPreferencePage() {
- doDefaultTest(
- "org.jboss.tools.common.verification.ui",
- VerificationPreferencePage.class);
+
+ doDefaultTest(ID, VerificationPreferencePage.class);
+
+ PreferenceDialog dialog = null;
+ try {
+ dialog = WorkbenchUtils.createPreferenceDialog(ID);
+ dialog.open();
+ VerificationPreferencePage page = (VerificationPreferencePage)dialog.getSelectedPage();
+ TabFolder tabs = (TabFolder)SwtUtils.findControlByClass((Composite)page.getControl(), TabFolder.class);
+ tabs.setSelection(0);
+ tabs.setSelection(1);
+ } finally {
+ dialog.close();
+ }
}
+
}
Modified: trunk/tests/features/org.jboss.tools.test.feature/feature.xml
===================================================================
--- trunk/tests/features/org.jboss.tools.test.feature/feature.xml 2009-03-03 05:57:46 UTC (rev 13944)
+++ trunk/tests/features/org.jboss.tools.test.feature/feature.xml 2009-03-03 07:17:21 UTC (rev 13945)
@@ -430,4 +430,11 @@
install-size="0"
version="0.0.0"/>
+ <plugin
+ id="org.jboss.tools.common.verification.ui.test"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
</feature>
Modified: trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/util/WorkbenchUtils.java
===================================================================
--- trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/util/WorkbenchUtils.java 2009-03-03 05:57:46 UTC (rev 13944)
+++ trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/test/util/WorkbenchUtils.java 2009-03-03 07:17:21 UTC (rev 13945)
@@ -81,8 +81,10 @@
}
public static PreferenceDialog createPreferenceDialog(String pageId) {
- return PreferencesUtil.createPreferenceDialogOn(WorkbenchUtils
+ PreferenceDialog dialog = PreferencesUtil.createPreferenceDialogOn(WorkbenchUtils
.getActiveShell(), pageId, new String[] {pageId}, null);
+ dialog.setBlockOnOpen(false);
+ return dialog;
}
public static PreferenceDialog createPropertyDialog(String pageId,
17 years, 1 month
JBoss Tools SVN: r13944 - in trunk/common/tests/org.jboss.tools.common.verification.ui.test: .settings and 12 other directories.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2009-03-03 00:57:46 -0500 (Tue, 03 Mar 2009)
New Revision: 13944
Added:
trunk/common/tests/org.jboss.tools.common.verification.ui.test/.classpath
trunk/common/tests/org.jboss.tools.common.verification.ui.test/.project
trunk/common/tests/org.jboss.tools.common.verification.ui.test/.settings/
trunk/common/tests/org.jboss.tools.common.verification.ui.test/.settings/org.eclipse.jdt.core.prefs
trunk/common/tests/org.jboss.tools.common.verification.ui.test/META-INF/
trunk/common/tests/org.jboss.tools.common.verification.ui.test/META-INF/MANIFEST.MF
trunk/common/tests/org.jboss.tools.common.verification.ui.test/build.properties
trunk/common/tests/org.jboss.tools.common.verification.ui.test/src/
trunk/common/tests/org.jboss.tools.common.verification.ui.test/src/org/
trunk/common/tests/org.jboss.tools.common.verification.ui.test/src/org/jboss/
trunk/common/tests/org.jboss.tools.common.verification.ui.test/src/org/jboss/tools/
trunk/common/tests/org.jboss.tools.common.verification.ui.test/src/org/jboss/tools/common/
trunk/common/tests/org.jboss.tools.common.verification.ui.test/src/org/jboss/tools/common/verification/
trunk/common/tests/org.jboss.tools.common.verification.ui.test/src/org/jboss/tools/common/verification/ui/
trunk/common/tests/org.jboss.tools.common.verification.ui.test/src/org/jboss/tools/common/verification/ui/test/
trunk/common/tests/org.jboss.tools.common.verification.ui.test/src/org/jboss/tools/common/verification/ui/test/VerificationUiAllTests.java
trunk/common/tests/org.jboss.tools.common.verification.ui.test/src/org/jboss/tools/common/verification/ui/vrules/
trunk/common/tests/org.jboss.tools.common.verification.ui.test/src/org/jboss/tools/common/verification/ui/vrules/preferences/
trunk/common/tests/org.jboss.tools.common.verification.ui.test/src/org/jboss/tools/common/verification/ui/vrules/preferences/test/
trunk/common/tests/org.jboss.tools.common.verification.ui.test/src/org/jboss/tools/common/verification/ui/vrules/preferences/test/VerificationPreferencePageTest.java
Log:
tests for common.verification.ui were added
Added: trunk/common/tests/org.jboss.tools.common.verification.ui.test/.classpath
===================================================================
--- trunk/common/tests/org.jboss.tools.common.verification.ui.test/.classpath (rev 0)
+++ trunk/common/tests/org.jboss.tools.common.verification.ui.test/.classpath 2009-03-03 05:57:46 UTC (rev 13944)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Property changes on: trunk/common/tests/org.jboss.tools.common.verification.ui.test/.classpath
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/common/tests/org.jboss.tools.common.verification.ui.test/.project
===================================================================
--- trunk/common/tests/org.jboss.tools.common.verification.ui.test/.project (rev 0)
+++ trunk/common/tests/org.jboss.tools.common.verification.ui.test/.project 2009-03-03 05:57:46 UTC (rev 13944)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.jboss.tools.common.verification.ui.test</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
Property changes on: trunk/common/tests/org.jboss.tools.common.verification.ui.test/.project
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/common/tests/org.jboss.tools.common.verification.ui.test/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- trunk/common/tests/org.jboss.tools.common.verification.ui.test/.settings/org.eclipse.jdt.core.prefs (rev 0)
+++ trunk/common/tests/org.jboss.tools.common.verification.ui.test/.settings/org.eclipse.jdt.core.prefs 2009-03-03 05:57:46 UTC (rev 13944)
@@ -0,0 +1,7 @@
+#Tue Feb 17 14:01:31 PST 2009
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
+org.eclipse.jdt.core.compiler.compliance=1.6
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.6
Property changes on: trunk/common/tests/org.jboss.tools.common.verification.ui.test/.settings/org.eclipse.jdt.core.prefs
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/common/tests/org.jboss.tools.common.verification.ui.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/common/tests/org.jboss.tools.common.verification.ui.test/META-INF/MANIFEST.MF (rev 0)
+++ trunk/common/tests/org.jboss.tools.common.verification.ui.test/META-INF/MANIFEST.MF 2009-03-03 05:57:46 UTC (rev 13944)
@@ -0,0 +1,11 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Verification UI Test Plug-in
+Bundle-SymbolicName: org.jboss.tools.common.verification.ui.test
+Bundle-Version: 1.0.0
+Require-Bundle: org.junit,
+ org.jboss.tools.tests,
+ org.eclipse.jface,
+ org.jboss.tools.common.verification.ui,
+ org.jboss.tools.common.model.ui
+Export-Package: org.jboss.tools.common.verification.ui.vrules.preferences.test
Property changes on: trunk/common/tests/org.jboss.tools.common.verification.ui.test/META-INF/MANIFEST.MF
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/common/tests/org.jboss.tools.common.verification.ui.test/build.properties
===================================================================
--- trunk/common/tests/org.jboss.tools.common.verification.ui.test/build.properties (rev 0)
+++ trunk/common/tests/org.jboss.tools.common.verification.ui.test/build.properties 2009-03-03 05:57:46 UTC (rev 13944)
@@ -0,0 +1,4 @@
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+ .
Property changes on: trunk/common/tests/org.jboss.tools.common.verification.ui.test/build.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/common/tests/org.jboss.tools.common.verification.ui.test/src/org/jboss/tools/common/verification/ui/test/VerificationUiAllTests.java
===================================================================
--- trunk/common/tests/org.jboss.tools.common.verification.ui.test/src/org/jboss/tools/common/verification/ui/test/VerificationUiAllTests.java (rev 0)
+++ trunk/common/tests/org.jboss.tools.common.verification.ui.test/src/org/jboss/tools/common/verification/ui/test/VerificationUiAllTests.java 2009-03-03 05:57:46 UTC (rev 13944)
@@ -0,0 +1,18 @@
+package org.jboss.tools.common.verification.ui.test;
+/*******************************************************************************
+ * Copyright (c) 2007 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
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+
+/**
+ * @author eskimo
+ *
+ */
+public class VerificationUiAllTests {
+}
Property changes on: trunk/common/tests/org.jboss.tools.common.verification.ui.test/src/org/jboss/tools/common/verification/ui/test/VerificationUiAllTests.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/common/tests/org.jboss.tools.common.verification.ui.test/src/org/jboss/tools/common/verification/ui/vrules/preferences/test/VerificationPreferencePageTest.java
===================================================================
--- trunk/common/tests/org.jboss.tools.common.verification.ui.test/src/org/jboss/tools/common/verification/ui/vrules/preferences/test/VerificationPreferencePageTest.java (rev 0)
+++ trunk/common/tests/org.jboss.tools.common.verification.ui.test/src/org/jboss/tools/common/verification/ui/vrules/preferences/test/VerificationPreferencePageTest.java 2009-03-03 05:57:46 UTC (rev 13944)
@@ -0,0 +1,33 @@
+/*******************************************************************************
+ * Copyright (c) 2007 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
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+
+package org.jboss.tools.common.verification.ui.vrules.preferences.test;
+
+import org.eclipse.jface.preference.PreferenceDialog;
+import org.jboss.tools.common.verification.ui.vrules.preferences.VerificationPreferencePage;
+import org.jboss.tools.test.util.WorkbenchUtils;
+import org.jboss.tools.tests.PreferencePageTest;
+
+import junit.framework.TestCase;
+
+/**
+ * @author eskimo
+ *
+ */
+public class VerificationPreferencePageTest extends PreferencePageTest {
+
+
+ public void testShowVerificationPreferencePage() {
+ doDefaultTest(
+ "org.jboss.tools.common.verification.ui",
+ VerificationPreferencePage.class);
+ }
+}
Property changes on: trunk/common/tests/org.jboss.tools.common.verification.ui.test/src/org/jboss/tools/common/verification/ui/vrules/preferences/test/VerificationPreferencePageTest.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
17 years, 1 month
JBoss Tools SVN: r13942 - in workspace/kukeltje/xforms/nl.fortythree.jbosstools.vpe.xforms: resources/xforms and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: kukeltje
Date: 2009-03-02 18:07:13 -0500 (Mon, 02 Mar 2009)
New Revision: 13942
Added:
workspace/kukeltje/xforms/nl.fortythree.jbosstools.vpe.xforms/example/hello-model.xhtml
workspace/kukeltje/xforms/nl.fortythree.jbosstools.vpe.xforms/example/hello-nomodel.xhtml
workspace/kukeltje/xforms/nl.fortythree.jbosstools.vpe.xforms/example/myXFormsStyle.css
workspace/kukeltje/xforms/nl.fortythree.jbosstools.vpe.xforms/example/repeatcompact.xform.xhtml
workspace/kukeltje/xforms/nl.fortythree.jbosstools.vpe.xforms/example/select1compact.xform.xhtml
workspace/kukeltje/xforms/nl.fortythree.jbosstools.vpe.xforms/example/select1full.xform.xhtml
workspace/kukeltje/xforms/nl.fortythree.jbosstools.vpe.xforms/example/select1minimal.xform.xhtml
workspace/kukeltje/xforms/nl.fortythree.jbosstools.vpe.xforms/example/selectcompact.xform.xhtml
workspace/kukeltje/xforms/nl.fortythree.jbosstools.vpe.xforms/example/selectfull.xform.xhtml
workspace/kukeltje/xforms/nl.fortythree.jbosstools.vpe.xforms/example/selectminimal.xform.xhtml
Modified:
workspace/kukeltje/xforms/nl.fortythree.jbosstools.vpe.xforms/example/widgets.xhtml
workspace/kukeltje/xforms/nl.fortythree.jbosstools.vpe.xforms/resources/xforms/xforms.css
Log:
Better css, some examples
Added: workspace/kukeltje/xforms/nl.fortythree.jbosstools.vpe.xforms/example/hello-model.xhtml
===================================================================
--- workspace/kukeltje/xforms/nl.fortythree.jbosstools.vpe.xforms/example/hello-model.xhtml (rev 0)
+++ workspace/kukeltje/xforms/nl.fortythree.jbosstools.vpe.xforms/example/hello-model.xhtml 2009-03-02 23:07:13 UTC (rev 13942)
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:xf="http://www.w3.org/2002/xforms"
+ xmlns:ev="http://www.w3.org/2001/xml-events">
+<head>
+<title>hello</title>
+
+</head>
+<body>
+<form action=""><xf:model id="hello-model">
+ <xf:submission id="debug"
+ action="{$contextroot}/resources/jsp/debug-instance.jsp" method="post"
+ replace="all" />
+
+ <xf:instance id="default" xmlns="">
+ <data> <bound>true</bound> <unbound>true</unbound> </data>
+ </xf:instance>
+
+ <xf:bind type="string" nodeset="bound" readonly="true()"
+ relevant="true" constraint="true" required="true" />
+
+ <xf:bind type="date" nodeset="unbound" readonly="true" relevant="true"
+ constraint="true" required="true" />
+</xf:model>
+
+<table><tr><td>
+ <!-- the mips attributes are ignored here since there is no datatype. The attributes on the bind are used -->
+ <xf:input ref="bound" style=" width : 481px;">
+ <xf:label style=" width : 94px;">Input</xf:label>
+ <xf:help>bla</xf:help>
+ <xf:alert>bla</xf:alert>
+ </xf:input>
+ <br />
+ <xf:input ref="unbound" style=" width : 365px;">
+ <xf:label>Input</xf:label>
+ <xf:help>bla</xf:help>
+ <xf:alert>This is wrong!!!!!</xf:alert>
+ </xf:input></td>
+ <td style=" width : 378px;">
+ <div class="xfControl xfOutput xfRequired" style=" width : 561px;">
+ <span><span class="xfLabel" style="width: 100px;">
+ <label>bla</label></span>
+ </span>
+ <span class="xfValue">bla bfdsdfsaslsdfgf fasdfjf asdfqwer fqwer rqgslkhre rqwerhhj fasdf rqwerqweraf awerjh rgaasjgh fjahgwerj fgqwj </span>
+ </div></td></tr>
+</table>
+
+</form>
+
+</body>
+</html>
Added: workspace/kukeltje/xforms/nl.fortythree.jbosstools.vpe.xforms/example/hello-nomodel.xhtml
===================================================================
--- workspace/kukeltje/xforms/nl.fortythree.jbosstools.vpe.xforms/example/hello-nomodel.xhtml (rev 0)
+++ workspace/kukeltje/xforms/nl.fortythree.jbosstools.vpe.xforms/example/hello-nomodel.xhtml 2009-03-02 23:07:13 UTC (rev 13942)
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:xf="http://www.w3.org/2002/xforms"
+ xmlns:ev="http://www.w3.org/2001/xml-events">
+<head>
+<title>hello</title>
+</head>
+<body>
+<form action=""><xf:model />
+<fieldset name="person"><br />
+
+<!-- 'normal' XForms should also get through --> <xf:input ref="name"
+ constraint="false" datatype="" required="true()">
+ <xf:label>Name</xf:label>
+ <xf:alert>Error messfdsdsgfgsdage</xf:alert>
+ <xf:help>bla en dit dan???</xf:help>
+</xf:input>
+
+
+ <xf:input ref="name"
+ constraint="false" datatype="dat" required="true()">
+ <xf:label>Name which leads left</xf:label>
+ <xf:alert>Error messdeze lloop fqsfdasdfjff kjage</xf:alert>
+ <xf:help>blablabla</xf:help>
+</xf:input>
+
+</fieldset>
+
+
+</form>
+
+</body>
+</html>
Added: workspace/kukeltje/xforms/nl.fortythree.jbosstools.vpe.xforms/example/myXFormsStyle.css
===================================================================
--- workspace/kukeltje/xforms/nl.fortythree.jbosstools.vpe.xforms/example/myXFormsStyle.css (rev 0)
+++ workspace/kukeltje/xforms/nl.fortythree.jbosstools.vpe.xforms/example/myXFormsStyle.css 2009-03-02 23:07:13 UTC (rev 13942)
@@ -0,0 +1,137 @@
+html,body,#main {
+ width: 100%; /* make the body expand to fill the visible window */
+ height: 100%;
+ padding: 0 0 0 0;
+ margin: 0 0 0 0;
+ font: 10pt Arial, Myriad, Tahoma, Verdana, sans-serif;
+}
+
+table,input {
+ font: 10pt Arial, Myriad, Tahoma, Verdana, sans-serif;
+}
+
+.xfDisabled {
+ display: none;
+}
+
+.xfEnabled {
+
+}
+
+.xfInvalid .xfValue {
+ background-color: rgb(255, 128, 128);
+}
+
+.xfValid .xfAlert {
+ display: none;
+}
+
+.xfInvalid .xfAlert {
+ display: inline;
+ padding-left: 10px;
+ color: red;
+}
+
+.xfGroup .xfGroup {
+ border-top-color: black;
+ border-top-style: solid;
+ border-top-width: 1px;
+ margin-top: 20px;
+ margin-left: 30px;
+ margin-bottom: 40px;
+ border-bottom-color: black;
+ border-bottom-style: solid;
+ border-bottom-width: 1px;
+}
+
+.xfGroup>.xfLabel {
+ width: 160px;
+ text-align: left;
+ vertical-align: top;
+ font-weight: bold;
+ font-size: larger;
+ clear: both;
+ text-transform: uppercase;
+ display: block;
+ margin-bottom: 15px;
+ margin-top: 5px;
+ color: olive;
+}
+
+.xfInput .xfLabel,.xfSecret .xfLabel,.xfUpload .xfLabel,.xfOutput .xfLabel,.xfSelect .xfLabel,.xfSelect1 .xfLabel
+ {
+ text-align: right;
+ margin-right: 10px;
+ float: left;
+ width: 190px;
+}
+
+.xfRepeat .xfLabel {
+ margin-left: 10px;
+}
+
+.xfInput {
+ clear: both;
+ margin-bottom: 5px;
+}
+
+.xfTrigger {
+ width: 140px;
+}
+
+.xfHint {
+ display: none;
+}
+
+.xfHelpIcon {
+ vertical-align: middle;
+ padding-right: 5px;
+ padding-left: 5px;
+}
+
+.xfHelp {
+
+}
+
+.xfRequired .xfLabel: :before {
+ content: "* ";
+ color: blue;
+}
+
+.xfOutput .xfValue {
+ display: block;
+ overflow: auto;
+}
+
+.xfRepeat .xfGroup {
+ margin: 0 0 15 0;
+ border: none;
+}
+
+td {
+ text-align: center;
+ margin-left: auto;
+ margin-right: auto;
+}
+
+.xfRepeat th .xfValue {
+ display: none;
+}
+
+.xfRepeat td .xfValue span {
+ text-align: center
+}
+
+.xfRepeat td .xfLabel {
+ display: none;
+}
+
+.xfRepeat th .xfLabel {
+ text-align: center;
+ margin-right: 0px;
+ width: 100%;
+}
+
+.xfRepeat th .xfHelpIcon {
+ padding-right: 0px;
+}
\ No newline at end of file
Added: workspace/kukeltje/xforms/nl.fortythree.jbosstools.vpe.xforms/example/repeatcompact.xform.xhtml
===================================================================
--- workspace/kukeltje/xforms/nl.fortythree.jbosstools.vpe.xforms/example/repeatcompact.xform.xhtml (rev 0)
+++ workspace/kukeltje/xforms/nl.fortythree.jbosstools.vpe.xforms/example/repeatcompact.xform.xhtml 2009-03-02 23:07:13 UTC (rev 13942)
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:msg="http://www.vankuijk.net/testservice1/Initial"
+ xmlns:chiba="http://chiba.sourceforge.net/xforms"
+ xmlns:ev="http://www.w3.org/2001/xml-events"
+ xmlns:schema="http://www.vankuijk.net/testservice1/Initial"
+ xmlns:xforms="http://www.w3.org/2002/xforms"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+<head>
+<link media="all" href="myXFormsStyle.css" type="text/css"
+ rel="stylesheet" />
+<xforms:model id="model_0">
+ <xforms:instance id="instance_0">
+ <Bericht1 xmlns="http://www.vankuijk.net/testservice1/Initial">
+ <SimpelVeld1>SimpelVeld1</SimpelVeld1> <ComplexVeld1> <SimpelVeld
+ value="Attribute 3">SimpelVeld3</SimpelVeld> <SimpelVeld
+ value="Attribute 3">SimpelVeld4</SimpelVeld> </ComplexVeld1> <SimpelVeld2>SimpelVeld2</SimpelVeld2>
+ </Bericht1>
+ </xforms:instance>
+ <xforms:bind id="bind_1" nodeset="msg:SimpelVeld1" required="false()"
+ constraint="false()" type="string" />
+ <xforms:bind id="bind_2" nodeset="msg:ComplexVeld1">
+
+ <xforms:bind id="bind_7" nodeset="msg:SimpelVeld" constraint="true"
+ required="true">
+ <xforms:bind id="bind_6" nodeset="@value" constraint="true"
+ required="true" type="boolean"/>
+ </xforms:bind>
+ <xforms:bind id="bind_3" nodeset="msg:SimpelVeld[1]"
+ required="false()" constraint="false()" type="string" />
+ <xforms:bind id="bind_4" nodeset="msg:SimpelVeld[2]" required="true()"
+ type="string" />
+ </xforms:bind>
+ <xforms:bind id="bind_5" nodeset="msg:SimpelVeld2" required="true()"
+ constraint="false()" type="string" />
+ <xforms:submission action="echo:/test" id="submission_0" method="post" />
+</xforms:model>
+</head>
+<body class="tundra"
+ style="width: 100%; height: 100%; margin: 0; padding: 0;">
+<div><xforms:group id="group_0">
+ <xforms:label id="label_0">Repeat Compact</xforms:label>
+
+ <xforms:repeat appearance="compact" nodeset="msg:ComplexVeld1" >
+ <xforms:label>Repeated Items</xforms:label>
+ <xforms:label>Should not be rendered</xforms:label>
+ <xforms:input ref="msg:SimpelVeld/@value">
+ <xforms:label>SimpelVeld @value</xforms:label>
+ <xforms:help />
+ </xforms:input>
+ <xforms:input ref="msg:SimpelVeld">
+ <xforms:label>SimpelVeld</xforms:label>
+ <xforms:help />
+ <xforms:alert>This field is in error</xforms:alert>
+ </xforms:input>
+ </xforms:repeat>
+
+</xforms:group></div>
+</body>
+</html>
\ No newline at end of file
Added: workspace/kukeltje/xforms/nl.fortythree.jbosstools.vpe.xforms/example/select1compact.xform.xhtml
===================================================================
--- workspace/kukeltje/xforms/nl.fortythree.jbosstools.vpe.xforms/example/select1compact.xform.xhtml (rev 0)
+++ workspace/kukeltje/xforms/nl.fortythree.jbosstools.vpe.xforms/example/select1compact.xform.xhtml 2009-03-02 23:07:13 UTC (rev 13942)
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:msg="http://www.vankuijk.net/testservice1/Initial"
+ xmlns:chiba="http://chiba.sourceforge.net/xforms"
+ xmlns:ev="http://www.w3.org/2001/xml-events"
+ xmlns:schema="http://www.vankuijk.net/testservice1/Initial"
+ xmlns:xforms="http://www.w3.org/2002/xforms"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+<head>
+<xforms:model id="model_0">
+ <xforms:instance id="instance_0">
+ <Bericht1 xmlns="http://www.vankuijk.net/testservice1/Initial">
+ <SimpelVeld1>SimpelVeld1</SimpelVeld1> <ComplexVeld1> <SimpelVeld3>SimpelVeld3</SimpelVeld3>
+ <SimpelVeld4>SimpelVeld4</SimpelVeld4> </ComplexVeld1> <SimpelVeld2>SimpelVeld2</SimpelVeld2>
+ </Bericht1>
+ </xforms:instance>
+ <xforms:bind id="bind_0" nodeset="/msg:Bericht1">
+ <xforms:bind id="bind_1" nodeset="msg:SimpelVeld1" required="true()"
+ type="string" />
+ <xforms:bind id="bind_2" nodeset="msg:ComplexVeld1">
+ <xforms:bind id="bind_3" nodeset="msg:SimpelVeld3" required="true()"
+ type="string" />
+ <xforms:bind id="bind_4" nodeset="msg:SimpelVeld4" required="true()"
+ type="string" />
+ </xforms:bind>
+ <xforms:bind id="bind_5" nodeset="msg:SimpelVeld2" required="true()"
+ type="string" />
+ </xforms:bind>
+ <xforms:submission action="echo:/test" id="submission_0" method="post" />
+</xforms:model>
+</head>
+<body class="tundra"
+ style="width: 100%; height: 100%; margin: 0; padding: 0; overflow: hidden;">
+<div dojotype="dijit.layout.ContentPane" style="padding: 40px;"><xforms:group
+ appearance="full" id="group_0">
+ <xforms:label id="label_0">SelectOneCompact</xforms:label>
+ <xforms:select1 appearance="compact">
+ <xforms:label>Itemset</xforms:label>
+ <xforms:itemset nodeset="instance('codes')/country">
+ <xforms:label ref="country-name" />
+ <xforms:value ref="code" />
+ </xform:itemset>
+ </xforms:select1>
+ <p />
+ <xforms:select1 appearance="compact">
+ <xforms:label>Choices</xforms:label>
+ <xforms:choices>
+ <xforms:item>
+ <xforms:label>label1</xforms:label>
+ <xforms:value>value1</xforms:value>
+ </xforms:item>
+ <xforms:item>
+ <xforms:label>label2</xforms:label>
+ <xforms:value>value2</xforms:value>
+ </xforms:item>
+ <xforms:item>
+ <xforms:label>label3</xforms:label>
+ <xforms:value>value3</xforms:value>
+ </xforms:item>
+ </xforms:choices>
+ </xforms:select1>
+</xforms:group></div>
+</body>
+</html>
\ No newline at end of file
Added: workspace/kukeltje/xforms/nl.fortythree.jbosstools.vpe.xforms/example/select1full.xform.xhtml
===================================================================
--- workspace/kukeltje/xforms/nl.fortythree.jbosstools.vpe.xforms/example/select1full.xform.xhtml (rev 0)
+++ workspace/kukeltje/xforms/nl.fortythree.jbosstools.vpe.xforms/example/select1full.xform.xhtml 2009-03-02 23:07:13 UTC (rev 13942)
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:msg="http://www.vankuijk.net/testservice1/Initial"
+ xmlns:chiba="http://chiba.sourceforge.net/xforms"
+ xmlns:ev="http://www.w3.org/2001/xml-events"
+ xmlns:schema="http://www.vankuijk.net/testservice1/Initial"
+ xmlns:xforms="http://www.w3.org/2002/xforms"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+<head>
+<xforms:model id="model_0">
+ <xforms:instance id="instance_0">
+ <Bericht1 xmlns="http://www.vankuijk.net/testservice1/Initial">
+ <SimpelVeld1>SimpelVeld1</SimpelVeld1> <ComplexVeld1> <SimpelVeld3>SimpelVeld3</SimpelVeld3>
+ <SimpelVeld4>SimpelVeld4</SimpelVeld4> </ComplexVeld1> <SimpelVeld2>SimpelVeld2</SimpelVeld2>
+ </Bericht1>
+ </xforms:instance>
+ <xforms:bind id="bind_0" nodeset="/msg:Bericht1">
+ <xforms:bind id="bind_1" nodeset="msg:SimpelVeld1" required="true()"
+ type="string" />
+ <xforms:bind id="bind_2" nodeset="msg:ComplexVeld1">
+ <xforms:bind id="bind_3" nodeset="msg:SimpelVeld3" required="true()"
+ type="string" />
+ <xforms:bind id="bind_4" nodeset="msg:SimpelVeld4" required="true()"
+ type="string" />
+ </xforms:bind>
+ <xforms:bind id="bind_5" nodeset="msg:SimpelVeld2" required="true()"
+ type="string" />
+ </xforms:bind>
+ <xforms:submission action="echo:/test" id="submission_0" method="post" />
+</xforms:model>
+</head>
+<body class="tundra"
+ style="width: 100%; height: 100%; margin: 0; padding: 0; overflow: hidden;">
+<div dojotype="dijit.layout.ContentPane" style="padding: 40px;"><xforms:group
+ appearance="full" id="group_0">
+ <xforms:label id="label_0">Select One Full</xforms:label>
+ <xforms:select1 appearance="full">
+ <xforms:label>Itemset</xforms:label>
+ <xforms:itemset nodeset="instance('codes')/country">
+ <xforms:label ref="country-name" />
+ <xforms:value ref="code" />
+ </xform:itemset>
+ </xforms:select1>
+ <p />
+ <xforms:select1 appearance="full">
+ <xforms:label>Choices</xforms:label>
+ <xforms:choices>
+ <xforms:item>
+ <xforms:label>label1</xforms:label>
+ <xforms:value>value1</xforms:value>
+ </xforms:item>
+ <xforms:item>
+ <xforms:label>label2</xforms:label>
+ <xforms:value>value2</xforms:value>
+ </xforms:item>
+ <xforms:item>
+ <xforms:label>label3</xforms:label>
+ <xforms:value>value3</xforms:value>
+ </xforms:item>
+ </xforms:choices>
+ </xforms:select1>
+</xforms:group></div>
+</body>
+</html>
\ No newline at end of file
Added: workspace/kukeltje/xforms/nl.fortythree.jbosstools.vpe.xforms/example/select1minimal.xform.xhtml
===================================================================
--- workspace/kukeltje/xforms/nl.fortythree.jbosstools.vpe.xforms/example/select1minimal.xform.xhtml (rev 0)
+++ workspace/kukeltje/xforms/nl.fortythree.jbosstools.vpe.xforms/example/select1minimal.xform.xhtml 2009-03-02 23:07:13 UTC (rev 13942)
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:msg="http://www.vankuijk.net/testservice1/Initial"
+ xmlns:chiba="http://chiba.sourceforge.net/xforms"
+ xmlns:ev="http://www.w3.org/2001/xml-events"
+ xmlns:schema="http://www.vankuijk.net/testservice1/Initial"
+ xmlns:xforms="http://www.w3.org/2002/xforms"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+<head>
+<xforms:model id="model_0">
+ <xforms:instance id="instance_0">
+ <Bericht1 xmlns="http://www.vankuijk.net/testservice1/Initial">
+ <SimpelVeld1>SimpelVeld1</SimpelVeld1> <ComplexVeld1> <SimpelVeld3>SimpelVeld3</SimpelVeld3>
+ <SimpelVeld4>SimpelVeld4</SimpelVeld4> </ComplexVeld1> <SimpelVeld2>SimpelVeld2</SimpelVeld2>
+ </Bericht1>
+ </xforms:instance>
+ <xforms:bind id="bind_0" nodeset="/msg:Bericht1">
+ <xforms:bind id="bind_1" nodeset="msg:SimpelVeld1" required="true()"
+ type="string" />
+ <xforms:bind id="bind_2" nodeset="msg:ComplexVeld1">
+ <xforms:bind id="bind_3" nodeset="msg:SimpelVeld3" required="true()"
+ type="string" />
+ <xforms:bind id="bind_4" nodeset="msg:SimpelVeld4" required="true()"
+ type="string" />
+ </xforms:bind>
+ <xforms:bind id="bind_5" nodeset="msg:SimpelVeld2" required="true()"
+ type="string" />
+ </xforms:bind>
+ <xforms:submission action="echo:/test" id="submission_0" method="post" />
+</xforms:model>
+
+</head>
+<body class="tundra"
+ style="width: 100%; height: 100%; margin: 0; padding: 0; overflow: hidden;">
+<div dojotype="dijit.layout.ContentPane" style="padding: 40px;"><xforms:group
+ appearance="full" id="group_0">
+ <xforms:label id="label_0">Select One Minimal</xforms:label>
+ <xforms:select1 appearance="minimal">
+ <xforms:label>Itemset</xforms:label>
+ <xforms:itemset nodeset="instance('codes')/country">
+ <xforms:label ref="country-name" />
+ <xforms:value ref="code" />
+ </xform:itemset>
+ </xforms:select1>
+ <p />
+ <xforms:select1 appearance="minimal">
+ <xforms:label>Choices</xforms:label>
+ <xforms:choices>
+ <xforms:item>
+ <xforms:label>label1</xforms:label>
+ <xforms:value>value1</xforms:value>
+ </xforms:item>
+ <xforms:item>
+ <xforms:label>label2</xforms:label>
+ <xforms:value>value2</xforms:value>
+ </xforms:item>
+ <xforms:item>
+ <xforms:label>label3</xforms:label>
+ <xforms:value>value3</xforms:value>
+ </xforms:item>
+ </xforms:choices>
+ </xforms:select1>
+</xforms:group></div>
+</body>
+</html>
\ No newline at end of file
Added: workspace/kukeltje/xforms/nl.fortythree.jbosstools.vpe.xforms/example/selectcompact.xform.xhtml
===================================================================
--- workspace/kukeltje/xforms/nl.fortythree.jbosstools.vpe.xforms/example/selectcompact.xform.xhtml (rev 0)
+++ workspace/kukeltje/xforms/nl.fortythree.jbosstools.vpe.xforms/example/selectcompact.xform.xhtml 2009-03-02 23:07:13 UTC (rev 13942)
@@ -0,0 +1,265 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:msg="http://www.vankuijk.net/testservice1/Initial"
+ xmlns:chiba="http://chiba.sourceforge.net/xforms"
+ xmlns:ev="http://www.w3.org/2001/xml-events"
+ xmlns:schema="http://www.vankuijk.net/testservice1/Initial"
+ xmlns:xforms="http://www.w3.org/2002/xforms"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+<head>
+<xforms:model id="model_0">
+ <xforms:instance id="instance_0">
+ <Bericht1 xmlns="http://www.vankuijk.net/testservice1/Initial">
+ <SimpelVeld1>SimpelVeld1</SimpelVeld1> <ComplexVeld1> <SimpelVeld3>SimpelVeld3</SimpelVeld3>
+ <SimpelVeld4>SimpelVeld4</SimpelVeld4> </ComplexVeld1> <SimpelVeld2>SimpelVeld2</SimpelVeld2>
+ </Bericht1>
+ </xforms:instance>
+ <xforms:bind id="bind_0" nodeset="/msg:Bericht1">
+ <xforms:bind id="bind_1" nodeset="msg:SimpelVeld1" required="true()"
+ type="string" />
+ <xforms:bind id="bind_2" nodeset="msg:ComplexVeld1">
+ <xforms:bind id="bind_3" nodeset="msg:SimpelVeld3" required="true()"
+ type="string" />
+ <xforms:bind id="bind_4" nodeset="msg:SimpelVeld4" required="true()"
+ type="string" />
+ </xforms:bind>
+ <xforms:bind id="bind_5" nodeset="msg:SimpelVeld2" required="true()"
+ type="string" />
+ </xforms:bind>
+ <xforms:submission action="echo:/test" id="submission_0" method="post" />
+</xforms:model>
+<style type="text/css">
+
+
+#control-attributes {
+ width: 800px;
+ border: 1px dotted black;
+ margin: 0;
+ padding: 5px;
+}
+
+#input-attributes .disabled {
+ display: none;
+}
+
+#input-attributes label {
+ width: 7em;
+ float: none;
+}
+
+#outer {
+ margin:0px;
+ padding:0px;
+}
+
+#switch1 .case .input, .select1 {
+ margin-top: 15px;
+}
+
+.boolean {
+ margin: 1pt;
+}
+
+#triggerpane tr {
+ margin-bottom: 10px;
+ display: block;
+}
+
+.xfControl {
+ margin-bottom: 16px;
+ valign: top;
+}
+
+.xfControl .xfLabel {
+ width: 160px;
+ text-align: right;
+ vertical-align: top;
+}
+
+.xfGroup>.xfLabel {
+ width: 160px;
+ text-align: left;
+ vertical-align: top;
+ font-weight: bold;
+ font-size: larger;
+ clear: both;
+ text-transform: uppercase;
+ display: block;
+ margin-bottom: 15px;
+ margin-top: 5px;
+ color: blue;
+}
+
+.xfInput .xfLabel,
+ .xfSecret .xfLabel,
+ .xfUpload .xfLabel,
+ .xfOutput .xfLabel,
+ .xfSelect .xfLabel,
+ .xfSelect1 .xfLabel {
+ width: 200px;
+ text-align: right;
+ margin-right: 10px;
+ float: left;
+}
+
+.xfControl select {
+ background-color: white;
+}
+
+.dijitButtonHover .dijitButtonNode,
+ .dijitButtonNodeHover,
+ .dijitToggleButtonHover .dijitButtonNode,
+ .dijitDropDownButtonHover .dijitButtonNode,
+ .dijitComboButtonHover .dijitButtonContents,
+ .dijitComboButtonDownArrowHover .dijitDownArrowButton,
+ .dijitComboBoxHover .dijitDownArrowButton,
+ .dijitSpinnerUpArrowHover .dijitUpArrowButton,
+ .dijitSpinnerDownArrowHover .dijitDownArrowButton {
+ border: 0;
+ background:transparent;
+}
+
+html, body, #main{
+ width: 100%; /* make the body expand to fill the visible window */
+ height: 100%;
+ overflow: hidden; /* erase window level scrollbars */
+ padding: 0 0 0 0;
+ margin: 0 0 0 0;
+ font: 10pt Arial,Myriad,Tahoma,Verdana,sans-serif;
+}
+
+.dijitBorderContainer {
+ position:absolute;
+}
+
+.xfSelectorItem .xfLabel {
+ width: 140px;
+ text-align: right;
+ display: inline;
+ float: none;
+}
+
+.xfRange .xfLabel {
+ width: 100px;
+ display: block;
+ text-align: left;
+ float: left;
+}
+
+.xfUpload.xfLabel {
+ width: 110px;
+}
+
+.xfRange .xfHelpIcon {
+ float: none;
+ display: block;
+}
+
+.xfTextarea .xfLabel {
+ width: 200px;
+ text-align: left;
+ display: block;
+ float: left;
+}
+
+.xfTextarea .xfHelpIcon {
+ float: none;
+ display: block;
+}
+
+.xfTrigger {
+ width: 140px;
+}
+
+.xfHelpIcon {
+ float: left;
+}
+
+.row {
+ height: 50px;
+
+}
+
+.entry {
+ padding-right: 10px;
+ vertical-align: top;
+}
+
+.mips {
+ margin: 0;
+ padding: 0;
+ border: none;
+}
+
+.mips .xfLabel {
+ width: 80px;
+ text-align: left;
+ position: absolute;
+ left: 45px;
+}
+
+
+
+#switch1 {
+ width:600px; /* make the body expand to fill the visible window */
+
+}
+
+#reportBug{
+ display:inline;
+}
+
+#caSelect1Table{
+ padding-left:0px;
+ padding-top:15px;
+}
+
+</style>
+
+</head>
+<body class="tundra"
+ style="width: 100%; height: 100%; margin: 0; padding: 0; overflow: hidden;">
+<div dojotype="dijit.layout.ContentPane" style="padding: 40px;"><xforms:group
+ appearance="full" id="group_0">
+ <xforms:label id="label_0">Select Compact</xforms:label>
+ <xforms:select appearance="compact">
+ <xforms:label>Itemset</xforms:label>
+ <xforms:itemset nodeset="instance('codes')/country">
+ <xforms:label ref="country-name" />
+ <xforms:value ref="code" />
+ </xform:itemset>
+ </xforms:select>
+ <p />
+ <xforms:select appearance="compact">
+ <xforms:label>Choices</xforms:label>
+ <xforms:choices>
+ <xforms:item>
+ <xforms:label>label1</xforms:label>
+ <xforms:value>value1</xforms:value>
+ </xforms:item>
+ <xforms:item>
+ <xforms:label>label2</xforms:label>
+ <xforms:value>value2</xforms:value>
+ </xforms:item>
+ <xforms:item>
+ <xforms:label>label3</xforms:label>
+ <xforms:value>value3</xforms:value>
+ </xforms:item>
+ <xforms:item>
+ <xforms:label>label4</xforms:label>
+ <xforms:value>value4</xforms:value>
+ </xforms:item>
+ <xforms:item>
+ <xforms:label>label5</xforms:label>
+ <xforms:value>value5</xforms:value>
+ </xforms:item>
+ <xforms:item>
+ <xforms:label>label6</xforms:label>
+ <xforms:value>value6</xforms:value>
+ </xforms:item>
+ </xforms:choices>
+ </xforms:select>
+</xforms:group></div>
+</body>
+</html>
\ No newline at end of file
Added: workspace/kukeltje/xforms/nl.fortythree.jbosstools.vpe.xforms/example/selectfull.xform.xhtml
===================================================================
--- workspace/kukeltje/xforms/nl.fortythree.jbosstools.vpe.xforms/example/selectfull.xform.xhtml (rev 0)
+++ workspace/kukeltje/xforms/nl.fortythree.jbosstools.vpe.xforms/example/selectfull.xform.xhtml 2009-03-02 23:07:13 UTC (rev 13942)
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:msg="http://www.vankuijk.net/testservice1/Initial"
+ xmlns:chiba="http://chiba.sourceforge.net/xforms"
+ xmlns:ev="http://www.w3.org/2001/xml-events"
+ xmlns:schema="http://www.vankuijk.net/testservice1/Initial"
+ xmlns:xforms="http://www.w3.org/2002/xforms"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+<head>
+<xforms:model id="model_0">
+ <xforms:instance id="instance_0">
+ <Bericht1 xmlns="http://www.vankuijk.net/testservice1/Initial">
+ <SimpelVeld1>SimpelVeld1</SimpelVeld1> <ComplexVeld1> <SimpelVeld3>SimpelVeld3</SimpelVeld3>
+ <SimpelVeld4>SimpelVeld4</SimpelVeld4> </ComplexVeld1> <SimpelVeld2>SimpelVeld2</SimpelVeld2>
+ </Bericht1>
+ </xforms:instance>
+ <xforms:bind id="bind_0" nodeset="/msg:Bericht1">
+ <xforms:bind id="bind_1" nodeset="msg:SimpelVeld1" required="true()"
+ type="string" />
+ <xforms:bind id="bind_2" nodeset="msg:ComplexVeld1">
+ <xforms:bind id="bind_3" nodeset="msg:SimpelVeld3" required="true()"
+ type="string" />
+ <xforms:bind id="bind_4" nodeset="msg:SimpelVeld4" required="true()"
+ type="string" />
+ </xforms:bind>
+ <xforms:bind id="bind_5" nodeset="msg:SimpelVeld2" required="true()"
+ type="string" />
+ </xforms:bind>
+ <xforms:submission action="echo:/test" id="submission_0" method="post" />
+</xforms:model>
+</head>
+<body class="tundra"
+ style="width: 100%; height: 100%; margin: 0; padding: 0; overflow: hidden;">
+<div dojotype="dijit.layout.ContentPane" style="padding: 40px;"><xforms:group
+ appearance="full" id="group_0">
+ <xforms:label id="label_0">Select Full</xforms:label>
+ <xforms:select appearance="full">
+ <xforms:label>Itemset</xforms:label>
+ <xforms:itemset nodeset="instance('codes')/country">
+ <xforms:label ref="country-name" />
+ <xforms:value ref="code" />
+ </xform:itemset>
+ </xforms:select>
+ <p />
+ <xforms:select appearance="full">
+ <xforms:label>Choices</xforms:label>
+ <xforms:choices>
+ <xforms:item>
+ <xforms:label>label1</xforms:label>
+ <xforms:value>value1</xforms:value>
+ </xforms:item>
+ <xforms:item>
+ <xforms:label>label2</xforms:label>
+ <xforms:value>value2</xforms:value>
+ </xforms:item>
+ <xforms:item>
+ <xforms:label>label3</xforms:label>
+ <xforms:value>value3</xforms:value>
+ </xforms:item>
+ </xforms:choices>
+ </xforms:select>
+</xforms:group></div>
+</body>
+</html>
\ No newline at end of file
Added: workspace/kukeltje/xforms/nl.fortythree.jbosstools.vpe.xforms/example/selectminimal.xform.xhtml
===================================================================
--- workspace/kukeltje/xforms/nl.fortythree.jbosstools.vpe.xforms/example/selectminimal.xform.xhtml (rev 0)
+++ workspace/kukeltje/xforms/nl.fortythree.jbosstools.vpe.xforms/example/selectminimal.xform.xhtml 2009-03-02 23:07:13 UTC (rev 13942)
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:msg="http://www.vankuijk.net/testservice1/Initial"
+ xmlns:chiba="http://chiba.sourceforge.net/xforms"
+ xmlns:ev="http://www.w3.org/2001/xml-events"
+ xmlns:schema="http://www.vankuijk.net/testservice1/Initial"
+ xmlns:xforms="http://www.w3.org/2002/xforms"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+<head>
+<xforms:model id="model_0">
+ <xforms:instance id="instance_0">
+ <Bericht1 xmlns="http://www.vankuijk.net/testservice1/Initial">
+ <SimpelVeld1>SimpelVeld1</SimpelVeld1> <ComplexVeld1> <SimpelVeld>SimpelVeld3</SimpelVeld>
+ <SimpelVeld>SimpelVeld4</SimpelVeld> </ComplexVeld1> <SimpelVeld2>SimpelVeld2</SimpelVeld2>
+ </Bericht1>
+ </xforms:instance>
+ <xforms:bind id="bind_1" nodeset="msg:SimpelVeld1" required="false()" constraint="false()"
+ type="string" />
+ <xforms:bind id="bind_2" nodeset="msg:ComplexVeld1">
+ <xforms:bind id="bind_3" nodeset="msg:SimpelVeld[1]" required="false()" constraint="false()"
+ type="string" />
+ <xforms:bind id="bind_4" nodeset="msg:SimpelVeld[2]" required="true()"
+ type="string" />
+ </xforms:bind>
+ <xforms:bind id="bind_5" nodeset="msg:SimpelVeld2" required="true()"
+ type="string" />
+ <xforms:submission action="echo:/test" id="submission_0" method="post" />
+</xforms:model>
+</head>
+<body class="tundra"
+ style="width: 100%; height: 100%; margin: 0; padding: 0;">
+<div><xforms:group id="group_0">
+ <xforms:label id="label_0">Select Compact</xforms:label>
+ <xforms:select appearance="minimal" ref="msg:SimpelVeld1">
+ <xforms:label>Itemset</xforms:label>
+ <xforms:help>bla</xforms:help>
+
+ <xforms:itemset nodeset="msg:ComplexVeld1">
+ <xforms:label ref="SimpelVeld" />
+ <xforms:value ref="code" />
+ </xform:itemset>
+
+ <xforms:help>bla</xforms:help>
+
+ </xforms:select>
+ <p />
+ <xforms:select appearance="minimal" ref="msg:SimpelVeld1">
+ <xforms:label>Choices</xforms:label>
+ <xforms:choices>
+ <xforms:item>
+ <xforms:label>label1</xforms:label>
+ <xforms:value>value1</xforms:value>
+ </xforms:item>
+ <xforms:item>
+ <xforms:label>label2</xforms:label>
+ <xforms:value>value2</xforms:value>
+ </xforms:item>
+ <xforms:item>
+ <xforms:label>label3</xforms:label>
+ <xforms:value>value3</xforms:value>
+ </xforms:item>
+ <xforms:item>
+ <xforms:label>label4</xforms:label>
+ <xforms:value>value4</xforms:value>
+ </xforms:item>
+ <xforms:item>
+ <xforms:label>label5</xforms:label>
+ <xforms:value>value5</xforms:value>
+ </xforms:item>
+ <xforms:item>
+ <xforms:label>label6</xforms:label>
+ <xforms:value>value6</xforms:value>
+ </xforms:item>
+ </xforms:choices>
+ </xforms:select>
+</xforms:group></div>
+</body>
+</html>
\ No newline at end of file
Modified: workspace/kukeltje/xforms/nl.fortythree.jbosstools.vpe.xforms/example/widgets.xhtml
===================================================================
--- workspace/kukeltje/xforms/nl.fortythree.jbosstools.vpe.xforms/example/widgets.xhtml 2009-03-02 22:34:44 UTC (rev 13941)
+++ workspace/kukeltje/xforms/nl.fortythree.jbosstools.vpe.xforms/example/widgets.xhtml 2009-03-02 23:07:13 UTC (rev 13942)
@@ -56,8 +56,8 @@
readonly="false" required="true" relevant="true"> <value />
<label>Load (new)</label> </trigger> <trigger constraint="true" readonly="false"
required="true" relevant="true"> <value /> <label>Load
- (new)</label> </trigger> <repeat> <repeat-item brand="brand1" quantity="q1" /> <repeat-item
- brand="brand2" quantity="q2" /> <repeat-item brand="brand3" quantity="q4" />
+ (new)</label> </trigger> <repeat> <value brand="brand1" quantity="q1" /> <value
+ brand="brand2" quantity="q2" /> <value brand="brand3" quantity="q4" />
</repeat> </data>
</xf:instance>
@@ -214,7 +214,7 @@
</xf:bind>
<xf:bind nodeset="repeat">
- <xf:bind nodeset="repeat-item">
+ <xf:bind nodeset="value">
<xf:bind nodeset="@brand" />
<xf:bind nodeset="@quantity" />
</xf:bind>
@@ -298,10 +298,10 @@
<xf:bind nodeset="select[1]">
<xf:bind nodeset="value"
- constraint="boolean-from-string(../@constraint)"
- readonly="boolean-from-string(../@readonly)"
- required="boolean-from-string(../@required)"
- relevant="boolean-from-string(../@relevant)" />
+ constraint="true"
+ readonly="true"
+ required="true"
+ relevant="true" />
</xf:bind>
<xf:bind nodeset="select[2]">
@@ -333,13 +333,20 @@
</xf:instance>
</xf:model>
+<style type="text/css">
+#switch-toggles {
+display: none;
+}
+
+</style>
+
</head>
<body class="tundra"
style="width: 100%; height: 100%; margin: 0; padding: 0; overflow: auto;">
<div dojotype="dijit.layout.ContentPane" style="padding: 40px;"><xf:switch
appearance="dijit:TabContainer" id="switch1">
- <xf:case name="switch-toggles" selected="false">
+ <xf:case id="switch-toggles" selected="false">
<xf:trigger id="t-intro">
<xf:label />
<xf:toggle case="intro" />
@@ -502,7 +509,7 @@
</xf:input></td>
</tr>
<tr class="row">
- <td class="entry"><xf:secret ref="secret/value" >
+ <td class="entry"><xf:secret ref="secret/value">
<xf:label>secret</xf:label>
<xf:help>
<pre><xf:secret ref="secret/value">
@@ -681,62 +688,7 @@
ref="select1[1]/value">
<xf:label>minimal</xf:label>
<xf:hint>select1 appearance='minimal'</xf:hint>
- <xf:help>
- <table class="helpAttributeTable">
- <tr class="helpAttributeTableHeader">
- <td style="width: 102px">Bind Attribute</td>
- <td style="width: 220px">Value (default value is displayed
- bold)</td>
- </tr>
- <tr>
- <td>readonly</td>
- <td>expressions evaluating to <i>true</i> or <b><i>false</i></b></td>
- </tr>
- <tr>
- <td>required</td>
- <td>expressions evaluating to <i>true</i> or <b><i>false</i></b></td>
- </tr>
- <tr>
- <td>relevant</td>
- <td>expressions evaluating to <b><i>true</i></b> or <i>false</i></td>
- </tr>
- <tr>
- <td>constraint</td>
- <td>expressions evaluating to <b><i>true</i></b> or <i>false</i></td>
- </tr>
- <tr>
- <td>calculate</td>
- <td>calculates a value for the referenced node</td>
- </tr>
- </table>
- <table class="helpAttributeTable">
- <tr class="helpAttributeTableHeader">
- <td style="width: 102px">Control Attribute</td>
- <td style="width: 220px">Value (default value is displayed
- bold)</td>
- </tr>
- <tr>
- <td>incremental</td>
- <td><i>true</i> or <b><i>false</i></b></td>
- </tr>
- <tr>
- <td>appearance</td>
- <td></td>
- </tr>
-
- </table>
- <pre><xf:select1 model="countries" ref="select1[1]/value">
- <xf:label>standard select1 [appearance='minimal']</xf:label>
- <xf:hint>Hint Text</xf:hint>
- <xf:help>Help Text</xf:help>
- <xf:alert>Alert Text</xf:alert>
- <xf:itemset nodeset="instance('codes')/country">
- <xf:label ref="country-name"/>
- <xf:value ref="code"/>
- </xf:itemset>
-</xf:select1>
-</pre>
- </xf:help>
+ <xf:help>Some text</xf:help>
<xf:alert>The select value is not valid</xf:alert>
<xf:itemset nodeset="instance('codes')/country">
<xf:label ref="country-name" />
@@ -881,75 +833,7 @@
<xf:label>minimal</xf:label>
<xf:hint>a standard select with appearance='minimal '</xf:hint>
<xf:alert>The input value is not valid</xf:alert>
- <xf:help>
- <table class="helpAttributeTable">
- <tr class="helpAttributeTableHeader">
- <td style="width: 102px">Bind Attribute</td>
- <td style="width: 220px">Value (default value is displayed
- bold)</td>
- </tr>
- <tr>
- <td>readonly</td>
- <td>expressions evaluating to <i>true</i> or <b><i>false</i></b></td>
- </tr>
- <tr>
- <td>required</td>
- <td>expressions evaluating to <i>true</i> or <b><i>false</i></b></td>
- </tr>
- <tr>
- <td>relevant</td>
- <td>expressions evaluating to <b><i>true</i></b> or <i>false</i></td>
- </tr>
- <tr>
- <td>constraint</td>
- <td>expressions evaluating to <b><i>true</i></b> or <i>false</i></td>
- </tr>
- <tr>
- <td>calculate</td>
- <td>calculates a value for the referenced node</td>
- </tr>
- </table>
- <table class="helpAttributeTable">
- <tr class="helpAttributeTableHeader">
- <td style="width: 102px">Control Attribute</td>
- <td style="width: 220px">Value (default value is displayed
- bold)</td>
- </tr>
- <tr>
- <td>incremental</td>
- <td><i>true</i> or <b><i>false</i></b></td>
- </tr>
- <tr>
- <td>appearance</td>
- <td></td>
- </tr>
-
- </table>
- <pre><xf:bind nodeset="select[1]/value"/>
-<xf:instance id="codes" xmlns="">
- <countrylist lang="en">
- <country>
- <country-name>AFGHANISTAN</country-name>
- <code>AF</code>
- </country>
- <country>
- <country-name>LAND ISLANDS</country-name>
- <code>AX</code>
- </country>
- </countrylist>
-</xf:instance>
-<xf:select model="countries" ref="select[1]/value">
- <xf:label>a standard select with minimal appearance</xf:label>
- <xf:hint>Hint Text</xf:hint>
- <xf:help>Help Text</xf:help>
- <xf:alert>Alert Text</xf:alert>
- <xf:itemset nodeset="instance('codes')/country">
- <xf:label ref="country-name"/>
- <xf:value ref="code"/>
- </xf:itemset>
-</xf:select>
-</pre>
- </xf:help>
+ <xf:help/>
<xf:itemset nodeset="instance('codes')/country">
<xf:label ref="country-name" />
<xf:value ref="code" />
@@ -1125,14 +1009,14 @@
</xf:case>
<xf:case id="repeat" selected="false">
<xf:label>Repeat</xf:label>
- <xforms:repeat id="bread-repeat" nodeset="bla">
- <xforms:output ref="@brand">
- <xforms:label />
- </xforms:output>
- <xforms:input ref="@quantity">
- <xforms:label />
- </xforms:input>
- </xforms:repeat>
+ <xf:repeat id="bread-repeat" nodeset="repeat/value">
+ <xf:output ref="@brand">
+ <xf:label />
+ </xf:output>
+ <xf:input ref="@quantity">
+ <xf:label />
+ </xf:input>
+ </xf:repeat>
</xf:case>
Modified: workspace/kukeltje/xforms/nl.fortythree.jbosstools.vpe.xforms/resources/xforms/xforms.css
===================================================================
--- workspace/kukeltje/xforms/nl.fortythree.jbosstools.vpe.xforms/resources/xforms/xforms.css 2009-03-02 22:34:44 UTC (rev 13941)
+++ workspace/kukeltje/xforms/nl.fortythree.jbosstools.vpe.xforms/resources/xforms/xforms.css 2009-03-02 23:07:13 UTC (rev 13942)
@@ -1,3 +1,15 @@
+html,body,#main {
+ width: 100%; /* make the body expand to fill the visible window */
+ height: 100%;
+ padding: 0 0 0 0;
+ margin: 0 0 0 0;
+ font: 10pt Arial, Myriad, Tahoma, Verdana, sans-serif;
+}
+
+table,input {
+ font: 10pt Arial, Myriad, Tahoma, Verdana, sans-serif;
+}
+
.xfDisabled {
display: none;
}
@@ -6,6 +18,20 @@
}
+.xfInvalid .xfValue {
+ background-color: rgb(255, 128, 128);
+}
+
+.xfValid .xfAlert {
+ display: none;
+}
+
+.xfInvalid .xfAlert {
+ display: inline;
+ padding-left: 10px;
+ color: red;
+}
+
.xfGroup .xfGroup {
border-top-color: black;
border-top-style: solid;
@@ -29,19 +55,86 @@
display: block;
margin-bottom: 15px;
margin-top: 5px;
- color: grey;
+ color: olive;
}
-.xfInput .xfLabel, .xfSecret .xfLabel,.xfUpload .xfLabel,.xfOutput .xfLabel, .xfSelect .xfLabel,.xfSelect1 .xfLabel
+.xfInput .xfLabel,.xfSecret .xfLabel,.xfUpload .xfLabel,.xfOutput .xfLabel,.xfSelect .xfLabel,.xfSelect1 .xfLabel
{
text-align: right;
margin-right: 10px;
float: left;
- width: 150px;
+ width: 190px;
}
+.xfRepeat .xfLabel {
+ margin-left: 10px;
+}
-html,body,#main {
+.xfInput {
+ clear: both;
+ margin-bottom: 5px;
+}
+
+.xfTrigger {
+ width: 140px;
+}
+
+.xfHint {
+ display: none;
+}
+
+.xfHelpIcon {
+ vertical-align: middle;
+ padding-right: 5px;
+ padding-left: 5px;
+}
+
+.xfHelp {
+
+}
+
+.xfRequired .xfLabel: :before {
+ content: "* ";
+ color: blue;
+}
+
+.xfOutput .xfValue {
+ display: block;
+ overflow: auto;
+}
+
+.xfRepeat .xfGroup {
+ margin: 0 0 15 0;
+ border: none;
+}
+
+td {
+ text-align: center;
+ margin-left: auto;
+ margin-right: auto;
+}
+
+.xfRepeat th .xfValue {
+ display: none;
+}
+
+.xfRepeat td .xfValue span {
+ text-align: center
+}
+
+.xfRepeat td .xfLabel {
+ display: none;
+}
+
+.xfRepeat th .xfLabel {
+ text-align: center;
+ margin-right: 0px;
+ width: 100%;
+}
+
+.xfRepeat th .xfHelpIcon {
+ padding-right: 0px;
+}html,body,#main {
width: 100%; /* make the body expand to fill the visible window */
height: 100%;
padding: 0 0 0 0;
@@ -49,14 +142,154 @@
font: 10pt Arial, Myriad, Tahoma, Verdana, sans-serif;
}
-table, input {
+table,input {
font: 10pt Arial, Myriad, Tahoma, Verdana, sans-serif;
}
+.xfDisabled {
+ display: none;
+}
+
+.xfEnabled {
+
+}
+
+.xfInvalid .xfValue {
+ background-color: rgb(255, 128, 128);
+}
+
+.xfValid .xfAlert {
+ display: none;
+}
+
+.xfInvalid .xfAlert {
+ display: inline;
+ padding-left: 10px;
+ color: red;
+}
+
+.xfGroup .xfGroup {
+ border-top-color: black;
+ border-top-style: solid;
+ border-top-width: 1px;
+ margin-top: 20px;
+ margin-left: 30px;
+ margin-bottom: 40px;
+ border-bottom-color: black;
+ border-bottom-style: solid;
+ border-bottom-width: 1px;
+}
+
+.xfGroup>.xfLabel {
+ width: 160px;
+ text-align: left;
+ vertical-align: top;
+ font-weight: bold;
+ font-size: larger;
+ clear: both;
+ text-transform: uppercase;
+ display: block;
+ margin-bottom: 15px;
+ margin-top: 5px;
+ color: olive;
+}
+
+.xfInput .xfLabel,.xfSecret .xfLabel,.xfUpload .xfLabel,.xfOutput .xfLabel,.xfSelect .xfLabel,.xfSelect1 .xfLabel
+ {
+ text-align: right;
+ margin-right: 10px;
+ float: left;
+ width: 190px;
+}
+
+.xfRepeat .xfLabel {
+ margin-left: 10px;
+}
+
+.xfInput {
+ clear: both;
+ margin-bottom: 5px;
+}
+
.xfTrigger {
width: 140px;
}
+.xfHint {
+ display: none;
+}
+
+.xfHelpIcon {
+ vertical-align: middle;
+ padding-right: 5px;
+ padding-left: 5px;
+}
+
+.xfHelp {
+
+}
+
+.xfRequired .xfLabel: :before {
+ content: "* ";
+ color: blue;
+}
+
+.xfOutput .xfValue {
+ display: block;
+ overflow: auto;
+}
+
+.xfRepeat .xfGroup {
+ margin: 0 0 15 0;
+ border: none;
+}
+
+td {
+ text-align: center;
+ margin-left: auto;
+ margin-right: auto;
+}
+
+.xfRepeat th .xfValue {
+ display: none;
+}
+
+.xfRepeat td .xfValue span {
+ text-align: center
+}
+
+.xfRepeat td .xfLabel {
+ display: none;
+}
+
+.xfRepeat th .xfLabel {
+ text-align: center;
+ margin-right: 0px;
+ width: 100%;
+}
+
+.xfRepeat th .xfHelpIcon {
+ padding-right: 0px;
+}html,body,#main {
+ width: 100%; /* make the body expand to fill the visible window */
+ height: 100%;
+ padding: 0 0 0 0;
+ margin: 0 0 0 0;
+ font: 10pt Arial, Myriad, Tahoma, Verdana, sans-serif;
+}
+
+table,input {
+ font: 10pt Arial, Myriad, Tahoma, Verdana, sans-serif;
+}
+
+.xfDisabled {
+ display: none;
+}
+
+.xfEnabled {
+
+}
+
.xfInvalid .xfValue {
background-color: rgb(255, 128, 128);
}
@@ -71,6 +304,53 @@
color: red;
}
+.xfGroup .xfGroup {
+ border-top-color: black;
+ border-top-style: solid;
+ border-top-width: 1px;
+ margin-top: 20px;
+ margin-left: 30px;
+ margin-bottom: 40px;
+ border-bottom-color: black;
+ border-bottom-style: solid;
+ border-bottom-width: 1px;
+}
+
+.xfGroup>.xfLabel {
+ width: 160px;
+ text-align: left;
+ vertical-align: top;
+ font-weight: bold;
+ font-size: larger;
+ clear: both;
+ text-transform: uppercase;
+ display: block;
+ margin-bottom: 15px;
+ margin-top: 5px;
+ color: olive;
+}
+
+.xfInput .xfLabel,.xfSecret .xfLabel,.xfUpload .xfLabel,.xfOutput .xfLabel,.xfSelect .xfLabel,.xfSelect1 .xfLabel
+ {
+ text-align: right;
+ margin-right: 10px;
+ float: left;
+ width: 190px;
+}
+
+.xfRepeat .xfLabel {
+ margin-left: 10px;
+}
+
+.xfInput {
+ clear: both;
+ margin-bottom: 5px;
+}
+
+.xfTrigger {
+ width: 140px;
+}
+
.xfHint {
display: none;
}
@@ -82,15 +362,48 @@
}
.xfHelp {
-
+
}
-.xfRequired .xfLabel::before {
+.xfRequired .xfLabel: :before {
content: "* ";
- color: red;
+ color: blue;
}
.xfOutput .xfValue {
display: block;
overflow: auto;
}
+
+.xfRepeat .xfGroup {
+ margin: 0 0 15 0;
+ border: none;
+}
+
+td {
+ text-align: center;
+ margin-left: auto;
+ margin-right: auto;
+}
+
+.xfRepeat th .xfValue {
+ display: none;
+}
+
+.xfRepeat td .xfValue span {
+ text-align: center
+}
+
+.xfRepeat td .xfLabel {
+ display: none;
+}
+
+.xfRepeat th .xfLabel {
+ text-align: center;
+ margin-right: 0px;
+ width: 100%;
+}
+
+.xfRepeat th .xfHelpIcon {
+ padding-right: 0px;
+}
\ No newline at end of file
17 years, 1 month
JBoss Tools SVN: r13941 - workspace/kukeltje/xforms/plugins.
by jbosstools-commits@lists.jboss.org
Author: kukeltje
Date: 2009-03-02 17:34:44 -0500 (Mon, 02 Mar 2009)
New Revision: 13941
Removed:
workspace/kukeltje/xforms/plugins/plugin.xml
Log:
Wrong folder structure
Deleted: workspace/kukeltje/xforms/plugins/plugin.xml
===================================================================
--- workspace/kukeltje/xforms/plugins/plugin.xml 2009-03-02 22:34:37 UTC (rev 13940)
+++ workspace/kukeltje/xforms/plugins/plugin.xml 2009-03-02 22:34:44 UTC (rev 13941)
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.2"?>
-<plugin>
- <extension
- point="org.jboss.tools.vpe.templates">
- <templates
- name="XForms generic template"
- path="templates/xforms.xml"></templates>
- </extension>
-
-</plugin>
17 years, 1 month