JBoss Tools SVN: r8894 - trunk/documentation/jboss-tools-docs/index/en.
by jbosstools-commits@lists.jboss.org
Author: ochikvina
Date: 2008-06-23 04:38:06 -0400 (Mon, 23 Jun 2008)
New Revision: 8894
Modified:
trunk/documentation/jboss-tools-docs/index/en/master.xml
Log:
http://jira.jboss.com/jira/browse/JBDS-344 - adding build time stamp to nightly docs page (made by Gleb Galkin)
Modified: trunk/documentation/jboss-tools-docs/index/en/master.xml
===================================================================
--- trunk/documentation/jboss-tools-docs/index/en/master.xml 2008-06-22 12:50:34 UTC (rev 8893)
+++ trunk/documentation/jboss-tools-docs/index/en/master.xml 2008-06-23 08:38:06 UTC (rev 8894)
@@ -4,7 +4,7 @@
<book>
<bookinfo>
<title>JBoss Tools Guides - Latest Version</title>
- <pubdate>April 2008</pubdate>
+ <pubdate>Last published: <?dbtimestamp format="B d, Y"?></pubdate>
<copyright>
<year>2007</year>
<year>2008</year>
15 years, 11 months
JBoss Tools SVN: r8893 - in trunk/ws/plugins: org.jboss.tools.ws.creation.core/src/org/jboss/tools/ws/creation/core/data and 2 other directories.
by jbosstools-commits@lists.jboss.org
Author: Grid.Qian
Date: 2008-06-22 08:50:34 -0400 (Sun, 22 Jun 2008)
New Revision: 8893
Modified:
trunk/ws/plugins/org.jboss.tools.ws.creation.core/src/org/jboss/tools/ws/creation/core/commands/InitialClientCommand.java
trunk/ws/plugins/org.jboss.tools.ws.creation.core/src/org/jboss/tools/ws/creation/core/data/ServiceModel.java
trunk/ws/plugins/org.jboss.tools.ws.creation.ui/src/org/jboss/tools/ws/creation/ui/widgets/CodeGenConfigWidget.java
trunk/ws/plugins/org.jboss.tools.ws.creation.ui/src/org/jboss/tools/ws/creation/ui/wsrt/JBossWSConfigWidgetFactory.java
Log:
JBIDE-2404:change jboss ws client to fit for eclipse 3.4
Modified: trunk/ws/plugins/org.jboss.tools.ws.creation.core/src/org/jboss/tools/ws/creation/core/commands/InitialClientCommand.java
===================================================================
--- trunk/ws/plugins/org.jboss.tools.ws.creation.core/src/org/jboss/tools/ws/creation/core/commands/InitialClientCommand.java 2008-06-22 12:41:42 UTC (rev 8892)
+++ trunk/ws/plugins/org.jboss.tools.ws.creation.core/src/org/jboss/tools/ws/creation/core/commands/InitialClientCommand.java 2008-06-22 12:50:34 UTC (rev 8893)
@@ -45,6 +45,8 @@
this.model = model;
this.wsClient = wsClient;
this.scenario = scenario;
+ model.setWsScenario(scenario);
+
}
@Override
@@ -52,16 +54,20 @@
throws ExecutionException {
try {
- String location = JBossWSCreationUtils.getJbossWSRuntimeLocation(JBossWSCreationUtils.getProjectByName(model.getWebProjectName()));
+ String location = JBossWSCreationUtils
+ .getJbossWSRuntimeLocation(JBossWSCreationUtils
+ .getProjectByName(model.getWebProjectName()));
if (location.equals("")) {
return StatusUtils
.errorStatus(JBossWSCreationCoreMessages.Error_WS_Location);
- } else if(!new Path(location).append(JbossWSUIMessages.Bin).append(JbossWSUIMessages.Command).toFile().exists()){
+ } else if (!new Path(location).append(JbossWSUIMessages.Bin)
+ .append(JbossWSUIMessages.Command).toFile().exists()) {
return StatusUtils
- .errorStatus(JBossWSCreationCoreMessages.Error_WS_Location);
+ .errorStatus(JBossWSCreationCoreMessages.Error_WS_Location);
}
} catch (CoreException e1) {
- return StatusUtils.errorStatus(JBossWSCreationCoreMessages.Error_WS_Location);
+ return StatusUtils
+ .errorStatus(JBossWSCreationCoreMessages.Error_WS_Location);
}
model.setTarget(JBossWSCreationCoreMessages.Value_Target_0);
if (scenario == WebServiceScenario.CLIENT) {
Modified: trunk/ws/plugins/org.jboss.tools.ws.creation.core/src/org/jboss/tools/ws/creation/core/data/ServiceModel.java
===================================================================
--- trunk/ws/plugins/org.jboss.tools.ws.creation.core/src/org/jboss/tools/ws/creation/core/data/ServiceModel.java 2008-06-22 12:41:42 UTC (rev 8892)
+++ trunk/ws/plugins/org.jboss.tools.ws.creation.core/src/org/jboss/tools/ws/creation/core/data/ServiceModel.java 2008-06-22 12:50:34 UTC (rev 8893)
@@ -17,7 +17,16 @@
private List<String> serviceClasses;
private boolean isGenWSDL;
private String target;
+ private int wsScenario;
+ public int getWsScenario() {
+ return wsScenario;
+ }
+
+ public void setWsScenario(int wsScenario) {
+ this.wsScenario = wsScenario;
+ }
+
private boolean isGenImplementation = true;
private boolean UpdateWebxml = true;
Modified: trunk/ws/plugins/org.jboss.tools.ws.creation.ui/src/org/jboss/tools/ws/creation/ui/widgets/CodeGenConfigWidget.java
===================================================================
--- trunk/ws/plugins/org.jboss.tools.ws.creation.ui/src/org/jboss/tools/ws/creation/ui/widgets/CodeGenConfigWidget.java 2008-06-22 12:41:42 UTC (rev 8892)
+++ trunk/ws/plugins/org.jboss.tools.ws.creation.ui/src/org/jboss/tools/ws/creation/ui/widgets/CodeGenConfigWidget.java 2008-06-22 12:50:34 UTC (rev 8893)
@@ -1,7 +1,5 @@
package org.jboss.tools.ws.creation.ui.widgets;
-
-
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.ModifyEvent;
import org.eclipse.swt.events.ModifyListener;
@@ -20,159 +18,184 @@
import org.eclipse.swt.widgets.Text;
import org.eclipse.wst.command.internal.env.ui.widgets.SimpleWidgetDataContributor;
import org.eclipse.wst.command.internal.env.ui.widgets.WidgetDataEvents;
+import org.eclipse.wst.ws.internal.wsrt.WebServiceScenario;
import org.jboss.tools.ws.creation.core.data.ServiceModel;
import org.jboss.tools.ws.creation.core.messages.JBossWSCreationCoreMessages;
public class CodeGenConfigWidget extends SimpleWidgetDataContributor {
-
+
private ServiceModel model;
+
+ public ServiceModel getModel() {
+ return model;
+ }
+
+ public void setModel(ServiceModel model) {
+ this.model = model;
+ }
+
private Button btnRemove;
private Button btnUpdateWebxml;
private Button btnGenDefaultImpl;
- public CodeGenConfigWidget(ServiceModel model){
+ public CodeGenConfigWidget(ServiceModel model) {
this.model = model;
}
-
- public WidgetDataEvents addControls( Composite parent, Listener statusListener){
-
+
+ public WidgetDataEvents addControls(Composite parent,
+ Listener statusListener) {
+
Composite configCom = new Composite(parent, SWT.NONE);
- GridLayout layout = new GridLayout(3, false);
+ GridLayout layout = new GridLayout(3, false);
configCom.setLayout(layout);
configCom.setLayoutData(new GridData(GridData.FILL_BOTH));
-
- //custom package name
+
+ // custom package name
Label lblCustomPakage = new Label(configCom, SWT.NONE);
- lblCustomPakage.setText(JBossWSCreationCoreMessages.Label_Custom_Package_Name); //$NON-NLS-1$
+ lblCustomPakage
+ .setText(JBossWSCreationCoreMessages.Label_Custom_Package_Name); //$NON-NLS-1$
final Text txtCustomPkgName = new Text(configCom, SWT.BORDER);
txtCustomPkgName.setText(model.getCustomPackage());
GridData gd = new GridData(GridData.FILL_HORIZONTAL);
gd.horizontalSpan = 2;
txtCustomPkgName.setLayoutData(gd);
- txtCustomPkgName.addModifyListener(new ModifyListener(){
+ txtCustomPkgName.addModifyListener(new ModifyListener() {
public void modifyText(ModifyEvent e) {
model.setCustomPackage(txtCustomPkgName.getText());
- }});
-
- //target
- new Label(configCom, SWT.NONE).setText(JBossWSCreationCoreMessages.Label_JaxWS_Target); //$NON-NLS-1$
+ }
+ });
+
+ // target
+ new Label(configCom, SWT.NONE)
+ .setText(JBossWSCreationCoreMessages.Label_JaxWS_Target); //$NON-NLS-1$
final Combo cbSpec = new Combo(configCom, SWT.BORDER | SWT.READ_ONLY);
cbSpec.add(JBossWSCreationCoreMessages.Value_Target_0, 0); //$NON-NLS-1$
- cbSpec.add(JBossWSCreationCoreMessages.Value_Target_1, 1); //$NON-NLS-1$
- if(JBossWSCreationCoreMessages.Value_Target_0.equals(model.getTarget())){
+ cbSpec.add(JBossWSCreationCoreMessages.Value_Target_1, 1); //$NON-NLS-1$
+ if (JBossWSCreationCoreMessages.Value_Target_0
+ .equals(model.getTarget())) {
cbSpec.select(0);
- }
- else{
+ } else {
cbSpec.select(1);
}
gd = new GridData(GridData.FILL_HORIZONTAL);
gd.horizontalSpan = 2;
cbSpec.setLayoutData(gd);
- cbSpec.addModifyListener(new ModifyListener(){
+ cbSpec.addModifyListener(new ModifyListener() {
public void modifyText(ModifyEvent e) {
model.setTarget(cbSpec.getText());
- }});
-
- //catalog file
- new Label(configCom, SWT.NONE).setText(JBossWSCreationCoreMessages.Label_Catalog_File); //$NON-NLS-1$
+ }
+ });
+
+ // catalog file
+ new Label(configCom, SWT.NONE)
+ .setText(JBossWSCreationCoreMessages.Label_Catalog_File); //$NON-NLS-1$
final Text txtCatlog = new Text(configCom, SWT.BORDER);
txtCatlog.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
Button btnCatlog = new Button(configCom, SWT.NONE);
- btnCatlog.setText(JBossWSCreationCoreMessages.Label_Button_Text_Seletion); //$NON-NLS-1$
- btnCatlog.addSelectionListener(new SelectionAdapter(){
+ btnCatlog
+ .setText(JBossWSCreationCoreMessages.Label_Button_Text_Seletion); //$NON-NLS-1$
+ btnCatlog.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent e) {
- String fileLocation = new FileDialog(Display.getCurrent().getActiveShell(), SWT.NONE).open();
+ String fileLocation = new FileDialog(Display.getCurrent()
+ .getActiveShell(), SWT.NONE).open();
txtCatlog.setText(fileLocation);
model.setCatalog(fileLocation);
}
});
-
- //binding files
- new Label(configCom, SWT.NONE).setText(JBossWSCreationCoreMessages.Label_Binding_File); //$NON-NLS-1$
-
- final List bindingList = new List(configCom, SWT.BORDER | SWT.SCROLL_LINE | SWT.V_SCROLL | SWT.H_SCROLL);
+
+ // binding files
+ new Label(configCom, SWT.NONE)
+ .setText(JBossWSCreationCoreMessages.Label_Binding_File); //$NON-NLS-1$
+
+ final List bindingList = new List(configCom, SWT.BORDER
+ | SWT.SCROLL_LINE | SWT.V_SCROLL | SWT.H_SCROLL);
gd = new GridData(GridData.FILL_HORIZONTAL);
gd.heightHint = Display.getCurrent().getActiveShell().getBounds().height / 4;
gd.verticalSpan = 3;
bindingList.setLayoutData(gd);
loadBindingFiles(bindingList);
- bindingList.addSelectionListener(new SelectionAdapter(){
+ bindingList.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent e) {
- if(bindingList.getSelectionIndex() >= 0){
+ if (bindingList.getSelectionIndex() >= 0) {
btnRemove.setEnabled(true);
- }else{
+ } else {
btnRemove.setEnabled(false);
}
}
});
-
Button btnSelect = new Button(configCom, SWT.NONE);
- btnSelect.setText(JBossWSCreationCoreMessages.Label_Button_Text_Seletion); //$NON-NLS-1$
- btnSelect.addSelectionListener(new SelectionAdapter(){
+ btnSelect
+ .setText(JBossWSCreationCoreMessages.Label_Button_Text_Seletion); //$NON-NLS-1$
+ btnSelect.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent e) {
-
- String fileLocation = new FileDialog(Display.getCurrent().getActiveShell(), SWT.NONE).open();
- if(fileLocation != null &&
- !model.getBindingFiles().contains(fileLocation)){
+
+ String fileLocation = new FileDialog(Display.getCurrent()
+ .getActiveShell(), SWT.NONE).open();
+ if (fileLocation != null
+ && !model.getBindingFiles().contains(fileLocation)) {
bindingList.add(fileLocation);
model.addBindingFile(fileLocation);
}
-
+
}
});
-
+
new Label(configCom, SWT.NONE);
btnRemove = new Button(configCom, SWT.NONE);
btnRemove.setEnabled(false);
btnRemove.setText(JBossWSCreationCoreMessages.Label_Button_Text_Remove);
- btnRemove.addSelectionListener(new SelectionAdapter(){
+ btnRemove.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent e) {
model.getBindingFiles().remove(bindingList.getSelectionIndex());
- bindingList.remove(bindingList.getSelectionIndex());
- if(bindingList.getSelectionIndex() == -1){
+ bindingList.remove(bindingList.getSelectionIndex());
+ if (bindingList.getSelectionIndex() == -1) {
btnRemove.setEnabled(false);
}
}
});
-
- btnGenDefaultImpl = new Button(configCom, SWT.CHECK);
- gd = new GridData();
- gd.horizontalSpan = 3;
- btnGenDefaultImpl.setLayoutData(gd);
- btnGenDefaultImpl.setText(JBossWSCreationCoreMessages.Label_Generate_Impelemtation);
- btnGenDefaultImpl.setSelection(true);
- btnGenDefaultImpl.addSelectionListener(new SelectionAdapter(){
- public void widgetSelected(SelectionEvent e) {
- model.setGenerateImplementatoin(btnGenDefaultImpl.getSelection());
- btnUpdateWebxml.setEnabled(btnGenDefaultImpl.getSelection());
- if(!btnGenDefaultImpl.getSelection()){
- model.setUpdateWebxml(false);
- }else{
+ if (model.getWsScenario() != WebServiceScenario.CLIENT) {
+ btnGenDefaultImpl = new Button(configCom, SWT.CHECK);
+ gd = new GridData();
+ gd.horizontalSpan = 3;
+ btnGenDefaultImpl.setLayoutData(gd);
+ btnGenDefaultImpl
+ .setText(JBossWSCreationCoreMessages.Label_Generate_Impelemtation);
+ btnGenDefaultImpl.setSelection(true);
+ btnGenDefaultImpl.addSelectionListener(new SelectionAdapter() {
+ public void widgetSelected(SelectionEvent e) {
+ model.setGenerateImplementatoin(btnGenDefaultImpl
+ .getSelection());
+ btnUpdateWebxml
+ .setEnabled(btnGenDefaultImpl.getSelection());
+ if (!btnGenDefaultImpl.getSelection()) {
+ model.setUpdateWebxml(false);
+ } else {
+ model.setUpdateWebxml(btnUpdateWebxml.getSelection());
+ }
+ }
+ });
+
+ btnUpdateWebxml = new Button(configCom, SWT.CHECK);
+ gd = new GridData();
+ gd.horizontalSpan = 3;
+ btnUpdateWebxml.setLayoutData(gd);
+ btnUpdateWebxml
+ .setText(JBossWSCreationCoreMessages.Label_Update_Webxml);
+ btnUpdateWebxml.setSelection(true);
+ btnUpdateWebxml.addSelectionListener(new SelectionAdapter() {
+ public void widgetSelected(SelectionEvent e) {
model.setUpdateWebxml(btnUpdateWebxml.getSelection());
}
- }
- });
-
- btnUpdateWebxml = new Button(configCom, SWT.CHECK);
- gd = new GridData();
- gd.horizontalSpan = 3;
- btnUpdateWebxml.setLayoutData(gd);
- btnUpdateWebxml.setText(JBossWSCreationCoreMessages.Label_Update_Webxml);
- btnUpdateWebxml.setSelection(true);
- btnUpdateWebxml.addSelectionListener(new SelectionAdapter(){
- public void widgetSelected(SelectionEvent e) {
- model.setUpdateWebxml(btnUpdateWebxml.getSelection());
- }
- });
-
+ });
+ }
return this;
}
-
- private void loadBindingFiles(List bindingList){
- for(String fileLocation: model.getBindingFiles()){
+
+ private void loadBindingFiles(List bindingList) {
+ for (String fileLocation : model.getBindingFiles()) {
bindingList.add(fileLocation);
}
}
Modified: trunk/ws/plugins/org.jboss.tools.ws.creation.ui/src/org/jboss/tools/ws/creation/ui/wsrt/JBossWSConfigWidgetFactory.java
===================================================================
--- trunk/ws/plugins/org.jboss.tools.ws.creation.ui/src/org/jboss/tools/ws/creation/ui/wsrt/JBossWSConfigWidgetFactory.java 2008-06-22 12:41:42 UTC (rev 8892)
+++ trunk/ws/plugins/org.jboss.tools.ws.creation.ui/src/org/jboss/tools/ws/creation/ui/wsrt/JBossWSConfigWidgetFactory.java 2008-06-22 12:50:34 UTC (rev 8893)
@@ -12,63 +12,70 @@
import org.jboss.tools.ws.creation.core.data.ServiceModel;
import org.jboss.tools.ws.creation.ui.widgets.CodeGenConfigWidget;
-public class JBossWSConfigWidgetFactory implements INamedWidgetContributorFactory {
+public class JBossWSConfigWidgetFactory implements
+ INamedWidgetContributorFactory {
- private SimpleWidgetContributor servicesXMLSelectWidgetContrib;
+ private SimpleWidgetContributor servicesXMLSelectWidgetContrib;
private ServiceModel model;
+ private CodeGenConfigWidget servicesXMLSelectWidget;
- public JBossWSConfigWidgetFactory(){
+ public JBossWSConfigWidgetFactory() {
}
- public INamedWidgetContributor getFirstNamedWidget(){
- if( servicesXMLSelectWidgetContrib == null ) init();
+ public INamedWidgetContributor getFirstNamedWidget() {
+ if (servicesXMLSelectWidgetContrib == null)
+ init();
return servicesXMLSelectWidgetContrib;
}
- public INamedWidgetContributor getNextNamedWidget( INamedWidgetContributor widgetContributor){
- if( servicesXMLSelectWidgetContrib == null ) init();
+ public INamedWidgetContributor getNextNamedWidget(
+ INamedWidgetContributor widgetContributor) {
+ if (servicesXMLSelectWidgetContrib == null)
+ init();
INamedWidgetContributor nextWidgetContrib = null;
return nextWidgetContrib;
}
- public void registerDataMappings(DataMappingRegistry dataRegistry)
- {
- // Map the data model from the defaulting command to this widget factory.
+ public void registerDataMappings(DataMappingRegistry dataRegistry) {
+ // Map the data model from the defaulting command to this widget
+ // factory.
// The framework will actually to the call to getWebServiceDataModel in
- // the ExampleDefaultingCommand class and then call the setWebServiceDataModel
+ // the ExampleDefaultingCommand class and then call the
+ // setWebServiceDataModel
// method in this class.
- dataRegistry.addMapping( InitialCommand.class,
- "WebServiceDataModel", //$NON-NLS-1$
- JBossWSConfigWidgetFactory.class );
- dataRegistry.addMapping(InitialClientCommand.class, "WebServiceDataModel", JBossWSConfigWidgetFactory.class);
+ dataRegistry.addMapping(InitialCommand.class, "WebServiceDataModel", //$NON-NLS-1$
+ JBossWSConfigWidgetFactory.class);
+ dataRegistry.addMapping(InitialClientCommand.class,
+ "WebServiceDataModel", JBossWSConfigWidgetFactory.class);
}
- public void setWebServiceDataModel( ServiceModel model ){
+ public void setWebServiceDataModel(ServiceModel model) {
this.model = model;
+ if (servicesXMLSelectWidget != null) {
+ servicesXMLSelectWidget.setModel(model);
+ }
}
- private void init(){
- //Pages of Axis2 Web Services Java Bean Scenario
- CodeGenConfigWidget servicesXMLSelectWidget =
- new CodeGenConfigWidget(model);
- servicesXMLSelectWidgetContrib = createWidgetContributor(
+ private void init() {
+
+ servicesXMLSelectWidget = new CodeGenConfigWidget(model);
+ servicesXMLSelectWidgetContrib = createWidgetContributor(
"JBoss Web Service Code Generation Configuration",
"Please input the appropriate option for the code generation",
- servicesXMLSelectWidget );
+ servicesXMLSelectWidget);
}
- private SimpleWidgetContributor createWidgetContributor(String title,
- String description,
- final WidgetDataContributor contributor){
- SimpleWidgetContributor widgetContrib = new SimpleWidgetContributor();
+ private SimpleWidgetContributor createWidgetContributor(String title,
+ String description, final WidgetDataContributor contributor) {
+ SimpleWidgetContributor widgetContrib = new SimpleWidgetContributor();
widgetContrib.setTitle(title);
widgetContrib.setDescription(description);
- widgetContrib.setFactory( new WidgetContributorFactory(){
- public WidgetContributor create(){
+ widgetContrib.setFactory(new WidgetContributorFactory() {
+ public WidgetContributor create() {
return contributor;
}
});
return widgetContrib;
- }
+ }
}
15 years, 11 months
JBoss Tools SVN: r8892 - in trunk/ws/plugins: org.jboss.tools.ws.creation.ui and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: Grid.Qian
Date: 2008-06-22 08:41:42 -0400 (Sun, 22 Jun 2008)
New Revision: 8892
Modified:
trunk/ws/plugins/org.jboss.tools.ws.core/plugin.xml
trunk/ws/plugins/org.jboss.tools.ws.creation.ui/plugin.xml
Log:
JBIDE-2403: change jboss ws facet verion to 2.0.1 that is used by jboss-soa-p4.2
Modified: trunk/ws/plugins/org.jboss.tools.ws.core/plugin.xml
===================================================================
--- trunk/ws/plugins/org.jboss.tools.ws.core/plugin.xml 2008-06-21 16:22:22 UTC (rev 8891)
+++ trunk/ws/plugins/org.jboss.tools.ws.core/plugin.xml 2008-06-22 12:41:42 UTC (rev 8892)
@@ -12,7 +12,7 @@
<member category="jbossws.category "/>
</project-facet>
- <project-facet-version facet="jbossws.core" version="1.0">
+ <project-facet-version facet="jbossws.core" version="2.0.1">
<constraint>
<requires facet="jst.web" version="2.2,2.3,2.4,2.5"/>
</constraint>
Modified: trunk/ws/plugins/org.jboss.tools.ws.creation.ui/plugin.xml
===================================================================
--- trunk/ws/plugins/org.jboss.tools.ws.creation.ui/plugin.xml 2008-06-21 16:22:22 UTC (rev 8891)
+++ trunk/ws/plugins/org.jboss.tools.ws.creation.ui/plugin.xml 2008-06-22 12:41:42 UTC (rev 8892)
@@ -28,7 +28,7 @@
class="org.jboss.tools.ws.creation.ui.wsrt.JBossWebServiceRuntime">
<required-facet-version facet="jst.web" version="2.3" allow-newer="true"/>
- <required-facet-versiond facet="jbossws.core" version="1.0" allow-newer="true" />
+ <required-facet-version facet="jbossws.core" version="2.0.1" allow-newer="true" />
<!--required-facet-version facet="jbossws.ext" version="1.0" allow-newer="true" / -->
</serviceRuntime>
@@ -42,7 +42,7 @@
class="org.jboss.tools.ws.creation.ui.wsrt.JBossWebServiceRuntime">
<required-facet-version facet="jst.web" version="2.3" allow-newer="true" />
-
+ <required-facet-version facet="jbossws.core" version="2.0.1" allow-newer="true" />
</clientRuntime>
</extension>
15 years, 11 months
JBoss Tools SVN: r8891 - in trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test: src/org/jboss/tools/jsf/vpe/jsf/test/jbide and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: mareshkau
Date: 2008-06-21 12:22:22 -0400 (Sat, 21 Jun 2008)
New Revision: 8891
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE/2297/limitedEntry.jsp
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE2297Test.java
Log:
http://jira.jboss.org/jira/browse/JBIDE-2297
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE/2297/limitedEntry.jsp
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE/2297/limitedEntry.jsp (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE/2297/limitedEntry.jsp 2008-06-21 16:22:22 UTC (rev 8891)
@@ -0,0 +1,129 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html>
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
+ <title>SIP Route Manager</title>
+ <link rel="stylesheet" type="text/css" href="styles.css"/>
+ <!-- Import the required JS libraries -->
+ <script type="text/javascript" src="<%= request.getContextPath()%>/common.js"></script>
+ <script type="text/javascript" src="<%= request.getContextPath()%>/ajax.js"></script>
+ <script type="text/javascript" src="<%= request.getContextPath()%>/helptips.js"></script>
+ <script type="text/javascript" src="<%= request.getContextPath()%>/NumberScript.js"></script>
+ <script type="text/javascript" src="<%= request.getContextPath()%>/UserScript.js"></script>
+ <script type="text/javascript">
+ // ---------------
+ // Local instances
+ // ---------------
+ var currentAnchor = null;
+ var number = new NumberScript();
+ var user = new UserScript();
+ // ------
+ // Logoff
+ // ------
+ function logoff()
+ {
+ window.onbeforeunload = null;
+ location.replace("<%= request.getContextPath()%>/logoff");
+ }
+ // -----------
+ // manageUsers
+ // -----------
+ function manageUsers()
+ {
+ // Prime Users panel
+ sendRequest("<%= request.getContextPath()%>/controller",
+ "dynamicPanel",
+ null,
+ "task=usertoroutesetManagement&action=entry",
+ function()
+ {
+ user.showRSChoice();
+ user.showUsers();
+ });
+ }
+ // -------------
+ // manageNumbers
+ // -------------
+ function manageNumbers()
+ {
+ sendRequest("<%= request.getContextPath()%>/controller",
+ "dynamicPanel",
+ null,
+ "task=nntouserManagement&action=entry",
+ function()
+ {
+ number.showNumberChoice();
+ number.showForwarding();
+ });
+ }
+ // ------------------------------------------------------------
+ // Highlight the clicked anchor and clear any current selection
+ // ------------------------------------------------------------
+ function highlightAnchor(a)
+ {
+ if (currentAnchor !== null)
+ {
+ currentAnchor.parentNode.className = "unselected";
+ }
+ currentAnchor = a;
+ currentAnchor.parentNode.className = "selected";
+ }
+ </script>
+ </head>
+ <body>
+ <!-- Load the help tips -->
+ <div id="helptip"></div>
+ <!-- Like the Apple site, centred on the page -->
+ <div id="wrapper">
+ <!-- The full page content -->
+ <div id="content">
+ <!-- Standard header to site pages -->
+ <div id="header">
+ <div style="float:left; margin-top:15px;"><a href="http://timepoorprogrammer.blogspot.com"><img alt="" src="<%= request.getContextPath()%>/images/logos/author.png" style="border-style: none"/></a></div>
+ <div style="float:left; margin-left:30px;"><img alt="" src="<%= request.getContextPath()%>/images/logos/banner.png"/></div>
+ <div style="float:right; margin-top:21px; margin-left:5px; margin-right:5px">
+ <span onclick="logoff()" class="haettenContainer">
+ <img class="icon" src="<%= request.getContextPath()%>/images/icons/off.gif" alt=""/>Log Off
+ </span>
+ </div>
+ </div>
+ <!-- The available list of tab action -->
+ <div class="tabs">
+ <ul>
+ <!-- The starting "selected" content of the overall page is manageUsers -->
+ <li class="unselected"><a href="javascript:manageUsers()"
+ onmouseover="showhelptip('Add/Edit/Delete Users (system managed numbers) and allocate/re-allocate them to RouteSets', 250)"
+ onmouseout="hidehelptip()"
+ onclick="highlightAnchor(this);">Users</a></li>
+ <li class="unselected"><a href="javascript:manageNumbers()"
+ onmouseover="showhelptip('Add/Edit/Delete forwarding records and associate/de-associate them to managed or un-managed destinations in weight order', 250)"
+ onmouseout="hidehelptip()"
+ onclick="highlightAnchor(this);">Forwarding</a></li>
+ </ul>
+ </div>
+ <!-- This gets populated by clicking on a particular link above -->
+ <div id="dynamicPanel">
+ <p class="welcomeBlock">Welcome to the <b>admin</b> provisioning portal for the Avaya SIP Route Manager (SRM).</p>
+ <p class="welcomeBlock">The SRM lives in the core of a communications solution providing call switching
+ for external networks and communities, binding these separate elements together.</p>
+ <p class="welcomeBlock">An <b>admin</b> role administrator can add <b>Users</b> and <b>Forwarding</b> information to the
+ system.</p>
+ <p class="welcomeBlock">When routing a call, the system first checks to see if the normalized dialled number is found in its
+ <b>Forwarding</b> records. Forwarding relates a normalised dialled number to a set of destinations. If records are found,
+ the system routes via the highest weighted record first. For a record, a destination may be either a known User or some
+ unmanaged destination.</p>
+ <p class="welcomeBlock">A User maps a known callee to a particular Outbound Route Set. Alternatively, if the callee is not
+ known to us, calls to an unmanaged destination are achieved by matching the source and destination
+ of the call against the patterns defined in the configured <b>Best Fits</b>.</p>
+ <p class="welcomeBlock">To amend the <b>Outbound Route Sets</b>, <b>Routes</b>, and <b>Best Fits</b> data that define the
+ system routing you will need full <b>sysadmin</b> privileges. As an <b>admin</b> role user you are restricted to using
+ the Outbound Route Sets already provisioned.</p>
+ </div>
+ <!-- Standard footer to site pages -->
+ <div class="padding"></div>
+ <div id="footer">Copyright © 2008 Avaya</div>
+ </div>
+ </div>
+ </body>
+</html>
+
Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE2297Test.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE2297Test.java 2008-06-21 16:15:29 UTC (rev 8890)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE2297Test.java 2008-06-21 16:22:22 UTC (rev 8891)
@@ -25,13 +25,19 @@
public static final String IMPORT_PROJECT_NAME = "jsfTest"; //$NON-NLS-1$
- private static final String TEST_PAGE_NAME = "JBIDE/2297/JBIDE-2297.xhtml"; //$NON-NLS-1$
+ private static final String TEST_PAGE_NAME1 = "JBIDE/2297/JBIDE-2297.xhtml"; //$NON-NLS-1$
+ private static final String TEST_PAGE_NAME2 ="JBIDE/2297/limitedEntry.jsp"; //$NON-NLS-1$
+
public JBIDE2297Test(String name) {
super(name);
}
public void testJBIDE2297() throws Throwable {
- performTestForVpeComponent((IFile) TestUtil.getComponentPath(TEST_PAGE_NAME,IMPORT_PROJECT_NAME));
+ performTestForVpeComponent((IFile) TestUtil.getComponentPath(TEST_PAGE_NAME1,IMPORT_PROJECT_NAME));
}
+
+ public void testJBIDE2297_jsp() throws Throwable {
+ performTestForVpeComponent((IFile) TestUtil.getComponentPath(TEST_PAGE_NAME2,IMPORT_PROJECT_NAME));
+ }
}
15 years, 11 months
JBoss Tools SVN: r8890 - trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/expression.
by jbosstools-commits@lists.jboss.org
Author: mareshkau
Date: 2008-06-21 12:15:29 -0400 (Sat, 21 Jun 2008)
New Revision: 8890
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/expression/VpeFunctionSrc.java
Log:
http://jira.jboss.org/jira/browse/JBIDE-2297
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/expression/VpeFunctionSrc.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/expression/VpeFunctionSrc.java 2008-06-21 15:35:22 UTC (rev 8889)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/expression/VpeFunctionSrc.java 2008-06-21 16:15:29 UTC (rev 8890)
@@ -65,7 +65,7 @@
//brouser will not processed this url, so we just slow this exeption
//You can check it's by inserting next code
//<h:graphicImage value=" %= request.getContextPath()%/images/logos/banner.png"/>
- tagValue="";
+ tagValue=""; //$NON-NLS-1$
}
IPath tagPath = new Path(tagValue);
15 years, 11 months
JBoss Tools SVN: r8889 - in branches/jbosstools-2.1.x/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test: src/org/jboss/tools/jsf/vpe/jsf/test/jbide and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: mareshkau
Date: 2008-06-21 11:35:22 -0400 (Sat, 21 Jun 2008)
New Revision: 8889
Added:
branches/jbosstools-2.1.x/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE/2297/limitedEntry.jsp
Modified:
branches/jbosstools-2.1.x/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE2297Test.java
Log:
Added: branches/jbosstools-2.1.x/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE/2297/limitedEntry.jsp
===================================================================
--- branches/jbosstools-2.1.x/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE/2297/limitedEntry.jsp (rev 0)
+++ branches/jbosstools-2.1.x/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE/2297/limitedEntry.jsp 2008-06-21 15:35:22 UTC (rev 8889)
@@ -0,0 +1,129 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html>
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
+ <title>SIP Route Manager</title>
+ <link rel="stylesheet" type="text/css" href="styles.css"/>
+ <!-- Import the required JS libraries -->
+ <script type="text/javascript" src="<%= request.getContextPath()%>/common.js"></script>
+ <script type="text/javascript" src="<%= request.getContextPath()%>/ajax.js"></script>
+ <script type="text/javascript" src="<%= request.getContextPath()%>/helptips.js"></script>
+ <script type="text/javascript" src="<%= request.getContextPath()%>/NumberScript.js"></script>
+ <script type="text/javascript" src="<%= request.getContextPath()%>/UserScript.js"></script>
+ <script type="text/javascript">
+ // ---------------
+ // Local instances
+ // ---------------
+ var currentAnchor = null;
+ var number = new NumberScript();
+ var user = new UserScript();
+ // ------
+ // Logoff
+ // ------
+ function logoff()
+ {
+ window.onbeforeunload = null;
+ location.replace("<%= request.getContextPath()%>/logoff");
+ }
+ // -----------
+ // manageUsers
+ // -----------
+ function manageUsers()
+ {
+ // Prime Users panel
+ sendRequest("<%= request.getContextPath()%>/controller",
+ "dynamicPanel",
+ null,
+ "task=usertoroutesetManagement&action=entry",
+ function()
+ {
+ user.showRSChoice();
+ user.showUsers();
+ });
+ }
+ // -------------
+ // manageNumbers
+ // -------------
+ function manageNumbers()
+ {
+ sendRequest("<%= request.getContextPath()%>/controller",
+ "dynamicPanel",
+ null,
+ "task=nntouserManagement&action=entry",
+ function()
+ {
+ number.showNumberChoice();
+ number.showForwarding();
+ });
+ }
+ // ------------------------------------------------------------
+ // Highlight the clicked anchor and clear any current selection
+ // ------------------------------------------------------------
+ function highlightAnchor(a)
+ {
+ if (currentAnchor !== null)
+ {
+ currentAnchor.parentNode.className = "unselected";
+ }
+ currentAnchor = a;
+ currentAnchor.parentNode.className = "selected";
+ }
+ </script>
+ </head>
+ <body>
+ <!-- Load the help tips -->
+ <div id="helptip"></div>
+ <!-- Like the Apple site, centred on the page -->
+ <div id="wrapper">
+ <!-- The full page content -->
+ <div id="content">
+ <!-- Standard header to site pages -->
+ <div id="header">
+ <div style="float:left; margin-top:15px;"><a href="http://timepoorprogrammer.blogspot.com"><img alt="" src="<%= request.getContextPath()%>/images/logos/author.png" style="border-style: none"/></a></div>
+ <div style="float:left; margin-left:30px;"><img alt="" src="<%= request.getContextPath()%>/images/logos/banner.png"/></div>
+ <div style="float:right; margin-top:21px; margin-left:5px; margin-right:5px">
+ <span onclick="logoff()" class="haettenContainer">
+ <img class="icon" src="<%= request.getContextPath()%>/images/icons/off.gif" alt=""/>Log Off
+ </span>
+ </div>
+ </div>
+ <!-- The available list of tab action -->
+ <div class="tabs">
+ <ul>
+ <!-- The starting "selected" content of the overall page is manageUsers -->
+ <li class="unselected"><a href="javascript:manageUsers()"
+ onmouseover="showhelptip('Add/Edit/Delete Users (system managed numbers) and allocate/re-allocate them to RouteSets', 250)"
+ onmouseout="hidehelptip()"
+ onclick="highlightAnchor(this);">Users</a></li>
+ <li class="unselected"><a href="javascript:manageNumbers()"
+ onmouseover="showhelptip('Add/Edit/Delete forwarding records and associate/de-associate them to managed or un-managed destinations in weight order', 250)"
+ onmouseout="hidehelptip()"
+ onclick="highlightAnchor(this);">Forwarding</a></li>
+ </ul>
+ </div>
+ <!-- This gets populated by clicking on a particular link above -->
+ <div id="dynamicPanel">
+ <p class="welcomeBlock">Welcome to the <b>admin</b> provisioning portal for the Avaya SIP Route Manager (SRM).</p>
+ <p class="welcomeBlock">The SRM lives in the core of a communications solution providing call switching
+ for external networks and communities, binding these separate elements together.</p>
+ <p class="welcomeBlock">An <b>admin</b> role administrator can add <b>Users</b> and <b>Forwarding</b> information to the
+ system.</p>
+ <p class="welcomeBlock">When routing a call, the system first checks to see if the normalized dialled number is found in its
+ <b>Forwarding</b> records. Forwarding relates a normalised dialled number to a set of destinations. If records are found,
+ the system routes via the highest weighted record first. For a record, a destination may be either a known User or some
+ unmanaged destination.</p>
+ <p class="welcomeBlock">A User maps a known callee to a particular Outbound Route Set. Alternatively, if the callee is not
+ known to us, calls to an unmanaged destination are achieved by matching the source and destination
+ of the call against the patterns defined in the configured <b>Best Fits</b>.</p>
+ <p class="welcomeBlock">To amend the <b>Outbound Route Sets</b>, <b>Routes</b>, and <b>Best Fits</b> data that define the
+ system routing you will need full <b>sysadmin</b> privileges. As an <b>admin</b> role user you are restricted to using
+ the Outbound Route Sets already provisioned.</p>
+ </div>
+ <!-- Standard footer to site pages -->
+ <div class="padding"></div>
+ <div id="footer">Copyright © 2008 Avaya</div>
+ </div>
+ </div>
+ </body>
+</html>
+
Modified: branches/jbosstools-2.1.x/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE2297Test.java
===================================================================
--- branches/jbosstools-2.1.x/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE2297Test.java 2008-06-21 15:33:40 UTC (rev 8888)
+++ branches/jbosstools-2.1.x/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE2297Test.java 2008-06-21 15:35:22 UTC (rev 8889)
@@ -25,13 +25,19 @@
public static final String IMPORT_PROJECT_NAME = "jsfTest"; //$NON-NLS-1$
- private static final String TEST_PAGE_NAME = "JBIDE/2297/JBIDE-2297.xhtml"; //$NON-NLS-1$
+ private static final String TEST_PAGE_NAME1 = "JBIDE/2297/JBIDE-2297.xhtml"; //$NON-NLS-1$
+ private static final String TEST_PAGE_NAME2 ="JBIDE/2297/limitedEntry.jsp"; //$NON-NLS-1$
+
public JBIDE2297Test(String name) {
super(name);
}
public void testJBIDE2297() throws Throwable {
- performTestForVpeComponent((IFile) TestUtil.getComponentPath(TEST_PAGE_NAME,IMPORT_PROJECT_NAME));
+ performTestForVpeComponent((IFile) TestUtil.getComponentPath(TEST_PAGE_NAME1,IMPORT_PROJECT_NAME));
}
+
+ public void testJBIDE2297_jsp() throws Throwable {
+ performTestForVpeComponent((IFile) TestUtil.getComponentPath(TEST_PAGE_NAME2,IMPORT_PROJECT_NAME));
+ }
}
15 years, 11 months
JBoss Tools SVN: r8888 - branches/jbosstools-2.1.x/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/expression.
by jbosstools-commits@lists.jboss.org
Author: mareshkau
Date: 2008-06-21 11:33:40 -0400 (Sat, 21 Jun 2008)
New Revision: 8888
Modified:
branches/jbosstools-2.1.x/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/expression/VpeFunctionSrc.java
Log:
http://jira.jboss.org/jira/browse/JBIDE-2227
Modified: branches/jbosstools-2.1.x/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/expression/VpeFunctionSrc.java
===================================================================
--- branches/jbosstools-2.1.x/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/expression/VpeFunctionSrc.java 2008-06-21 15:12:50 UTC (rev 8887)
+++ branches/jbosstools-2.1.x/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/expression/VpeFunctionSrc.java 2008-06-21 15:33:40 UTC (rev 8888)
@@ -65,7 +65,7 @@
//brouser will not processed this url, so we just slow this exeption
//You can check it's by inserting next code
//<h:graphicImage value=" %= request.getContextPath()%/images/logos/banner.png"/>
- tagValue="";
+ tagValue=""; //$NON-NLS-1$
}
IPath tagPath = new Path(tagValue);
15 years, 11 months
JBoss Tools SVN: r8887 - in branches/jbosstools-2.1.x/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test: resources/jsfTest/WebContent/pages/JBIDE/2297 and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: mareshkau
Date: 2008-06-21 11:12:50 -0400 (Sat, 21 Jun 2008)
New Revision: 8887
Added:
branches/jbosstools-2.1.x/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE/2297/
branches/jbosstools-2.1.x/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE/2297/JBIDE-2297.xhtml
branches/jbosstools-2.1.x/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE2297Test.java
Log:
http://jira.jboss.org/jira/browse/JBIDE-2297
Added: branches/jbosstools-2.1.x/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE/2297/JBIDE-2297.xhtml
===================================================================
--- branches/jbosstools-2.1.x/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE/2297/JBIDE-2297.xhtml (rev 0)
+++ branches/jbosstools-2.1.x/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE/2297/JBIDE-2297.xhtml 2008-06-21 15:12:50 UTC (rev 8887)
@@ -0,0 +1,11 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core">
+
+ <ui:composition template="">
+<h:graphicImage value=" %= request.getContextPath()%/images/logos/banner.png"/>ffffff
+ </ui:composition>
+
+</html>
\ No newline at end of file
Added: branches/jbosstools-2.1.x/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE2297Test.java
===================================================================
--- branches/jbosstools-2.1.x/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE2297Test.java (rev 0)
+++ branches/jbosstools-2.1.x/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE2297Test.java 2008-06-21 15:12:50 UTC (rev 8887)
@@ -0,0 +1,37 @@
+/*******************************************************************************
+ * Copyright (c) 2007 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+
+package org.jboss.tools.jsf.vpe.jsf.test.jbide;
+
+import org.eclipse.core.resources.IFile;
+import org.jboss.tools.vpe.ui.test.TestUtil;
+import org.jboss.tools.vpe.ui.test.VpeTest;
+
+/**
+ * Test case for
+ *
+ * @author mareshkau
+ *
+ */
+public class JBIDE2297Test extends VpeTest{
+
+ public static final String IMPORT_PROJECT_NAME = "jsfTest"; //$NON-NLS-1$
+
+ private static final String TEST_PAGE_NAME = "JBIDE/2297/JBIDE-2297.xhtml"; //$NON-NLS-1$
+
+ public JBIDE2297Test(String name) {
+ super(name);
+ }
+
+ public void testJBIDE2297() throws Throwable {
+ performTestForVpeComponent((IFile) TestUtil.getComponentPath(TEST_PAGE_NAME,IMPORT_PROJECT_NAME));
+ }
+}
15 years, 11 months
JBoss Tools SVN: r8886 - in branches/jbosstools-2.1.x: vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/expression and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: mareshkau
Date: 2008-06-21 11:11:20 -0400 (Sat, 21 Jun 2008)
New Revision: 8886
Modified:
branches/jbosstools-2.1.x/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/JsfAllTests.java
branches/jbosstools-2.1.x/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/expression/VpeFunctionSrc.java
Log:
http://jira.jboss.org/jira/browse/JBIDE-2297
Modified: branches/jbosstools-2.1.x/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/JsfAllTests.java
===================================================================
--- branches/jbosstools-2.1.x/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/JsfAllTests.java 2008-06-21 08:36:16 UTC (rev 8885)
+++ branches/jbosstools-2.1.x/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/JsfAllTests.java 2008-06-21 15:11:20 UTC (rev 8886)
@@ -25,6 +25,7 @@
import org.jboss.tools.jsf.vpe.jsf.test.jbide.JBIDE1720Test;
import org.jboss.tools.jsf.vpe.jsf.test.jbide.JBIDE1730Test;
import org.jboss.tools.jsf.vpe.jsf.test.jbide.JBIDE1744Test;
+import org.jboss.tools.jsf.vpe.jsf.test.jbide.JBIDE2297Test;
import org.jboss.tools.jsf.vpe.jsf.test.jbide.JBIDE675Test;
import org.jboss.tools.jsf.vpe.jsf.test.jbide.JBIDE788Test;
import org.jboss.tools.jsf.vpe.jsf.test.jbide.JsfJbide1467Test;
@@ -64,6 +65,7 @@
suite.addTestSuite(JsfJbide1718Test.class);
suite.addTestSuite(JBIDE1730Test.class);
suite.addTestSuite(JBIDE1494.class);
+ suite.addTestSuite(JBIDE2297Test.class);
// $JUnit-END$
// added by Max Areshkau
// add here projects which should be imported for junit tests
Modified: branches/jbosstools-2.1.x/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/expression/VpeFunctionSrc.java
===================================================================
--- branches/jbosstools-2.1.x/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/expression/VpeFunctionSrc.java 2008-06-21 08:36:16 UTC (rev 8885)
+++ branches/jbosstools-2.1.x/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/expression/VpeFunctionSrc.java 2008-06-21 15:11:20 UTC (rev 8886)
@@ -57,8 +57,15 @@
try {
tagValue = URLDecoder.decode(tagValue, "UTF-8"); //$NON-NLS-1$
} catch (UnsupportedEncodingException e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
+
+ VpePlugin.getPluginLog().logError(e);
+ } catch (IllegalArgumentException ex) {
+ //if user enter invalid URL, for example " % sss",
+ //illegal argument exception will be throwed,
+ //brouser will not processed this url, so we just slow this exeption
+ //You can check it's by inserting next code
+ //<h:graphicImage value=" %= request.getContextPath()%/images/logos/banner.png"/>
+ tagValue="";
}
IPath tagPath = new Path(tagValue);
15 years, 11 months
JBoss Tools SVN: r8885 - trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core.
by jbosstools-commits@lists.jboss.org
Author: max.andersen(a)jboss.com
Date: 2008-06-21 04:36:16 -0400 (Sat, 21 Jun 2008)
New Revision: 8885
Modified:
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/plugin.xml
Log:
a jpaplatform should not set itself as default - see eclipse bug 233754
It should be set in the product configuration.
Modified: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/plugin.xml
===================================================================
--- trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/plugin.xml 2008-06-20 23:17:56 UTC (rev 8884)
+++ trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/plugin.xml 2008-06-21 08:36:16 UTC (rev 8885)
@@ -7,7 +7,7 @@
<jpaPlatform
class="org.jboss.tools.hibernate.jpt.core.internal.HibernatePlatform"
- default="true"
+ default="false"
id="hibernate"
label="Hibernate"/>
</extension>
15 years, 11 months