diff --git a/vasc-backend-jpa/pom.xml b/vasc-backend-jpa/pom.xml index edb5f5f..d82ee35 100644 --- a/vasc-backend-jpa/pom.xml +++ b/vasc-backend-jpa/pom.xml @@ -8,6 +8,8 @@ com.idcanet.vasc vasc-backend-jpa 0.3.3-SNAPSHOT + vasc-backend-jpa + vasc-backend-jpa com.idcanet.vasc diff --git a/vasc-backend-ldap/pom.xml b/vasc-backend-ldap/pom.xml index 32e00d8..6701812 100644 --- a/vasc-backend-ldap/pom.xml +++ b/vasc-backend-ldap/pom.xml @@ -8,7 +8,8 @@ com.idcanet.vasc vasc-backend-ldap 0.3.3-SNAPSHOT - + vasc-backend-ldap + vasc-backend-ldap com.idcanet.vasc diff --git a/vasc-core/pom.xml b/vasc-core/pom.xml index dd70e88..178c23b 100644 --- a/vasc-core/pom.xml +++ b/vasc-core/pom.xml @@ -8,6 +8,8 @@ com.idcanet.vasc vasc-core 0.3.3-SNAPSHOT + vasc-core + vasc-core com.idcanet.x4o diff --git a/vasc-core/src/main/java/com/idcanet/vasc/impl/entry/SetParameterBackendListener.java b/vasc-core/src/main/java/com/idcanet/vasc/impl/entry/SetParameterBackendListener.java index ec660c6..64f2dd2 100644 --- a/vasc-core/src/main/java/com/idcanet/vasc/impl/entry/SetParameterBackendListener.java +++ b/vasc-core/src/main/java/com/idcanet/vasc/impl/entry/SetParameterBackendListener.java @@ -50,6 +50,9 @@ public class SetParameterBackendListener implements VascEntryBackendEventListene if (value==null) { value="id"; } + if (value.isEmpty()) { + value="id"; + } if ("id".equals(value)) { if ("int".equals(type)) { state.setDataParameter(name, userId.intValue()); diff --git a/vasc-core/src/main/java/com/idcanet/vasc/impl/x4o/SetParameterElement.java b/vasc-core/src/main/java/com/idcanet/vasc/impl/x4o/SetParameterElement.java index f1c2899..b579901 100644 --- a/vasc-core/src/main/java/com/idcanet/vasc/impl/x4o/SetParameterElement.java +++ b/vasc-core/src/main/java/com/idcanet/vasc/impl/x4o/SetParameterElement.java @@ -28,15 +28,12 @@ package com.idcanet.vasc.impl.x4o; import java.util.logging.Logger; -import com.idcanet.vasc.core.VascController; import com.idcanet.vasc.core.VascEntry; - import com.idcanet.x4o.element.AbstractElement; import com.idcanet.x4o.element.ElementException; - /** - * + * Handles the diffent EntryParameter xml tags * * @author Willem Cazander * @version 1.0 Mar 24, 2009 @@ -54,19 +51,19 @@ public class SetParameterElement extends AbstractElement { String value = getAttributes().get("value"); String type = getAttributes().get("type"); VascEntry entry = (VascEntry)getParent().getElementObject(); - VascController cont = VascParser.getVascController(getElementContext()); logger.fine("Setting parameter name: "+name+" value: "+value+" type: "+type); if ("setUserParameter".equals(getElementClass().getTag())) { + if (value==null) { + value="id"; // default to ids + } entry.setEntryParameter(name, "userPara:"+type+":"+value); return; } - if (type==null) { entry.setEntryParameter(name, value); return; } - if ("long".equalsIgnoreCase(type)) { entry.setEntryParameter(name, new Long(value)); return; diff --git a/vasc-ejb3/pom.xml b/vasc-ejb3/pom.xml index 5b64229..dd513d4 100644 --- a/vasc-ejb3/pom.xml +++ b/vasc-ejb3/pom.xml @@ -8,6 +8,8 @@ com.idcanet.vasc vasc-ejb3 0.3.3-SNAPSHOT + vasc-ejb3 + vasc-ejb3 com.idcanet.vasc diff --git a/vasc-frontend-swing/pom.xml b/vasc-frontend-swing/pom.xml index 3815262..7ee3a82 100644 --- a/vasc-frontend-swing/pom.xml +++ b/vasc-frontend-swing/pom.xml @@ -8,6 +8,8 @@ com.idcanet.vasc vasc-frontend-swing 0.3.3-SNAPSHOT + vasc-frontend-swing + vasc-frontend-swing com.idcanet.vasc diff --git a/vasc-frontend-swt/pom.xml b/vasc-frontend-swt/pom.xml index 65bdf5e..ff56cb3 100644 --- a/vasc-frontend-swt/pom.xml +++ b/vasc-frontend-swt/pom.xml @@ -8,6 +8,8 @@ com.idcanet.vasc vasc-frontend-swt 0.3.3-SNAPSHOT + vasc-frontend-swt + vasc-frontend-swt com.idcanet.vasc diff --git a/vasc-frontend-web-jsf/pom.xml b/vasc-frontend-web-jsf/pom.xml index 64ac8ce..68ac8db 100644 --- a/vasc-frontend-web-jsf/pom.xml +++ b/vasc-frontend-web-jsf/pom.xml @@ -8,6 +8,8 @@ com.idcanet.vasc vasc-frontend-web-jsf 0.3.3-SNAPSHOT + vasc-frontend-web-jsf + vasc-frontend-web-jsf com.idcanet.vasc