diff --git a/vasc-core/src/main/java/net/forwardfire/vasc/core/AbstractVascEntryFieldType.java b/vasc-core/src/main/java/net/forwardfire/vasc/core/AbstractVascEntryFieldType.java deleted file mode 100644 index bb1d1d6..0000000 --- a/vasc-core/src/main/java/net/forwardfire/vasc/core/AbstractVascEntryFieldType.java +++ /dev/null @@ -1,235 +0,0 @@ -/* - * Copyright 2007-2012 forwardfire.net All rights reserved. - * - * Redistribution and use in source and binary forms, with or without modification, are permitted provided - * that the following conditions are met: - * - * * Redistributions of source code must retain the above copyright notice, this list of conditions and the - * following disclaimer. - * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and - * the following disclaimer in the documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY - * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL - * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT - * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -package net.forwardfire.vasc.core; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -import org.x4o.xml.conv.ObjectConverter; - -import net.forwardfire.vasc.core.ui.VascUIComponent; -import net.forwardfire.vasc.core.ui.VascValueModel; -import net.forwardfire.vasc.validators.VascValidator; - - - -/** - * - * @author Willem Cazander - * @version 1.0 Aug 2, 2007 - */ -abstract public class AbstractVascEntryFieldType implements VascEntryFieldType { - - private static final long serialVersionUID = 1L; - protected String id = null; - protected Class autoDetectClass = null; - protected List vascValidators = null; - protected Map properties = null; - protected ObjectConverter objectConverter = null; - - protected Object dataObject = null; - protected String uiComponentId = null; - protected String inputMask = null; - - public AbstractVascEntryFieldType() { - vascValidators = new ArrayList(4); - properties = new HashMap(); - } - - /** - * @see java.lang.Object#clone() - */ - @Override - abstract public VascEntryFieldType clone() throws CloneNotSupportedException; - - /** - * @see net.forwardfire.vasc.core.VascEntryFieldType#getId() - */ - public String getId() { - return id; - } - - /** - * @see net.forwardfire.vasc.core.VascEntryFieldType#setId(java.lang.String) - */ - public void setId(String id) { - this.id=id; - } - - /** - * @see net.forwardfire.vasc.core.VascEntryFieldType#getProperty(java.lang.String) - */ - public String getProperty(String name) { - return properties.get(name); - } - - /** - * @see net.forwardfire.vasc.core.VascEntryFieldType#setProperty(java.lang.String, java.lang.String) - */ - public void setProperty(String name, String value) { - properties.put(name, value); - } - - /** - * @see net.forwardfire.vasc.core.VascEntryFieldType#getPropertyNames() - */ - public List getPropertyNames() { - return new ArrayList(properties.keySet()); - } - - /** - * @return the dataObject - */ - public Object getDataObject() { - return dataObject; - } - - /** - * @param dataObject the dataObject to set - */ - public void setDataObject(Object dataObject) { - this.dataObject = dataObject; - } - - /** - * @see net.forwardfire.vasc.core.VascEntryFieldType#getVascValidators() - */ - public List getVascValidators() { - return vascValidators; - } - - /** - * @see net.forwardfire.vasc.core.VascEntryFieldType#addVascValidator(net.forwardfire.vasc.validators.VascValidator) - */ - public void addVascValidator(VascValidator vascValidator) { - vascValidators.add(vascValidator); - } - - /** - * @see net.forwardfire.vasc.core.VascEntryFieldType#removeVascValidator(net.forwardfire.vasc.validators.VascValidator) - */ - public void removeVascValidator(VascValidator vascValidator) { - vascValidators.remove(vascValidator); - } - - /** - * @see net.forwardfire.vasc.core.VascEntryFieldType#getAutoDetectClass() - */ - public Class getAutoDetectClass() { - return autoDetectClass; - } - - /** - * @see net.forwardfire.vasc.core.VascEntryFieldType#setAutoDetectClass(java.lang.Class) - */ - public void setAutoDetectClass(Class classObject) { - if (classObject==null) { - throw new NullPointerException("Can't add null classObject to fieldtype."); - } - autoDetectClass=classObject; - } - - /** - * @see net.forwardfire.vasc.core.VascEntryFieldType#getInputMask() - */ - public String getInputMask() { - return inputMask; - } - - /** - * @see net.forwardfire.vasc.core.VascEntryFieldType#setInputMask(java.lang.String) - */ - public void setInputMask(String inputMask) { - this.inputMask=inputMask; - } - - /** - * @see net.forwardfire.vasc.core.VascEntryFieldType#getUIComponentId() - */ - public String getUIComponentId() { - return uiComponentId; - } - - /** - * @see net.forwardfire.vasc.core.VascEntryFieldType#setUIComponentId(java.lang.String) - */ - public void setUIComponentId(String uiComponentId) { - this.uiComponentId=uiComponentId; - } - - /** - * @see net.forwardfire.vasc.core.VascEntryFieldType#getUIComponentCount() - */ - public int getUIComponentCount(VascEntryField entryField) throws VascException { - return 1; - } - - /** - * @see net.forwardfire.vasc.core.VascEntryFieldType#provideEditorUIComponent(int) - */ - public VascUIComponent provideEditorUIComponent(int index,VascEntryField entryField) throws VascException { - ClassLoader cl = Thread.currentThread().getContextClassLoader(); - if (cl == null) { - cl = entryField.getClass().getClassLoader(); // fallback - } - String compId = getUIComponentId(); - if (compId==null) { - compId = VascUIComponent.VASC_TEXT; - } - return entryField.getVascEntry().getVascFrontendData().getVascUIComponent(compId); - } - - /** - * @see net.forwardfire.vasc.core.VascEntryFieldType#provideLabelUIComponent(int) - */ - public VascUIComponent provideLabelUIComponent(int index,VascEntryField entryField) throws VascException { - return entryField.getVascEntry().getVascFrontendData().getVascUIComponent(VascUIComponent.VASC_LABEL); - } - - /** - * @see net.forwardfire.vasc.core.VascEntryFieldType#provideEditorVascValueModel() - */ - public VascValueModel provideEditorVascValueModel(int index,VascEntryField entryField) throws VascException { - if (index>0) { - throw new IllegalArgumentException("You have to override provideEditorVascValueModel if multi editor support is needed"); - } - VascValueModel model = new VascValueModel(); - return model; - } - - /** - * @return the objectConverter - */ - public ObjectConverter getObjectConverter() { - return objectConverter; - } - - /** - * @param objectConverter the objectConverter to set - */ - public void setObjectConverter(ObjectConverter objectConverter) { - this.objectConverter = objectConverter; - } -} \ No newline at end of file diff --git a/vasc-core/src/main/java/net/forwardfire/vasc/core/VascLinkEntry.java b/vasc-core/src/main/java/net/forwardfire/vasc/core/VascLinkEntry.java deleted file mode 100644 index 031abf9..0000000 --- a/vasc-core/src/main/java/net/forwardfire/vasc/core/VascLinkEntry.java +++ /dev/null @@ -1,112 +0,0 @@ -/* - * Copyright 2007-2012 forwardfire.net All rights reserved. - * - * Redistribution and use in source and binary forms, with or without modification, are permitted provided - * that the following conditions are met: - * - * * Redistributions of source code must retain the above copyright notice, this list of conditions and the - * following disclaimer. - * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and - * the following disclaimer in the documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY - * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL - * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT - * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -package net.forwardfire.vasc.core; - -import java.io.Serializable; -import java.util.List; - - -/** - * VascLinkEntry - * - * @author Willem Cazander - * @version 1.0 Sep 7, 2008 - */ -public interface VascLinkEntry extends Cloneable,Serializable { - - - public String getEntryParameterFieldId(String parameterName); - public void addEntryParameterFieldId(String parameterName,String valueFieldId); - public List getEntryParameterFieldIdKeys(); - - public String getEntryCreateFieldValue(String valueFieldId); - public void addEntryCreateFieldValue(String valueFieldId,String selectedFieldId); - public List getEntryCreateFieldValueKeys(); - - /** - * @return the id - */ - public String getId(); - - /** - * @param id the id to set - */ - public void setId(String id); - - /** - * @return the vascEntryId - */ - public String getVascEntryId(); - - /** - * @param vascEntryId the vascEntryId to set - */ - public void setVascEntryId(String vascEntryId); - - /** - * @return the vascLinkEntryType - */ - public VascLinkEntryType getVascLinkEntryType(); - - /** - * @param vascLinkEntryType the vascLinkEntryType to set - */ - public void setVascLinkEntryType(VascLinkEntryType vascLinkEntryType); - - /** - * @return the doActionId - */ - public String getDoActionId(); - - /** - * @param doActionId the doActionId to set - */ - public void setDoActionId(String doActionId); - - /** - * @return the name - */ - public String getName(); - - /** - * @param name the name to set - */ - public void setName(String name); - - /** - * @return the helpId - */ - public String getHelpId(); - - /** - * @param helpId the helpId to set - */ - public void setHelpId(String helpId); - - /** - * Force impl to have public clone methode - * @return - * @throws CloneNotSupportedException - */ - public VascLinkEntry clone() throws CloneNotSupportedException; -} \ No newline at end of file diff --git a/vasc-core/src/main/java/net/forwardfire/vasc/core/VascLinkEntryType.java b/vasc-core/src/main/java/net/forwardfire/vasc/core/VascLinkEntryType.java deleted file mode 100644 index a70e808..0000000 --- a/vasc-core/src/main/java/net/forwardfire/vasc/core/VascLinkEntryType.java +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright 2007-2012 forwardfire.net All rights reserved. - * - * Redistribution and use in source and binary forms, with or without modification, are permitted provided - * that the following conditions are met: - * - * * Redistributions of source code must retain the above copyright notice, this list of conditions and the - * following disclaimer. - * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and - * the following disclaimer in the documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY - * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL - * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT - * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -package net.forwardfire.vasc.core; - -import java.io.Serializable; - -/** - * The type of a VascLinkEntry - * - * @author Willem Cazander - * @version 1.0 Mrt 16, 2010 - */ -public enum VascLinkEntryType implements Serializable { - - EDIT_INLINE, - EDIT_TAB, - LIST; - - public static VascLinkEntryType DEFAULT_TYPE = VascLinkEntryType.EDIT_TAB; -} \ No newline at end of file diff --git a/vasc-core/src/main/java/net/forwardfire/vasc/core/VascUserRoleController.java b/vasc-core/src/main/java/net/forwardfire/vasc/core/VascUserRoleController.java deleted file mode 100644 index 7cf2077..0000000 --- a/vasc-core/src/main/java/net/forwardfire/vasc/core/VascUserRoleController.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright 2007-2012 forwardfire.net All rights reserved. - * - * Redistribution and use in source and binary forms, with or without modification, are permitted provided - * that the following conditions are met: - * - * * Redistributions of source code must retain the above copyright notice, this list of conditions and the - * following disclaimer. - * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and - * the following disclaimer in the documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY - * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL - * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT - * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -package net.forwardfire.vasc.core; - -import java.util.List; - - -/** - * - * @author Willem Cazander - * @version 1.0 Nov 19, 2008 - */ -public interface VascUserRoleController { - - public Long getUserId(); - - public String getUserName(); - - public List getUserRoles(); - - public boolean hasRole(String roles); -} \ No newline at end of file diff --git a/vasc-core/src/main/java/net/forwardfire/vasc/core/actions/AbstractVascAction.java b/vasc-core/src/main/java/net/forwardfire/vasc/core/actions/AbstractVascAction.java deleted file mode 100644 index 5169f9e..0000000 --- a/vasc-core/src/main/java/net/forwardfire/vasc/core/actions/AbstractVascAction.java +++ /dev/null @@ -1,130 +0,0 @@ -/* - * Copyright 2007-2012 forwardfire.net All rights reserved. - * - * Redistribution and use in source and binary forms, with or without modification, are permitted provided - * that the following conditions are met: - * - * * Redistributions of source code must retain the above copyright notice, this list of conditions and the - * following disclaimer. - * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and - * the following disclaimer in the documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY - * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL - * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT - * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -package net.forwardfire.vasc.core.actions; - - -/** - * - * @author Willem Cazander - * @version 1.0 Mar 30, 2007 - */ -abstract public class AbstractVascAction implements VascAction { - - private static final long serialVersionUID = 1L; - private String id = null; - private String name = null; - private String description = null; - private String image = null; - private String helpId = null; - - public AbstractVascAction() { - setId(getActionId()); - } - - abstract protected String getActionId(); - - public VascAction clone() throws CloneNotSupportedException { - VascAction action; - try { - action = this.getClass().newInstance(); - } catch (Exception e) { - throw new CloneNotSupportedException("Could not create action from myClass: "+e.getMessage()); - } - action.setId(id); - action.setName(name); - action.setDescription(description); - action.setImage(image); - action.setHelpId(helpId); - return action; - } - - /** - * @see net.forwardfire.vasc.core.actions.VascAction#getId() - */ - public String getId() { - return id; - } - - /** - * @see net.forwardfire.vasc.core.actions.VascAction#setId(java.lang.String) - */ - public void setId(String id) { - this.id=id; - } - - /** - * @return the name - */ - public String getName() { - return name; - } - - /** - * @param name the name to set - */ - public void setName(String name) { - this.name = name; - } - - /** - * @return the description - */ - public String getDescription() { - return description; - } - - /** - * @param description description toolTip to set - */ - public void setDescription(String description) { - this.description = description; - } - - /** - * @return the helpId - */ - public String getHelpId() { - return helpId; - } - - /** - * @param helpId the helpId to set - */ - public void setHelpId(String helpId) { - this.helpId = helpId; - } - - /** - * @return the image - */ - public String getImage() { - return image; - } - - /** - * @param image the image to set - */ - public void setImage(String image) { - this.image = image; - } -} \ No newline at end of file diff --git a/vasc-core/src/main/java/net/forwardfire/vasc/frontend/VascFrontendData.java b/vasc-core/src/main/java/net/forwardfire/vasc/frontend/VascFrontendData.java deleted file mode 100644 index 8c6c579..0000000 --- a/vasc-core/src/main/java/net/forwardfire/vasc/frontend/VascFrontendData.java +++ /dev/null @@ -1,134 +0,0 @@ -/* - * Copyright 2007-2012 forwardfire.net All rights reserved. - * - * Redistribution and use in source and binary forms, with or without modification, are permitted provided - * that the following conditions are met: - * - * * Redistributions of source code must retain the above copyright notice, this list of conditions and the - * following disclaimer. - * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and - * the following disclaimer in the documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY - * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL - * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT - * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -package net.forwardfire.vasc.frontend; - -import java.util.List; - -import net.forwardfire.vasc.core.VascController; -import net.forwardfire.vasc.core.VascEntry; -import net.forwardfire.vasc.core.VascEntryField; -import net.forwardfire.vasc.core.VascEntryState; -import net.forwardfire.vasc.core.VascException; -import net.forwardfire.vasc.core.entry.VascEntryFieldValidatorService; -import net.forwardfire.vasc.core.entry.VascEntryFrontendEventListener; -import net.forwardfire.vasc.core.entry.VascEntryResourceImageResolver; -import net.forwardfire.vasc.core.entry.VascEntryResourceResolver; -import net.forwardfire.vasc.core.entry.VascEntryFrontendEventListener.VascFrontendEventType; -import net.forwardfire.vasc.core.ui.VascUIComponent; - - - - -/** - * - * @author Willem Cazander - * @version 1.0 Mar 21, 2007 - */ -public interface VascFrontendData { - - /** - * @return the vascFrontend - */ - public VascFrontend getVascFrontend(); - - /** - * @param vascFrontend the vascFrontend to set - */ - public void setVascFrontend(VascFrontend vascFrontend); - - /** - * Gets the VascFrontendActions to make frontend actions simple. - */ - public VascFrontendActions getVascFrontendActions(); - - /** - * @param vascFrontendActions the vascFrontendActions to set - */ - public void setVascFrontendActions(VascFrontendActions vascFrontendActions); - - /** - * @return the vascFrontendPager - */ - public VascFrontendPager getVascFrontendPager(); - - /** - * @param vascFrontendPager the vascFrontendPager to set - */ - public void setVascFrontendPager(VascFrontendPager vascFrontendPager); - - /** - * @return the VascFrontendHelper - */ - public VascFrontendHelper getVascFrontendHelper(); - - /** - * @param vascFrontendHelper The VascFrontendHelper to set. - */ - public void setVascFrontendHelper(VascFrontendHelper vascFrontendHelper); - - /** - * @return the vascEntryResourceResolver - */ - public VascEntryResourceResolver getVascEntryResourceResolver(); - - /** - * @param vascEntryResourceResolver the vascEntryResourceResolver to set - */ - public void setVascEntryResourceResolver(VascEntryResourceResolver vascEntryResourceResolver); - - - public void putVascUIComponent(String rendererId,String uiComponentClass); - - public VascUIComponent getVascUIComponent(String rendererId) throws VascException; - public String getVascUIComponentClass(String rendererId); - - public void setVascController(VascController vascController); - - public VascController getVascController(); - - public void addFieldVascUIComponents(VascEntryField field,VascUIComponent uiComponent,Object editor); - public VascUIComponent getFieldVascUIComponent(VascEntryField field); - public Object getFieldRealRenderer(VascEntryField field); - public void clearFieldRenderObjects(); - - /** - * @return the vascEntryResourceImageResolver - */ - public VascEntryResourceImageResolver getVascEntryResourceImageResolver(); - - /** - * @param vascEntryResourceImageResolver the vascEntryResourceImageResolver to set - */ - public void setVascEntryResourceImageResolver(VascEntryResourceImageResolver vascEntryResourceImageResolver); - - public void addVascValidatorService(VascEntryFieldValidatorService validatorService); - public List getVascValidatorServices(); - - public VascEntryState getVascEntryState(); - public void setVascEntryState(VascEntryState state); - - public void initFrontendListeners(VascEntry entry,String frontendType) throws InstantiationException, IllegalAccessException; - public void addVascEntryFrontendEventListener(VascEntryFrontendEventListener listener); - public List getVascEntryFrontendEventListener(VascEntryFrontendEventListener.VascFrontendEventType type); - public void fireVascFrontendEvent(VascEntry entry,VascFrontendEventType type,Object data); -} \ No newline at end of file diff --git a/vasc-core/src/main/java/net/forwardfire/vasc/impl/DefaultVascFrontendActions.java b/vasc-core/src/main/java/net/forwardfire/vasc/impl/DefaultVascFrontendActions.java deleted file mode 100644 index 9dbd089..0000000 --- a/vasc-core/src/main/java/net/forwardfire/vasc/impl/DefaultVascFrontendActions.java +++ /dev/null @@ -1,318 +0,0 @@ -/* - * Copyright 2007-2012 forwardfire.net All rights reserved. - * - * Redistribution and use in source and binary forms, with or without modification, are permitted provided - * that the following conditions are met: - * - * * Redistributions of source code must retain the above copyright notice, this list of conditions and the - * following disclaimer. - * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and - * the following disclaimer in the documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY - * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL - * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT - * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -package net.forwardfire.vasc.impl; - -import java.util.Date; -import java.util.logging.Logger; - -import net.forwardfire.vasc.backend.VascBackendFilter; -import net.forwardfire.vasc.backend.VascBackendState; -import net.forwardfire.vasc.core.VascEntry; -import net.forwardfire.vasc.core.VascEntryField; -import net.forwardfire.vasc.core.VascException; -import net.forwardfire.vasc.core.entry.VascEntryFrontendEventListener; -import net.forwardfire.vasc.frontend.VascFrontendActions; - - -/** - * Default impl of default frontend actions - * - * @author Willem Cazander - * @version 1.0 Jan 22, 2012 - */ -public class DefaultVascFrontendActions implements VascFrontendActions { - - private Logger logger = Logger.getLogger(DefaultVascFrontendActions.class.getName()); - private VascEntry entry = null; - - public DefaultVascFrontendActions(VascEntry entry) { - this.entry=entry; - } - - /** - * @see net.forwardfire.vasc.frontend.VascFrontendHelper#initEditObject(net.forwardfire.vasc.core.VascEntry) - */ - public Object createObject() { - try { - entry.getVascFrontendData().fireVascFrontendEvent(entry,VascEntryFrontendEventListener.VascFrontendEventType.PRE_CREATE, null); - Object object = entry.getVascFrontendData().getVascEntryState().getVascBackend().provideVascEntryRecordCreator(entry.clone()).newRecord(entry); - if (object==null) { - throw new IllegalStateException("Can't work with null object for backend storage."); - } - for (VascEntryField field:entry.getVascEntryFields()) { - if (field.getDefaultValue()==null) { - continue; // no default value to set. - } - Object value = field.getVascEntryFieldValue().getValue(field, object); - if (value!=null) { - continue; // value is already set by backend creator. - } - Object defaultValue = field.getDefaultValue(); - if (defaultValue instanceof String) { - String def = (String)defaultValue; - if (def.equals("now()")) { // TODO: add default string parsers - defaultValue = new Date(); - } - } - logger.finer("Setting default value for: "+field.getName()+" def: "+defaultValue); - field.getVascEntryFieldValue().setValue(field, object, defaultValue); - } - entry.getVascFrontendData().fireVascFrontendEvent(entry,VascEntryFrontendEventListener.VascFrontendEventType.POST_CREATE, object); - return object; - } catch (Exception e) { - entry.getVascFrontendData().getVascFrontendHelper().handleException(entry,e); - return null; /// ?? ,, - } - } - - protected int removeObjectFromDataList(Object object) { - int indexOld = entry.getVascFrontendData().getVascEntryState().getEntryDataList().indexOf(object); - if (entry.getVascFrontendData().getVascEntryState().getEntryDataList().remove(object)) { - return indexOld; // java worked well for use - } - - // remove only work on (jpa)beans with an overrided equals method. - // we lets do the search ourselfs here because we should know the primary key value - try { - VascEntryField field = entry.getVascEntryFieldById(entry.getPrimaryKeyFieldId()); - Object idObject = field.getVascEntryFieldValue().getValue(field, object); - - // is only null when creating objects - if (idObject!=null) { - int index = 0; - for (Object o:entry.getVascFrontendData().getVascEntryState().getEntryDataList()) { - field = entry.getVascEntryFieldById(entry.getPrimaryKeyFieldId()); - Object id = field.getVascEntryFieldValue().getValue(field, o); - if (idObject.equals(id)) { - break; - } - index++; - } - if (index backendState.getPageSizeMax()) { - backendState.setPageSize(backendState.getPageSizeMax()); - } - // Sets parameters to backend state - for (String key:entry.getEntryParameterKeys()) { - Object value = entry.getEntryParameter(key); - backendState.setDataParameter(key, value); - } - - // Execute to get data. - entry.getVascFrontendData().getVascEntryState().setEntryDataList(entry.getVascFrontendData().getVascEntryState().getVascBackend().execute(backendState)); - - // Update total every time first - Long total = entry.getVascFrontendData().getVascEntryState().getVascBackend().fetchTotalExecuteSize(backendState); - entry.getVascFrontendData().getVascEntryState().setTotalBackendRecords(total); - - // check if we need to change the current page - int pages = new Long(total/backendState.getPageSize()).intValue(); - if (backendState.getPageIndex() > pages) { - backendState.setPageIndex(pages); - entry.getVascFrontendData().getVascEntryState().setEntryDataList(entry.getVascFrontendData().getVascEntryState().getVascBackend().execute(backendState)); - } - - - } catch (Exception e) { - entry.getVascFrontendData().getVascFrontendHelper().handleException(entry, e); - } - entry.getVascFrontendData().fireVascFrontendEvent(entry,VascEntryFrontendEventListener.VascFrontendEventType.POST_READ, null); - } - - - public void sortAction(VascEntryField field) { - String curSort = entry.getVascFrontendData().getVascEntryState().getVascBackendState().getSortField(); - if (field.getBackendName().equals(curSort)) { - entry.getVascFrontendData().getVascEntryState().getVascBackendState().setSortAscending(!entry.getVascFrontendData().getVascEntryState().getVascBackendState().isSortAscending()); - } - String sortID = field.getBackendName(); - entry.getVascFrontendData().getVascEntryState().getVascBackendState().setSortField(sortID); - entry.getVascFrontendData().getVascEntryState().getVascBackendState().setPageIndex(0); - entry.getVascFrontendData().fireVascFrontendEvent(entry,VascEntryFrontendEventListener.VascFrontendEventType.SORT, field); - - refreshData(); - try { - entry.getVascFrontendData().getVascFrontend().renderView(); - } catch (Exception e) { - entry.getVascFrontendData().getVascFrontendHelper().handleException(entry, e); - } - } - - public void searchAction(String searchString) { - entry.getVascFrontendData().getVascEntryState().getVascBackendState().setSearchString(searchString); - entry.getVascFrontendData().getVascEntryState().getVascBackendState().setSortField(null); - entry.getVascFrontendData().getVascEntryState().getVascBackendState().setPageIndex(0); - entry.getVascFrontendData().fireVascFrontendEvent(entry,VascEntryFrontendEventListener.VascFrontendEventType.SEARCH, searchString); - - refreshData(); - - try { - entry.getVascFrontendData().getVascFrontend().renderView(); - } catch (Exception e) { - entry.getVascFrontendData().getVascFrontendHelper().handleException(entry, e); - } - } - - public void pageAction(Integer pageIndex) { - if (pageIndex<1) { - pageIndex = 0; - } - Long total = entry.getVascFrontendData().getVascEntryState().getTotalBackendRecords(); // note: total is only null when pageAction is done before first refresh, which should never happen anyway. - if (total!=null && pageIndex>(total/entry.getVascFrontendData().getVascEntryState().getVascBackendState().getPageSize())) { - pageIndex = new Long(total/entry.getVascFrontendData().getVascEntryState().getVascBackendState().getPageSize()).intValue(); - } - - entry.getVascFrontendData().getVascEntryState().getVascBackendState().setPageIndex(pageIndex); - entry.getVascFrontendData().fireVascFrontendEvent(entry,VascEntryFrontendEventListener.VascFrontendEventType.PAGE, pageIndex); - - // lets load data; - refreshData(); - - try { - entry.getVascFrontendData().getVascFrontend().renderView(); - } catch (Exception e) { - entry.getVascFrontendData().getVascFrontendHelper().handleException(entry, e); - } - } - - public void moveUpAction(Object record) { - if (entry.getVascFrontendData().getVascEntryState().getVascBackend().isRecordMoveable()) { - try { - VascEntryField p = entry.getVascEntryFieldById(entry.getPrimaryKeyFieldId()); - Object primaryId = p.getVascEntryFieldValue().getValue(p, record); - entry.getVascFrontendData().getVascEntryState().getVascBackend().doRecordMoveUpById(entry.getVascFrontendData().getVascEntryState().getVascBackendState(),primaryId); - } catch (Exception e) { - entry.getVascFrontendData().getVascFrontendHelper().handleException(entry, e); - } - - // lets load data; - refreshData(); - } - - try { - entry.getVascFrontendData().getVascFrontend().renderView(); - } catch (Exception e) { - entry.getVascFrontendData().getVascFrontendHelper().handleException(entry, e); - } - } - - public void moveDownAction(Object record) { - if (entry.getVascFrontendData().getVascEntryState().getVascBackend().isRecordMoveable()) { - try { - VascEntryField p = entry.getVascEntryFieldById(entry.getPrimaryKeyFieldId()); - Object primaryId = p.getVascEntryFieldValue().getValue(p, record); - entry.getVascFrontendData().getVascEntryState().getVascBackend().doRecordMoveDownById(entry.getVascFrontendData().getVascEntryState().getVascBackendState(),primaryId); - } catch (Exception e) { - entry.getVascFrontendData().getVascFrontendHelper().handleException(entry, e); - } - // lets load data; - refreshData(); - } - - try { - entry.getVascFrontendData().getVascFrontend().renderView(); - } catch (Exception e) { - entry.getVascFrontendData().getVascFrontendHelper().handleException(entry, e); - } - } -} \ No newline at end of file diff --git a/vasc-core/src/main/java/net/forwardfire/vasc/impl/DefaultVascFrontendData.java b/vasc-core/src/main/java/net/forwardfire/vasc/impl/DefaultVascFrontendData.java deleted file mode 100644 index 8ebad5b..0000000 --- a/vasc-core/src/main/java/net/forwardfire/vasc/impl/DefaultVascFrontendData.java +++ /dev/null @@ -1,365 +0,0 @@ -/* - * Copyright 2007-2012 forwardfire.net All rights reserved. - * - * Redistribution and use in source and binary forms, with or without modification, are permitted provided - * that the following conditions are met: - * - * * Redistributions of source code must retain the above copyright notice, this list of conditions and the - * following disclaimer. - * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and - * the following disclaimer in the documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY - * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL - * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT - * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -package net.forwardfire.vasc.impl; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -import net.forwardfire.vasc.core.VascController; -import net.forwardfire.vasc.core.VascEntry; -import net.forwardfire.vasc.core.VascEntryField; -import net.forwardfire.vasc.core.VascEntryConfigFinalizer; -import net.forwardfire.vasc.core.VascEntryState; -import net.forwardfire.vasc.core.VascException; -import net.forwardfire.vasc.core.actions.ColumnVascAction; -import net.forwardfire.vasc.core.actions.GlobalVascAction; -import net.forwardfire.vasc.core.actions.RowVascAction; -import net.forwardfire.vasc.core.actions.VascAction; -import net.forwardfire.vasc.core.entry.VascEntryFieldValidatorService; -import net.forwardfire.vasc.core.entry.VascEntryFrontendEventListener; -import net.forwardfire.vasc.core.entry.VascEntryResourceImageResolver; -import net.forwardfire.vasc.core.entry.VascEntryResourceResolver; -import net.forwardfire.vasc.core.entry.VascEntryFrontendEventListener.VascFrontendEventType; -import net.forwardfire.vasc.core.ui.VascUIComponent; -import net.forwardfire.vasc.frontend.VascFrontend; -import net.forwardfire.vasc.frontend.VascFrontendActions; -import net.forwardfire.vasc.frontend.VascFrontendData; -import net.forwardfire.vasc.frontend.VascFrontendHelper; -import net.forwardfire.vasc.frontend.VascFrontendPager; - - - -/** - * Stores state data for the frontend - * - * @author Willem Cazander - * @version 1.0 Mar 21, 2007 - */ -public class DefaultVascFrontendData implements VascFrontendData { - - private VascFrontend vascFrontend = null; - private VascFrontendActions vascFrontendActions = null; - private VascFrontendPager vascFrontendPager = null; - private VascEntryConfigFinalizer vascEntryFinalizer = null; - private VascFrontendHelper vascFrontendHelper = null; - private VascEntryResourceResolver vascEntryResourceResolver = null; - private VascEntryResourceImageResolver vascEntryResourceImageResolver = null; - private Map uiComponents = null; - private VascController vascController = null; - private Map> vascEntryFrontendEventListeners = null; - private VascEntryState state = null; - - - private Map fieldComps = null; - private Map fieldEditors = null; - private List validatorServices = null; - - public DefaultVascFrontendData() { - uiComponents = new HashMap(8); - fieldComps = new HashMap(8); - fieldEditors = new HashMap(8); - validatorServices = new ArrayList(4); - vascEntryFrontendEventListeners = new HashMap>(10); - } - - /** - * @return the vascFrontend - */ - public VascFrontend getVascFrontend() { - return vascFrontend; - } - - /** - * @param vascFrontend the vascFrontend to set - */ - public void setVascFrontend(VascFrontend vascFrontend) { - this.vascFrontend = vascFrontend; - } - - /** - * @return the vascFrontendActions - */ - public VascFrontendActions getVascFrontendActions() { - return vascFrontendActions; - } - - /** - * @param vascFrontendActions the vascFrontendActions to set - */ - public void setVascFrontendActions(VascFrontendActions vascFrontendActions) { - this.vascFrontendActions = vascFrontendActions; - } - - /** - * @return the vascFrontendPager - */ - public VascFrontendPager getVascFrontendPager() { - return vascFrontendPager; - } - - /** - * @param vascFrontendPager the vascFrontendPager to set - */ - public void setVascFrontendPager(VascFrontendPager vascFrontendPager) { - this.vascFrontendPager = vascFrontendPager; - } - - /** - * @see net.forwardfire.vasc.core.VascBackendData#getVascEntryFinalizer() - */ - public VascEntryConfigFinalizer getVascEntryFinalizer() { - return vascEntryFinalizer; - } - - /** - * @see net.forwardfire.vasc.core.VascBackendData#setVascEntryFinalizer(net.forwardfire.vasc.core.VascEntryConfigFinalizer) - */ - public void setVascEntryFinalizer(VascEntryConfigFinalizer vascEntryFinalizer) { - this.vascEntryFinalizer=vascEntryFinalizer; - } - - /** - * @return the vascFrontendHelper - */ - public VascFrontendHelper getVascFrontendHelper() { - return vascFrontendHelper; - } - - /** - * @param vascFrontendHelper the vascFrontendHelper to set - */ - public void setVascFrontendHelper(VascFrontendHelper vascFrontendHelper) { - this.vascFrontendHelper = vascFrontendHelper; - } - - /** - * @return the vascEntryResourceResolver - */ - public VascEntryResourceResolver getVascEntryResourceResolver() { - return vascEntryResourceResolver; - } - - /** - * @param vascEntryResourceResolver the vascEntryResourceResolver to set - */ - public void setVascEntryResourceResolver(VascEntryResourceResolver vascEntryResourceResolver) { - this.vascEntryResourceResolver = vascEntryResourceResolver; - } - - - public VascUIComponent getVascUIComponent(String rendererId) throws VascException { - ClassLoader cl = Thread.currentThread().getContextClassLoader(); - if (cl == null) { - cl = rendererId.getClass().getClassLoader(); // fallback - } - String componentClass = getVascUIComponentClass(rendererId); - if (componentClass==null) { - - // TODO: auto wire text <-> object converts - - componentClass = getVascUIComponentClass(VascUIComponent.VASC_TEXT); - } - if (componentClass==null) { - throw new VascException("No component Class found for frontend UIComponent: "+rendererId); - } - try { - return (VascUIComponent)cl.loadClass(componentClass).newInstance(); - } catch (Exception e) { - throw new VascException(e); - } - } - - /** - * @see net.forwardfire.vasc.frontend.VascFrontendData#getVascUIComponent(java.lang.String) - */ - public String getVascUIComponentClass(String rendererId) { - return uiComponents.get(rendererId); - } - - /** - * @see net.forwardfire.vasc.frontend.VascFrontendData#putVascUIComponent(java.lang.String, java.lang.String) - */ - public void putVascUIComponent(String rendererId, String uiComponentClass) { - uiComponents.put(rendererId, uiComponentClass); - } - - /** - * @return the vascController - */ - public VascController getVascController() { - return vascController; - } - - /** - * @param vascController the vascController to set - */ - public void setVascController(VascController vascController) { - this.vascController = vascController; - } - - /** - * @see net.forwardfire.vasc.frontend.VascFrontendData#addFieldVascUIComponents(net.forwardfire.vasc.core.VascEntryField, net.forwardfire.vasc.core.ui.VascUIComponent, java.lang.Object) - */ - public void addFieldVascUIComponents(VascEntryField field,VascUIComponent uiComponent, Object editor) { - fieldComps.put(field, uiComponent); - fieldEditors.put(field, editor); - } - - public void clearFieldRenderObjects() { - fieldComps.clear(); - fieldEditors.clear(); - } - - /** - * @see net.forwardfire.vasc.frontend.VascFrontendData#getFieldRealRenderer(net.forwardfire.vasc.core.VascEntryField) - */ - public Object getFieldRealRenderer(VascEntryField field) { - return fieldEditors.get(field); - } - - /** - * @see net.forwardfire.vasc.frontend.VascFrontendData#getFieldVascUIComponent(net.forwardfire.vasc.core.VascEntryField) - */ - public VascUIComponent getFieldVascUIComponent(VascEntryField field) { - return fieldComps.get(field); - } - - /** - * @return the vascEntryResourceImageResolver - */ - public VascEntryResourceImageResolver getVascEntryResourceImageResolver() { - return vascEntryResourceImageResolver; - } - - /** - * @param vascEntryResourceImageResolver the vascEntryResourceImageResolver to set - */ - public void setVascEntryResourceImageResolver(VascEntryResourceImageResolver vascEntryResourceImageResolver) { - this.vascEntryResourceImageResolver = vascEntryResourceImageResolver; - } - - /** - * @see net.forwardfire.vasc.frontend.VascFrontendData#addVascValidatorService(net.forwardfire.vasc.core.entry.VascEntryFieldValidatorService) - */ - public void addVascValidatorService(VascEntryFieldValidatorService validatorService) { - validatorServices.add(validatorService); - } - - /** - * @see net.forwardfire.vasc.frontend.VascFrontendData#getVascValidatorServices() - */ - public List getVascValidatorServices() { - return validatorServices; - } - - public VascEntryState getVascEntryState() { - return state; - } - - public void setVascEntryState(VascEntryState state) { - this.state=state; - } - - - public void initFrontendListeners(VascEntry entry,String frontendType) throws InstantiationException, IllegalAccessException { - ClassLoader cl = Thread.currentThread().getContextClassLoader(); - if (cl==null) { - cl = entry.getClass().getClassLoader(); - } - for (String clazz:entry.getVascEntryFrontendEventListenersByType(frontendType)) { - VascEntryFrontendEventListener listener; - try { - listener = (VascEntryFrontendEventListener)cl.loadClass(clazz).newInstance(); - } catch (ClassNotFoundException e) { - throw new RuntimeException("Could not load VascEntryFrontendEventListener of: "+clazz); - } - addVascEntryFrontendEventListener(listener); - } - - for (String clazz:entry.getVascEntryFrontendActionsByType(frontendType)) { - Object obj = null; - try { - obj = cl.loadClass(clazz).newInstance(); - } catch (ClassNotFoundException e) { - throw new RuntimeException("Could not load frontend action of: "+clazz); - } - if (obj instanceof VascAction) { - VascAction action = (VascAction)obj; - String aid = action.getId(); - if (aid==null) { - throw new IllegalArgumentException("Action has no id: "+action+" in entryId: "+entry.getId()); - } - if (action.getName()==null) { - action.setName("vasc.action."+aid+".name"); - } - if (action.getDescription()==null) { - action.setDescription("vasc.action."+aid+".description"); - } - if (action.getImage()==null) { - action.setImage("vasc.action."+aid+".image"); - } - if (action.getHelpId()==null) { - action.setHelpId("vasc.action."+aid+".helpId"); - } - } - - if (obj instanceof RowVascAction) { - entry.addRowAction((RowVascAction)obj); - } - if (obj instanceof ColumnVascAction) { - entry.addColumnAction((ColumnVascAction)obj); - } - if (obj instanceof GlobalVascAction) { - entry.addGlobalAction((GlobalVascAction)obj); - } - } - } - - public void addVascEntryFrontendEventListener(VascEntryFrontendEventListener listener) { - for (VascEntryFrontendEventListener.VascFrontendEventType type:listener.getEventTypes()) { - List list = vascEntryFrontendEventListeners.get(type); - if (list==null) { - list = new ArrayList(10); - vascEntryFrontendEventListeners.put(type, list); - } - list.add(listener); - } - } - - public List getVascEntryFrontendEventListener(VascEntryFrontendEventListener.VascFrontendEventType type) { - List list = vascEntryFrontendEventListeners.get(type); - if (list==null) { - return new ArrayList(0); - } - return list; - } - - public void fireVascFrontendEvent(VascEntry entry,VascFrontendEventType type, Object data) { - List list = getVascEntryFrontendEventListener(type); - for (VascEntryFrontendEventListener l:list) { - l.vascEvent(entry, data); - } - } -} \ No newline at end of file diff --git a/vasc-core/src/main/java/net/forwardfire/vasc/impl/DefaultVascFrontendHelper.java b/vasc-core/src/main/java/net/forwardfire/vasc/impl/DefaultVascFrontendHelper.java deleted file mode 100644 index 90865d6..0000000 --- a/vasc-core/src/main/java/net/forwardfire/vasc/impl/DefaultVascFrontendHelper.java +++ /dev/null @@ -1,337 +0,0 @@ -/* - * Copyright 2007-2012 forwardfire.net All rights reserved. - * - * Redistribution and use in source and binary forms, with or without modification, are permitted provided - * that the following conditions are met: - * - * * Redistributions of source code must retain the above copyright notice, this list of conditions and the - * following disclaimer. - * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and - * the following disclaimer in the documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY - * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL - * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT - * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -package net.forwardfire.vasc.impl; - -import java.util.ArrayList; -import java.util.List; -import java.util.logging.Logger; - -import net.forwardfire.vasc.core.VascEntry; -import net.forwardfire.vasc.core.VascEntryField; -import net.forwardfire.vasc.core.VascException; -import net.forwardfire.vasc.core.VascLinkEntry; -import net.forwardfire.vasc.core.VascLinkEntryType; -import net.forwardfire.vasc.core.VascUserRoleController; -import net.forwardfire.vasc.core.actions.GlobalVascAction; -import net.forwardfire.vasc.core.actions.RowVascAction; -import net.forwardfire.vasc.core.entry.VascEntryFieldValidatorService; -import net.forwardfire.vasc.core.entry.VascEntryFieldValue; -import net.forwardfire.vasc.core.entry.VascEntryFrontendEventListener.VascFrontendEventType; -import net.forwardfire.vasc.core.ui.VascUIComponent; -import net.forwardfire.vasc.frontend.VascFrontendHelper; - -/** - * - * @author Willem Cazander - * @version 1.0 Apr 28, 2007 - */ -public class DefaultVascFrontendHelper implements VascFrontendHelper { - - private Logger logger = Logger.getLogger(DefaultVascFrontendHelper.class.getName()); - - /** - * @see net.forwardfire.vasc.frontend.VascFrontendHelper#renderView(net.forwardfire.vasc.core.VascEntryField) - */ - public boolean renderView(VascEntryField field) { - if (field.getView()==false) { - return false; - } - return true; - } - - /** - * @see net.forwardfire.vasc.frontend.VascFrontendHelper#renderCreate(net.forwardfire.vasc.core.VascEntryField) - */ - public boolean renderCreate(VascEntryField field) { - if (renderView(field)==false) { - return false; - } - VascUserRoleController u = field.getVascEntry().getVascFrontendData().getVascController().getVascUserRoleController(); - if (field.getRolesCreate()!=null && u.hasRole(field.getRolesCreate())) { - return true; - } - if (field.getCreate()) { - return true; - } - return false; - } - - /** - * @see net.forwardfire.vasc.frontend.VascFrontendHelper#renderEdit(net.forwardfire.vasc.core.VascEntryField) - */ - public boolean renderEdit(VascEntryField field) { - if (renderView(field)==false) { - return false; - } - if (field.getVascEntry().getVascFrontendData().getVascEntryState().isEditCreate()) { - if (renderCreate(field)==false) { - return false; - } - } - VascUserRoleController u = field.getVascEntry().getVascFrontendData().getVascController().getVascUserRoleController(); - if (field.getRolesEdit()!=null && u.hasRole(field.getRolesEdit())) { - return true; - } - if (field.getEdit()) { - return true; - } - return false; - } - - /** - * @see net.forwardfire.vasc.frontend.VascFrontendHelper#renderEditReadOnly(net.forwardfire.vasc.core.VascEntryField) - */ - public boolean renderEditReadOnly(VascEntryField field) { - if (renderView(field)==false) { - return false; - } - VascUserRoleController u = field.getVascEntry().getVascFrontendData().getVascController().getVascUserRoleController(); - if (field.getRolesEditReadOnly()!=null && u.hasRole(field.getRolesEditReadOnly())) { - return true; - } - if (field.getEditReadOnly()) { - return true; - } - return false; - } - - /** - * @see net.forwardfire.vasc.frontend.VascFrontendHelper#renderList(net.forwardfire.vasc.core.VascEntryField) - */ - public boolean renderList(VascEntryField field) { - if (renderView(field)==false) { - return false; - } - VascUserRoleController u = field.getVascEntry().getVascFrontendData().getVascController().getVascUserRoleController(); - if (field.getRolesList()!=null && u.hasRole(field.getRolesList())) { - return true; - } - if (field.getList()) { - return true; - } - return false; - } - - /** - * @see net.forwardfire.vasc.frontend.VascFrontendHelper#renderGlobalVascAction(net.forwardfire.vasc.core.actions.GlobalVascAction) - */ - public boolean renderGlobalVascAction(GlobalVascAction action) { - return true; - } - - /** - * @see net.forwardfire.vasc.frontend.VascFrontendHelper#renderRowVascAction(net.forwardfire.vasc.core.actions.RowVascAction) - */ - public boolean renderRowVascAction(RowVascAction action) { - return true; - } - - - - /** - * @see net.forwardfire.vasc.frontend.VascFrontendHelper#getTotalColumnsWidth(net.forwardfire.vasc.core.VascEntry) - */ - public Integer getTotalColumnsWidth(VascEntry entry) { - int result = 0; - for(VascEntryField c:entry.getVascEntryFields()) { - if(c.getSizeList()==null) { - logger.finer("Column no size: "+c.getName()); - } else { - result+=c.getSizeList(); - } - } - return result; - } - - public List getVascLinkEntryByType(VascEntry entry,VascLinkEntryType type) { - List result = new ArrayList(10); - for (VascLinkEntry link:entry.getVascLinkEntries()) { - if (type==null) { - result.add(link); - continue; - } - if (type.equals(link.getVascLinkEntryType())) { - result.add(link); - } - } - return result; - } - - /** - * @see net.forwardfire.vasc.frontend.VascFrontendHelper#handleException(net.forwardfire.vasc.core.VascEntry,java.lang.Exception) - */ - public void handleException(VascEntry entry,Exception exception) { - entry.getVascFrontendData().fireVascFrontendEvent(entry,VascFrontendEventType.EXCEPTION , exception); - } - - public void headerOptionsCreatedFillData(VascEntry entry) { - - // fix conv defs of options to object. ? - - entry.getVascFrontendData().getVascFrontendActions().refreshData(); - } - - /** - * @see net.forwardfire.vasc.frontend.VascFrontendHelper#validateObjectField(net.forwardfire.vasc.core.VascEntryField, java.lang.Object) - */ - public List validateObjectField(VascEntryField field) { - if (field==null) { - throw new NullPointerException("Can't validate null field."); - } - VascEntry entry = field.getVascEntry(); - if (entry.getVascFrontendData().getVascEntryState().getEntryDataObject()==null) { - throw new NullPointerException("Can't validate null entry object."); - } - List error = new ArrayList(3); - - // skip non-create and non-edit fields - if (entry.getVascFrontendData().getVascFrontendHelper().renderCreate(field) == false & - entry.getVascFrontendData().getVascEntryState().isEditCreate()) { - return error; - } - if (entry.getVascFrontendData().getVascFrontendHelper().renderEditReadOnly(field) & - entry.getVascFrontendData().getVascEntryState().isEditCreate()==false) { - return error; - } - - try { - Object objectSelected = entry.getVascFrontendData().getVascEntryState().getEntryDataObject(); - Object objectValue = field.getVascEntryFieldValue().getValue(field, objectSelected); - for (VascEntryFieldValidatorService s:entry.getVascFrontendData().getVascValidatorServices()) { - error.addAll(s.validateObjectField(field, objectSelected, objectValue)); - } - } catch (VascException e) { - handleException(entry, e); - } - return error; - } - - /** - * - */ - public boolean validateAndSetErrorText(VascEntry entry) { - boolean hadError = false; - for (VascEntryField field:entry.getVascEntryFields()) { - VascUIComponent comp = entry.getVascFrontendData().getFieldVascUIComponent(field); - List error = validateObjectField(field); - logger.info("Check field: "+field.getId()+" comp: "+comp+" Errors: "+error.size()); - if (error.isEmpty()) { - if (comp!=null) { - comp.setErrorText(null); - } - continue; - } - if (comp==null) { - logger.warning("Field: "+field.getId()+" gives errors but no UI component to display."); - continue; - } - hadError=true; - StringBuffer buf = new StringBuffer(100); - for (String s:error) { - buf.append(s); - buf.append('\n'); - } - comp.setErrorText(buf.toString()); - } - return hadError; - } - - public void editReadOnlyUIComponents(VascEntry entry) { - // reset edit read only - for (VascEntryField f:entry.getVascEntryFields()) { - if (entry.getVascFrontendData().getFieldVascUIComponent(f)==null) { - continue; - } - - // TODO: move back to rendered when jsf fixes - if (entry.getVascFrontendData().getVascFrontendHelper().renderCreate(f) == false & - entry.getVascFrontendData().getVascEntryState().isEditCreate()) { - //entry.getVascFrontendData().getFieldVascUIComponent(f).setRendered(false); - entry.getVascFrontendData().getFieldVascUIComponent(f).setDisabled(true); - } else { - //entry.getVascFrontendData().getFieldVascUIComponent(f).setRendered(true); - entry.getVascFrontendData().getFieldVascUIComponent(f).setDisabled(false); - } - - // only when editing set edit readonlys - if (entry.getVascFrontendData().getVascFrontendHelper().renderEditReadOnly(f) & - entry.getVascFrontendData().getVascEntryState().isEditCreate()==false) { - entry.getVascFrontendData().getFieldVascUIComponent(f).setDisabled(true); - } else { - if (entry.getVascFrontendData().getVascEntryState().isEditCreate()==false) { // todo: remove when jsf fixes - entry.getVascFrontendData().getFieldVascUIComponent(f).setDisabled(false); - } - } - } - } - - public List getMultiRowActions(VascEntry entry) { - List result = new ArrayList(5); - for (RowVascAction a:entry.getRowActions()) { - if (a.isMultiRowAction()) { - result.add(a); - } - } - return result; - } - - public String getSelectedDisplayName(VascEntry entry) { - Object row = entry.getVascFrontendData().getVascEntryState().getEntryDataObject(); - if (row==null) { - return "no-selection"; - } - VascEntryField v = entry.getVascEntryFieldById(entry.getDisplayNameFieldId()); - VascEntryFieldValue ve = v.getVascEntryFieldValue(); - String result = "no-data"; - try { - result = ve.getDisplayValue(v, row); - } catch (VascException e) { - throw new RuntimeException("Could not get selected name DisplayValue: "+e.getMessage(),e); - } - return result; - } - - public String getParentSelectedDisplayName(VascEntry entry) { - if (entry.getVascFrontendData().getVascEntryState().getParent()==null) { - return ""; // no parent - } - - VascEntry parent = entry.getVascFrontendData().getVascEntryState().getParent().getVascEntry(); - Object row = entry.getVascFrontendData().getVascEntryState().getParent().getEntryDataObject(); - if (row==null) { - return "no-selection"; - } - VascEntryField v = parent.getVascEntryFieldById(parent.getDisplayNameFieldId()); - VascEntryFieldValue ve = v.getVascEntryFieldValue(); - String result = "no-data"; - try { - result = ve.getDisplayValue(v, row); - } catch (VascException e) { - throw new RuntimeException("Could not get parent name DisplayValue: "+e.getMessage(),e); - } - return result; - } - - - -} \ No newline at end of file diff --git a/vasc-core/src/main/java/net/forwardfire/vasc/impl/DefaultVascFrontendPager.java b/vasc-core/src/main/java/net/forwardfire/vasc/impl/DefaultVascFrontendPager.java deleted file mode 100644 index f2a6cf5..0000000 --- a/vasc-core/src/main/java/net/forwardfire/vasc/impl/DefaultVascFrontendPager.java +++ /dev/null @@ -1,223 +0,0 @@ -/* - * Copyright 2007-2012 forwardfire.net All rights reserved. - * - * Redistribution and use in source and binary forms, with or without modification, are permitted provided - * that the following conditions are met: - * - * * Redistributions of source code must retain the above copyright notice, this list of conditions and the - * following disclaimer. - * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and - * the following disclaimer in the documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY - * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL - * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT - * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -package net.forwardfire.vasc.impl; - -import java.util.ArrayList; -import java.util.List; - -import net.forwardfire.vasc.backend.VascBackendPageNumber; -import net.forwardfire.vasc.backend.VascBackendState; -import net.forwardfire.vasc.core.VascEntry; -import net.forwardfire.vasc.core.entry.VascEntryFrontendEventListener; -import net.forwardfire.vasc.frontend.VascFrontendPager; - - -/** - * Default impl of default frontend actions - * - * @author Willem Cazander - * @version 1.0 Jan 22, 2012 - */ -public class DefaultVascFrontendPager implements VascFrontendPager { - - //private Logger logger = Logger.getLogger(DefaultVascFrontendPager.class.getName()); - private VascEntry entry = null; - private List pagesAll = null; - - public DefaultVascFrontendPager(VascEntry entry) { - this.entry=entry; - pagesAll = new ArrayList(0); - entry.getVascFrontendData().addVascEntryFrontendEventListener(new DefaultVascFrontendPagerEventListener()); - } - - class DefaultVascFrontendPagerEventListener implements VascEntryFrontendEventListener { - private static final long serialVersionUID = -6667099892801941650L; - public VascFrontendEventType[] getEventTypes() { - VascFrontendEventType[] result = {VascEntryFrontendEventListener.VascFrontendEventType.POST_READ}; - return result; - } - public void vascEvent(VascEntry entry, Object data) { - pagesAll = getTablePagesFromBackend(); - } - } - - - public long getPageTotalRecordCount() { - long result = entry.getVascFrontendData().getVascEntryState().getTotalBackendRecords(); - return result; - } - public long getPageSize() { - long result = entry.getVascFrontendData().getVascEntryState().getVascBackendState().getPageSize(); - return result; - } - public long getPageStartCount() { - int index = entry.getVascFrontendData().getVascEntryState().getVascBackendState().getPageIndex(); - int pageSize = entry.getVascFrontendData().getVascEntryState().getVascBackendState().getPageSize(); - long result = index*pageSize; - return result; - } - public long getPageStopCount() { - int index = entry.getVascFrontendData().getVascEntryState().getVascBackendState().getPageIndex(); - int pageSize = entry.getVascFrontendData().getVascEntryState().getVascBackendState().getPageSize(); - long result = (index*pageSize)+pageSize; - - // limit for small result sets. - if (result>entry.getVascFrontendData().getVascEntryState().getTotalBackendRecords()) { - result = entry.getVascFrontendData().getVascEntryState().getTotalBackendRecords(); - } - return result; - } - - public boolean getHasPageNextAction() { - int pageIndex = entry.getVascFrontendData().getVascEntryState().getVascBackendState().getPageIndex(); - pageIndex++; - // copyed from helper - Long total = entry.getVascFrontendData().getVascEntryState().getTotalBackendRecords(); - if (total!=null && pageIndex>(total/entry.getVascFrontendData().getVascEntryState().getVascBackendState().getPageSize())) { - return false; - } - return true; - } - - public boolean getHasPagePreviousAction() { - int pageIndex = entry.getVascFrontendData().getVascEntryState().getVascBackendState().getPageIndex(); - if (pageIndex==0) { - return false; - } - return true; - } - - public boolean getHasOnlySinglePage() { - int pages = pagesAll.size(); - if (pages==1) { - return true; - } - return false; - } - - public boolean getHasExtendedPageMode() { - int pages = pagesAll.size(); - if (pages>13) { - return true; - } - return false; - } - - public boolean getHasExtendedPageModeCenter() { - if (getHasExtendedPageMode()==false) { - return false; - } - int page = entry.getVascFrontendData().getVascEntryState().getVascBackendState().getPageIndex(); - if (page<5) { - return false; - } - int pages = pagesAll.size(); - if (page>pages-6) { - return false; - } - return true; - } - - public List getTablePagesFromBackend() { - List result = new ArrayList(30); - VascBackendState state = entry.getVascFrontendData().getVascEntryState().getVascBackendState(); - if (state.getPageSize()==0) { - return result; // paging disabled - } - Long total = entry.getVascFrontendData().getVascEntryState().getTotalBackendRecords(); - if (total==null) { - return result; // no pages - } - int pages = new Long(total/state.getPageSize()).intValue(); - for (int i=0;i<=pages;i++) { - VascBackendPageNumber pn = new VascBackendPageNumber(i); - if (state.getPageIndex()==i) { - pn.setSelected(true); - } - result.add(pn); - } - return result; - } - - public List getTablePagesNormal() { - if (getHasExtendedPageMode()) { - return new ArrayList(0); - } else { - return pagesAll; - } - } - - public List getTablePagesExtendedBegin() { - List result = new ArrayList(6); - result.add(pagesAll.get(0)); - result.add(pagesAll.get(1)); - result.add(pagesAll.get(2)); - - int page = entry.getVascFrontendData().getVascEntryState().getVascBackendState().getPageIndex(); - if (page==2 | page==3 | page==4) { - result.add(pagesAll.get(3)); - } - if (page==3 | page==4) { - result.add(pagesAll.get(4)); - } - if (page==4) { - result.add(pagesAll.get(5)); - } - return result; - } - - public List getTablePagesExtendedEnd() { - List result = new ArrayList(6); - int pages = pagesAll.size(); - int page = entry.getVascFrontendData().getVascEntryState().getVascBackendState().getPageIndex(); - int off = pages-page; - - if (off==5) { - result.add(pagesAll.get(pages-6)); - } - if (off==4 | off==5) { - result.add(pagesAll.get(pages-5)); - } - if (off==3 | off==4 | off==5) { - result.add(pagesAll.get(pages-4)); - } - - if (pages>4) { - result.add(pagesAll.get(pages-3)); - result.add(pagesAll.get(pages-2)); - result.add(pagesAll.get(pages-1)); - } - return result; - } - - public List getTablePagesExtendedCenter() { - List result = new ArrayList(3); - int page = entry.getVascFrontendData().getVascEntryState().getVascBackendState().getPageIndex(); - if (page>0) { - result.add(pagesAll.get(page-1)); - } - result.add(pagesAll.get(page)); - result.add(pagesAll.get(page+1)); - return result; - } -} \ No newline at end of file diff --git a/vasc-core/src/main/java/net/forwardfire/vasc/impl/DefaultVascLinkEntry.java b/vasc-core/src/main/java/net/forwardfire/vasc/impl/DefaultVascLinkEntry.java deleted file mode 100644 index 561bfb2..0000000 --- a/vasc-core/src/main/java/net/forwardfire/vasc/impl/DefaultVascLinkEntry.java +++ /dev/null @@ -1,174 +0,0 @@ -/* - * Copyright 2007-2012 forwardfire.net All rights reserved. - * - * Redistribution and use in source and binary forms, with or without modification, are permitted provided - * that the following conditions are met: - * - * * Redistributions of source code must retain the above copyright notice, this list of conditions and the - * following disclaimer. - * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and - * the following disclaimer in the documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY - * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL - * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT - * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -package net.forwardfire.vasc.impl; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -import net.forwardfire.vasc.core.VascLinkEntry; -import net.forwardfire.vasc.core.VascLinkEntryType; - - - -/** - * The DefaultVascLinkEntry - * - * @author Willem Cazander - * @version 1.0 Oct 27, 2007 - */ -public class DefaultVascLinkEntry implements VascLinkEntry { - - private static final long serialVersionUID = 1L; - private String id = null; - private String vascEntryId = null; - private Map entryParameterFieldIds = new HashMap(3); - private Map entryCreateFieldValues = new HashMap(3); - private VascLinkEntryType vascLinkEntryType = null; - private String doActionId = null; - private String name = null; - private String helpId = null; - - /** - * @return the id - */ - public String getId() { - return id; - } - - /** - * @param id the id to set - */ - public void setId(String id) { - this.id = id; - } - - - public String getEntryParameterFieldId(String parameterName) { - return entryParameterFieldIds.get(parameterName); - } - public void addEntryParameterFieldId(String parameterName,String valueFieldId) { - entryParameterFieldIds.put(parameterName, valueFieldId); - } - public List getEntryParameterFieldIdKeys() { - return new ArrayList(entryParameterFieldIds.keySet()); - } - - public String getEntryCreateFieldValue(String valueFieldId) { - return entryCreateFieldValues.get(valueFieldId); - } - public void addEntryCreateFieldValue(String valueFieldId,String selectedFieldId) { - entryCreateFieldValues.put(valueFieldId, selectedFieldId); - } - public List getEntryCreateFieldValueKeys() { - return new ArrayList(entryCreateFieldValues.keySet()); - } - - /** - * @return the vascEntryId - */ - public String getVascEntryId() { - return vascEntryId; - } - - /** - * @param vascEntryId the vascEntryId to set - */ - public void setVascEntryId(String vascEntryId) { - this.vascEntryId = vascEntryId; - } - - /** - * @return the vascLinkEntryType - */ - public VascLinkEntryType getVascLinkEntryType() { - return vascLinkEntryType; - } - - /** - * @param vascLinkEntryType the vascLinkEntryType to set - */ - public void setVascLinkEntryType(VascLinkEntryType vascLinkEntryType) { - this.vascLinkEntryType = vascLinkEntryType; - } - - /** - * @return the doActionId - */ - public String getDoActionId() { - return doActionId; - } - - /** - * @param doActionId the doActionId to set - */ - public void setDoActionId(String doActionId) { - this.doActionId = doActionId; - } - - /** - * @return the name - */ - public String getName() { - return name; - } - - /** - * @param name the name to set - */ - public void setName(String name) { - this.name = name; - } - - /** - * @return the helpId - */ - public String getHelpId() { - return helpId; - } - - /** - * @param helpId the helpId to set - */ - public void setHelpId(String helpId) { - this.helpId = helpId; - } - - /** - * @see java.lang.Object#clone() - */ - @Override - public VascLinkEntry clone() throws CloneNotSupportedException { - DefaultVascLinkEntry result = new DefaultVascLinkEntry(); - result.doActionId=doActionId; - result.vascLinkEntryType=vascLinkEntryType; - result.vascEntryId=vascEntryId; - result.entryParameterFieldIds=entryParameterFieldIds; - result.entryCreateFieldValues=entryCreateFieldValues; - result.id=id; - result.name=name; - result.helpId=helpId; - return result; - } -} \ No newline at end of file diff --git a/vasc-core/src/main/java/net/forwardfire/vasc/impl/DefaultVascUserRoleController.java b/vasc-core/src/main/java/net/forwardfire/vasc/impl/DefaultVascUserRoleController.java deleted file mode 100644 index 34b9fd4..0000000 --- a/vasc-core/src/main/java/net/forwardfire/vasc/impl/DefaultVascUserRoleController.java +++ /dev/null @@ -1,103 +0,0 @@ -/* - * Copyright 2007-2012 forwardfire.net All rights reserved. - * - * Redistribution and use in source and binary forms, with or without modification, are permitted provided - * that the following conditions are met: - * - * * Redistributions of source code must retain the above copyright notice, this list of conditions and the - * following disclaimer. - * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and - * the following disclaimer in the documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY - * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL - * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT - * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -package net.forwardfire.vasc.impl; - -import java.util.ArrayList; -import java.util.List; - -import net.forwardfire.vasc.core.VascUserRoleController; - - -/** - * Simple default user controller for wrapping user info into vasc - * - * - * @author Willem Cazander - * @version 1.0 Mar 13, 2009 - */ -public class DefaultVascUserRoleController implements VascUserRoleController { - - private Long userId = null; - private String userName = null; - private List userRoles = null; - - - public DefaultVascUserRoleController(Long userId,String userName) { - if (userId==null) { - throw new NullPointerException("userId may not be null."); - } - if (userName==null) { - throw new NullPointerException("userName may not be null"); - } - this.userId=userId; - this.userName=userName; - userRoles = new ArrayList(10); - } - - public DefaultVascUserRoleController(Long userId,String userName,String...roles) { - this(userId,userName); - for (String role:roles) { - userRoles.add(role); - } - } - - - /** - * @see net.forwardfire.vasc.core.VascUserRoleController#getUserId() - */ - public Long getUserId() { - return userId; - } - - /** - * @see net.forwardfire.vasc.core.VascUserRoleController#getUserName() - */ - public String getUserName() { - return userName; - } - - /** - * @see net.forwardfire.vasc.core.VascUserRoleController#getUserRoles() - */ - public List getUserRoles() { - return userRoles; - } - - /** - * @see net.forwardfire.vasc.core.VascUserRoleController#hasRole(java.lang.String) - */ - public boolean hasRole(String roles) { - if (roles==null) { - return false; - } - // input: admin|superAdmin - // input: (admin|superAdmin)&login - String[] r = roles.split("|"); - for (String rr:r) { - if (userRoles.contains(rr)) { - return true; - } - } - return false; - } -} diff --git a/vasc-core/src/main/java/net/forwardfire/vasc/impl/x4o/VascLinkEntryParameterElement.java b/vasc-core/src/main/java/net/forwardfire/vasc/impl/x4o/VascLinkEntryParameterElement.java deleted file mode 100644 index 259234d..0000000 --- a/vasc-core/src/main/java/net/forwardfire/vasc/impl/x4o/VascLinkEntryParameterElement.java +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2007-2012 forwardfire.net All rights reserved. - * - * Redistribution and use in source and binary forms, with or without modification, are permitted provided - * that the following conditions are met: - * - * * Redistributions of source code must retain the above copyright notice, this list of conditions and the - * following disclaimer. - * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and - * the following disclaimer in the documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY - * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL - * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT - * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -package net.forwardfire.vasc.impl.x4o; - - -import net.forwardfire.vasc.core.VascLinkEntry; -import net.forwardfire.vasc.impl.ui.VascSelectItemModelEntry; - -import org.x4o.xml.element.AbstractElement; -import org.x4o.xml.element.ElementException; - -/** - * Adds the link is paramets - * - * @author Willem Cazander - * @version 1.0 Jun 09, 2009 - */ -public class VascLinkEntryParameterElement extends AbstractElement { - - /** - * @see org.x4o.xml.element.AbstractElement#doElementRun() - */ - @Override - public void doElementRun() throws ElementException { - String valueFieldId = getAttributes().get("valueFieldId"); - String parameterName = getAttributes().get("name"); - String selectedFieldId = getAttributes().get("selectedFieldId"); - - if (getParent().getElementObject() instanceof VascSelectItemModelEntry) { - VascSelectItemModelEntry m = (VascSelectItemModelEntry)getParent().getElementObject(); - m.addEntryParameterFieldId(parameterName, valueFieldId); - return; - } - if (getParent().getElementObject() instanceof VascLinkEntry) { - VascLinkEntry link = (VascLinkEntry)getParent().getElementObject(); - if (parameterName!=null) { - // normal parameter - link.addEntryParameterFieldId(parameterName, valueFieldId); - } else { - link.addEntryCreateFieldValue(valueFieldId,selectedFieldId); - } - return; - } - throw new ElementException("Unsupported parent object: "+getParent().getElementObject()); - } -} \ No newline at end of file diff --git a/vasc-demo/vasc-demo-tech/vasc-demo-tech-build/src/main/directory/config/logging.properties b/vasc-demo/vasc-demo-tech/vasc-demo-tech-build/src/main/directory/config/logging.properties deleted file mode 100644 index 7557f89..0000000 --- a/vasc-demo/vasc-demo-tech/vasc-demo-tech-build/src/main/directory/config/logging.properties +++ /dev/null @@ -1,30 +0,0 @@ -# -# Vasc Demo Tech logging config. -# - -# Only log to a file -handlers=java.util.logging.FileHandler - -# default file output is in startup directory. -java.util.logging.FileHandler.pattern=logs/vasc-demo-tech.log -java.util.logging.FileHandler.limit=0 -java.util.logging.FileHandler.count=1 -java.util.logging.FileHandler.encoding=UTF8 -java.util.logging.FileHandler.formatter=net.forwardfire.vasc.demo.tech.ui.PatternLogFormatter - -# The PatternLogFormatter lets you customise the log output; -# %d = Formated date string %s =-Source method -# %l = Logger level %c = Source Class -# %n = Logger name %C = Source Class Simple -# %m = Logger message %S = Stacktrace -# %t = Thread ID %r = Return/newline -#net.forwardfire.vasc.demo.tech.ui.PatternLogFormatter.log_pattern=%d %l [%C.%s] %m%r -#net.forwardfire.vasc.demo.tech.ui.PatternLogFormatter.log_error_pattern=%d %l [%C.%s] %m%r%S -#net.forwardfire.vasc.demo.tech.ui.PatternLogFormatter.date_pattern=yyyy-MM-dd HH:mm:ss - -# Default global logging level. -.level=INFO - -# Different log levels for packages. -net.forwardfire.vasc.demo.level=INFO - diff --git a/vasc-demo/vasc-demo-tech/vasc-demo-tech-build/src/main/directory/config/server.properties b/vasc-demo/vasc-demo-tech/vasc-demo-tech-build/src/main/directory/config/server.properties deleted file mode 100644 index 287acee..0000000 --- a/vasc-demo/vasc-demo-tech/vasc-demo-tech-build/src/main/directory/config/server.properties +++ /dev/null @@ -1,6 +0,0 @@ - -gui=true -editor=true -contextPath=/demo -host=localhost -port=8899 diff --git a/vasc-demo/vasc-demo-tech/vasc-demo-tech-core/src/main/java/net/forwardfire/vasc/demo/tech/core/DemoVascControllerProvider.java b/vasc-demo/vasc-demo-tech/vasc-demo-tech-core/src/main/java/net/forwardfire/vasc/demo/tech/core/DemoVascControllerProvider.java deleted file mode 100644 index 2deb541..0000000 --- a/vasc-demo/vasc-demo-tech/vasc-demo-tech-core/src/main/java/net/forwardfire/vasc/demo/tech/core/DemoVascControllerProvider.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright 2007-2012 forwardfire.net All rights reserved. - * - * Redistribution and use in source and binary forms, with or without modification, are permitted provided - * that the following conditions are met: - * - * * Redistributions of source code must retain the above copyright notice, this list of conditions and the - * following disclaimer. - * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and - * the following disclaimer in the documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY - * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL - * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT - * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -package net.forwardfire.vasc.demo.tech.core; - -import net.forwardfire.vasc.core.VascController; -import net.forwardfire.vasc.core.VascControllerProvider; - -/** - * DemoVascControllerProvider gets the static local jvm vasc controller for this tech demo. - * - * @author Willem Cazander - * @version 1.0 May 12, 2012 - */ -public class DemoVascControllerProvider implements VascControllerProvider { - - /** - * @see net.forwardfire.vasc.core.VascControllerProvider#getVascController() - */ - public VascController getVascController() { - return DemoVascManager.getVascControllerStatic(); - } -} diff --git a/vasc-demo/vasc-demo-tech/vasc-demo-tech-core/src/main/java/net/forwardfire/vasc/demo/tech/core/DemoVascManager.java b/vasc-demo/vasc-demo-tech/vasc-demo-tech-core/src/main/java/net/forwardfire/vasc/demo/tech/core/DemoVascManager.java deleted file mode 100644 index 94c17d0..0000000 --- a/vasc-demo/vasc-demo-tech/vasc-demo-tech-core/src/main/java/net/forwardfire/vasc/demo/tech/core/DemoVascManager.java +++ /dev/null @@ -1,134 +0,0 @@ -/* - * Copyright 2007-2012 forwardfire.net All rights reserved. - * - * Redistribution and use in source and binary forms, with or without modification, are permitted provided - * that the following conditions are met: - * - * * Redistributions of source code must retain the above copyright notice, this list of conditions and the - * following disclaimer. - * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and - * the following disclaimer in the documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY - * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL - * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT - * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -package net.forwardfire.vasc.demo.tech.core; - -import java.io.File; -import java.io.FileOutputStream; -import java.util.logging.Logger; - -import net.forwardfire.vasc.backend.VascBackendControllerLocal; -import net.forwardfire.vasc.core.VascController; -import net.forwardfire.vasc.core.VascEntryConfigController; -import net.forwardfire.vasc.core.VascEntryControllerLocal; -import net.forwardfire.vasc.core.VascException; -import net.forwardfire.vasc.impl.DefaultVascFactory; -import net.forwardfire.vasc.impl.entry.export.VascEntryExporterJR4O; -import net.forwardfire.vasc.impl.x4o.VascParser; -import net.forwardfire.vasc.lib.jr4o.JR4ODesignManager.JRExportType; - -/** - * DemoVascManager manages the dynamic vasc controller for tech demo. - * - * @author Willem Cazander - * @version 1.0 May 12, 2012 - */ -public class DemoVascManager { - - private Logger logger = null; - static private VascController vascController = null; - - public DemoVascManager() { - logger = Logger.getLogger(DemoVascManager.class.getName()); - } - - public void start() { - logger.finer("Starting vascmanager"); - if (vascController!=null) { - throw new RuntimeException("VascManager is already started."); - } - try { - vascController = DefaultVascFactory.getDefaultVascController(2288L,"forwardfire.net","user","admin"); - - VascEntryConfigController vecc = vascController.getVascEntryConfigController(); - - // Config all report export engines for demo. - vecc.addVascEntryExporter(new VascEntryExporterJR4O("jrPdfLandscape",JRExportType.PDF,"generic-landscape","net/forwardfire/vasc/lib/jr4o/reports/dynamic-reports.xml")); - vecc.addVascEntryExporter(new VascEntryExporterJR4O("jrPdfPortrait",JRExportType.PDF,"generic-portrait","net/forwardfire/vasc/lib/jr4o/reports/dynamic-reports.xml")); - vecc.addVascEntryExporter(new VascEntryExporterJR4O("jrRtf",JRExportType.RTF,"generic-landscape","net/forwardfire/vasc/lib/jr4o/reports/dynamic-reports.xml")); - vecc.addVascEntryExporter(new VascEntryExporterJR4O("jrXls",JRExportType.XLS,"generic-landscape","net/forwardfire/vasc/lib/jr4o/reports/dynamic-reports.xml")); - vecc.addVascEntryExporter(new VascEntryExporterJR4O("jrXml",JRExportType.XML,"generic-landscape","net/forwardfire/vasc/lib/jr4o/reports/dynamic-reports.xml")); - vecc.addVascEntryExporter(new VascEntryExporterJR4O("jrCsv",JRExportType.CSV,"generic-landscape","net/forwardfire/vasc/lib/jr4o/reports/dynamic-reports.xml")); - - // Config root bundle to load all resources. - vecc.setResourceBundle("net.forwardfire.vasc.lib.i18n.bundle.RootApplicationBundle"); - - // Config some defaults - vecc.setDefaultPageSize(200); - vecc.setDefaultPageSizeMax(1500); - - } catch (VascException e) { - throw new RuntimeException(e); - } - } - - public void stop() { - if (vascController==null) { - return; - } - VascBackendControllerLocal backends = (VascBackendControllerLocal)vascController.getVascBackendController(); - backends.clearAndStopBackends(); - - vascController = null; - logger.info("Stop manager, cleared all."); - } - - public void startEditor() { - try { - VascParser parser = new VascParser(vascController); - parser.addGlobalELBean("vascController", vascController); - parser.parseResource("net/forwardfire/vasc/editor/vasc-edit.xml"); - - DefaultVascFactory.fillVascControllerLocalEntries((VascEntryControllerLocal) vascController.getVascEntryController(), vascController); - } catch (Exception e) { - e.printStackTrace(); - } - } - - - public void openFile(File file) { - logger.info("Vasc open file: "+file.getAbsoluteFile()); - try { - VascParser parser = new VascParser(vascController); - //File f = File.createTempFile("test-vasc", ".xml"); - //parser.setDebugOutputStream(new FileOutputStream(f)); - parser.parseFile(file); - - DefaultVascFactory.fillVascControllerLocalEntries((VascEntryControllerLocal) vascController.getVascEntryController(), vascController); - } catch (Exception e) { - e.printStackTrace(); - } - } - - - public VascController getVascController() { - return vascController; - } - - /** - * Needed for the provider interface - * @return - */ - static protected VascController getVascControllerStatic() { - return vascController; - } -} diff --git a/vasc-demo/vasc-demo-tech/vasc-demo-tech-ui/.project b/vasc-demo/vasc-demo-tech/vasc-demo-tech-ui/.project deleted file mode 100644 index 2989afe..0000000 --- a/vasc-demo/vasc-demo-tech/vasc-demo-tech-ui/.project +++ /dev/null @@ -1,23 +0,0 @@ - - - vasc-demo-tech-ui - - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.m2e.core.maven2Builder - - - - - - org.eclipse.jdt.core.javanature - org.eclipse.m2e.core.maven2Nature - - diff --git a/vasc-demo/vasc-demo-tech/vasc-demo-tech-ui/auto/data/vasc-bundle.properties b/vasc-demo/vasc-demo-tech/vasc-demo-tech-ui/auto/data/vasc-bundle.properties deleted file mode 100644 index 570cfaa..0000000 --- a/vasc-demo/vasc-demo-tech/vasc-demo-tech-ui/auto/data/vasc-bundle.properties +++ /dev/null @@ -1,1234 +0,0 @@ -#Saved by vasc auto i18n. -#Sun May 13 17:05:45 CEST 2012 -vasc.entry.VascEntryFieldLink.sizeList.name=sizeList -vasc.entry.alef_dg2_run_log.html_body.name=html_body -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.address2.image=address2 -vasc.entry.pagila_reorder.date_reordered.image=date_reordered -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.country.name=country -vasc.entry.VascEntry.deleteDescription.name=deleteDescription -vasc.entry.meta_profiles.body_text.description=body_text -vasc.entry.VascEntry.createImage.name=createImage -vasc.entry.pagila_orders_customers_customerid_list.zip.name=zip -vasc.entry.meta_profiles.profile_type.image=profile_type -vasc.entry.alef_dg2_profiles.createImage=resources/images/models/alef_dg2_profiles.png -vasc.entry.VascListOptionLink.optional.description=optional -vasc.entry.alef_dg2_smiles.profile_type.name=profile_type -vasc.entry.alef_dg2_profiles.cron_type.name=cron_type -vasc.entry.pagila_cust_hist_customers_customerid_list.editImage=resources/images/models/pagila_cust_hist_customers_customerid_list.png -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.phone.description=phone -vasc.entry.VascEntry.vascAdminCreate.name=vascAdminCreate -vasc.entry.alef_dg2_profiles.send_jokers.name=send_jokers -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.gender.image=gender -vasc.entry.pagila_cust_hist.listImage=resources/images/models/pagila_cust_hist.png -vasc.entry.VascEntry.displayNameFieldId.image=displayNameFieldId -vasc.entry.VascEntryFieldLink.choices.image=choices -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.city.name=city -vasc.entry.pagila_cust_hist_customers_customerid_list.creditcardtype.name=creditcardtype -vasc.entry.pagila_customers.editDescription=pagila_customers -vasc.entry.pagila_orders_customers_customerid_list.firstname.name=firstname -vasc.entry.pagila_orders_orderlines_orderid_link.image=pagila_orders_orderlines_orderid_link -vasc.entry.VascEntry.vascAdminEdit.description=vascAdminEdit -vasc.entry.alef_dg2_smiles.deleteDescription=alef_dg2_smiles -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.listImage=resources/images/models/pagila_customers_orders_customerid_link_customers_customerid_list.png -vasc.entry.pagila_customers.gender.name=gender -vasc.entry.pagila_cust_hist_customers_customerid_list.address1.name=address1 -vasc.entry.VascEntryFieldLink.create.name=create -vasc.entry.alef_dg2_run_log._id.description=_id -vasc.entry.VascEntryFieldSetLink.editDescription=VascEntryFieldSetLink -vasc.entry.VascListOptionLink.collapsed.image=collapsed -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.zip.description=zip -vasc.entry.alef_dg2_stats.pictures.image=pictures -vasc.entry.VascListOptionLink.listImage=resources/images/models/VascListOptionLink.png -vasc.entry.pagila_products.price.name=price -vasc.entry.alef_dg2_run._id.description=_id -vasc.entry.pagila_customers.age.image=age -vasc.entry.pagila_products.image=pagila_products -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.gender.description=gender -vasc.entry.dg2_profiles.editDescription=dg2_profiles -vasc.action.editRowAction.image=editRowAction -vasc.entry.pagila_orders_orderlines_orderid_link.orderlineid.name=orderlineid -vasc.entry.alef_dg2_run.thread_id.image=thread_id -vasc.entry.pagila_customers_orders_customerid_link.totalamount.image=totalamount -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.address1.name=address1 -vasc.entry.alef_dg2_stats.pictures.description=pictures -vasc.entry.pagila_orderlines.orderdate.image=orderdate -vasc.entry.VascEntryFieldLink.sumable.description=sumable -vasc.entry.pagila_inventory.prod_id.name=prod_id -vasc.entry.pagila_reorder.createDescription=pagila_reorder -vasc.entry.VascEntry.vascAdminList.description=vascAdminList -vasc.entry.VascEntry.createDescription.name=createDescription -vasc.entry.pagila_orders_customers_customerid_list.region.name=region -vasc.entry.VascEntry.createDescription.description=createDescription -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.createImage=resources/images/models/pagila_customers_orders_customerid_link_customers_customerid_list.png -vasc.entry.alef_dg2_stats.pictures.name=pictures -vasc.entry.meta_profiles.profile_type.name=profile_type -vasc.entry.pagila_products.title.description=title -vasc.entry.VascEntryFieldSetLink.styleEdit.name=styleEdit -vasc.entry.VascEntry.listDescription.description=listDescription -vasc.entry.pagila_categories.editDescription=pagila_categories -vasc.entry.pagila_orderlines.deleteImage=resources/images/models/pagila_orderlines.png -vasc.entry.pagila_orderlines.editDescription=pagila_orderlines -vasc.entry.pagila_inventory.editDescription=pagila_inventory -vasc.entry.VascEntryFieldLink.id.image=id -vasc.entry.pagila_cust_hist_customers_customerid_list.zip.name=zip -vasc.entry.pagila_customers.username.description=username -vasc.entry.alef_dg2_run.thread_id.description=thread_id -vasc.entry.pagila_customers.creditcardexpiration.name=creditcardexpiration -vasc.entry.pagila_customers.phone.image=phone -vasc.entry.alef_dg2_run.image=alef_dg2_run -vasc.entry.alef_app_settings.editDescription=alef_app_settings -vasc.entry.pagila_products.actor.image=actor -vasc.entry.pagila_orders_customers_customerid_list.address2.description=address2 -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.age.description=age -vasc.entry.alef_dg2_run_log.profile_path.image=profile_path -vasc.entry.pagila_reorder.date_low.image=date_low -vasc.entry.VascEntryFieldSetLink.editImage=resources/images/models/VascEntryFieldSetLink.png -vasc.entry.VascEntryFieldLink.vascEntryFieldType.name=vascEntryFieldType -vasc.entry.VascEntryFieldLink.image.image=image -vasc.entry.VascLinkEntryLink.doActionId.description=doActionId -vasc.entry.pagila_products.category.description=category -vasc.entry.alef_dg2_stats.name=alef_dg2_stats -vasc.entry.pagila_reorder.prod_id.description=prod_id -vasc.entry.pagila_cust_hist_customers_customerid_list.age.image=age -vasc.entry.pagila_customers.city.name=city -vasc.entry.VascListOptionLink.helpId.description=helpId -vasc.entry.alef_dg2_run_log.run_date.description=run_date -vasc.entry.VascEntry.createImage.description=createImage -vasc.entry.pagila_categories.createImage=resources/images/models/pagila_categories.png -vasc.entry.alef_dg2_smiles.listDescription=alef_dg2_smiles -vasc.entry.pagila_reorder.editImage=resources/images/models/pagila_reorder.png -vasc.entry.pagila_customers.listImage=resources/images/models/pagila_customers.png -vasc.entry.VascEntryFieldLink.sizeEdit.image=sizeEdit -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.income.name=income -vasc.entry.alef_dg2_parser.argu_extra.name=argu_extra -vasc.entry.pagila_orders_customers_customerid_list.age.description=age -vasc.entry.pagila_cust_hist.listDescription=pagila_cust_hist -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.username.name=username -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.creditcardtype.image=creditcardtype -vasc.entry.VascListOptionLink.name=VascListOptionLink -vasc.entry.pagila_customers_cust_hist_customerid_link.orderid.image=orderid -vasc.entry.VascEntryFieldLink.view.name=view -vasc.entry.VascListOptionLink.styleEdit.name=styleEdit -vasc.entry.VascEntryFieldLink.optional.image=optional -vasc.entry.pagila_orders_orderlines_orderid_link.orderdate.image=orderdate -vasc.entry.pagila_orders_orderlines_orderid_link.deleteImage=resources/images/models/pagila_orders_orderlines_orderid_link.png -vasc.entry.pagila_reorder.quan_low.name=quan_low -vasc.entry.meta_profiles.profile_type.description=profile_type -vasc.entry.dg2_profiles.send_jokers.description=send_jokers -vasc.entry.VascEntryFieldLink.description.description=description -vasc.entry.pagila_orders_customers_customerid_list.state.name=state -vasc.entry.pagila_orders_orderlines_orderid_link.orderdate.name=orderdate -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.email.image=email -vasc.entry.meta_profiles.run_date.name=run_date -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.password.description=password -vasc.entry.alef_dg2_stats.date.description=date -vasc.entry.alef_dg2_stats.guestbook.description=guestbook -vasc.entry.VascLinkEntryLink.id.name=id -vasc.entry.alef_dg2_profiles.name.description=name -vasc.entry.pagila_cust_hist_customers_customerid_list.income.image=income -vasc.entry.alef_dg2_stats.editDescription=alef_dg2_stats -vasc.entry.VascEntryFieldLink.helpId.description=helpId -vasc.entry.pagila_cust_hist_customers_customerid_list.username.description=username -vasc.entry.pagila_orders_customers_customerid_list.zip.image=zip -vasc.entry.alef_dg2_parser.column_name.image=column_name -vasc.entry.alef_dg2_run.editImage=resources/images/models/alef_dg2_run.png -vasc.entry.pagila_cust_hist.orderid.description=orderid -vasc.entry.VascEntryFieldLink.rolesCreate.description=rolesCreate -vasc.entry.meta_profiles.body_text.name=body_text -vasc.entry.pagila_cust_hist.prod_id.name=prod_id -vasc.entry.pagila_orders_orderlines_orderid_link_orders_orderid_list.editImage=resources/images/models/pagila_orders_orderlines_orderid_link_orders_orderid_list.png -vasc.entry.pagila_categories.categoryname.image=categoryname -vasc.entry.pagila_cust_hist_customers_customerid_list.address2.description=address2 -vasc.entry.VascLinkEntryLink.name.description=name -vasc.entry.pagila_customers.username.image=username -vasc.entry.pagila_customers.city.description=city -vasc.entry.dg2_profiles.active.image=active -vasc.entry.VascEntryFieldLink.orderIndex.description=orderIndex -vasc.entry.pagila_orderlines.name=pagila_orderlines -vasc.entry.pagila_customers_orders_customerid_link.createDescription=pagila_customers_orders_customerid_link -vasc.entry.VascEntry.deleteImage.image=deleteImage -vasc.action.refreshDataAction.name=refreshDataAction -vasc.entry.VascEntry.createDescription.image=createDescription -vasc.entry.pagila_customers_orders_customerid_link.orderdate.name=orderdate -vasc.entry.dg2_smiles.deleteDescription=dg2_smiles -vasc.entry.pagila_orders_customers_customerid_list.password.image=password -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.listDescription=pagila_customers_cust_hist_customerid_link_customers_customerid_list -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.creditcardtype.name=creditcardtype -vasc.entry.pagila_reorder.image=pagila_reorder -vasc.entry.VascEntryFieldLink.rolesEdit.name=rolesEdit -vasc.entry.VascLinkEntryLink.deleteImage=resources/images/models/VascLinkEntryLink.png -vasc.entry.pagila_orders_orderlines_orderid_link_orders_orderid_list.image=pagila_orders_orderlines_orderid_link_orders_orderid_list -vasc.entry.dg2_smiles.active.image=active -vasc.entry.pagila_cust_hist_customers_customerid_list.city.name=city -vasc.entry.alef_dg2_run.total_jokers.description=total_jokers -vasc.entry.alef_dg2_run._id.image=_id -vasc.entry.pagila_customers.zip.name=zip -vasc.entry.alef_dg2_stats.deleteDescription=alef_dg2_stats -vasc.entry.alef_dg2_profiles.send_jokers.description=send_jokers -vasc.entry.VascEntryFieldSetLink.styleList.image=styleList -vasc.entry.pagila_cust_hist_customers_customerid_list.listImage=resources/images/models/pagila_cust_hist_customers_customerid_list.png -vasc.entry.pagila_cust_hist_customers_customerid_list.gender.description=gender -vasc.entry.VascEntry.listImage.name=listImage -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.region.image=region -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.image=pagila_customers_cust_hist_customerid_link_customers_customerid_list -vasc.entry.pagila_orderlines_orders_orderid_list.listDescription=pagila_orderlines_orders_orderid_list -vasc.entry.VascEntry.helpId.image=helpId -vasc.entry.pagila_categories.deleteDescription=pagila_categories -vasc.entry.VascEntryFieldLink.description.name=description -vasc.entry.VascEntryFieldLink.rolesList.description=rolesList -vasc.entry.VascLinkEntryLink.vascLinkEntryType.description=vascLinkEntryType -vasc.entry.pagila_orderlines_orders_orderid_list.totalamount.name=totalamount -vasc.entry.VascLinkEntryLink.name.image=name -vasc.entry.alef_dg2_run_log.send_smile.name=send_smile -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.creditcard.name=creditcard -vasc.entry.VascEntry.listDescription=VascEntry -vasc.entry.pagila_orders_orderlines_orderid_link.prod_id.description=prod_id -vasc.entry.alef_dg2_parser.stats_type.image=stats_type -vasc.entry.alef_dg2_stats.friends.description=friends -vasc.entry.pagila_orders.deleteImage=resources/images/models/pagila_orders.png -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.creditcardexpiration.name=creditcardexpiration -vasc.entry.VascEntry.createImage=resources/images/models/VascEntry.png -vasc.entry.pagila_customers_orders_customerid_link.orderid.image=orderid -vasc.entry.dg2_profiles.profile_type.name=profile_type -vasc.entry.alef_dg2_parser._id.name=_id -vasc.entry.pagila_reorder.quan_reordered.description=quan_reordered -vasc.entry.alef_dg2_profiles.editImage=resources/images/models/alef_dg2_profiles.png -vasc.entry.pagila_categories.categoryname.description=categoryname -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.lastname.description=lastname -vasc.entry.alef_dg2_profiles.send_jokers.image=send_jokers -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.age.name=age -vasc.entry.pagila_customers_cust_hist_customerid_link.deleteImage=resources/images/models/pagila_customers_cust_hist_customerid_link.png -vasc.entry.dg2_profiles.run_date.image=run_date -vasc.entry.pagila_customers_cust_hist_customerid_link.editImage=resources/images/models/pagila_customers_cust_hist_customerid_link.png -vasc.entry.VascLinkEntryLink.editDescription=VascLinkEntryLink -vasc.entry.alef_dg2_stats.guestbook.image=guestbook -vasc.entry.pagila_cust_hist_customers_customerid_list.creditcard.description=creditcard -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.country.name=country -vasc.entry.pagila_orders_customers_customerid_list.address1.description=address1 -vasc.entry.alef_dg2_parser.listDescription=alef_dg2_parser -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.age.name=age -vasc.entry.alef_dg2_stats.buddies.image=buddies -vasc.entry.pagila_orders_customers_customerid_list.customerid.description=customerid -vasc.entry.dg2_smiles.name=dg2_smiles -vasc.entry.VascEntryFieldSetLink.styleList.name=styleList -vasc.entry.meta_profiles._id.description=_id -vasc.entry.pagila_orderlines_orders_orderid_list.customerid.description=customerid -vasc.entry.pagila_customers.creditcardtype.image=creditcardtype -vasc.entry.pagila_customers.country.description=country -vasc.entry.VascEntryFieldSetLink.name=VascEntryFieldSetLink -vasc.entry.VascEntryFieldSetLink.optional.name=optional -vasc.entry.VascEntryFieldLink.list.image=list -vasc.entry.pagila_orders_orderlines_orderid_link_orders_orderid_list.orderdate.name=orderdate -vasc.entry.pagila_reorder.listDescription=pagila_reorder -vasc.entry.VascEntryFieldLink.rolesCreate.name=rolesCreate -vasc.entry.pagila_reorder.date_low.description=date_low -vasc.entry.VascEntry.editImage=resources/images/models/VascEntry.png -vasc.entry.pagila_orderlines.prod_id.image=prod_id -vasc.entry.VascListOptionLink.image.name=image -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.email.name=email -vasc.entry.pagila_customers.password.description=password -vasc.entry.pagila_orders_customers_customerid_list.deleteDescription=pagila_orders_customers_customerid_list -vasc.entry.VascEntryFieldSetLink.listImage=resources/images/models/VascEntryFieldSetLink.png -vasc.entry.alef_dg2_smiles.createImage=resources/images/models/alef_dg2_smiles.png -vasc.entry.pagila_orders_customers_customerid_list.creditcardtype.name=creditcardtype -vasc.entry.alef_dg2_run_log.deleteImage=resources/images/models/alef_dg2_run_log.png -vasc.entry.VascEntry.vascAdminEdit.name=vascAdminEdit -vasc.entry.pagila_orders_customers_customerid_list.email.description=email -vasc.entry.VascEntry.vascAdminDelete.description=vascAdminDelete -vasc.entry.dg2_profiles.editImage=resources/images/models/dg2_profiles.png -vasc.entry.pagila_customers.income.image=income -vasc.entry.pagila_customers_orders_customerid_link.name=pagila_customers_orders_customerid_link -vasc.entry.VascLinkEntryLink.vascLinkEntryType.image=vascLinkEntryType -vasc.entry.VascEntryFieldLink.edit.name=edit -vasc.entry.pagila_products.title.name=title -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.income.name=income -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.deleteDescription=pagila_customers_cust_hist_customerid_link_customers_customerid_list -vasc.entry.dg2_smiles.text.image=text -vasc.entry.alef_dg2_parser.active.name=active -vasc.entry.alef_dg2_parser.deleteImage=resources/images/models/alef_dg2_parser.png -vasc.entry.VascEntryFieldLink.optional.description=optional -vasc.entry.VascEntryFieldLink.sortable.image=sortable -vasc.entry.pagila_orders_orderlines_orderid_link_orders_orderid_list.deleteImage=resources/images/models/pagila_orders_orderlines_orderid_link_orders_orderid_list.png -vasc.entry.dg2_profiles.createImage=resources/images/models/dg2_profiles.png -vasc.entry.alef_dg2_run_log.deleteDescription=alef_dg2_run_log -vasc.entry.alef_dg2_profiles.editDescription=alef_dg2_profiles -vasc.entry.VascEntryFieldSetLink.id.image=id -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.email.description=email -vasc.entry.pagila_cust_hist_customers_customerid_list.email.name=email -vasc.entry.pagila_customers_orders_customerid_link.netamount.image=netamount -vasc.entry.pagila_orders.customerid.description=customerid -vasc.entry.VascListOptionLink.styleList.name=styleList -vasc.entry.dg2_profiles._id.image=_id -vasc.entry.pagila_orders.editImage=resources/images/models/pagila_orders.png -vasc.entry.alef_dg2_run.stop_date.description=stop_date -vasc.entry.pagila_cust_hist_customers_customerid_list.address1.description=address1 -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.phone.name=phone -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.state.image=state -vasc.entry.pagila_orders_orderlines_orderid_link_orders_orderid_list.deleteDescription=pagila_orders_orderlines_orderid_link_orders_orderid_list -vasc.entry.dg2_smiles.editImage=resources/images/models/dg2_smiles.png -vasc.entry.VascEntryFieldLink.editBlank.image=editBlank -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.email.image=email -vasc.entry.pagila_customers_orders_customerid_link.customerid.image=customerid -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.region.name=region -vasc.entry.VascEntryFieldLink.displayName.name=displayName -vasc.entry.alef_dg2_profiles.profile_type.description=profile_type -vasc.entry.alef_dg2_run_log._id.image=_id -vasc.entry.pagila_customers.deleteDescription=pagila_customers -vasc.entry.dg2_profiles.url.image=url -vasc.entry.pagila_orderlines_orders_orderid_list.listImage=resources/images/models/pagila_orderlines_orders_orderid_list.png -vasc.entry.pagila_orders.orderdate.description=orderdate -vasc.entry.pagila_customers.customerid.image=customerid -vasc.entry.dg2_profiles.active.description=active -vasc.entry.pagila_customers.creditcard.image=creditcard -vasc.entry.pagila_orders_orderlines_orderid_link.orderid.description=orderid -vasc.entry.pagila_orderlines_orders_orderid_list.image=pagila_orderlines_orders_orderid_list -vasc.entry.VascEntryFieldLink.edit.image=edit -vasc.entry.alef_dg2_profiles.body_text.name=body_text -vasc.entry.VascEntryFieldLink.backendName.image=backendName -vasc.entry.pagila_customers_orders_customerid_link.tax.image=tax -vasc.entry.pagila_orders_customers_customerid_list.address2.image=address2 -vasc.entry.pagila_customers.email.description=email -vasc.entry.pagila_orders_customers_customerid_list.phone.name=phone -vasc.entry.alef_dg2_run.listImage=resources/images/models/alef_dg2_run.png -vasc.entry.pagila_cust_hist_customers_customerid_list.creditcardexpiration.image=creditcardexpiration -vasc.entry.VascListOptionLink.helpId.name=helpId -vasc.entry.alef_dg2_run_log.listDescription=alef_dg2_run_log -vasc.entry.dg2_smiles._id.image=_id -vasc.entry.pagila_orders_customers_customerid_list.firstname.description=firstname -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.phone.description=phone -vasc.entry.pagila_orders_orderlines_orderid_link_orders_orderid_list.listImage=resources/images/models/pagila_orders_orderlines_orderid_link_orders_orderid_list.png -vasc.entry.VascEntry.primaryKeyFieldId.name=primaryKeyFieldId -vasc.entry.dg2_smiles.createImage=resources/images/models/dg2_smiles.png -vasc.entry.pagila_cust_hist_customers_customerid_list.creditcard.name=creditcard -vasc.entry.alef_dg2_smiles.text.description=text -vasc.entry.alef_dg2_smiles.profile_type.description=profile_type -vasc.entry.alef_dg2_run.listDescription=alef_dg2_run -vasc.entry.pagila_cust_hist_customers_customerid_list.address1.image=address1 -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.zip.description=zip -vasc.entry.pagila_cust_hist_customers_customerid_list.password.description=password -vasc.entry.pagila_products.prod_id.name=prod_id -vasc.entry.pagila_cust_hist_customers_customerid_list.phone.name=phone -vasc.entry.pagila_orderlines.orderlineid.name=orderlineid -vasc.entry.VascEntryFieldLink.createImage=resources/images/models/VascEntryFieldLink.png -vasc.entry.pagila_customers.lastname.name=lastname -vasc.entry.VascEntryFieldLink.choices.name=choices -vasc.entry.VascEntry.deleteImage.name=deleteImage -vasc.entry.VascEntryFieldLink.rolesList.name=rolesList -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.customerid.description=customerid -vasc.entry.VascEntry.helpId.name=helpId -vasc.entry.pagila_orders_orderlines_orderid_link_orders_orderid_list.netamount.image=netamount -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.address1.description=address1 -vasc.entry.VascEntry.id.image=id -vasc.entry.alef_dg2_profiles.name.name=name -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.address2.image=address2 -vasc.entry.pagila_customers.state.image=state -vasc.entry.alef_dg2_run_log.send_jokers.name=send_jokers -vasc.entry.VascEntryFieldLink.styleEdit.name=styleEdit -vasc.entry.alef_dg2_run.total_profiles.name=total_profiles -vasc.entry.meta_profiles.active.name=active -vasc.entry.meta_profiles.deleteImage=resources/images/models/meta_profiles.png -vasc.entry.meta_profiles.body_text.image=body_text -vasc.entry.pagila_orderlines_orders_orderid_list.netamount.description=netamount -vasc.entry.pagila_customers.username.name=username -vasc.entry.pagila_customers.address1.image=address1 -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.address2.description=address2 -vasc.entry.VascEntry.createImage.image=createImage -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.creditcard.description=creditcard -vasc.entry.pagila_cust_hist.customerid.name=customerid -vasc.entry.dg2_smiles._id.name=_id -vasc.entry.alef_dg2_smiles._id.name=_id -vasc.entry.dg2_smiles.createDescription=dg2_smiles -vasc.entry.pagila_orders_customers_customerid_list.deleteImage=resources/images/models/pagila_orders_customers_customerid_list.png -vasc.entry.alef_dg2_smiles.used.description=used -vasc.entry.meta_profiles.name.image=name -vasc.entry.pagila_customers.age.description=age -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.address1.image=address1 -vasc.entry.pagila_orderlines_orders_orderid_list.createImage=resources/images/models/pagila_orderlines_orders_orderid_list.png -vasc.entry.pagila_customers_cust_hist_customerid_link.customerid.description=customerid -vasc.entry.alef_dg2_run_log.send_smile.description=send_smile -vasc.entry.alef_dg2_stats.createDescription=alef_dg2_stats -vasc.entry.alef_app_settings.createDescription=alef_app_settings -vasc.entry.pagila_orders.tax.description=tax -vasc.entry.pagila_customers.state.name=state -vasc.entry.pagila_customers.address2.name=address2 -vasc.entry.pagila_customers.income.description=income -vasc.entry.alef_app_settings.deleteImage=resources/images/models/alef_app_settings.png -vasc.entry.pagila_cust_hist.createDescription=pagila_cust_hist -vasc.entry.VascEntryFieldLink.displayName.image=displayName -vasc.entry.alef_dg2_profiles.url.description=url -vasc.entry.dg2_smiles.text.name=text -vasc.entry.pagila_orders_orderlines_orderid_link_orders_orderid_list.totalamount.image=totalamount -vasc.entry.pagila_orderlines.quantity.image=quantity -vasc.entry.VascLinkEntryLink.id.description=id -vasc.entry.pagila_orders_orderlines_orderid_link_orders_orderid_list.netamount.name=netamount -vasc.entry.alef_dg2_stats.friends.image=friends -vasc.entry.pagila_customers.country.image=country -vasc.entry.pagila_orders_orderlines_orderid_link_orders_orderid_list.orderid.image=orderid -vasc.entry.VascEntry.name.name=name -vasc.entry.alef_dg2_profiles.image=alef_dg2_profiles -vasc.entry.pagila_customers.creditcardtype.description=creditcardtype -vasc.action.deleteRowAction.image=deleteRowAction -vasc.entry.pagila_cust_hist_customers_customerid_list.deleteDescription=pagila_cust_hist_customers_customerid_list -vasc.entry.VascEntry.vascAdminEdit.image=vascAdminEdit -vasc.entry.pagila_customers_cust_hist_customerid_link.listImage=resources/images/models/pagila_customers_cust_hist_customerid_link.png -vasc.entry.alef_dg2_profiles.run_date.name=run_date -vasc.entry.pagila_orders_customers_customerid_list.income.description=income -vasc.entry.alef_dg2_parser.name=alef_dg2_parser -vasc.entry.pagila_cust_hist_customers_customerid_list.email.description=email -vasc.entry.pagila_orders.image=pagila_orders -vasc.entry.VascLinkEntryLink.doActionId.image=doActionId -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.username.name=username -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.customerid.name=customerid -vasc.entry.alef_dg2_stats.editImage=resources/images/models/alef_dg2_stats.png -vasc.entry.dg2_profiles.name.name=name -vasc.entry.pagila_cust_hist_customers_customerid_list.firstname.name=firstname -vasc.entry.pagila_reorder.prod_id.name=prod_id -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.creditcardexpiration.image=creditcardexpiration -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.state.description=state -vasc.entry.pagila_orders.editDescription=pagila_orders -vasc.entry.alef_dg2_smiles.image=alef_dg2_smiles -vasc.entry.pagila_orders_customers_customerid_list.creditcardtype.description=creditcardtype -vasc.entry.dg2_profiles.image=dg2_profiles -vasc.entry.alef_dg2_stats.profile.name=profile -vasc.entry.VascEntry.vascDisplayOnly.image=vascDisplayOnly -vasc.entry.VascEntry.editImage.image=editImage -vasc.entry.pagila_inventory.editImage=resources/images/models/pagila_inventory.png -vasc.entry.pagila_orderlines_orders_orderid_list.orderid.description=orderid -vasc.entry.VascEntry.name=VascEntry -vasc.entry.pagila_customers.password.name=password -vasc.entry.VascEntry.listImage=resources/images/models/VascEntry.png -vasc.entry.pagila_orders_customers_customerid_list.address1.name=address1 -vasc.entry.pagila_customers.firstname.name=firstname -vasc.entry.pagila_customers_cust_hist_customerid_link.prod_id.description=prod_id -vasc.entry.alef_app_settings.image=alef_app_settings -vasc.entry.VascEntry.vascAdminCreate.description=vascAdminCreate -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.lastname.image=lastname -vasc.entry.VascEntry.vascAdminDelete.image=vascAdminDelete -vasc.entry.pagila_orders.customerid.name=customerid -vasc.entry.pagila_products.price.image=price -vasc.entry.pagila_customers.name=pagila_customers -vasc.entry.VascEntryFieldLink.styleList.image=styleList -vasc.entry.VascListOptionLink.editDescription=VascListOptionLink -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.firstname.name=firstname -vasc.entry.VascListOptionLink.description.description=description -vasc.entry.VascEntry.vascAdminList.name=vascAdminList -vasc.entry.alef_dg2_parser.data_type.description=data_type -vasc.entry.VascEntryFieldLink.create.description=create -vasc.entry.dg2_profiles.listImage=resources/images/models/dg2_profiles.png -vasc.entry.pagila_reorder.date_expected.name=date_expected -vasc.action.addRowAction.image=addRowAction -vasc.entry.pagila_cust_hist.orderid.image=orderid -vasc.entry.VascEntryFieldLink.view.description=view -vasc.entry.alef_dg2_profiles.profile_type.image=profile_type -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.firstname.image=firstname -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.region.description=region -vasc.entry.VascEntryFieldLink.sumable.image=sumable -vasc.entry.pagila_orders_customers_customerid_list.createDescription=pagila_orders_customers_customerid_list -vasc.entry.alef_dg2_smiles.used.image=used -vasc.entry.VascLinkEntryLink.createDescription=VascLinkEntryLink -vasc.entry.pagila_cust_hist_customers_customerid_list.zip.description=zip -vasc.entry.pagila_reorder.date_low.name=date_low -vasc.entry.VascEntryFieldSetLink.deleteImage=resources/images/models/VascEntryFieldSetLink.png -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.creditcardtype.name=creditcardtype -vasc.entry.alef_dg2_run_log.listImage=resources/images/models/alef_dg2_run_log.png -vasc.entry.alef_dg2_parser.stats_type.name=stats_type -vasc.entry.VascListOptionLink.name.image=name -vasc.entry.pagila_orders_orderlines_orderid_link.prod_id.image=prod_id -vasc.entry.VascEntry.primaryKeyFieldId.description=primaryKeyFieldId -vasc.entry.VascEntryFieldLink.helpId.name=helpId -vasc.entry.pagila_reorder.editDescription=pagila_reorder -vasc.entry.pagila_orderlines.orderid.name=orderid -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.listDescription=pagila_customers_orders_customerid_link_customers_customerid_list -vasc.entry.pagila_customers.creditcard.name=creditcard -vasc.entry.pagila_orders.listImage=resources/images/models/pagila_orders.png -vasc.entry.pagila_cust_hist_customers_customerid_list.gender.image=gender -vasc.entry.pagila_customers.customerid.description=customerid -vasc.entry.pagila_orders_customers_customerid_list.income.image=income -vasc.entry.alef_dg2_smiles.active.description=active -vasc.entry.VascEntryFieldLink.image.name=image -vasc.entry.dg2_smiles.listImage=resources/images/models/dg2_smiles.png -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.createDescription=pagila_customers_cust_hist_customerid_link_customers_customerid_list -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.region.name=region -vasc.entry.meta_profiles.deleteDescription=meta_profiles -vasc.entry.pagila_orders_orderlines_orderid_link.listDescription=pagila_orders_orderlines_orderid_link -vasc.entry.VascEntryFieldLink.editReadOnly.name=editReadOnly -vasc.entry.pagila_customers.address2.description=address2 -vasc.entry.alef_dg2_run_log.createDescription=alef_dg2_run_log -vasc.entry.pagila_customers_orders_customerid_link.image=pagila_customers_orders_customerid_link -vasc.entry.pagila_orders_orderlines_orderid_link.deleteDescription=pagila_orders_orderlines_orderid_link -vasc.entry.alef_dg2_parser.editImage=resources/images/models/alef_dg2_parser.png -vasc.entry.VascEntryFieldLink.editBlank.name=editBlank -vasc.entry.VascEntryFieldSetLink.collapsed.name=collapsed -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.city.image=city -vasc.entry.VascEntry.listImage.description=listImage -vasc.entry.pagila_customers_orders_customerid_link.editImage=resources/images/models/pagila_customers_orders_customerid_link.png -vasc.entry.pagila_orders_orderlines_orderid_link_orders_orderid_list.createDescription=pagila_orders_orderlines_orderid_link_orders_orderid_list -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.creditcardexpiration.image=creditcardexpiration -vasc.entry.alef_dg2_profiles.last_seen_date.name=last_seen_date -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.address1.description=address1 -vasc.entry.VascEntryFieldSetLink.deleteDescription=VascEntryFieldSetLink -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.lastname.name=lastname -vasc.entry.alef_dg2_stats.image=alef_dg2_stats -vasc.entry.VascEntryFieldLink.displayName.description=displayName -vasc.entry.pagila_orders_customers_customerid_list.gender.name=gender -vasc.entry.pagila_customers.createImage=resources/images/models/pagila_customers.png -vasc.entry.pagila_customers.createDescription=pagila_customers -vasc.entry.pagila_orders.orderid.description=orderid -vasc.entry.pagila_orders_customers_customerid_list.lastname.description=lastname -vasc.entry.pagila_products.name=pagila_products -vasc.entry.alef_dg2_parser._id.image=_id -vasc.entry.pagila_products.editDescription=pagila_products -vasc.entry.VascEntryFieldLink.image=VascEntryFieldLink -vasc.entry.pagila_cust_hist_customers_customerid_list.country.description=country -vasc.entry.alef_app_settings.key.image=key -vasc.entry.pagila_reorder.name=pagila_reorder -vasc.entry.pagila_orderlines_orders_orderid_list.name=pagila_orderlines_orders_orderid_list -vasc.entry.VascEntry.vascAdminCreate.image=vascAdminCreate -vasc.entry.VascLinkEntryLink.id.image=id -vasc.entry.pagila_orders_orderlines_orderid_link.orderdate.description=orderdate -vasc.entry.dg2_profiles.body_text.name=body_text -vasc.entry.VascEntryFieldLink.styleList.name=styleList -vasc.entry.pagila_orderlines_orders_orderid_list.netamount.name=netamount -vasc.entry.pagila_cust_hist_customers_customerid_list.city.image=city -vasc.entry.dg2_profiles.url.description=url -vasc.entry.meta_profiles.active.description=active -vasc.entry.pagila_reorder.date_reordered.name=date_reordered -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.state.name=state -vasc.entry.pagila_inventory.sales.name=sales -vasc.entry.VascEntryFieldSetLink.helpId.description=helpId -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.address2.name=address2 -vasc.entry.pagila_orders_orderlines_orderid_link.editImage=resources/images/models/pagila_orders_orderlines_orderid_link.png -vasc.entry.pagila_customers_cust_hist_customerid_link.orderid.description=orderid -vasc.entry.alef_dg2_smiles.active.image=active -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.income.description=income -vasc.entry.alef_dg2_profiles.active.image=active -vasc.entry.meta_profiles.listDescription=meta_profiles -vasc.entry.alef_dg2_smiles.cron_type.image=cron_type -vasc.entry.alef_dg2_stats.buddies.name=buddies -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.country.image=country -vasc.entry.VascListOptionLink.collapsed.name=collapsed -vasc.entry.pagila_cust_hist_customers_customerid_list.creditcardexpiration.description=creditcardexpiration -vasc.entry.alef_dg2_run_log.name=alef_dg2_run_log -vasc.entry.pagila_customers_orders_customerid_link.createImage=resources/images/models/pagila_customers_orders_customerid_link.png -vasc.entry.pagila_orders_customers_customerid_list.name=pagila_orders_customers_customerid_list -vasc.entry.dg2_smiles.editDescription=dg2_smiles -vasc.entry.VascEntryFieldSetLink.description.description=description -vasc.entry.pagila_cust_hist_customers_customerid_list.city.description=city -vasc.entry.alef_dg2_parser.active.description=active -vasc.entry.pagila_orderlines_orders_orderid_list.customerid.image=customerid -vasc.entry.pagila_cust_hist_customers_customerid_list.password.image=password -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.country.description=country -vasc.entry.pagila_products.actor.description=actor -vasc.entry.VascEntryFieldLink.orderIndex.image=orderIndex -vasc.entry.pagila_customers_cust_hist_customerid_link.customerid.image=customerid -vasc.entry.VascEntry.vascDisplayOnly.name=vascDisplayOnly -vasc.entry.VascEntry.deleteDescription=VascEntry -vasc.entry.VascEntryFieldLink.edit.description=edit -vasc.entry.alef_dg2_stats._id.description=_id -vasc.entry.pagila_customers.phone.name=phone -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.zip.image=zip -vasc.entry.pagila_customers_orders_customerid_link.orderdate.description=orderdate -vasc.entry.pagila_orders.deleteDescription=pagila_orders -vasc.entry.pagila_cust_hist_customers_customerid_list.lastname.description=lastname -vasc.entry.alef_app_settings.key.name=key -vasc.entry.alef_dg2_smiles.text.image=text -vasc.entry.dg2_smiles.profile_type.description=profile_type -vasc.entry.pagila_customers.password.image=password -vasc.entry.pagila_orders.orderid.image=orderid -vasc.entry.pagila_cust_hist_customers_customerid_list.createDescription=pagila_cust_hist_customers_customerid_list -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.password.name=password -vasc.entry.pagila_customers_orders_customerid_link.customerid.description=customerid -vasc.entry.alef_dg2_run.createImage=resources/images/models/alef_dg2_run.png -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.password.image=password -vasc.entry.VascEntry.editDescription.name=editDescription -vasc.entry.VascListOptionLink.createImage=resources/images/models/VascListOptionLink.png -vasc.entry.VascListOptionLink.styleList.image=styleList -vasc.entry.alef_dg2_run_log.html_body.image=html_body -vasc.entry.VascEntryFieldLink.editImage=resources/images/models/VascEntryFieldLink.png -vasc.entry.VascEntryFieldLink.deleteDescription=VascEntryFieldLink -vasc.entry.pagila_orderlines_orders_orderid_list.deleteDescription=pagila_orderlines_orders_orderid_list -vasc.entry.pagila_cust_hist_customers_customerid_list.listDescription=pagila_cust_hist_customers_customerid_list -vasc.entry.VascEntryFieldLink.list.description=list -vasc.entry.meta_profiles.name=meta_profiles -vasc.entry.pagila_cust_hist_customers_customerid_list.region.description=region -vasc.entry.alef_dg2_profiles.name.image=name -vasc.entry.pagila_customers.zip.description=zip -vasc.entry.pagila_inventory.sales.image=sales -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.deleteImage=resources/images/models/pagila_customers_cust_hist_customerid_link_customers_customerid_list.png -vasc.entry.alef_dg2_stats.createImage=resources/images/models/alef_dg2_stats.png -vasc.entry.alef_dg2_smiles.createDescription=alef_dg2_smiles -vasc.entry.pagila_customers.gender.image=gender -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.creditcardexpiration.description=creditcardexpiration -vasc.entry.VascEntryFieldLink.defaultValue.description=defaultValue -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.income.image=income -vasc.entry.VascLinkEntryLink.image=VascLinkEntryLink -vasc.entry.alef_dg2_run.total_jokers.name=total_jokers -vasc.entry.alef_dg2_run_log.profile_path.description=profile_path -vasc.entry.pagila_orders_customers_customerid_list.creditcard.name=creditcard -vasc.entry.dg2_profiles.deleteDescription=dg2_profiles -vasc.entry.pagila_customers.address1.description=address1 -vasc.entry.pagila_categories.name=pagila_categories -vasc.entry.dg2_smiles.profile_type.image=profile_type -vasc.entry.alef_dg2_parser.argu.description=argu -vasc.entry.alef_dg2_stats.guestbook.name=guestbook -vasc.entry.pagila_products.common_prod_id.image=common_prod_id -vasc.entry.VascEntryFieldLink.backendName.name=backendName -vasc.entry.alef_dg2_profiles.age.description=age -vasc.entry.alef_dg2_profiles._id.image=_id -vasc.entry.VascEntryFieldLink.sizeEdit.description=sizeEdit -vasc.entry.pagila_orders_customers_customerid_list.editImage=resources/images/models/pagila_orders_customers_customerid_list.png -vasc.entry.alef_dg2_parser.argu_extra.description=argu_extra -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.firstname.description=firstname -vasc.entry.VascEntryFieldSetLink.styleEdit.image=styleEdit -vasc.entry.alef_dg2_run.start_date.image=start_date -vasc.entry.pagila_products.editImage=resources/images/models/pagila_products.png -vasc.entry.VascEntryFieldSetLink.id.description=id -vasc.entry.pagila_orderlines.orderlineid.description=orderlineid -vasc.entry.VascListOptionLink.id.name=id -vasc.entry.pagila_orders.totalamount.image=totalamount -vasc.entry.alef_dg2_profiles.url.image=url -vasc.entry.VascListOptionLink.optional.name=optional -vasc.entry.VascEntryFieldLink.backendName.description=backendName -vasc.entry.alef_dg2_profiles.name=alef_dg2_profiles -vasc.entry.pagila_inventory.sales.description=sales -vasc.entry.pagila_orders_orderlines_orderid_link_orders_orderid_list.orderid.name=orderid -vasc.entry.alef_dg2_parser.listImage=resources/images/models/alef_dg2_parser.png -vasc.entry.VascEntryFieldLink.rolesList.image=rolesList -vasc.entry.pagila_cust_hist.customerid.image=customerid -vasc.entry.pagila_products.category.name=category -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.country.description=country -vasc.entry.pagila_orders_orderlines_orderid_link_orders_orderid_list.netamount.description=netamount -vasc.entry.alef_dg2_parser.column_name.name=column_name -vasc.entry.alef_dg2_stats.profile.image=profile -vasc.entry.meta_profiles.createDescription=meta_profiles -vasc.entry.VascEntryFieldLink.sizeList.description=sizeList -vasc.entry.pagila_orderlines_orders_orderid_list.totalamount.image=totalamount -vasc.entry.pagila_customers_orders_customerid_link.listDescription=pagila_customers_orders_customerid_link -vasc.entry.pagila_orders.name=pagila_orders -vasc.entry.pagila_products.prod_id.image=prod_id -vasc.entry.VascLinkEntryLink.vascEntryId.name=vascEntryId -vasc.entry.pagila_orders_orderlines_orderid_link.createDescription=pagila_orders_orderlines_orderid_link -vasc.entry.pagila_reorder.listImage=resources/images/models/pagila_reorder.png -vasc.entry.pagila_orders_customers_customerid_list.email.name=email -vasc.entry.VascEntryFieldLink.name.image=name -vasc.entry.meta_profiles.name.name=name -vasc.entry.VascEntry.deleteDescription.description=deleteDescription -vasc.entry.pagila_customers_cust_hist_customerid_link.listDescription=pagila_customers_cust_hist_customerid_link -vasc.entry.VascEntry.deleteImage.description=deleteImage -vasc.entry.pagila_orders_customers_customerid_list.username.image=username -vasc.entry.pagila_cust_hist_customers_customerid_list.deleteImage=resources/images/models/pagila_cust_hist_customers_customerid_list.png -vasc.entry.dg2_profiles.send_jokers.name=send_jokers -vasc.entry.alef_app_settings._id.name=_id -vasc.entry.VascEntryFieldSetLink.createDescription=VascEntryFieldSetLink -vasc.entry.pagila_products.common_prod_id.description=common_prod_id -vasc.entry.pagila_orderlines.createImage=resources/images/models/pagila_orderlines.png -vasc.entry.alef_dg2_profiles.profile_type.name=profile_type -vasc.entry.VascEntryFieldLink.sortable.name=sortable -vasc.entry.pagila_orders_orderlines_orderid_link.prod_id.name=prod_id -vasc.entry.VascListOptionLink.id.description=id -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.zip.image=zip -vasc.entry.pagila_categories.category.image=category -vasc.entry.pagila_orders_customers_customerid_list.phone.description=phone -vasc.entry.VascEntryFieldLink.rolesEditReadOnly.name=rolesEditReadOnly -vasc.entry.pagila_orderlines_orders_orderid_list.totalamount.description=totalamount -vasc.entry.alef_app_settings.editImage=resources/images/models/alef_app_settings.png -vasc.entry.alef_dg2_profiles.age.image=age -vasc.entry.pagila_customers_orders_customerid_link.totalamount.description=totalamount -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.name=pagila_customers_cust_hist_customerid_link_customers_customerid_list -vasc.entry.pagila_orders_orderlines_orderid_link.listImage=resources/images/models/pagila_orders_orderlines_orderid_link.png -vasc.entry.pagila_inventory.quan_in_stock.image=quan_in_stock -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.customerid.name=customerid -vasc.entry.alef_dg2_profiles.deleteDescription=alef_dg2_profiles -vasc.entry.pagila_orders_customers_customerid_list.state.description=state -vasc.entry.pagila_cust_hist_customers_customerid_list.customerid.image=customerid -vasc.entry.pagila_cust_hist_customers_customerid_list.address2.image=address2 -vasc.entry.pagila_cust_hist_customers_customerid_list.creditcard.image=creditcard -vasc.entry.pagila_reorder.date_expected.image=date_expected -vasc.entry.alef_dg2_profiles._id.description=_id -vasc.entry.alef_app_settings.key.description=key -vasc.entry.alef_dg2_profiles.active.name=active -vasc.entry.alef_dg2_profiles.deleteImage=resources/images/models/alef_dg2_profiles.png -vasc.entry.VascEntry.image.name=image -vasc.entry.pagila_orders_orderlines_orderid_link.name=pagila_orders_orderlines_orderid_link -vasc.entry.VascEntryFieldLink.choicesAsRadio.image=choicesAsRadio -vasc.entry.pagila_orders_orderlines_orderid_link_orders_orderid_list.listDescription=pagila_orders_orderlines_orderid_link_orders_orderid_list -vasc.entry.alef_dg2_smiles.editDescription=alef_dg2_smiles -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.phone.name=phone -vasc.entry.pagila_customers.income.name=income -vasc.entry.VascEntryFieldLink.name.name=name -vasc.entry.meta_profiles.image=meta_profiles -vasc.entry.VascEntry.vascAdminDelete.name=vascAdminDelete -vasc.entry.alef_app_settings._id.image=_id -vasc.entry.alef_dg2_parser.data_type.name=data_type -vasc.entry.pagila_orders_customers_customerid_list.age.image=age -vasc.entry.pagila_cust_hist.editDescription=pagila_cust_hist -vasc.entry.VascLinkEntryLink.name=VascLinkEntryLink -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.state.description=state -vasc.entry.VascLinkEntryLink.vascEntryId.description=vascEntryId -vasc.entry.pagila_customers.address2.image=address2 -vasc.entry.pagila_customers.listDescription=pagila_customers -vasc.entry.alef_dg2_run_log.send_jokers.image=send_jokers -vasc.entry.pagila_orderlines.prod_id.name=prod_id -vasc.entry.VascEntry.deleteDescription.image=deleteDescription -vasc.entry.pagila_customers.email.image=email -vasc.entry.pagila_products.createImage=resources/images/models/pagila_products.png -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.zip.name=zip -vasc.entry.pagila_orders_orderlines_orderid_link.createImage=resources/images/models/pagila_orders_orderlines_orderid_link.png -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.gender.name=gender -vasc.entry.VascEntryFieldSetLink.listDescription=VascEntryFieldSetLink -vasc.entry.VascLinkEntryLink.editImage=resources/images/models/VascLinkEntryLink.png -vasc.entry.pagila_customers.phone.description=phone -vasc.entry.VascEntryFieldLink.graphable.image=graphable -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.username.image=username -vasc.entry.pagila_orders_customers_customerid_list.zip.description=zip -vasc.entry.VascEntry.createDescription=VascEntry -vasc.action.refreshDataAction.description=refreshDataAction -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.firstname.image=firstname -vasc.entry.pagila_orderlines.deleteDescription=pagila_orderlines -vasc.entry.VascEntryFieldLink.name.description=name -vasc.entry.pagila_cust_hist_customers_customerid_list.customerid.description=customerid -vasc.entry.VascEntryFieldSetLink.image=VascEntryFieldSetLink -vasc.entry.meta_profiles.send_jokers.description=send_jokers -vasc.entry.pagila_orderlines_orders_orderid_list.tax.description=tax -vasc.entry.pagila_orders_customers_customerid_list.lastname.image=lastname -vasc.entry.pagila_orders_orderlines_orderid_link_orders_orderid_list.customerid.image=customerid -vasc.entry.pagila_orders.createDescription=pagila_orders -vasc.entry.pagila_orders_customers_customerid_list.country.description=country -vasc.entry.dg2_profiles.run_date.description=run_date -vasc.entry.pagila_cust_hist_customers_customerid_list.lastname.name=lastname -vasc.entry.pagila_customers_cust_hist_customerid_link.orderid.name=orderid -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.lastname.description=lastname -vasc.entry.pagila_orders_customers_customerid_list.city.description=city -vasc.entry.pagila_categories.editImage=resources/images/models/pagila_categories.png -vasc.entry.pagila_orders_customers_customerid_list.lastname.name=lastname -vasc.entry.dg2_profiles.url.name=url -vasc.entry.pagila_orderlines.prod_id.description=prod_id -vasc.entry.VascEntry.name.description=name -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.deleteImage=resources/images/models/pagila_customers_orders_customerid_link_customers_customerid_list.png -vasc.entry.pagila_categories.createDescription=pagila_categories -vasc.entry.meta_profiles._id.name=_id -vasc.entry.pagila_cust_hist_customers_customerid_list.username.name=username -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.editDescription=pagila_customers_cust_hist_customerid_link_customers_customerid_list -vasc.entry.pagila_orders.tax.name=tax -vasc.entry.pagila_cust_hist.editImage=resources/images/models/pagila_cust_hist.png -vasc.entry.pagila_orders.orderdate.image=orderdate -vasc.entry.alef_dg2_profiles.listImage=resources/images/models/alef_dg2_profiles.png -vasc.entry.dg2_profiles._id.name=_id -vasc.entry.dg2_profiles.body_text.description=body_text -vasc.entry.VascEntryFieldLink.vascEntryFieldType.image=vascEntryFieldType -vasc.entry.VascEntryFieldLink.createDescription=VascEntryFieldLink -vasc.entry.pagila_orders_customers_customerid_list.username.name=username -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.income.description=income -vasc.entry.pagila_cust_hist.customerid.description=customerid -vasc.entry.pagila_orderlines_orders_orderid_list.createDescription=pagila_orderlines_orders_orderid_list -vasc.entry.pagila_orderlines_orders_orderid_list.orderdate.name=orderdate -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.lastname.name=lastname -vasc.entry.pagila_customers.zip.image=zip -vasc.entry.VascListOptionLink.helpId.image=helpId -vasc.entry.VascLinkEntryLink.createImage=resources/images/models/VascLinkEntryLink.png -vasc.entry.pagila_orders_customers_customerid_list.creditcardtype.image=creditcardtype -vasc.entry.dg2_smiles.image=dg2_smiles -vasc.entry.alef_dg2_parser.argu_extra.image=argu_extra -vasc.entry.pagila_orderlines.listDescription=pagila_orderlines -vasc.entry.pagila_orders_customers_customerid_list.city.name=city -vasc.entry.pagila_orders.customerid.image=customerid -vasc.entry.pagila_cust_hist_customers_customerid_list.address2.name=address2 -vasc.entry.pagila_orderlines_orders_orderid_list.orderid.name=orderid -vasc.entry.pagila_orders_orderlines_orderid_link_orders_orderid_list.totalamount.name=totalamount -vasc.entry.pagila_orderlines_orders_orderid_list.editDescription=pagila_orderlines_orders_orderid_list -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.firstname.description=firstname -vasc.entry.VascEntryFieldLink.view.image=view -vasc.entry.pagila_orders_customers_customerid_list.listImage=resources/images/models/pagila_orders_customers_customerid_list.png -vasc.entry.alef_dg2_run.thread_id.name=thread_id -vasc.entry.pagila_orders_customers_customerid_list.gender.image=gender -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.phone.image=phone -vasc.entry.pagila_cust_hist_customers_customerid_list.region.image=region -vasc.entry.pagila_cust_hist_customers_customerid_list.country.image=country -vasc.entry.VascEntryFieldLink.styleEdit.description=styleEdit -vasc.entry.pagila_orders_customers_customerid_list.age.name=age -vasc.entry.VascEntryFieldSetLink.helpId.name=helpId -vasc.entry.pagila_cust_hist_customers_customerid_list.editDescription=pagila_cust_hist_customers_customerid_list -vasc.entry.alef_dg2_parser.class_name.name=class_name -vasc.entry.pagila_cust_hist_customers_customerid_list.image=pagila_cust_hist_customers_customerid_list -vasc.entry.pagila_customers_cust_hist_customerid_link.prod_id.image=prod_id -vasc.entry.pagila_orders_customers_customerid_list.country.image=country -vasc.entry.dg2_profiles.createDescription=dg2_profiles -vasc.entry.alef_dg2_parser.column_name.description=column_name -vasc.entry.VascEntry.editDescription=VascEntry -vasc.entry.dg2_profiles.name.description=name -vasc.entry.pagila_customers_orders_customerid_link.tax.name=tax -vasc.entry.pagila_categories.deleteImage=resources/images/models/pagila_categories.png -vasc.entry.alef_dg2_smiles.cron_type.description=cron_type -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.address2.name=address2 -vasc.entry.pagila_orderlines_orders_orderid_list.customerid.name=customerid -vasc.entry.pagila_products.deleteDescription=pagila_products -vasc.entry.alef_dg2_stats._id.image=_id -vasc.entry.pagila_orders_orderlines_orderid_link.orderid.name=orderid -vasc.entry.alef_dg2_profiles.body_text.image=body_text -vasc.entry.VascEntryFieldLink.graphable.name=graphable -vasc.entry.VascEntryFieldLink.rolesCreate.image=rolesCreate -vasc.entry.pagila_cust_hist_customers_customerid_list.gender.name=gender -vasc.entry.pagila_orderlines.quantity.name=quantity -vasc.entry.VascEntryFieldLink.vascEntryFieldValue.name=vascEntryFieldValue -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.country.image=country -vasc.entry.VascEntryFieldSetLink.image.description=image -vasc.entry.pagila_cust_hist_customers_customerid_list.phone.description=phone -vasc.entry.pagila_cust_hist_customers_customerid_list.customerid.name=customerid -vasc.entry.alef_dg2_stats._id.name=_id -vasc.entry.VascEntry.backendId.description=backendId -vasc.entry.VascEntryFieldSetLink.image.image=image -vasc.entry.pagila_orders.totalamount.name=totalamount -vasc.entry.pagila_inventory.prod_id.image=prod_id -vasc.entry.pagila_customers_cust_hist_customerid_link.createImage=resources/images/models/pagila_customers_cust_hist_customerid_link.png -vasc.entry.pagila_customers_cust_hist_customerid_link.name=pagila_customers_cust_hist_customerid_link -vasc.entry.pagila_cust_hist_customers_customerid_list.firstname.description=firstname -vasc.entry.alef_dg2_parser.editDescription=alef_dg2_parser -vasc.entry.alef_dg2_smiles.editImage=resources/images/models/alef_dg2_smiles.png -vasc.entry.VascEntryFieldLink.list.name=list -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.image=pagila_customers_orders_customerid_link_customers_customerid_list -vasc.entry.VascEntryFieldLink.rolesEditReadOnly.description=rolesEditReadOnly -vasc.entry.pagila_reorder.prod_id.image=prod_id -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.income.image=income -vasc.entry.pagila_cust_hist_customers_customerid_list.password.name=password -vasc.entry.pagila_cust_hist_customers_customerid_list.country.name=country -vasc.entry.pagila_cust_hist_customers_customerid_list.creditcardexpiration.name=creditcardexpiration -vasc.entry.pagila_cust_hist_customers_customerid_list.zip.image=zip -vasc.entry.VascEntry.listDescription.name=listDescription -vasc.entry.dg2_profiles._id.description=_id -vasc.entry.alef_dg2_smiles.group.image=group -vasc.entry.pagila_cust_hist_customers_customerid_list.name=pagila_cust_hist_customers_customerid_list -vasc.entry.alef_dg2_stats.profile.description=profile -vasc.entry.alef_dg2_stats.listDescription=alef_dg2_stats -vasc.entry.VascEntryFieldLink.optional.name=optional -vasc.entry.alef_dg2_smiles._id.image=_id -vasc.entry.pagila_customers_orders_customerid_link.deleteImage=resources/images/models/pagila_customers_orders_customerid_link.png -vasc.entry.VascListOptionLink.description.name=description -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.password.name=password -vasc.entry.meta_profiles.send_jokers.name=send_jokers -vasc.entry.VascEntryFieldSetLink.optional.description=optional -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.city.description=city -vasc.entry.VascListOptionLink.deleteDescription=VascListOptionLink -vasc.entry.pagila_cust_hist_customers_customerid_list.firstname.image=firstname -vasc.entry.VascLinkEntryLink.name.name=name -vasc.entry.pagila_products.special.name=special -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.customerid.description=customerid -vasc.entry.pagila_orderlines.orderdate.name=orderdate -vasc.entry.VascEntryFieldLink.id.name=id -vasc.entry.pagila_cust_hist_customers_customerid_list.age.name=age -vasc.entry.pagila_cust_hist_customers_customerid_list.phone.image=phone -vasc.entry.pagila_customers_cust_hist_customerid_link.deleteDescription=pagila_customers_cust_hist_customerid_link -vasc.entry.alef_dg2_run_log.createImage=resources/images/models/alef_dg2_run_log.png -vasc.entry.VascEntryFieldSetLink.description.image=description -vasc.entry.pagila_customers_orders_customerid_link.editDescription=pagila_customers_orders_customerid_link -vasc.entry.pagila_orders_customers_customerid_list.listDescription=pagila_orders_customers_customerid_list -vasc.entry.VascEntry.helpId.description=helpId -vasc.entry.VascEntry.image.description=image -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.name=pagila_customers_orders_customerid_link_customers_customerid_list -vasc.entry.pagila_customers.lastname.description=lastname -vasc.entry.VascEntryFieldLink.helpId.image=helpId -vasc.entry.VascEntryFieldLink.styleEdit.image=styleEdit -vasc.entry.pagila_orderlines.orderid.image=orderid -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.creditcardtype.image=creditcardtype -vasc.entry.alef_dg2_parser.createImage=resources/images/models/alef_dg2_parser.png -vasc.entry.pagila_orders_customers_customerid_list.city.image=city -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.deleteDescription=pagila_customers_orders_customerid_link_customers_customerid_list -vasc.entry.alef_app_settings._id.description=_id -vasc.entry.pagila_orderlines_orders_orderid_list.tax.image=tax -vasc.entry.alef_dg2_run.deleteImage=resources/images/models/alef_dg2_run.png -vasc.entry.pagila_orders_orderlines_orderid_link_orders_orderid_list.createImage=resources/images/models/pagila_orders_orderlines_orderid_link_orders_orderid_list.png -vasc.entry.VascListOptionLink.deleteImage=resources/images/models/VascListOptionLink.png -vasc.entry.pagila_customers_orders_customerid_link.customerid.name=customerid -vasc.entry.alef_dg2_profiles.last_seen_date.description=last_seen_date -vasc.entry.pagila_orderlines.editImage=resources/images/models/pagila_orderlines.png -vasc.entry.VascEntryFieldLink.name=VascEntryFieldLink -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.email.description=email -vasc.entry.pagila_customers.region.name=region -vasc.entry.alef_dg2_run_log.send_jokers.description=send_jokers -vasc.entry.pagila_reorder.quan_low.image=quan_low -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.gender.name=gender -vasc.entry.dg2_smiles.group.image=group -vasc.entry.pagila_customers.email.name=email -vasc.entry.pagila_customers_cust_hist_customerid_link.customerid.name=customerid -vasc.entry.pagila_reorder.createImage=resources/images/models/pagila_reorder.png -vasc.entry.pagila_orders_orderlines_orderid_link_orders_orderid_list.tax.image=tax -vasc.entry.VascEntry.name.image=name -vasc.entry.alef_dg2_smiles.text.name=text -vasc.entry.VascEntryFieldLink.id.description=id -vasc.entry.dg2_smiles.text.description=text -vasc.entry.pagila_orders_customers_customerid_list.customerid.image=customerid -vasc.entry.meta_profiles.send_jokers.image=send_jokers -vasc.entry.pagila_orders_orderlines_orderid_link.quantity.description=quantity -vasc.entry.pagila_orders_customers_customerid_list.creditcard.image=creditcard -vasc.entry.VascEntryFieldLink.image.description=image -vasc.entry.VascEntry.deleteImage=resources/images/models/VascEntry.png -vasc.entry.pagila_reorder.date_reordered.description=date_reordered -vasc.entry.VascListOptionLink.name.name=name -vasc.entry.pagila_cust_hist_customers_customerid_list.income.description=income -vasc.entry.alef_dg2_run._id.name=_id -vasc.entry.VascEntryFieldLink.vascEntryFieldValue.description=vascEntryFieldValue -vasc.entry.pagila_customers.address1.name=address1 -vasc.entry.pagila_customers.creditcardexpiration.image=creditcardexpiration -vasc.entry.VascEntryFieldLink.sortable.description=sortable -vasc.entry.alef_dg2_run_log.editDescription=alef_dg2_run_log -vasc.entry.pagila_orders_orderlines_orderid_link_orders_orderid_list.editDescription=pagila_orders_orderlines_orderid_link_orders_orderid_list -vasc.entry.pagila_reorder.quan_reordered.image=quan_reordered -vasc.entry.meta_profiles.editImage=resources/images/models/meta_profiles.png -vasc.entry.pagila_orders_orderlines_orderid_link.orderlineid.image=orderlineid -vasc.entry.pagila_categories.listImage=resources/images/models/pagila_categories.png -vasc.entry.VascEntryFieldLink.editReadOnly.image=editReadOnly -vasc.entry.VascEntry.listDescription.image=listDescription -vasc.entry.alef_dg2_run.editDescription=alef_dg2_run -vasc.entry.pagila_categories.category.name=category -vasc.entry.pagila_customers.region.image=region -vasc.entry.VascLinkEntryLink.listDescription=VascLinkEntryLink -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.address1.image=address1 -vasc.entry.pagila_orderlines.createDescription=pagila_orderlines -vasc.entry.pagila_inventory.quan_in_stock.description=quan_in_stock -vasc.entry.VascEntryFieldSetLink.collapsed.image=collapsed -vasc.entry.pagila_customers_orders_customerid_link.netamount.description=netamount -vasc.entry.pagila_orders_customers_customerid_list.phone.image=phone -vasc.entry.pagila_cust_hist.createImage=resources/images/models/pagila_cust_hist.png -vasc.entry.alef_dg2_run.stop_date.image=stop_date -vasc.entry.pagila_orders_orderlines_orderid_link_orders_orderid_list.customerid.name=customerid -vasc.entry.VascLinkEntryLink.vascEntryId.image=vascEntryId -vasc.entry.pagila_customers.gender.description=gender -vasc.entry.alef_dg2_run.start_date.name=start_date -vasc.entry.pagila_categories.category.description=category -vasc.entry.alef_dg2_profiles.run_date.image=run_date -vasc.entry.pagila_orders_orderlines_orderid_link.quantity.image=quantity -vasc.entry.pagila_inventory.image=pagila_inventory -vasc.entry.meta_profiles._id.image=_id -vasc.entry.pagila_orders_customers_customerid_list.creditcardexpiration.image=creditcardexpiration -vasc.entry.alef_dg2_run_log.run_date.name=run_date -vasc.entry.alef_dg2_run_log.image=alef_dg2_run_log -vasc.entry.pagila_categories.categoryname.name=categoryname -vasc.entry.dg2_profiles.body_text.image=body_text -vasc.entry.alef_dg2_run.name=alef_dg2_run -vasc.entry.pagila_inventory.createImage=resources/images/models/pagila_inventory.png -vasc.entry.meta_profiles.createImage=resources/images/models/meta_profiles.png -vasc.entry.alef_dg2_stats.listImage=resources/images/models/alef_dg2_stats.png -vasc.entry.pagila_customers.customerid.name=customerid -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.phone.image=phone -vasc.entry.alef_dg2_profiles.active.description=active -vasc.entry.dg2_smiles._id.description=_id -vasc.entry.meta_profiles.url.image=url -vasc.entry.pagila_orders_customers_customerid_list.createImage=resources/images/models/pagila_orders_customers_customerid_list.png -vasc.entry.dg2_smiles.group.name=group -vasc.entry.pagila_customers.region.description=region -vasc.entry.alef_dg2_smiles.deleteImage=resources/images/models/alef_dg2_smiles.png -vasc.entry.pagila_inventory.deleteDescription=pagila_inventory -vasc.entry.alef_dg2_smiles.active.name=active -vasc.entry.pagila_orders_customers_customerid_list.gender.description=gender -vasc.entry.pagila_customers_orders_customerid_link.orderid.description=orderid -vasc.entry.pagila_customers.age.name=age -vasc.entry.VascEntryFieldLink.sizeList.image=sizeList -vasc.entry.VascEntryFieldLink.description.image=description -vasc.entry.pagila_orders_orderlines_orderid_link_orders_orderid_list.totalamount.description=totalamount -vasc.entry.pagila_products.actor.name=actor -vasc.entry.pagila_cust_hist.prod_id.description=prod_id -vasc.entry.pagila_inventory.listImage=resources/images/models/pagila_inventory.png -vasc.entry.pagila_customers.country.name=country -vasc.entry.alef_app_settings.createImage=resources/images/models/alef_app_settings.png -vasc.entry.meta_profiles.name.description=name -vasc.entry.alef_dg2_run.total_profiles.description=total_profiles -vasc.entry.alef_dg2_parser.class_name.image=class_name -vasc.entry.dg2_profiles.active.name=active -vasc.entry.dg2_profiles.deleteImage=resources/images/models/dg2_profiles.png -vasc.entry.pagila_orders_customers_customerid_list.region.description=region -vasc.entry.pagila_orderlines.orderdate.description=orderdate -vasc.entry.alef_dg2_run_log.send_smile.image=send_smile -vasc.entry.VascEntryFieldLink.listDescription=VascEntryFieldLink -vasc.entry.alef_dg2_profiles.listDescription=alef_dg2_profiles -vasc.entry.alef_dg2_parser.deleteDescription=alef_dg2_parser -vasc.entry.pagila_products.createDescription=pagila_products -vasc.entry.pagila_cust_hist.image=pagila_cust_hist -vasc.entry.pagila_orders_customers_customerid_list.username.description=username -vasc.entry.alef_dg2_smiles.listImage=resources/images/models/alef_dg2_smiles.png -vasc.entry.VascEntryFieldSetLink.image.name=image -vasc.entry.pagila_customers.firstname.image=firstname -vasc.entry.pagila_orderlines.image=pagila_orderlines -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.firstname.name=firstname -vasc.entry.pagila_orders_orderlines_orderid_link_orders_orderid_list.customerid.description=customerid -vasc.entry.VascEntry.editImage.name=editImage -vasc.entry.pagila_customers_cust_hist_customerid_link.image=pagila_customers_cust_hist_customerid_link -vasc.entry.pagila_orders.netamount.name=netamount -vasc.entry.pagila_customers_orders_customerid_link.orderid.name=orderid -vasc.entry.pagila_orders_orderlines_orderid_link.quantity.name=quantity -vasc.entry.alef_dg2_run_log.html_body.description=html_body -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.customerid.image=customerid -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.creditcard.image=creditcard -vasc.entry.pagila_customers_cust_hist_customerid_link.prod_id.name=prod_id -vasc.entry.VascListOptionLink.name.description=name -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.city.description=city -vasc.entry.alef_dg2_smiles.name=alef_dg2_smiles -vasc.entry.VascLinkEntryLink.vascLinkEntryType.name=vascLinkEntryType -vasc.entry.dg2_smiles.active.name=active -vasc.entry.dg2_smiles.deleteImage=resources/images/models/dg2_smiles.png -vasc.entry.pagila_orders_customers_customerid_list.creditcard.description=creditcard -vasc.entry.VascEntryFieldLink.rolesEditReadOnly.image=rolesEditReadOnly -vasc.entry.dg2_profiles.name=dg2_profiles -vasc.entry.VascListOptionLink.id.image=id -vasc.entry.VascEntryFieldSetLink.description.name=description -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.state.name=state -vasc.entry.alef_dg2_profiles.cron_type.image=cron_type -vasc.entry.VascListOptionLink.styleEdit.image=styleEdit -vasc.entry.VascEntryFieldLink.choicesAsRadio.description=choicesAsRadio -vasc.entry.VascEntryFieldLink.deleteImage=resources/images/models/VascEntryFieldLink.png -vasc.entry.pagila_products.special.description=special -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.editImage=resources/images/models/pagila_customers_cust_hist_customerid_link_customers_customerid_list.png -vasc.entry.pagila_orderlines_orders_orderid_list.orderid.image=orderid -vasc.entry.pagila_reorder.quan_reordered.name=quan_reordered -vasc.entry.pagila_customers_orders_customerid_link.listImage=resources/images/models/pagila_customers_orders_customerid_link.png -vasc.entry.alef_dg2_profiles.cron_type.description=cron_type -vasc.entry.VascEntryFieldSetLink.styleEdit.description=styleEdit -vasc.entry.alef_dg2_profiles.age.name=age -vasc.entry.pagila_products.deleteImage=resources/images/models/pagila_products.png -vasc.entry.pagila_orders.tax.image=tax -vasc.entry.pagila_orderlines.quantity.description=quantity -vasc.entry.alef_dg2_profiles.url.name=url -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.state.image=state -vasc.entry.VascListOptionLink.createDescription=VascListOptionLink -vasc.entry.VascEntry.displayNameFieldId.name=displayNameFieldId -vasc.entry.dg2_profiles.send_jokers.image=send_jokers -vasc.entry.pagila_cust_hist_customers_customerid_list.username.image=username -vasc.entry.VascLinkEntryLink.doActionId.name=doActionId -vasc.entry.meta_profiles.run_date.description=run_date -vasc.entry.VascEntryFieldLink.editReadOnly.description=editReadOnly -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.email.name=email -vasc.entry.pagila_orderlines_orders_orderid_list.deleteImage=resources/images/models/pagila_orderlines_orders_orderid_list.png -vasc.entry.VascEntryFieldSetLink.createImage=resources/images/models/VascEntryFieldSetLink.png -vasc.entry.pagila_customers_cust_hist_customerid_link.createDescription=pagila_customers_cust_hist_customerid_link -vasc.entry.alef_dg2_profiles._id.name=_id -vasc.entry.alef_app_settings.value.name=value -vasc.entry.alef_dg2_run.stop_date.name=stop_date -vasc.entry.pagila_orderlines_orders_orderid_list.editImage=resources/images/models/pagila_orderlines_orders_orderid_list.png -vasc.entry.pagila_cust_hist_customers_customerid_list.state.name=state -vasc.entry.pagila_products.special.image=special -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.editDescription=pagila_customers_orders_customerid_link_customers_customerid_list -vasc.entry.alef_app_settings.value.description=value -vasc.entry.pagila_orderlines.listImage=resources/images/models/pagila_orderlines.png -vasc.entry.pagila_customers.creditcardtype.name=creditcardtype -vasc.entry.pagila_reorder.date_expected.description=date_expected -vasc.entry.alef_dg2_run.total_jokers.image=total_jokers -vasc.entry.VascEntry.displayNameFieldId.description=displayNameFieldId -vasc.entry.VascEntry.backendId.name=backendId -vasc.entry.VascEntryFieldSetLink.collapsed.description=collapsed -vasc.entry.pagila_orders.netamount.description=netamount -vasc.entry.dg2_smiles.profile_type.name=profile_type -vasc.entry.VascEntry.id.description=id -vasc.entry.VascEntry.backendId.image=backendId -vasc.action.refreshDataAction.image=refreshDataAction -vasc.entry.pagila_orders_orderlines_orderid_link.editDescription=pagila_orders_orderlines_orderid_link -vasc.entry.alef_dg2_parser.active.image=active -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.address1.name=address1 -vasc.entry.VascEntryFieldLink.sumable.name=sumable -vasc.entry.dg2_profiles.profile_type.description=profile_type -vasc.entry.alef_app_settings.name=alef_app_settings -vasc.entry.alef_dg2_run_log._id.name=_id -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.createDescription=pagila_customers_orders_customerid_link_customers_customerid_list -vasc.entry.VascEntryFieldSetLink.styleList.description=styleList -vasc.entry.VascEntryFieldLink.rolesEdit.description=rolesEdit -vasc.entry.pagila_orders_orderlines_orderid_link_orders_orderid_list.tax.name=tax -vasc.entry.VascEntryFieldLink.defaultValue.image=defaultValue -vasc.entry.alef_dg2_run.deleteDescription=alef_dg2_run -vasc.entry.pagila_products.category.image=category -vasc.entry.VascEntryFieldLink.choicesAsRadio.name=choicesAsRadio -vasc.entry.pagila_orders_orderlines_orderid_link.orderid.image=orderid -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.username.image=username -vasc.entry.pagila_orders_customers_customerid_list.editDescription=pagila_orders_customers_customerid_list -vasc.entry.pagila_cust_hist_customers_customerid_list.creditcardtype.description=creditcardtype -vasc.entry.VascListOptionLink.styleEdit.description=styleEdit -vasc.entry.VascEntryFieldLink.graphable.description=graphable -vasc.entry.meta_profiles.listImage=resources/images/models/meta_profiles.png -vasc.entry.VascEntryFieldLink.rolesEdit.image=rolesEdit -vasc.entry.alef_app_settings.deleteDescription=alef_app_settings -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.gender.description=gender -vasc.entry.pagila_cust_hist.deleteDescription=pagila_cust_hist -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.age.description=age -vasc.entry.dg2_profiles.profile_type.image=profile_type -vasc.entry.pagila_orders_orderlines_orderid_link_orders_orderid_list.name=pagila_orders_orderlines_orderid_link_orders_orderid_list -vasc.entry.VascListOptionLink.image=VascListOptionLink -vasc.entry.VascEntry.editDescription.description=editDescription -vasc.entry.VascEntryFieldSetLink.id.name=id -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.username.description=username -vasc.entry.pagila_orders_customers_customerid_list.customerid.name=customerid -vasc.entry.pagila_cust_hist_customers_customerid_list.income.name=income -vasc.entry.pagila_inventory.prod_id.description=prod_id -vasc.entry.pagila_orders.listDescription=pagila_orders -vasc.entry.VascEntryFieldLink.create.image=create -vasc.entry.pagila_categories.image=pagila_categories -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.address2.description=address2 -vasc.entry.VascListOptionLink.collapsed.description=collapsed -vasc.entry.pagila_products.common_prod_id.name=common_prod_id -vasc.entry.pagila_orderlines_orders_orderid_list.tax.name=tax -vasc.entry.VascEntry.listImage.image=listImage -vasc.entry.pagila_cust_hist.prod_id.image=prod_id -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.region.description=region -vasc.entry.pagila_orders_customers_customerid_list.region.image=region -vasc.entry.VascEntryFieldLink.choices.description=choices -vasc.entry.pagila_orderlines_orders_orderid_list.netamount.image=netamount -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.creditcardexpiration.description=creditcardexpiration -vasc.entry.alef_dg2_smiles._id.description=_id -vasc.entry.VascListOptionLink.styleList.description=styleList -vasc.entry.VascEntryFieldLink.orderIndex.name=orderIndex -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.creditcard.description=creditcard -vasc.entry.alef_dg2_run_log.profile_path.name=profile_path -vasc.entry.pagila_customers.city.image=city -vasc.entry.pagila_cust_hist.name=pagila_cust_hist -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.age.image=age -vasc.entry.pagila_customers.creditcardexpiration.description=creditcardexpiration -vasc.entry.pagila_cust_hist_customers_customerid_list.state.image=state -vasc.entry.VascEntry.editImage.description=editImage -vasc.entry.pagila_orders.netamount.image=netamount -vasc.entry.pagila_cust_hist_customers_customerid_list.lastname.image=lastname -vasc.entry.meta_profiles.editDescription=meta_profiles -vasc.entry.pagila_cust_hist_customers_customerid_list.email.image=email -vasc.entry.VascEntryFieldLink.sizeEdit.name=sizeEdit -vasc.entry.dg2_smiles.active.description=active -vasc.entry.pagila_customers.state.description=state -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.zip.name=zip -vasc.entry.pagila_cust_hist_customers_customerid_list.age.description=age -vasc.entry.dg2_profiles.listDescription=dg2_profiles -vasc.entry.VascEntryFieldLink.listImage=resources/images/models/VascEntryFieldLink.png -vasc.entry.VascListOptionLink.listDescription=VascListOptionLink -vasc.entry.alef_dg2_run_log.run_date.image=run_date -vasc.entry.alef_dg2_smiles.group.description=group -vasc.entry.meta_profiles.url.name=url -vasc.entry.VascEntryFieldSetLink.name.name=name -vasc.entry.dg2_profiles.run_date.name=run_date -vasc.entry.pagila_orderlines_orders_orderid_list.orderdate.image=orderdate -vasc.entry.pagila_orders.totalamount.description=totalamount -vasc.entry.alef_dg2_stats.date.name=date -vasc.entry.dg2_profiles.name.image=name -vasc.entry.VascEntryFieldLink.vascEntryFieldType.description=vascEntryFieldType -vasc.entry.alef_dg2_parser.stats_type.description=stats_type -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.password.image=password -vasc.entry.pagila_customers.lastname.image=lastname -vasc.entry.pagila_inventory.createDescription=pagila_inventory -vasc.entry.pagila_orders_customers_customerid_list.firstname.image=firstname -vasc.entry.alef_dg2_smiles.used.name=used -vasc.entry.pagila_inventory.quan_in_stock.name=quan_in_stock -vasc.entry.alef_dg2_parser.data_type.image=data_type -vasc.entry.VascEntryFieldSetLink.optional.image=optional -vasc.entry.VascEntry.id.name=id -vasc.entry.alef_dg2_profiles.body_text.description=body_text -vasc.entry.alef_dg2_smiles.cron_type.name=cron_type -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.lastname.image=lastname -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.gender.image=gender -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.editImage=resources/images/models/pagila_customers_orders_customerid_link_customers_customerid_list.png -vasc.entry.pagila_orders_customers_customerid_list.country.name=country -vasc.entry.pagila_categories.listDescription=pagila_categories -vasc.entry.meta_profiles.run_date.image=run_date -vasc.entry.pagila_orders_customers_customerid_list.creditcardexpiration.name=creditcardexpiration -vasc.entry.pagila_inventory.listDescription=pagila_inventory -vasc.entry.VascListOptionLink.editImage=resources/images/models/VascListOptionLink.png -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.customerid.image=customerid -vasc.entry.dg2_smiles.cron_type.description=cron_type -vasc.entry.alef_dg2_parser.argu.name=argu -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.creditcard.image=creditcard -vasc.entry.VascEntry.vascDisplayOnly.description=vascDisplayOnly -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.creditcardtype.description=creditcardtype -vasc.entry.dg2_smiles.cron_type.name=cron_type -vasc.entry.pagila_orders_customers_customerid_list.income.name=income -vasc.entry.pagila_reorder.deleteDescription=pagila_reorder -vasc.entry.pagila_reorder.quan_low.description=quan_low -vasc.entry.pagila_orders_customers_customerid_list.address2.name=address2 -vasc.entry.alef_app_settings.listDescription=alef_app_settings -vasc.entry.VascLinkEntryLink.deleteDescription=VascLinkEntryLink -vasc.entry.alef_dg2_parser.createDescription=alef_dg2_parser -vasc.entry.pagila_orders_customers_customerid_list.password.description=password -vasc.entry.pagila_products.listImage=resources/images/models/pagila_products.png -vasc.entry.VascEntry.editDescription.image=editDescription -vasc.entry.VascListOptionLink.image.description=image -vasc.entry.pagila_orderlines.orderlineid.image=orderlineid -vasc.entry.pagila_customers.deleteImage=resources/images/models/pagila_customers.png -vasc.entry.VascEntryFieldSetLink.name.description=name -vasc.entry.pagila_cust_hist.orderid.name=orderid -vasc.entry.pagila_orders_customers_customerid_list.state.image=state -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.city.name=city -vasc.entry.pagila_orders_orderlines_orderid_link_orders_orderid_list.orderdate.description=orderdate -vasc.entry.pagila_customers.firstname.description=firstname -vasc.entry.pagila_orders_customers_customerid_list.email.image=email -vasc.entry.VascEntryFieldSetLink.name.image=name -vasc.entry.VascEntryFieldLink.editDescription=VascEntryFieldLink -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.createImage=resources/images/models/pagila_customers_cust_hist_customerid_link_customers_customerid_list.png -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.listImage=resources/images/models/pagila_customers_cust_hist_customerid_link_customers_customerid_list.png -vasc.entry.pagila_orders.createImage=resources/images/models/pagila_orders.png -vasc.entry.alef_dg2_run_log.editImage=resources/images/models/alef_dg2_run_log.png -vasc.entry.alef_dg2_parser.argu.image=argu -vasc.entry.pagila_products.listDescription=pagila_products -vasc.entry.pagila_products.title.image=title -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.creditcard.name=creditcard -vasc.entry.pagila_customers_orders_customerid_link.netamount.name=netamount -vasc.entry.pagila_inventory.name=pagila_inventory -vasc.entry.VascListOptionLink.optional.image=optional -vasc.entry.pagila_orders.orderid.name=orderid -vasc.entry.pagila_cust_hist_customers_customerid_list.state.description=state -vasc.entry.meta_profiles.url.description=url -vasc.entry.VascEntryFieldLink.styleList.description=styleList -vasc.entry.pagila_reorder.deleteImage=resources/images/models/pagila_reorder.png -vasc.entry.alef_app_settings.value.image=value -vasc.entry.VascEntry.primaryKeyFieldId.image=primaryKeyFieldId -vasc.entry.pagila_customers_orders_customerid_link.tax.description=tax -vasc.entry.pagila_customers.image=pagila_customers -vasc.entry.pagila_orders_customers_customerid_list.password.name=password -vasc.entry.pagila_cust_hist_customers_customerid_list.creditcardtype.image=creditcardtype -vasc.entry.VascEntry.image=VascEntry -vasc.entry.pagila_products.prod_id.description=prod_id -vasc.entry.pagila_customers_orders_customerid_link.orderdate.image=orderdate -vasc.entry.meta_profiles.active.image=active -vasc.entry.pagila_orders_customers_customerid_list.image=pagila_orders_customers_customerid_list -vasc.entry.VascEntry.vascAdminList.image=vascAdminList -vasc.entry.alef_dg2_profiles.run_date.description=run_date -vasc.entry.alef_dg2_parser.class_name.description=class_name -vasc.entry.VascEntryFieldLink.editBlank.description=editBlank -vasc.entry.alef_dg2_parser._id.description=_id -vasc.entry.VascListOptionLink.description.image=description -vasc.entry.pagila_products.price.description=price -vasc.entry.alef_app_settings.listImage=resources/images/models/alef_app_settings.png -vasc.entry.pagila_customers.editImage=resources/images/models/pagila_customers.png -vasc.entry.pagila_cust_hist.deleteImage=resources/images/models/pagila_cust_hist.png -vasc.entry.pagila_orders_customers_customerid_list.address1.image=address1 -vasc.entry.dg2_smiles.listDescription=dg2_smiles -vasc.entry.pagila_orderlines.orderid.description=orderid -vasc.entry.alef_dg2_smiles.group.name=group -vasc.entry.pagila_customers.creditcard.description=creditcard -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.age.image=age -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.creditcardtype.description=creditcardtype -vasc.entry.VascEntryFieldLink.vascEntryFieldValue.image=vascEntryFieldValue -vasc.entry.pagila_customers_orders_customerid_link.totalamount.name=totalamount -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.username.description=username -vasc.entry.alef_dg2_profiles.last_seen_date.image=last_seen_date -vasc.entry.alef_dg2_stats.friends.name=friends -vasc.entry.alef_dg2_smiles.profile_type.image=profile_type -vasc.entry.pagila_customers_orders_customerid_link_customers_customerid_list.region.image=region -vasc.entry.VascListOptionLink.image.image=image -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.creditcardexpiration.name=creditcardexpiration -vasc.entry.pagila_inventory.deleteImage=resources/images/models/pagila_inventory.png -vasc.entry.alef_dg2_run.createDescription=alef_dg2_run -vasc.entry.pagila_orders_orderlines_orderid_link_orders_orderid_list.tax.description=tax -vasc.entry.pagila_customers_cust_hist_customerid_link.editDescription=pagila_customers_cust_hist_customerid_link -vasc.entry.pagila_orders.orderdate.name=orderdate -vasc.entry.alef_dg2_profiles.createDescription=alef_dg2_profiles -vasc.entry.alef_dg2_run.total_profiles.image=total_profiles -vasc.entry.pagila_orderlines_orders_orderid_list.orderdate.description=orderdate -vasc.entry.pagila_customers_orders_customerid_link.deleteDescription=pagila_customers_orders_customerid_link -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.city.image=city -vasc.entry.pagila_cust_hist_customers_customerid_list.createImage=resources/images/models/pagila_cust_hist_customers_customerid_list.png -vasc.entry.pagila_orders_orderlines_orderid_link.orderlineid.description=orderlineid -vasc.entry.VascEntry.image.image=image -vasc.entry.dg2_smiles.group.description=group -vasc.entry.pagila_orders_orderlines_orderid_link_orders_orderid_list.orderdate.image=orderdate -vasc.entry.alef_dg2_run.start_date.description=start_date -vasc.entry.VascEntryFieldLink.defaultValue.name=defaultValue -vasc.entry.dg2_smiles.cron_type.image=cron_type -vasc.entry.pagila_customers_cust_hist_customerid_link_customers_customerid_list.password.description=password -vasc.entry.alef_dg2_stats.buddies.description=buddies -vasc.entry.VascLinkEntryLink.listImage=resources/images/models/VascLinkEntryLink.png -vasc.entry.pagila_orders_orderlines_orderid_link_orders_orderid_list.orderid.description=orderid -vasc.entry.alef_dg2_stats.date.image=date -vasc.entry.alef_dg2_parser.image=alef_dg2_parser -vasc.entry.alef_dg2_stats.deleteImage=resources/images/models/alef_dg2_stats.png -vasc.entry.VascEntryFieldSetLink.helpId.image=helpId -vasc.entry.pagila_orders_customers_customerid_list.creditcardexpiration.description=creditcardexpiration -vasc.entry.pagila_cust_hist_customers_customerid_list.region.name=region diff --git a/vasc-demo/vasc-demo-tech/vasc-demo-tech-ui/pom.xml b/vasc-demo/vasc-demo-tech/vasc-demo-tech-ui/pom.xml deleted file mode 100644 index bcc855a..0000000 --- a/vasc-demo/vasc-demo-tech/vasc-demo-tech-ui/pom.xml +++ /dev/null @@ -1,176 +0,0 @@ - - 4.0.0 - - vasc-demo-tech - net.forwardfire.vasc.demo - 0.3.5-SNAPSHOT - .. - - vasc-demo-tech-ui - vasc-demo-tech-ui - vasc-demo-tech-ui - - - org.x4o - x4o-core - ${x4o-core.version} - - - javax.el - el-api - - - - - net.forwardfire.vasc.demo - vasc-demo-tech-core - ${project.version} - - - net.forwardfire.vasc.demo - vasc-demo-tech-editor - ${project.version} - - - net.forwardfire.vasc.demo - vasc-demo-tech-web - ${project.version} - jar - - - net.forwardfire.vasc - vasc-core - ${project.version} - - - net.forwardfire.vasc - vasc-frontend-swing - ${project.version} - - - net.forwardfire.vasc - vasc-frontend-web-jsf - ${project.version} - - - net.forwardfire.vasc - vasc-frontend-web-export - ${project.version} - - - net.forwardfire.vasc - vasc-frontend-cxf-server - ${project.version} - - - net.forwardfire.vasc - vasc-backend-ldap - ${project.version} - - - net.forwardfire.vasc - vasc-backend-mongodb - ${project.version} - - - net.forwardfire.vasc - vasc-backend-metamodel - ${project.version} - - - net.forwardfire.vasc - vasc-backend-jdbc - ${project.version} - - - net.forwardfire.vasc.lib - vasc-lib-i18n - ${project.version} - - - net.forwardfire.vasc.test - vasc-test-i18n - ${project.version} - - - org.jdesktop.bsaf - bsaf - ${bsaf.version} - - - jnlp - javax.jnlp - - - - - postgresql - postgresql - 9.1-901.jdbc4 - - - mysql - mysql-connector-java - 5.1.19 - - - org.slf4j - slf4j-jdk14 - 1.6.4 - - - - org.apache.tomcat.embed - tomcat-embed-core - 7.0.22 - - - org.apache.tomcat.embed - tomcat-embed-jasper - 7.0.22 - - - org.apache.tomcat - tomcat-jasper - 7.0.22 - - - - com.sun.facelets - jsf-facelets - 1.1.15.B1 - - - javax.servlet - jstl - 1.2 - - - javax.faces - jsf-api - 1.2_12 - - - javax.faces - jsf-impl - 1.2_12 - - - - - org.richfaces.framework - richfaces-api - 3.3.3-SNAPSHOT - - - org.richfaces.framework - richfaces-impl - 3.3.3-SNAPSHOT - - - org.richfaces.ui - richfaces-ui - 3.3.3-SNAPSHOT - - - \ No newline at end of file diff --git a/vasc-demo/vasc-demo-tech/vasc-demo-tech-ui/src/main/java/net/forwardfire/vasc/demo/tech/ui/DeployManager.java b/vasc-demo/vasc-demo-tech/vasc-demo-tech-ui/src/main/java/net/forwardfire/vasc/demo/tech/ui/DeployManager.java deleted file mode 100644 index 8de95b2..0000000 --- a/vasc-demo/vasc-demo-tech/vasc-demo-tech-ui/src/main/java/net/forwardfire/vasc/demo/tech/ui/DeployManager.java +++ /dev/null @@ -1,158 +0,0 @@ -package net.forwardfire.vasc.demo.tech.ui; - -import java.io.File; -import java.io.FileInputStream; -import java.io.IOException; -import java.math.BigInteger; -import java.security.MessageDigest; -import java.security.NoSuchAlgorithmException; -import java.util.HashMap; -import java.util.Map; -import java.util.logging.Level; -import java.util.logging.Logger; - -import net.forwardfire.vasc.demo.tech.ui.components.JMainPanel; - -public class DeployManager { - - private Logger logger = null; - private File deployDir = null; - private int scanPeriod = 3; - private AutoDeployManager autoDeployManager = null; - private Map fileCheckSums = null; - - public DeployManager() { - logger = Logger.getLogger(DeployManager.class.getName()); - fileCheckSums = new HashMap(20); - } - - public void start() { - if (deployDir==null) { - throw new NullPointerException("Can't deploy with null deployDir."); - } - if (deployDir.exists()==false) { - throw new IllegalStateException("Can't deploy with non-existing deployDir."); - } - if (deployDir.isDirectory()==false) { - throw new IllegalStateException("Can't deploy with non-directory deployDir."); - } - Thread scanThread = new Thread(new AutoDeployManager()); - scanThread.setName("hotdeploy-scanner"); - scanThread.start(); - } - - public void stop() { - if (autoDeployManager==null) { - return; - } - autoDeployManager.stop(); - } - - - public String createMd5Sum(File file) throws IOException, NoSuchAlgorithmException { - FileInputStream in = new FileInputStream(file.getAbsolutePath()); - try { - byte[] b = new byte[1024 * 64]; - int num = 0; - MessageDigest md = MessageDigest.getInstance("MD5"); - while ((num = in.read(b)) != -1) { - md.update(b, 0, num); - } - byte[] hashBytes = md.digest(); - BigInteger hashResult = new BigInteger(hashBytes); - String hashString = hashResult.toString(16); - return hashString; - } finally { - if (in != null) { - in.close(); - } - } - } - - - private void hotDeployVasc() throws NoSuchAlgorithmException, IOException { - boolean deployed = false; - for (File file:deployDir.listFiles()) { - if (file.canRead()==false) { - continue; - } - if (file.getName().endsWith("xml")==false) { - continue; - } - String md5File = createMd5Sum(file); - String md5Deploy = fileCheckSums.get(file); - if (md5Deploy!=null && md5Deploy.equals(md5File)) { - continue; - } - fileCheckSums.put(file, md5File); - deployed = true; - TechUI.getInstance().getVascManager().openFile(file); - } - if (deployed) { - ((JMainPanel)TechUI.getInstance().getMainView().getComponent()).rebuildTree(); - } - } - - protected class AutoDeployManager implements Runnable { - private volatile boolean run = true; - public void run() { - try { - Thread.sleep(5000); // let gui+tomcat start - logger.info("AutoDeployManager started"); - while(run) { - try { - hotDeployVasc(); - } catch (Exception e) { - logger.log(Level.WARNING,"Error while depoying: "+e.getMessage(),e); - } - - if (scanPeriod == 0) { - scanPeriod = 1; - } - try { - Thread.sleep(1000*scanPeriod); - } catch (InterruptedException ie) { - logger.info("Interrupted sleep"); - break; - } - } - } catch (Exception e) { - logger.log(Level.SEVERE,"Error in run: "+e.getMessage(),e); - } finally { - logger.info("AutoDeployManager stoped"); - } - } - public void stop() { - run = false; - this.notify(); - } - } - - /** - * @return the deployDir - */ - public File getDeployDir() { - return deployDir; - } - - /** - * @param deployDir the deployDir to set - */ - public void setDeployDir(File deployDir) { - this.deployDir = deployDir; - } - - /** - * @return the scanPeriod - */ - public int getScanPeriod() { - return scanPeriod; - } - - /** - * @param scanPeriod the scanPeriod to set - */ - public void setScanPeriod(int scanPeriod) { - this.scanPeriod = scanPeriod; - } -} diff --git a/vasc-demo/vasc-demo-tech/vasc-demo-tech-ui/src/main/java/net/forwardfire/vasc/demo/tech/ui/PatternLogFormatter.java b/vasc-demo/vasc-demo-tech/vasc-demo-tech-ui/src/main/java/net/forwardfire/vasc/demo/tech/ui/PatternLogFormatter.java deleted file mode 100644 index 996cc82..0000000 --- a/vasc-demo/vasc-demo-tech/vasc-demo-tech-ui/src/main/java/net/forwardfire/vasc/demo/tech/ui/PatternLogFormatter.java +++ /dev/null @@ -1,134 +0,0 @@ -/* - * Copyright (c) 2011, Willem Cazander - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without modification, are permitted provided - * that the following conditions are met: - * - * * Redistributions of source code must retain the above copyright notice, this list of conditions and the - * following disclaimer. - * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and - * the following disclaimer in the documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY - * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL - * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT - * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -package net.forwardfire.vasc.demo.tech.ui; - -import java.io.PrintWriter; -import java.io.StringWriter; -import java.text.DateFormat; -import java.text.MessageFormat; -import java.text.SimpleDateFormat; -import java.util.Date; -import java.util.logging.Formatter; -import java.util.logging.LogManager; -import java.util.logging.LogRecord; - -/** - * PatternLogFormatter Formats the messages of the logger. - * - * @author Willem Cazander - */ -public class PatternLogFormatter extends Formatter { - - private final String lineSeperator; - private final MessageFormat logFormat; - private final MessageFormat logErrorFormat; - private final DateFormat dateFormat; - static private final String DEFAULT_LOG_FORMAT = "%d %l [%C.%s] %m%r"; - static private final String DEFAULT_LOG_ERROR_FORMAT = "%d %l [%C.%s] %m%r%S"; - static private final String DEFAULT_DATE_FORMAT = "yyyy-MM-dd HH:mm:ss"; - static private final String[] LOG_OPTIONS = { - "%d", /* Formated date string */ - "%l", /* Logger level */ - "%n", /* Logger name */ - "%m", /* Logger message */ - "%t", /* Thread ID */ - "%s", /* Source method */ - "%c", /* Source Class */ - "%C", /* Source Class Simple */ - "%S", /* Stacktrace */ - "%r", /* Return/newline */ - }; - - public PatternLogFormatter() { - String logFormatStr = LogManager.getLogManager().getProperty(getClass().getName()+".log_pattern"); - String logFormatErrorStr = LogManager.getLogManager().getProperty(getClass().getName()+".log_error_pattern"); - String logDateStr = LogManager.getLogManager().getProperty(getClass().getName()+".date_pattern"); - - if (logDateStr!=null && logDateStr.isEmpty()==false) { - dateFormat = new SimpleDateFormat(logDateStr); - } else { - dateFormat = new SimpleDateFormat(DEFAULT_DATE_FORMAT); - } - - if (logFormatStr==null || logFormatStr.isEmpty()) { - logFormatStr = DEFAULT_LOG_FORMAT; - } - if (logFormatStr.contains("{") || logFormatStr.contains("}")) { - throw new IllegalArgumentException("Curly braces not allowed in log pattern."); - } - for (int i=0;i 0 && dotIdx < logFields[6].length()) { - logFields[7] = logFields[6].substring(dotIdx); - } else { - logFields[7] = logFields[6]; - } - logFields[8] = record.getThrown()!=null ? createStackTrace(record.getThrown()) : ""; - logFields[9] = lineSeperator; - synchronized (logFormat) { - logFields[0] = dateFormat.format(new Date(record.getMillis())); // dateFormat is guarded by the logFormat lock. - if (record.getThrown()==null) { - return logFormat.format(logFields); - } else { - return logErrorFormat.format(logFields); - } - } - } - - private String createStackTrace(Throwable t) { - StringWriter buf = new StringWriter(); - t.printStackTrace(new PrintWriter(buf)); - return buf.getBuffer().toString(); - } -} diff --git a/vasc-demo/vasc-demo-tech/vasc-demo-tech-ui/src/main/java/net/forwardfire/vasc/demo/tech/ui/TechUI.java b/vasc-demo/vasc-demo-tech/vasc-demo-tech-ui/src/main/java/net/forwardfire/vasc/demo/tech/ui/TechUI.java deleted file mode 100644 index 37aaa57..0000000 --- a/vasc-demo/vasc-demo-tech/vasc-demo-tech-ui/src/main/java/net/forwardfire/vasc/demo/tech/ui/TechUI.java +++ /dev/null @@ -1,273 +0,0 @@ -/* - * Copyright 2007-2012 forwardfire.net All rights reserved. - * - * Redistribution and use in source and binary forms, with or without modification, are permitted provided - * that the following conditions are met: - * - * * Redistributions of source code must retain the above copyright notice, this list of conditions and the - * following disclaimer. - * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and - * the following disclaimer in the documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY - * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL - * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT - * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -package net.forwardfire.vasc.demo.tech.ui; - -import java.awt.Dimension; -import java.io.File; -import java.io.FileInputStream; -import java.io.IOException; -import java.io.InputStream; -import java.io.PrintWriter; -import java.io.StringWriter; -import java.util.EventObject; -import java.util.Properties; -import java.util.logging.FileHandler; -import java.util.logging.Handler; -import java.util.logging.LogManager; -import java.util.logging.Logger; - -import javax.swing.JOptionPane; - -import org.apache.juli.logging.LogFactory; -import org.jdesktop.application.Application; -import org.jdesktop.application.FrameView; -import org.jdesktop.application.SingleFrameApplication; - -import net.forwardfire.vasc.core.VascController; -import net.forwardfire.vasc.demo.tech.core.DemoVascManager; -import net.forwardfire.vasc.demo.tech.ui.components.JMainPanel; -import net.forwardfire.vasc.demo.tech.ui.components.JMainPanelMenuBar; - -public class TechUI extends SingleFrameApplication { - - private Logger logger = null; - private boolean showGui = false; - private DemoVascManager vascManager = null; - private TomcatManager tomcatManager = null; - private DeployManager deployManager = null; - - static public void main(String[] args) { - Application.launch(TechUI.class, args); - } - - /** - * Config logging and setup logger object. - */ - private void setupLogging() { - - LogFactory.getLog(TechUI.class); // init JULI so reconfig is done once. - - File logConfig = new File("config/logging.properties"); - if (logConfig.exists()) { - InputStream in = null; - try { - in = new FileInputStream(logConfig); - LogManager.getLogManager().readConfiguration(in); - } catch (Exception e) { - e.printStackTrace(); - } finally { - if (in!=null) { - try { - in.close(); - } catch (IOException e) { - e.printStackTrace(); - } - } - } - } else { - Logger rootLogger = Logger.getAnonymousLogger(); - while (rootLogger.getParent()!=null) { - rootLogger = rootLogger.getParent(); - } - for (Handler h:rootLogger.getHandlers()) { - h.setFormatter(new PatternLogFormatter()); - } - } - logger = Logger.getLogger(TechUI.class.getName()); - } - - class ShutdownManager implements ExitListener { - public boolean canExit(EventObject e) { - return true; - } - public void willExit(EventObject event) { - logger.info("Shutdown requested."); - long startTime = System.currentTimeMillis(); - deployManager.stop(); - try { - tomcatManager.stop(); - } catch (Exception e) { - e.printStackTrace(); - } - vascManager.stop(); - long stopTime = System.currentTimeMillis(); - logger.info("TechUI stopped in "+(stopTime-startTime)+" ms."); - } - } - - - - protected void initialize(String[] argu) { - long startTime = System.currentTimeMillis(); - - // First parse user program arguments. - String serverHost = null; - String serverPort = null; - String contextPath = null; - boolean editor = false; - showGui = false; - - File propFile = new File("config/server.properties"); - if (propFile.exists()) { - - InputStream in = null; - try { - in = new FileInputStream(propFile); - Properties p = new Properties(); - p.load(in); - serverHost = p.getProperty("host"); - serverPort = p.getProperty("port"); - contextPath = p.getProperty("contextPath"); - if ("true".equalsIgnoreCase(p.getProperty("gui"))) { - showGui = true; - } else { - showGui = false; - } - if ("true".equalsIgnoreCase(p.getProperty("editor"))) { - editor = true; - } else { - editor = false; - } - - } catch (Exception e) { - e.printStackTrace(); - } finally { - if (in!=null) { - try { - in.close(); - } catch (IOException e) { - } - } - } - } else { - serverHost = "localhost"; - serverPort = "8899"; - } - - - setupLogging(); - logger.info("Starting Vasc-Demo-Tech-UI."); - - File deployDir = new File("deploy"); - File workDir = new File("workdir"); - if (isMavenRun()) { - if (deployDir.exists()==false) { - deployDir.mkdir(); - } - if (workDir.exists()==false) { - workDir.mkdir(); - } - } - - vascManager = new DemoVascManager(); - vascManager.start(); - if (editor) { - vascManager.startEditor(); - } - - deployManager = new DeployManager(); - deployManager.setDeployDir(deployDir); - deployManager.start(); - - tomcatManager = new TomcatManager(); - tomcatManager.setWorkDir(workDir); - tomcatManager.setVascController(vascManager.getVascController()); - if (serverHost!=null) { - tomcatManager.setHostname(serverHost); - } - if (serverPort!=null) { - tomcatManager.setPort(new Integer(serverPort)); - } - if (contextPath!=null) { - tomcatManager.setContextPath(contextPath); - } - - Thread t = new Thread(new Runnable() { - public void run() { - try { - Thread.sleep(2000); // let gui come up. - tomcatManager.start(); - } catch (Exception e) { - e.printStackTrace(); - } - } - }); - t.start(); - - long stopTime = System.currentTimeMillis(); - logger.info("TechUI initialized in "+(stopTime-startTime)+" ms."); - } - - protected void startup() { - try { - long startTime = System.currentTimeMillis(); - addExitListener(new ShutdownManager()); - - if (showGui) { - FrameView mainView = getMainView(); - mainView.setComponent(new JMainPanel()); - mainView.setMenuBar(new JMainPanelMenuBar()); - mainView.getFrame().setMinimumSize(new Dimension(1024-64,768-128)); - show(mainView); - } else { - Thread t = new Thread(new Runnable() { - public void run() { - while(true) - try { - Thread.sleep(3333); - } catch (InterruptedException e) { - } - } - }); - t.start(); - } - - long stopTime = System.currentTimeMillis(); - logger.info("TechUI startup in "+(stopTime-startTime)+" ms total startup in "+(stopTime-startTime)+" ms."); - } catch (Exception e) { - StringWriter sw = new StringWriter(); - e.printStackTrace(new PrintWriter(sw)); - JOptionPane.showMessageDialog(null, "Fatal Startup Error:\n"+sw.getBuffer().toString(), "Vasc Demo Tech Startup Error", JOptionPane.ERROR_MESSAGE); - e.printStackTrace(); - System.exit(1); - } - } - - - - static public TechUI getInstance() { - return getInstance(TechUI.class); - } - - public DemoVascManager getVascManager() { - return vascManager; - } - - public VascController getVascController() { - return vascManager.getVascController(); - } - - public boolean isMavenRun() { - return System.getProperty("java.class.path").contains("classes"); - } -} diff --git a/vasc-demo/vasc-demo-tech/vasc-demo-tech-ui/src/main/java/net/forwardfire/vasc/demo/tech/ui/TomcatManager.java b/vasc-demo/vasc-demo-tech/vasc-demo-tech-ui/src/main/java/net/forwardfire/vasc/demo/tech/ui/TomcatManager.java deleted file mode 100644 index b172f88..0000000 --- a/vasc-demo/vasc-demo-tech/vasc-demo-tech-ui/src/main/java/net/forwardfire/vasc/demo/tech/ui/TomcatManager.java +++ /dev/null @@ -1,174 +0,0 @@ -package net.forwardfire.vasc.demo.tech.ui; - -import java.io.File; -import java.io.FileOutputStream; -import java.io.InputStream; -import java.util.Enumeration; -import java.util.jar.JarEntry; -import java.util.jar.JarFile; -import java.util.logging.Logger; - -import net.forwardfire.vasc.core.VascController; - -import org.apache.catalina.startup.Bootstrap; -import org.apache.catalina.startup.Tomcat; -import org.apache.catalina.valves.AccessLogValve; - -public class TomcatManager { - - private Logger logger = null; - private Tomcat tomcat = null; - private VascController vascController = null; - private String hostname = null; - private Integer port = null; - private File workDir = null; - private String contextPath = null; - - public TomcatManager() { - logger = Logger.getLogger(TomcatManager.class.getName()); - hostname = "localhost"; - port = 8899; - contextPath = "/demo"; - } - - public void start() throws Exception { - if (workDir==null) { - throw new NullPointerException("Can't start tomcat with null workDir."); - } - Tomcat tomcat = new Tomcat(); - tomcat.setBaseDir(workDir.getAbsolutePath()); - tomcat.setPort(getPort()); - tomcat.setHostname(getHostname()); - - tomcat.init(); - - if (TechUI.getInstance().isMavenRun()==false) { - AccessLogValve accessLog = new AccessLogValve(); - accessLog.setDirectory("../logs"); - accessLog.setSuffix(".log"); - accessLog.setPattern("%h %l %u %t "%r" %s %b"); - tomcat.getHost().getPipeline().addValve(accessLog); - } - - if (TechUI.getInstance().isMavenRun()) { - String webappPathLocation = "../vasc-demo-tech-web/src/main/webapp/"; - String deployPath = new File(webappPathLocation).getAbsolutePath(); - logger.info("Deploy demo app from workspace path: "+deployPath); - tomcat.addWebapp(getContextPath(),deployPath); - } else { - - File techWarFile = null; - for (File file:new File("lib").listFiles()) { - if (file.getName().contains("vasc-demo-tech-web")) { - techWarFile = file; - break; - } - } - if (techWarFile==null) { - throw new NullPointerException("Could not locate war file in lib directory."); - } - File destDir = new File(workDir,"tomcat.wars"+File.separator+techWarFile.getName()); - if (destDir.exists()==false) { - destDir.mkdirs(); - JarFile jar = new JarFile(techWarFile); - Enumeration jars = jar.entries(); - while (jars.hasMoreElements()) { - java.util.jar.JarEntry file = jars.nextElement(); - java.io.File f = new java.io.File(destDir+File.separator+file.getName()); - if (file.isDirectory()) { - f.mkdir(); - continue; - } - InputStream is = jar.getInputStream(file); - FileOutputStream fos = new FileOutputStream(f); - while (is.available() > 0) { - fos.write(is.read()); // slow copy - } - fos.close(); - is.close(); - } - } - String deployPath = destDir.getAbsolutePath(); - logger.info("Deploy war path: "+deployPath); - tomcat.addWebapp(getContextPath(),deployPath); - } - tomcat.start(); - } - - public void stop() throws Exception { - if (tomcat==null) { - return; - } - tomcat.stop(); - } - - /** - * @return the vascController - */ - public VascController getVascController() { - return vascController; - } - - /** - * @param vascController the vascController to set - */ - public void setVascController(VascController vascController) { - this.vascController = vascController; - } - - /** - * @return the hostname - */ - public String getHostname() { - return hostname; - } - - /** - * @param hostname the hostname to set - */ - public void setHostname(String hostname) { - this.hostname = hostname; - } - - /** - * @return the port - */ - public Integer getPort() { - return port; - } - - /** - * @param port the port to set - */ - public void setPort(Integer port) { - this.port = port; - } - - /** - * @return the workDir - */ - public File getWorkDir() { - return workDir; - } - - /** - * @param workDir the workDir to set - */ - public void setWorkDir(File workDir) { - this.workDir = workDir; - } - - /** - * @return the contextPath - */ - public String getContextPath() { - return contextPath; - } - - /** - * @param contextPath the contextPath to set - */ - public void setContextPath(String contextPath) { - this.contextPath = contextPath; - } -} diff --git a/vasc-demo/vasc-demo-tech/vasc-demo-tech-ui/src/main/java/net/forwardfire/vasc/demo/tech/ui/actions/JDialogMetaCsv.java b/vasc-demo/vasc-demo-tech/vasc-demo-tech-ui/src/main/java/net/forwardfire/vasc/demo/tech/ui/actions/JDialogMetaCsv.java deleted file mode 100644 index 78306e6..0000000 --- a/vasc-demo/vasc-demo-tech/vasc-demo-tech-ui/src/main/java/net/forwardfire/vasc/demo/tech/ui/actions/JDialogMetaCsv.java +++ /dev/null @@ -1,85 +0,0 @@ -package net.forwardfire.vasc.demo.tech.ui.actions; - -import java.awt.BorderLayout; -import java.awt.Dimension; -import java.awt.Frame; -import java.awt.event.ActionEvent; -import java.awt.event.ActionListener; -import java.awt.event.WindowAdapter; -import java.awt.event.WindowEvent; -import java.io.File; - -import javax.swing.BorderFactory; -import javax.swing.JButton; -import javax.swing.JDialog; -import javax.swing.JFileChooser; -import javax.swing.JLabel; -import javax.swing.JPanel; - -import net.forwardfire.vasc.backend.metamodel.MetaModelDataContextCsv; -import net.forwardfire.vasc.backend.metamodel.MetaModelSchemaAutoEntry; -import net.forwardfire.vasc.demo.tech.ui.TechUI; -import net.forwardfire.vasc.demo.tech.ui.components.JMainPanel; - -public class JDialogMetaCsv extends JDialog implements ActionListener { - - private static final long serialVersionUID = -8638394652416472734L; - - public JDialogMetaCsv(Frame aFrame) { - setTitle("Add csv file"); - setMinimumSize(new Dimension(640,480)); - setPreferredSize(new Dimension(999,666)); - setDefaultCloseOperation(DO_NOTHING_ON_CLOSE); - addWindowListener(new WindowAdapter() { - public void windowClosing(WindowEvent we) { - clearAndHide(); - } - }); - JPanel mainPanel = new JPanel(); - mainPanel.setBorder(BorderFactory.createEmptyBorder(5,5,5,5)); - mainPanel.setLayout(new BorderLayout()); - //mainPanel.add(createPanelTop(),BorderLayout.NORTH); - mainPanel.add(createPanelCenter(),BorderLayout.CENTER); - //mainPanel.add(createPanelBottom(),BorderLayout.SOUTH); - getContentPane().add(mainPanel); - pack(); - setLocationRelativeTo(aFrame); - } - - public void clearAndHide() { - setVisible(false); - } - - public JPanel createPanelCenter() { - JPanel result = new JPanel(); - //result.setLayout(new SpringLayout()); - - result.add(new JLabel("File")); - JButton fileButton = new JButton("Open"); - fileButton.addActionListener(new ActionListener() { - public void actionPerformed(ActionEvent e) { - final JFileChooser fc = new JFileChooser(); - int returnVal = fc.showOpenDialog((JButton)e.getSource()); - if (returnVal == JFileChooser.APPROVE_OPTION) { - File file = fc.getSelectedFile(); - MetaModelDataContextCsv ds = new MetaModelDataContextCsv(); - ds.setFile(file.getAbsolutePath()); - - MetaModelSchemaAutoEntry schema = new MetaModelSchemaAutoEntry(); - schema.setDataContextProvider(ds); - schema.setEntryPrefix(file.getName()); - schema.autoCreateEntries(TechUI.getInstance().getVascManager().getVascController()); - ((JMainPanel)TechUI.getInstance().getMainView().getComponent()).rebuildTree(); - } - } - }); - result.add(fileButton); - - return result; - } - - public void actionPerformed(ActionEvent arg0) { - // TODO Auto-generated method stub - - } -} diff --git a/vasc-demo/vasc-demo-tech/vasc-demo-tech-ui/src/main/java/net/forwardfire/vasc/demo/tech/ui/actions/JDialogMetaJdbc.java b/vasc-demo/vasc-demo-tech/vasc-demo-tech-ui/src/main/java/net/forwardfire/vasc/demo/tech/ui/actions/JDialogMetaJdbc.java deleted file mode 100644 index d2fac82..0000000 --- a/vasc-demo/vasc-demo-tech/vasc-demo-tech-ui/src/main/java/net/forwardfire/vasc/demo/tech/ui/actions/JDialogMetaJdbc.java +++ /dev/null @@ -1,109 +0,0 @@ -package net.forwardfire.vasc.demo.tech.ui.actions; - -import java.awt.BorderLayout; -import java.awt.Dimension; -import java.awt.Frame; -import java.awt.event.ActionEvent; -import java.awt.event.ActionListener; -import java.awt.event.WindowAdapter; -import java.awt.event.WindowEvent; - -import javax.swing.BorderFactory; -import javax.swing.JButton; -import javax.swing.JComboBox; -import javax.swing.JDialog; -import javax.swing.JLabel; -import javax.swing.JPanel; -import javax.swing.JTextField; -import javax.swing.SpringLayout; - -import net.forwardfire.vasc.backend.metamodel.MetaModelDataContextJdbc; -import net.forwardfire.vasc.backend.metamodel.MetaModelSchemaAutoEntry; -import net.forwardfire.vasc.demo.tech.ui.TechUI; -import net.forwardfire.vasc.demo.tech.ui.components.JMainPanel; -import net.forwardfire.vasc.demo.tech.ui.components.SpringLayoutGrid; - -public class JDialogMetaJdbc extends JDialog implements ActionListener { - - private static final long serialVersionUID = -8638394652416472734L; - private JComboBox driverClassBox = null; - private JTextField connectUrlField = null; - private JTextField usernameField = null; - private JTextField passwordField = null; - - - public JDialogMetaJdbc(Frame aFrame) { - setTitle("Add jdbc"); - setMinimumSize(new Dimension(300,200)); - setPreferredSize(new Dimension(500,400)); - setDefaultCloseOperation(DO_NOTHING_ON_CLOSE); - addWindowListener(new WindowAdapter() { - public void windowClosing(WindowEvent we) { - clearAndHide(); - } - }); - JPanel mainPanel = new JPanel(); - mainPanel.setBorder(BorderFactory.createEmptyBorder(5,5,5,5)); - mainPanel.setLayout(new BorderLayout()); - //mainPanel.add(createPanelTop(),BorderLayout.NORTH); - mainPanel.add(createPanelCenter(),BorderLayout.CENTER); - //mainPanel.add(createPanelBottom(),BorderLayout.SOUTH); - getContentPane().add(mainPanel); - pack(); - setLocationRelativeTo(aFrame); - } - - public void clearAndHide() { - setVisible(false); - } - - public JPanel createPanelCenter() { - JPanel result = new JPanel(); - result.setLayout(new SpringLayout()); - - result.add(new JLabel("Driver")); - driverClassBox = new JComboBox(new String[] {"org.postgresql.Driver","com.mysql.jdbc.Driver","org.apache.derby.jdbc.EmbeddedDriver","org.hsqldb.jdbcDriver","org.sqlite.JDBC"}); - driverClassBox.setSelectedIndex(0); - result.add(driverClassBox); - - result.add(new JLabel("Url")); - connectUrlField = new JTextField("jdbc:postgresql://localhost/dellstore2"); - result.add(connectUrlField); - - result.add(new JLabel("Username")); - usernameField = new JTextField("postgres"); - result.add(usernameField); - - result.add(new JLabel("Password")); - passwordField = new JTextField("postgresql"); - result.add(passwordField); - - JButton fileButton = new JButton("Connect"); - fileButton.addActionListener(new ActionListener() { - public void actionPerformed(ActionEvent e) { - String url = connectUrlField.getText(); - MetaModelDataContextJdbc ds = new MetaModelDataContextJdbc(); - ds.setDriverClass((String)driverClassBox.getSelectedItem()); - ds.setConnectUrl(url); - ds.setUsername(usernameField.getText()); - ds.setPassword(passwordField.getText()); - String dbName = url.substring(url.lastIndexOf('/')+1,url.length()); - MetaModelSchemaAutoEntry schema = new MetaModelSchemaAutoEntry(); - schema.setDataContextProvider(ds); - schema.setEntryPrefix(dbName); - schema.autoCreateEntries(TechUI.getInstance().getVascManager().getVascController()); - ((JMainPanel)TechUI.getInstance().getMainView().getComponent()).rebuildTree(); - } - }); - result.add(fileButton); - result.add(new JLabel("")); - - SpringLayoutGrid.makeCompactGrid(result, 5, 2); - return result; - } - - public void actionPerformed(ActionEvent arg0) { - // TODO Auto-generated method stub - - } -} diff --git a/vasc-demo/vasc-demo-tech/vasc-demo-tech-ui/src/main/java/net/forwardfire/vasc/demo/tech/ui/actions/JDialogMetaMongodb.java b/vasc-demo/vasc-demo-tech/vasc-demo-tech-ui/src/main/java/net/forwardfire/vasc/demo/tech/ui/actions/JDialogMetaMongodb.java deleted file mode 100644 index 9623123..0000000 --- a/vasc-demo/vasc-demo-tech/vasc-demo-tech-ui/src/main/java/net/forwardfire/vasc/demo/tech/ui/actions/JDialogMetaMongodb.java +++ /dev/null @@ -1,101 +0,0 @@ -package net.forwardfire.vasc.demo.tech.ui.actions; - -import java.awt.BorderLayout; -import java.awt.Dimension; -import java.awt.Frame; -import java.awt.event.ActionEvent; -import java.awt.event.ActionListener; -import java.awt.event.WindowAdapter; -import java.awt.event.WindowEvent; - -import javax.swing.BorderFactory; -import javax.swing.JButton; -import javax.swing.JDialog; -import javax.swing.JLabel; -import javax.swing.JPanel; -import javax.swing.JTextField; -import javax.swing.SpringLayout; - -import net.forwardfire.vasc.backend.metamodel.MetaModelDataContextMongodb; -import net.forwardfire.vasc.backend.metamodel.MetaModelSchemaAutoEntry; -import net.forwardfire.vasc.demo.tech.ui.TechUI; -import net.forwardfire.vasc.demo.tech.ui.components.JMainPanel; -import net.forwardfire.vasc.demo.tech.ui.components.SpringLayoutGrid; - -import org.eobjects.metamodel.DataContext; - -public class JDialogMetaMongodb extends JDialog implements ActionListener { - - private static final long serialVersionUID = -8638394652416472734L; - private JTextField hostNameField = null; - private JTextField hostPortField = null; - private JTextField databaseField = null; - - public JDialogMetaMongodb(Frame aFrame) { - setTitle("Add mongodb"); - setMinimumSize(new Dimension(300,200)); - setPreferredSize(new Dimension(400,300)); - setDefaultCloseOperation(DO_NOTHING_ON_CLOSE); - addWindowListener(new WindowAdapter() { - public void windowClosing(WindowEvent we) { - clearAndHide(); - } - }); - JPanel mainPanel = new JPanel(); - mainPanel.setBorder(BorderFactory.createEmptyBorder(5,5,5,5)); - mainPanel.setLayout(new BorderLayout()); - //mainPanel.add(createPanelTop(),BorderLayout.NORTH); - mainPanel.add(createPanelCenter(),BorderLayout.CENTER); - //mainPanel.add(createPanelBottom(),BorderLayout.SOUTH); - getContentPane().add(mainPanel); - pack(); - setLocationRelativeTo(aFrame); - } - - public void clearAndHide() { - setVisible(false); - } - - public JPanel createPanelCenter() { - JPanel result = new JPanel(); - result.setLayout(new SpringLayout()); - - result.add(new JLabel("Hostname")); - hostNameField = new JTextField("localhost"); - result.add(hostNameField); - - result.add(new JLabel("Port")); - hostPortField = new JTextField("27017"); - result.add(hostPortField); - - result.add(new JLabel("Database")); - databaseField = new JTextField("lefiona"); - result.add(databaseField); - - JButton fileButton = new JButton("Connect"); - fileButton.addActionListener(new ActionListener() { - public void actionPerformed(ActionEvent e) { - MetaModelDataContextMongodb ds = new MetaModelDataContextMongodb(); - ds.setHostname(hostNameField.getText()); - ds.setPort(new Integer(hostPortField.getText())); - ds.setDatabase(databaseField.getText()); - - MetaModelSchemaAutoEntry schema = new MetaModelSchemaAutoEntry(); - schema.setDataContextProvider(ds); - schema.setEntryPrefix(ds.getDatabase()); - schema.autoCreateEntries(TechUI.getInstance().getVascManager().getVascController()); - ((JMainPanel)TechUI.getInstance().getMainView().getComponent()).rebuildTree(); - } - }); - result.add(fileButton); - result.add(new JLabel("")); - - SpringLayoutGrid.makeCompactGrid(result, 4, 2); - return result; - } - - public void actionPerformed(ActionEvent arg0) { - // TODO Auto-generated method stub - - } -} diff --git a/vasc-demo/vasc-demo-tech/vasc-demo-tech-ui/src/main/java/net/forwardfire/vasc/demo/tech/ui/components/JConsolePanel.java b/vasc-demo/vasc-demo-tech/vasc-demo-tech-ui/src/main/java/net/forwardfire/vasc/demo/tech/ui/components/JConsolePanel.java deleted file mode 100644 index c3f0a5a..0000000 --- a/vasc-demo/vasc-demo-tech/vasc-demo-tech-ui/src/main/java/net/forwardfire/vasc/demo/tech/ui/components/JConsolePanel.java +++ /dev/null @@ -1,153 +0,0 @@ -package net.forwardfire.vasc.demo.tech.ui.components; - -import java.awt.Color; -import java.awt.FlowLayout; -import java.awt.event.ActionEvent; -import java.awt.event.ActionListener; -import java.util.Enumeration; -import java.util.logging.Handler; -import java.util.logging.Level; -import java.util.logging.LogManager; -import java.util.logging.LogRecord; -import java.util.logging.Logger; - -import javax.swing.BorderFactory; -import javax.swing.JButton; -import javax.swing.JCheckBox; -import javax.swing.JComboBox; -import javax.swing.JLabel; -import javax.swing.JPanel; -import javax.swing.JScrollPane; -import javax.swing.JTextArea; -import javax.swing.ScrollPaneConstants; -import javax.swing.SpringLayout; -import javax.swing.SwingUtilities; - -import net.forwardfire.vasc.demo.tech.ui.PatternLogFormatter; - -public class JConsolePanel extends JPanel implements ActionListener { - - private static final long serialVersionUID = 485766723433479054L; - private UILogHandler logHandler = null; - private JButton clearButton = null; - private JComboBox levelBox = null; - private JTextArea logTextArea = null; - private JCheckBox autoScrollBox = null; - private int logLinesMax = 255; - - public JConsolePanel() { - setLayout(new FlowLayout(FlowLayout.LEFT)); - JPanel wrap = new JPanel(); - wrap.setLayout(new SpringLayout()); - wrap.add(createHeader()); - wrap.add(createEditor()); - SpringLayoutGrid.makeCompactGrid(wrap,2,1); - add(wrap); - - Logger rootLogger = Logger.getAnonymousLogger(); - while (rootLogger.getParent()!=null) { - rootLogger = rootLogger.getParent(); - } - - logHandler = new UILogHandler(); - logHandler.setFormatter(new PatternLogFormatter()); - rootLogger.addHandler(logHandler); - - } - - /** - * This needs release if playing the the this tab add/removal very multiple times. - */ - public void release() { - Logger rootLogger = Logger.getAnonymousLogger(); - while (rootLogger.getParent()!=null) { - rootLogger = rootLogger.getParent(); - } - rootLogger.removeHandler(logHandler); - } - - private JPanel createHeader() { - JPanel result = new JPanel(); - result.setBorder(BorderFactory.createLineBorder(Color.BLUE)); - result.setLayout(new FlowLayout(FlowLayout.LEFT)); - result.add(new JLabel("Log Level")); - levelBox = new JComboBox(new Level[] {Level.OFF,Level.SEVERE,Level.WARNING,Level.INFO,Level.FINE,Level.FINER,Level.FINEST,Level.ALL}); - levelBox.setSelectedItem(Level.INFO); - levelBox.addActionListener(this); - result.add(levelBox); - clearButton = new JButton("Clear"); - clearButton.addActionListener(this); - result.add(clearButton); - autoScrollBox = new JCheckBox("Autoscroll"); - autoScrollBox.setSelected(true); - result.add(autoScrollBox); - return result; - } - - private JPanel createEditor() { - JPanel result = new JPanel(); - result.setBorder(BorderFactory.createLineBorder(Color.BLUE)); - logTextArea = new JTextArea(5, 80); - logTextArea.setAutoscrolls(true); - logTextArea.setEditable(false); - JScrollPane logScrollPane = new JScrollPane(logTextArea); - logScrollPane.setHorizontalScrollBarPolicy(ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED); - logScrollPane.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS); - logScrollPane.getViewport().setOpaque(false); - result.add(logScrollPane); - return result; - } - - public void actionPerformed(ActionEvent e) { - if (clearButton.equals(e.getSource())) { - logTextArea.setText(""); - } else if (levelBox.equals(e.getSource()) && levelBox.getSelectedIndex()!=-1) { - Level level = (Level)levelBox.getSelectedItem(); - logHandler.setLevel(level); - Enumeration loggers = LogManager.getLogManager().getLoggerNames(); - while (loggers.hasMoreElements()) { - String name = loggers.nextElement(); - Logger logger = LogManager.getLogManager().getLogger(name); - if (logger!=null && name.contains("pulsefire")) { - logger.setLevel(level); // only set pulsefire code loggers - } - } - } - } - - class UILogHandler extends Handler { - @Override - public void close() throws SecurityException { - } - @Override - public void flush() { - } - @Override - public void publish(LogRecord record) { - final String recordStr = getFormatter().format(record); - SwingUtilities.invokeLater(new Runnable() { - public void run() { - logTextArea.append(recordStr); - if (logTextArea.getLineCount() > logLinesMax) { - String t = logTextArea.getText(); - int l = 0; - int rm = logLinesMax/2; - for (int i=0;i keys = new HashMap(300); - VascBundleCheckEntryKeys checker = new VascBundleCheckEntryKeys(ResourceBundle.getBundle("net.forwardfire.vasc.lib.i18n.bundle.RootApplicationBundle")); - for (String veId:vascManager.getVascController().getVascEntryController().getVascEntryIds()) { - VascEntry ve = vascManager.getVascController().getVascEntryController().getVascEntryById(veId); - keys.putAll(checker.generateMissingKeys(ve)); - } - if (keys.isEmpty()==false) { - Properties p = new Properties(); - File dataDir = new File("data"); - - if (dataDir.exists()==false) { - dataDir.mkdirs(); - } - File resourceFile = new File("data/vasc-bundle.properties"); - if (resourceFile.exists()) { - readPropertiesFile(p,resourceFile); - } - for (String key:keys.keySet()) { - p.put(key, keys.get(key)); - } - writePropertiesFile(p,resourceFile); - - ResourceBundle.clearCache(); - } - } - - public JTabbedPane getTabPane() { - return tabPane; - } - - protected void writePropertiesFile(Properties p,File file) { - try { - writePropertiesStream(p,new FileOutputStream(file)); - } catch (Exception e) { - throw new RuntimeException("Could not load resource file error: "+e.getMessage(),e); - } - } - - - protected void readPropertiesFile(Properties p,File file) { - try { - readPropertiesStream(p,new FileInputStream(file)); - } catch (Exception e) { - throw new RuntimeException("Could not load resource file error: "+e.getMessage(),e); - } - } - - protected void writePropertiesStream(Properties p,OutputStream out) { - try { - p.store(out, "Saved by vasc auto i18n."); - } catch (Exception e) { - throw new RuntimeException("Could not load properties error: "+e.getMessage(),e); - } finally { - if (out!=null) { - try { - out.close(); - } catch (IOException e) { - } - } - } - } - - protected void readPropertiesStream(Properties p,InputStream in) { - try { - p.load(in); - } catch (Exception e) { - throw new RuntimeException("Could not load properties error: "+e.getMessage(),e); - } finally { - if (in!=null) { - try { - in.close(); - } catch (IOException e) { - } - } - } - } - -} diff --git a/vasc-demo/vasc-demo-tech/vasc-demo-tech-ui/src/main/java/net/forwardfire/vasc/demo/tech/ui/components/JMainPanelMenuBar.java b/vasc-demo/vasc-demo-tech/vasc-demo-tech-ui/src/main/java/net/forwardfire/vasc/demo/tech/ui/components/JMainPanelMenuBar.java deleted file mode 100644 index e386b40..0000000 --- a/vasc-demo/vasc-demo-tech/vasc-demo-tech-ui/src/main/java/net/forwardfire/vasc/demo/tech/ui/components/JMainPanelMenuBar.java +++ /dev/null @@ -1,161 +0,0 @@ -package net.forwardfire.vasc.demo.tech.ui.components; - -import java.awt.event.ActionEvent; -import java.awt.event.ActionListener; -import java.io.File; - -import javax.swing.JFileChooser; -import javax.swing.JMenu; -import javax.swing.JMenuBar; -import javax.swing.JMenuItem; -import javax.swing.JTabbedPane; - -import net.forwardfire.vasc.backend.VascBackendControllerLocal; -import net.forwardfire.vasc.core.VascEntryControllerLocal; -import net.forwardfire.vasc.demo.tech.ui.TechUI; -import net.forwardfire.vasc.demo.tech.ui.actions.JDialogMetaCsv; -import net.forwardfire.vasc.demo.tech.ui.actions.JDialogMetaJdbc; -import net.forwardfire.vasc.demo.tech.ui.actions.JDialogMetaMongodb; - -public class JMainPanelMenuBar extends JMenuBar { - - private static final long serialVersionUID = -2828428804621352725L; - JMenu fileMenu = new JMenu("File"); - JMenu vascMenu = new JMenu("Vasc"); - JMenu tabMenu = new JMenu("Tabs"); - - public JMainPanelMenuBar() { - createMenuItems(); - add(fileMenu); - add(vascMenu); - add(tabMenu); - } - - - private void createMenuItems() { - JMenuItem openXmlItem = new JMenuItem("Import Xml"); - openXmlItem.addActionListener(new ActionListener() { - public void actionPerformed(ActionEvent e) { - try { - final JFileChooser fc = new JFileChooser(); - //fc.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY); - int returnVal = fc.showOpenDialog((JMenuItem)e.getSource()); - if (returnVal == JFileChooser.APPROVE_OPTION) { - File file = fc.getSelectedFile(); - TechUI.getInstance().getVascManager().openFile(file); - ((JMainPanel)TechUI.getInstance().getMainView().getComponent()).rebuildTree(); - } - } catch (Exception e1) { - e1.printStackTrace(); - } - } - - }); - fileMenu.add(openXmlItem); - //JMenuItem closeXmlItem = new JMenuItem("Close"); - //fileMenu.add(closeXmlItem); - fileMenu.addSeparator(); - JMenuItem exitItem = new JMenuItem("Exit"); - exitItem.addActionListener(new ActionListener() { - public void actionPerformed(ActionEvent e) { - TechUI.getInstance().exit(); - } - }); - fileMenu.add(exitItem); - - JMenuItem connectVascItem = new JMenuItem("Add Vasc"); - connectVascItem.setEnabled(false); - connectVascItem.addActionListener(new ActionListener() { - public void actionPerformed(ActionEvent e) { - - } - }); - vascMenu.add(connectVascItem); - - JMenuItem connectLdapItem = new JMenuItem("Add Ldap"); - connectLdapItem.setEnabled(false); - vascMenu.add(connectLdapItem); - vascMenu.addSeparator(); - JMenuItem connectMetaCsvItem = new JMenuItem("Add meta csv"); - connectMetaCsvItem.addActionListener(new ActionListener() { - public void actionPerformed(ActionEvent e) { - JDialogMetaCsv d = new JDialogMetaCsv(TechUI.getInstance().getMainFrame()); - d.setVisible(true); - } - }); - vascMenu.add(connectMetaCsvItem); - JMenuItem connectMetaXmlItem = new JMenuItem("Add meta xml"); - connectMetaXmlItem.setEnabled(false); - vascMenu.add(connectMetaXmlItem); - JMenuItem connectMetaMongoItem = new JMenuItem("Add meta mongo"); - connectMetaMongoItem.addActionListener(new ActionListener() { - public void actionPerformed(ActionEvent e) { - JDialogMetaMongodb d = new JDialogMetaMongodb(TechUI.getInstance().getMainFrame()); - d.setVisible(true); - } - }); - vascMenu.add(connectMetaMongoItem); - JMenuItem connectMetaJdbcItem = new JMenuItem("Add meta jdbc"); - connectMetaJdbcItem.addActionListener(new ActionListener() { - public void actionPerformed(ActionEvent e) { - JDialogMetaJdbc d = new JDialogMetaJdbc(TechUI.getInstance().getMainFrame()); - d.setVisible(true); - } - }); - vascMenu.add(connectMetaJdbcItem); - - vascMenu.addSeparator(); - JMenuItem removeEntryItem = new JMenuItem("Remove entry"); - removeEntryItem.setEnabled(false); - removeEntryItem.addActionListener(new ActionListener() { - public void actionPerformed(ActionEvent e) { - } - }); - vascMenu.add(removeEntryItem); - - JMenuItem removeAllItem = new JMenuItem("Remove all"); - removeAllItem.addActionListener(new ActionListener() { - public void actionPerformed(ActionEvent e) { - VascBackendControllerLocal backends = (VascBackendControllerLocal)TechUI.getInstance().getVascManager().getVascController().getVascBackendController(); - VascEntryControllerLocal entries = (VascEntryControllerLocal)TechUI.getInstance().getVascManager().getVascController().getVascEntryController(); - for (String entryId:entries.getVascEntryIds()) { - if (entryId.startsWith("Vasc")) { - continue; - } - entries.removeVascEntry(entryId); - } - for (String backendId:backends.getVascBackendIds()) { - if (backendId.startsWith("Vasc")) { - continue; - } - backends.removeVascBackendById(backendId); - } - ((JMainPanel)TechUI.getInstance().getMainView().getComponent()).rebuildTree(); - } - }); - vascMenu.add(removeAllItem); - - JMenuItem item = new JMenuItem("Close tab"); - item.addActionListener(new ActionListener() { - public void actionPerformed(ActionEvent e) { - JTabbedPane tabPane = ((JMainPanel)TechUI.getInstance().getMainView().getComponent()).getTabPane(); - if (tabPane.getSelectedIndex()>=0) { - tabPane.removeTabAt(tabPane.getSelectedIndex()); // todo release vasc frontend - } - } - - }); - tabMenu.add(item); - JMenuItem itemAll = new JMenuItem("Close All tabs"); - itemAll.addActionListener(new ActionListener() { - public void actionPerformed(ActionEvent e) { - JTabbedPane tabPane = ((JMainPanel)TechUI.getInstance().getMainView().getComponent()).getTabPane(); - for (int i=tabPane.getTabCount();i>0;i--) { - tabPane.removeTabAt(i-1); // todo release vasc frontend - } - } - - }); - tabMenu.add(itemAll); - } -} diff --git a/vasc-demo/vasc-demo-tech/vasc-demo-tech-ui/src/main/java/net/forwardfire/vasc/demo/tech/ui/components/SpringLayoutGrid.java b/vasc-demo/vasc-demo-tech/vasc-demo-tech-ui/src/main/java/net/forwardfire/vasc/demo/tech/ui/components/SpringLayoutGrid.java deleted file mode 100644 index a823531..0000000 --- a/vasc-demo/vasc-demo-tech/vasc-demo-tech-ui/src/main/java/net/forwardfire/vasc/demo/tech/ui/components/SpringLayoutGrid.java +++ /dev/null @@ -1,214 +0,0 @@ -/* - * Copyright (c) 2011, Willem Cazander - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without modification, are permitted provided - * that the following conditions are met: - * - * * Redistributions of source code must retain the above copyright notice, this list of conditions and the - * following disclaimer. - * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and - * the following disclaimer in the documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY - * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL - * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT - * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -package net.forwardfire.vasc.demo.tech.ui.components; - -import java.awt.Component; -import java.awt.Container; - -import javax.swing.Spring; -import javax.swing.SpringLayout; - - -/** - * SpringLayoutGrid, someone should create an JCP to get these functions into - * SpringLayout object because this code is to much duplicated on many projects. - * - * A 1.4 file that provides utility methods for creating form- or grid-style - * layouts with SpringLayout. These utilities are used by several programs, such - * as SpringBox and SpringCompactGrid. - */ -public class SpringLayoutGrid { - - - /** - * Aligns the first rows*cols components of - * parent in a grid. Each component is as big as the maximum - * preferred width and height of the components. The parent is made just big - * enough to fit them all. - * - * @param rows - * number of rows - * @param cols - * number of columns - * @param initialX - * x location to start the grid at - * @param initialY - * y location to start the grid at - * @param xPad - * x padding between cells - * @param yPad - * y padding between cells - */ - public static void makeGrid(Container parent, int rows, int cols,int initialX, int initialY, int xPad, int yPad) { - SpringLayout layout; - try { - layout = (SpringLayout) parent.getLayout(); - } catch (ClassCastException exc) { - throw new IllegalArgumentException("parent container has not StringLayout layoutmanager."); - } - - Spring xPadSpring = Spring.constant(xPad); - Spring yPadSpring = Spring.constant(yPad); - Spring initialXSpring = Spring.constant(initialX); - Spring initialYSpring = Spring.constant(initialY); - int max = rows * cols; - - //Calculate Springs that are the max of the width/height so that all - //cells have the same size. - Spring maxWidthSpring = layout.getConstraints(parent.getComponent(0)) - .getWidth(); - Spring maxHeightSpring = layout.getConstraints(parent.getComponent(0)) - .getWidth(); - for (int i = 1; i < max; i++) { - SpringLayout.Constraints cons = layout.getConstraints(parent - .getComponent(i)); - - maxWidthSpring = Spring.max(maxWidthSpring, cons.getWidth()); - maxHeightSpring = Spring.max(maxHeightSpring, cons.getHeight()); - } - - //Apply the new width/height Spring. This forces all the - //components to have the same size. - for (int i = 0; i < max; i++) { - SpringLayout.Constraints cons = layout.getConstraints(parent - .getComponent(i)); - - cons.setWidth(maxWidthSpring); - cons.setHeight(maxHeightSpring); - } - - //Then adjust the x/y constraints of all the cells so that they - //are aligned in a grid. - SpringLayout.Constraints lastCons = null; - SpringLayout.Constraints lastRowCons = null; - for (int i = 0; i < max; i++) { - SpringLayout.Constraints cons = layout.getConstraints(parent - .getComponent(i)); - if (i % cols == 0) { //start of new row - lastRowCons = lastCons; - cons.setX(initialXSpring); - } else { //x position depends on previous component - cons.setX(Spring.sum(lastCons.getConstraint(SpringLayout.EAST), - xPadSpring)); - } - - if (i / cols == 0) { //first row - cons.setY(initialYSpring); - } else { //y position depends on previous row - cons.setY(Spring.sum(lastRowCons - .getConstraint(SpringLayout.SOUTH), yPadSpring)); - } - lastCons = cons; - } - - //Set the parent's size. - SpringLayout.Constraints pCons = layout.getConstraints(parent); - pCons.setConstraint(SpringLayout.SOUTH, Spring.sum(Spring - .constant(yPad), lastCons.getConstraint(SpringLayout.SOUTH))); - pCons.setConstraint(SpringLayout.EAST, Spring.sum( - Spring.constant(xPad), lastCons - .getConstraint(SpringLayout.EAST))); - } - - /* Used by makeCompactGrid. */ - private static SpringLayout.Constraints getConstraintsForCell(int row, - int col, Container parent, int cols) { - SpringLayout layout = (SpringLayout) parent.getLayout(); - Component c = parent.getComponent(row * cols + col); - return layout.getConstraints(c); - } - - - public static void makeCompactGrid(Container parent, int rows, int cols) { - makeCompactGrid(parent,rows,cols,6,6,6,6); - } - - /** - * Aligns the first rows*cols components of - * parent in a grid. Each component in a column is as wide as - * the maximum preferred width of the components in that column; height is - * similarly determined for each row. The parent is made just big enough to - * fit them all. - * - * @param rows - * number of rows - * @param cols - * number of columns - * @param initialX - * x location to start the grid at - * @param initialY - * y location to start the grid at - * @param xPad - * x padding between cells - * @param yPad - * y padding between cells - */ - public static void makeCompactGrid(Container parent, int rows, int cols,int initialX, int initialY, int xPad, int yPad) { - SpringLayout layout; - try { - layout = (SpringLayout) parent.getLayout(); - } catch (ClassCastException exc) { - throw new IllegalArgumentException("parent container has not StringLayout layoutmanager."); - } - - //Align all cells in each column and make them the same width. - Spring x = Spring.constant(initialX); - for (int c = 0; c < cols; c++) { - Spring width = Spring.constant(0); - for (int r = 0; r < rows; r++) { - width = Spring.max(width, getConstraintsForCell(r, c, parent, - cols).getWidth()); - } - for (int r = 0; r < rows; r++) { - SpringLayout.Constraints constraints = getConstraintsForCell(r, - c, parent, cols); - constraints.setX(x); - constraints.setWidth(width); - } - x = Spring.sum(x, Spring.sum(width, Spring.constant(xPad))); - } - - //Align all cells in each row and make them the same height. - Spring y = Spring.constant(initialY); - for (int r = 0; r < rows; r++) { - Spring height = Spring.constant(0); - for (int c = 0; c < cols; c++) { - height = Spring.max(height, getConstraintsForCell(r, c, parent, - cols).getHeight()); - } - for (int c = 0; c < cols; c++) { - SpringLayout.Constraints constraints = getConstraintsForCell(r, - c, parent, cols); - constraints.setY(y); - constraints.setHeight(height); - } - y = Spring.sum(y, Spring.sum(height, Spring.constant(yPad))); - } - - //Set the parent's size. - SpringLayout.Constraints pCons = layout.getConstraints(parent); - pCons.setConstraint(SpringLayout.SOUTH, y); - pCons.setConstraint(SpringLayout.EAST, x); - } -} diff --git a/vasc-demo/vasc-demo-tech/vasc-demo-tech-ui/src/main/resources/META-INF/root-bundle.properties b/vasc-demo/vasc-demo-tech/vasc-demo-tech-ui/src/main/resources/META-INF/root-bundle.properties deleted file mode 100644 index d488f0b..0000000 --- a/vasc-demo/vasc-demo-tech/vasc-demo-tech-ui/src/main/resources/META-INF/root-bundle.properties +++ /dev/null @@ -1,8 +0,0 @@ - -# bundle list to merge and load -bundle1.uri=net.forwardfire.vasc.demo.tech.ui.resources.TechUI - -bundle2.uri=data/vasc-bundle.properties -bundle2.type=FILE -bundle2.optional=true - diff --git a/vasc-demo/vasc-demo-tech/vasc-demo-tech-ui/src/main/resources/net/forwardfire/vasc/demo/tech/ui/resources/TechUI.properties b/vasc-demo/vasc-demo-tech/vasc-demo-tech-ui/src/main/resources/net/forwardfire/vasc/demo/tech/ui/resources/TechUI.properties deleted file mode 100644 index bedfa36..0000000 --- a/vasc-demo/vasc-demo-tech/vasc-demo-tech-ui/src/main/resources/net/forwardfire/vasc/demo/tech/ui/resources/TechUI.properties +++ /dev/null @@ -1,137 +0,0 @@ -# -# Copyright (c) 2011, Willem Cazander -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided -# that the following conditions are met: -# -# * Redistributions of source code must retain the above copyright notice, this list of conditions and the -# following disclaimer. -# * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and -# the following disclaimer in the documentation and/or other materials provided with the distribution. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL -# THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT -# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR -# TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# - -# Application's properties -Application.name = Vasc Demo Tech -Application.title = VascDemoTech -Application.vendor = Willem Cazander -Application.homepage = http://vasc.forwardfire.org/ -Application.vendorId = vasc -Application.id = vascdemotech -Application.lookAndFeel = com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel -#Application.icon = images/icon.png - - -generic.active.labelText = active -generic.active.toolTipText = active -generic.createdDate.labelText = createdDate -generic.createdDate.toolTipText = createdDate -generic.description.labelText = description -generic.description.toolTipText = description -generic.id.labelText = id -generic.id.toolTipText = id -generic.modifiedDate.labelText = modifiedDate -generic.modifiedDate.toolTipText = modifiedDate -generic.name.labelText = name -generic.name.toolTipText = name -generic.orderNumber.labelText = orderNumber -generic.orderNumber.toolTipText = orderNumber - -# hibernate validators -validator.assertFalse=assertion failed -validator.assertTrue=assertion failed -validator.future=Date must lie in the future -validator.length=Field must contain between {min} and {max} characters. -validator.max=Value must be equal to or lower than {value} -validator.min=Value must be equal to or higher than {value} -validator.notNull=A value must be entered -validator.past=Date must lie in the future -validator.pattern=Value must conform to "{regex}" -validator.range=Value must lie between {min} and {max} -validator.size=There must be between {min} and {max} characters -validator.email=The value must be a valid e-mail address - -# vasc validators -vasc.validator.VascDateFutureValidator=The date must lie in the future. -vasc.validator.VascDatePastValidator=The date must lie in the past. -vasc.validator.VascIntSizeValidator=Value must lie between {0} and {1} -vasc.validator.VascLongSizeValidator=Value must lie between {0} and {1} -vasc.validator.VascObjectNotNullValidator=A value must be entered -vasc.validator.VascObjectNullValidator=No value may be entered -vasc.validator.VascStringEmailValidator=The value must be a valid e-mail address -vasc.validator.VascStringLengthValidator=There must be at least {0} and at most {1} items -vasc.validator.VascStringRegexValidator=Value must conform to "{0}" -vasc.validator.VascStringZipCodeValidator=Value must be a valid post code. - -# Vasc actions labels -vasc.action.addRowAction.description = add a new record -vasc.action.addRowAction.name = Add -vasc.action.deleteRowAction.description = delete -vasc.action.deleteRowAction.name = delete -vasc.action.downloadAction.description = Select this record. -vasc.action.downloadAction.name = Select -vasc.action.editRowAction.description = edit -vasc.action.editRowAction.name = Edit - -vasc.action.csvExportAction.description = CSV -vasc.action.csvExportAction.name = CSV -vasc.action.xmlExportAction.description = XML -vasc.action.xmlExportAction.name = XML -vasc.action.xmltreeExportAction.description = XMLTree -vasc.action.xmltreeExportAction.name = XMLTree -vasc.action.jrPdfLandscapeExportAction.description = jrPdfLandscape -vasc.action.jrPdfLandscapeExportAction.name = PDF-Landscape -vasc.action.jrPdfPortraitExportAction.description = jrPdfPortrait -vasc.action.jrPdfPortraitExportAction.name = PDF-Portrait -vasc.action.jrRtfExportAction.description = RTF -vasc.action.jrRtfExportAction.name = RTF -vasc.action.jrXlsExportAction.description = XLS -vasc.action.jrXlsExportAction.name = XLS -vasc.action.jrXmlExportAction.description = JR-XML -vasc.action.jrXmlExportAction.name = JR-XML -vasc.action.jrCsvExportAction.description = JR-CSV -vasc.action.jrCsvExportAction.name = JR-CSV - - -# Temp jsf -generic.vasc.jsf.listOption.header = Searchoptions -generic.vasc.jsf.listOption.search = Searh\: -generic.vasc.jsf.listOption.sumbit = Search -generic.vasc.jsf.pager.previous = Previous -generic.vasc.jsf.pager.next = Next -generic.vasc.jsf.table.rows = Row Numbers\: -generic.vasc.jsf.table.pagerDirect = Go to\: -generic.vasc.jsf.table.downloadDirect = Download\: -generic.vasc.jsf.table.resultText = Results {0}-{1} from {2} rows -generic.vasc.jsf.table.download.img = Save table data. -generic.vasc.jsf.table.printer.img = Shows the table in printer friendly format. -generic.vasc.jsf.table.export.select = ... -generic.vasc.jsf.table.export.select.alt = Select Export -generic.vasc.jsf.table.page.select = ... -generic.vasc.jsf.table.page.select.alt = Select Page -generic.vasc.jsf.table.page.name = Page: -generic.vasc.jsf.table.page.description = Goto page: -generic.vasc.jsf.tableHeader.fields = Fields -generic.vasc.jsf.tableHeader.links = Links -generic.vasc.jsf.tableHeader.actions = Actions -generic.vasc.jsf.multiAction.selectAll = Select all: -generic.vasc.jsf.multiAction.name = ... -generic.vasc.jsf.multiAction.description = Select Action -generic.vasc.jsf.action.save = Save -generic.vasc.jsf.action.cancel = Cancel -generic.vasc.jsf.action.back = Back -generic.vasc.jsf.parentSelected = Selected: - -vasc.dialog.edit.message = Edit -vasc.dialog.save.name = Save -vasc.dialog.cancel.name = Cancel \ No newline at end of file diff --git a/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/java/net/forwardfire/vasc/demo/tech/web/beans/VascFacesController.java b/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/java/net/forwardfire/vasc/demo/tech/web/beans/VascFacesController.java deleted file mode 100644 index 7219962..0000000 --- a/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/java/net/forwardfire/vasc/demo/tech/web/beans/VascFacesController.java +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2009-2012 forwardfire.net All rights reserved. - * - * Redistribution and use in source and binary forms, with or without modification, are permitted provided - * that the following conditions are met: - * - * * Redistributions of source code must retain the above copyright notice, this list of conditions and the - * following disclaimer. - * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and - * the following disclaimer in the documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY - * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL - * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT - * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -package net.forwardfire.vasc.demo.tech.web.beans; - -import java.util.ArrayList; -import java.util.List; -import java.util.Locale; - -import javax.faces.context.FacesContext; - -import net.forwardfire.vasc.core.VascController; -import net.forwardfire.vasc.core.VascEntry; -import net.forwardfire.vasc.core.entry.VascEntryFrontendEventListener; -import net.forwardfire.vasc.demo.tech.core.DemoVascControllerProvider; - -import net.forwardfire.vasc.frontend.VascFrontendData; -import net.forwardfire.vasc.frontend.web.jsf.AbstractJSFVascFacesControllerBase; -import net.forwardfire.vasc.impl.DefaultVascFactory; - -/** - * - * @author Willem Cazander - * @version 1.0 Nov 1, 2009 - */ -public class VascFacesController extends AbstractJSFVascFacesControllerBase { - - - public List getVascAdminEntries() { - List result = new ArrayList(50); - VascController v = getVascController(); - for (String e:v.getVascEntryController().getVascEntryIds()) { - if (e.endsWith("Link")==false) { - result.add(e); - } - } - return result; - } - - @Override - public VascFrontendData getNewVascFrontendData() { - Locale locale = FacesContext.getCurrentInstance().getViewRoot().getLocale(); - VascFrontendData vascFrontendData = DefaultVascFactory.getDefaultVascFrontendData("net.forwardfire.vasc.lib.i18n.bundle.RootApplicationBundle",locale); - vascFrontendData.addVascEntryFrontendEventListener(new VascEntryFrontendEventListener() { - private static final long serialVersionUID = 1L; - public VascFrontendEventType[] getEventTypes() { - VascFrontendEventType[] result = {VascEntryFrontendEventListener.VascFrontendEventType.EXCEPTION}; - return result; - } - public void vascEvent(VascEntry entry, Object data) { - if (data instanceof Exception) { - ((Exception)data).printStackTrace(); - } - } - }); - return vascFrontendData; - } - - @Override - public VascController getVascController() { - DemoVascControllerProvider provider = new DemoVascControllerProvider(); - return provider.getVascController(); - } - -} \ No newline at end of file diff --git a/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/resources/META-INF/skins/vasc-demo-tech.skin.properties b/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/resources/META-INF/skins/vasc-demo-tech.skin.properties deleted file mode 100644 index c993f8a..0000000 --- a/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/resources/META-INF/skins/vasc-demo-tech.skin.properties +++ /dev/null @@ -1,73 +0,0 @@ -#Colors -headerBackgroundColor=\#EAEAEA -headerGradientColor=\#E0E0E0 -headerTextColor=#282828 -headerWeightFont=bold - -generalBackgroundColor=#FFFFFF -generalTextColor=#282828 -generalSizeFont=11px -generalFamilyFont=Arial, Helvetica, sans-serif - -controlTextColor=#282828 -controlBackgroundColor=#ffffff -additionalBackgroundColor=#ffffff - -shadowBackgroundColor=#000000 -shadowOpacity=1 - -panelBorderColor=#BED6F8 -subBorderColor=#ffffff - -tabBackgroundColor=#C6DEFF -tabDisabledTextColor=#ffffff - -trimColor=#D6E6FB - -tipBackgroundColor=\#FAE6B0 -tipBorderColor=\#E5973E - -selectControlColor=#E79A00 - - -generalLinkColor=#004DEB -hoverLinkColor=#004DEB -visitedLinkColor=#004DEB - -# Fonts -headerSizeFont=11px -headerFamilyFont=Arial, Helvetica, sans-serif - -tabSizeFont=11 -tabFamilyFont=Arial, Helvetica, sans-serif - -buttonSizeFont=11 -buttonFamilyFont=Arial, Verdana, sans-serif - - -tableBackgroundColor=#FFFFFF -tableFooterBackgroundColor=#FFFFFF -tableSubfooterBackgroundColor=#FFFFFF - - -#Calendar colors -calendarWeekBackgroundColor=#F5F5F5 - -calendarHolidaysBackgroundColor=#FFEBDA -calendarHolidaysTextColor=#FF7800 - -calendarCurrentBackgroundColor=#FF7800 -calendarCurrentTextColor=#FFEBDA - -calendarSpecBackgroundColor=#E4F5E2 -calendarSpecTextColor=#000000 - - -warningColor=#282828 -warningBackgroundColor=##EE0000 - -editorBackgroundColor=#F1F1F1 -editBackgroundColor=#FEFFDA - -#Gradients -gradientType=plain diff --git a/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/webapp/WEB-INF/faces.xml b/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/webapp/WEB-INF/faces.xml deleted file mode 100644 index 6e1f5da..0000000 --- a/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/webapp/WEB-INF/faces.xml +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - en - - com.sun.facelets.FaceletViewHandler - - - - Controls the Users - userController - net.forwardfire.vasc.demo.tech.web.beans.UserController - session - - - - Controls Vasc Faces - vascFacesController - net.forwardfire.vasc.demo.tech.web.beans.VascFacesController - session - - - - Controls Vasc Export Url Generator - exportController - net.forwardfire.vasc.demo.tech.web.beans.ExportController - session - - - \ No newline at end of file diff --git a/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/webapp/css/ie6_fixes.css b/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/webapp/css/ie6_fixes.css deleted file mode 100644 index 4d7a0af..0000000 --- a/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/webapp/css/ie6_fixes.css +++ /dev/null @@ -1,8 +0,0 @@ - -/* CSS fixes for IE6 */ - -/* -#page_menu_left { - overflow: visible; -} -*/ \ No newline at end of file diff --git a/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/webapp/css/ie7_fixes.css b/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/webapp/css/ie7_fixes.css deleted file mode 100644 index 9001952..0000000 --- a/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/webapp/css/ie7_fixes.css +++ /dev/null @@ -1,8 +0,0 @@ - -/* CSS fixes for IE7 */ - -/* -#page_menu_left { - overflow: visible; -} -*/ \ No newline at end of file diff --git a/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/webapp/css/ie8_fixes.css b/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/webapp/css/ie8_fixes.css deleted file mode 100644 index 1acb363..0000000 --- a/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/webapp/css/ie8_fixes.css +++ /dev/null @@ -1,4 +0,0 @@ - -/* CSS fixes for IE8 */ - -/* Yet to come */ \ No newline at end of file diff --git a/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/webapp/img/logstats-logo.png b/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/webapp/img/logstats-logo.png deleted file mode 100644 index 0c6ee42..0000000 Binary files a/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/webapp/img/logstats-logo.png and /dev/null differ diff --git a/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/webapp/jsp/admin/index.xhtml b/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/webapp/jsp/admin/index.xhtml deleted file mode 100644 index c06660f..0000000 --- a/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/webapp/jsp/admin/index.xhtml +++ /dev/null @@ -1,63 +0,0 @@ - - - Vasc Admin - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/webapp/jsp/help.xhtml b/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/webapp/jsp/help.xhtml deleted file mode 100644 index 8ed2f8f..0000000 --- a/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/webapp/jsp/help.xhtml +++ /dev/null @@ -1,10 +0,0 @@ - - Help - - diff --git a/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/webapp/jsp/includes/index-pulic.xhtml b/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/webapp/jsp/includes/index-pulic.xhtml deleted file mode 100644 index 8026865..0000000 --- a/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/webapp/jsp/includes/index-pulic.xhtml +++ /dev/null @@ -1,15 +0,0 @@ - - -

- - - - -
-
diff --git a/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/webapp/jsp/includes/index-user.xhtml b/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/webapp/jsp/includes/index-user.xhtml deleted file mode 100644 index 3368e39..0000000 --- a/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/webapp/jsp/includes/index-user.xhtml +++ /dev/null @@ -1,16 +0,0 @@ - - -

- - - - - -
-
diff --git a/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/webapp/jsp/includes/layout.xhtml b/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/webapp/jsp/includes/layout.xhtml deleted file mode 100644 index 06eaf40..0000000 --- a/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/webapp/jsp/includes/layout.xhtml +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - - - - <ui:insert name="title">Default title</ui:insert> - - - - - - - -
- -
-

- -
-
 
- -
-
- - \ No newline at end of file diff --git a/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/webapp/jsp/includes/vasc-template.xhtml b/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/webapp/jsp/includes/vasc-template.xhtml deleted file mode 100644 index 3fb7f9b..0000000 --- a/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/webapp/jsp/includes/vasc-template.xhtml +++ /dev/null @@ -1,318 +0,0 @@ - - - - - - - - - - - -

- - - -

- - - - -
-
- - - - -

- - - -

- - - -
-
- - - - -

- - - - - - -

- -
    -
  • - -
  • -
    -
- - - -
-
- - -

- - -

-
-
-
- - - - -

- - - -

- -

- - - -

-
- - - - - -
    -
  • - - - - -
  • - -
  • -
    -
- - - - - - - - -
- -
    -
  • - - -
  • - -
  • - - -
  • -
    - - -
  • - - -
  • -
    - -
  • ...
  • - -
  • - - -
  • -
    -
    -
  • ...
  • - -
  • - - -
  • -
    -
    -
  • - - -
  • -
-
- - - - - - - - - - - #{entrySupport.i18nMap['generic.vasc.jsf.table.download.img']} - - - - - - #{entrySupport.i18nMap['generic.vasc.jsf.table.printer.img']} - - - - - - - - - - - - - - - - - - - - - - - - -
-
- - - - - - - - - - - - - #{entrySupport.i18nMap['generic.vasc.jsf.table.download.img']} - - - - - - #{entrySupport.i18nMap['generic.vasc.jsf.table.printer.img']} - - - - - - - - -
    -
  • - - -
  • - -
  • - - -
  • -
    - - -
  • - - -
  • -
    - -
  • ...
  • - -
  • - - -
  • -
    -
    -
  • ...
  • - -
  • - - -
  • -
    -
    -
  • - - -
  • -
-
-
-
-
-
- -

- -

-
-
-
-
- -
-
- diff --git a/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/webapp/jsp/includes/wiki-template.xhtml b/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/webapp/jsp/includes/wiki-template.xhtml deleted file mode 100644 index 98c0209..0000000 --- a/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/webapp/jsp/includes/wiki-template.xhtml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - diff --git a/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/webapp/jsp/index.xhtml b/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/webapp/jsp/index.xhtml deleted file mode 100644 index 9559078..0000000 --- a/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/webapp/jsp/index.xhtml +++ /dev/null @@ -1,20 +0,0 @@ - - Index - - - - - diff --git a/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/webapp/jsp/index_jsp.jsp b/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/webapp/jsp/index_jsp.jsp deleted file mode 100644 index 3255ad0..0000000 --- a/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/webapp/jsp/index_jsp.jsp +++ /dev/null @@ -1,2 +0,0 @@ -<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> - diff --git a/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/webapp/jsp/login/login-error.xhtml b/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/webapp/jsp/login/login-error.xhtml deleted file mode 100644 index be05e55..0000000 --- a/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/webapp/jsp/login/login-error.xhtml +++ /dev/null @@ -1,11 +0,0 @@ - - Error - - - - \ No newline at end of file diff --git a/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/webapp/jsp/login/login-forgot.xhtml b/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/webapp/jsp/login/login-forgot.xhtml deleted file mode 100644 index fa5efcf..0000000 --- a/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/webapp/jsp/login/login-forgot.xhtml +++ /dev/null @@ -1,11 +0,0 @@ - - Forgot - - - - diff --git a/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/webapp/jsp/login/login.xhtml b/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/webapp/jsp/login/login.xhtml deleted file mode 100644 index 6ac57df..0000000 --- a/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/webapp/jsp/login/login.xhtml +++ /dev/null @@ -1,23 +0,0 @@ - - - Login - -
- - - - - - - - -
- - - -
-
- \ No newline at end of file diff --git a/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/webapp/jsp/login/logout.xhtml b/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/webapp/jsp/login/logout.xhtml deleted file mode 100644 index 5ef22f0..0000000 --- a/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/webapp/jsp/login/logout.xhtml +++ /dev/null @@ -1,11 +0,0 @@ - - Logout - - - - diff --git a/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/webapp/jsp/realtime.xhtml b/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/webapp/jsp/realtime.xhtml deleted file mode 100644 index a50e795..0000000 --- a/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/webapp/jsp/realtime.xhtml +++ /dev/null @@ -1,56 +0,0 @@ - - Realtime Logs - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/webapp/jsp/reports.xhtml b/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/webapp/jsp/reports.xhtml deleted file mode 100644 index 4ebdd1f..0000000 --- a/vasc-demo/vasc-demo-tech/vasc-demo-tech-web/src/main/webapp/jsp/reports.xhtml +++ /dev/null @@ -1,10 +0,0 @@ - - Reports - - diff --git a/vasc-lib/vasc-lib-editor/src/main/resources/net/forwardfire/vasc/editor/vasc-edit.xml b/vasc-lib/vasc-lib-editor/src/main/resources/net/forwardfire/vasc/editor/vasc-edit.xml deleted file mode 100644 index 2a41109..0000000 --- a/vasc-lib/vasc-lib-editor/src/main/resources/net/forwardfire/vasc/editor/vasc-edit.xml +++ /dev/null @@ -1,189 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file