[JBoss JIRA] (JBIDE-16005) Web Service Tester : invoke test when hitting 'Return'
by Fred Bricon (JIRA)
[ https://issues.jboss.org/browse/JBIDE-16005?page=com.atlassian.jira.plugi... ]
Fred Bricon commented on JBIDE-16005:
-------------------------------------
Looking at JAXRSWSTestView2, I see the test is invoked on Ctrl+Return (which I find totally non-intuitive, there's no visual aid to give any hint about it)
So if we replace
{code}
urlCombo.addKeyListener(new KeyListener() {
public void keyPressed(KeyEvent e) {
}
public void keyReleased(KeyEvent e) {
setControlsForSelectedURL();
getCurrentHistoryEntry().setUrl(urlCombo.getText());
getCurrentHistoryEntry().setAction(null);
if (e.keyCode == SWT.CR && e.stateMask == SWT.CTRL) {
handleTest(getCurrentTestType());
}
}
});
{code}
So we'd just have to change it to
{code}
urlCombo.addKeyListener(new KeyListener() {
public void keyPressed(KeyEvent e) {
}
public void keyReleased(KeyEvent e) {
setControlsForSelectedURL();
getCurrentHistoryEntry().setUrl(urlCombo.getText());
getCurrentHistoryEntry().setAction(null);
if (e.keyCode == SWT.CR) {
handleTest(getCurrentTestType());
}
}
});
{code}
[~xcoulon], [~bfitzpat] WDYT?
> Web Service Tester : invoke test when hitting 'Return'
> ------------------------------------------------------
>
> Key: JBIDE-16005
> URL: https://issues.jboss.org/browse/JBIDE-16005
> Project: Tools (JBoss Tools)
> Issue Type: Enhancement
> Components: webservices
> Affects Versions: 4.1.1.Beta1
> Reporter: Fred Bricon
> Fix For: 4.2.0.Alpha1
>
>
> I've been using the Web Service tester for my REST endpoints and I find it really annoying that I need the mouse to click the Invoke button, after typing the url under test.
> Intuitively, I expect the test to be invoked as soon as I hit the "Enter" key, similarly to a web browser.
> Please make it happen :-)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 5 months
[JBoss JIRA] (JBIDE-16005) Web Service Tester : invoke test when hitting 'Return'
by Fred Bricon (JIRA)
[ https://issues.jboss.org/browse/JBIDE-16005?page=com.atlassian.jira.plugi... ]
Fred Bricon edited comment on JBIDE-16005 at 2/4/14 5:50 AM:
-------------------------------------------------------------
Looking at JAXRSWSTestView2, I see the test is invoked on Ctrl+Return (which I find totally non-intuitive, there's no visual aid to give any hint about it)
So if we replace
{code}
urlCombo.addKeyListener(new KeyListener() {
public void keyPressed(KeyEvent e) {
}
public void keyReleased(KeyEvent e) {
setControlsForSelectedURL();
getCurrentHistoryEntry().setUrl(urlCombo.getText());
getCurrentHistoryEntry().setAction(null);
if (e.keyCode == SWT.CR && e.stateMask == SWT.CTRL) {
handleTest(getCurrentTestType());
}
}
});
{code}
to :
{code}
urlCombo.addKeyListener(new KeyListener() {
public void keyPressed(KeyEvent e) {
}
public void keyReleased(KeyEvent e) {
setControlsForSelectedURL();
getCurrentHistoryEntry().setUrl(urlCombo.getText());
getCurrentHistoryEntry().setAction(null);
if (e.keyCode == SWT.CR) {
handleTest(getCurrentTestType());
}
}
});
{code}
I think that'll be much more user friendly. [~xcoulon], [~bfitzpat] WDYT?
was (Author: fbricon):
Looking at JAXRSWSTestView2, I see the test is invoked on Ctrl+Return (which I find totally non-intuitive, there's no visual aid to give any hint about it)
So if we replace
{code}
urlCombo.addKeyListener(new KeyListener() {
public void keyPressed(KeyEvent e) {
}
public void keyReleased(KeyEvent e) {
setControlsForSelectedURL();
getCurrentHistoryEntry().setUrl(urlCombo.getText());
getCurrentHistoryEntry().setAction(null);
if (e.keyCode == SWT.CR && e.stateMask == SWT.CTRL) {
handleTest(getCurrentTestType());
}
}
});
{code}
to :
{code}
urlCombo.addKeyListener(new KeyListener() {
public void keyPressed(KeyEvent e) {
}
public void keyReleased(KeyEvent e) {
setControlsForSelectedURL();
getCurrentHistoryEntry().setUrl(urlCombo.getText());
getCurrentHistoryEntry().setAction(null);
if (e.keyCode == SWT.CR) {
handleTest(getCurrentTestType());
}
}
});
{code}
[~xcoulon], [~bfitzpat] WDYT?
> Web Service Tester : invoke test when hitting 'Return'
> ------------------------------------------------------
>
> Key: JBIDE-16005
> URL: https://issues.jboss.org/browse/JBIDE-16005
> Project: Tools (JBoss Tools)
> Issue Type: Enhancement
> Components: webservices
> Affects Versions: 4.1.1.Beta1
> Reporter: Fred Bricon
> Fix For: 4.2.0.Alpha1
>
>
> I've been using the Web Service tester for my REST endpoints and I find it really annoying that I need the mouse to click the Invoke button, after typing the url under test.
> Intuitively, I expect the test to be invoked as soon as I hit the "Enter" key, similarly to a web browser.
> Please make it happen :-)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 5 months
[JBoss JIRA] (JBIDE-16005) Web Service Tester : invoke test when hitting 'Return'
by Fred Bricon (JIRA)
[ https://issues.jboss.org/browse/JBIDE-16005?page=com.atlassian.jira.plugi... ]
Fred Bricon edited comment on JBIDE-16005 at 2/4/14 5:49 AM:
-------------------------------------------------------------
Looking at JAXRSWSTestView2, I see the test is invoked on Ctrl+Return (which I find totally non-intuitive, there's no visual aid to give any hint about it)
So if we replace
{code}
urlCombo.addKeyListener(new KeyListener() {
public void keyPressed(KeyEvent e) {
}
public void keyReleased(KeyEvent e) {
setControlsForSelectedURL();
getCurrentHistoryEntry().setUrl(urlCombo.getText());
getCurrentHistoryEntry().setAction(null);
if (e.keyCode == SWT.CR && e.stateMask == SWT.CTRL) {
handleTest(getCurrentTestType());
}
}
});
{code}
to :
{code}
urlCombo.addKeyListener(new KeyListener() {
public void keyPressed(KeyEvent e) {
}
public void keyReleased(KeyEvent e) {
setControlsForSelectedURL();
getCurrentHistoryEntry().setUrl(urlCombo.getText());
getCurrentHistoryEntry().setAction(null);
if (e.keyCode == SWT.CR) {
handleTest(getCurrentTestType());
}
}
});
{code}
[~xcoulon], [~bfitzpat] WDYT?
was (Author: fbricon):
Looking at JAXRSWSTestView2, I see the test is invoked on Ctrl+Return (which I find totally non-intuitive, there's no visual aid to give any hint about it)
So if we replace
{code}
urlCombo.addKeyListener(new KeyListener() {
public void keyPressed(KeyEvent e) {
}
public void keyReleased(KeyEvent e) {
setControlsForSelectedURL();
getCurrentHistoryEntry().setUrl(urlCombo.getText());
getCurrentHistoryEntry().setAction(null);
if (e.keyCode == SWT.CR && e.stateMask == SWT.CTRL) {
handleTest(getCurrentTestType());
}
}
});
{code}
So we'd just have to change it to
{code}
urlCombo.addKeyListener(new KeyListener() {
public void keyPressed(KeyEvent e) {
}
public void keyReleased(KeyEvent e) {
setControlsForSelectedURL();
getCurrentHistoryEntry().setUrl(urlCombo.getText());
getCurrentHistoryEntry().setAction(null);
if (e.keyCode == SWT.CR) {
handleTest(getCurrentTestType());
}
}
});
{code}
[~xcoulon], [~bfitzpat] WDYT?
> Web Service Tester : invoke test when hitting 'Return'
> ------------------------------------------------------
>
> Key: JBIDE-16005
> URL: https://issues.jboss.org/browse/JBIDE-16005
> Project: Tools (JBoss Tools)
> Issue Type: Enhancement
> Components: webservices
> Affects Versions: 4.1.1.Beta1
> Reporter: Fred Bricon
> Fix For: 4.2.0.Alpha1
>
>
> I've been using the Web Service tester for my REST endpoints and I find it really annoying that I need the mouse to click the Invoke button, after typing the url under test.
> Intuitively, I expect the test to be invoked as soon as I hit the "Enter" key, similarly to a web browser.
> Please make it happen :-)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 5 months
[JBoss JIRA] (JBIDE-16431) Run As on JAX-RS Node generates wrong URI if Application path has no leading slash
by Fred Bricon (JIRA)
[ https://issues.jboss.org/browse/JBIDE-16431?page=com.atlassian.jira.plugi... ]
Fred Bricon updated JBIDE-16431:
--------------------------------
Description:
* Create an HTML5 project from central
* In JaxRsActivator, change @ApplicationPath("/rest") to @ApplicationPath("rest")
* Do Run As > Run on Server on the GET rest/members endpoint in the JAX-RW Web Services node
* Assert the WS Tester opens with http://localhost:8080/jboss-as-kitchensink-html5-mobile/rest/members
FAIL : URL is http://localhost:8080/jboss-as-kitchensink-html5-mobilerest/members
[JAX-RS doc|http://docs.oracle.com/cd/E19798-01/821-1841/ginpw/] says leading slashes are not mandatory for @Path, but I didn't see any mention of ApplicationPath (my guess is the rule should be consistent). At least, the application server doesn't puke on it so it's a valid use case to me.
was:
* Create an HTML5 project from central
* In JaxRsActivator, change @ApplicationPath("/rest") to @ApplicationPath("rest")
* Do Run As > Run on Server on the GET rest/members endpoint in the JAX-RW Web Services node
* Assert the WS Tester opens with http://localhost:8080/jboss-as-kitchensink-html5-mobile/rest/members
FAIL : URL is http://localhost:8080/jboss-as-kitchensink-html5-mobilerest/members
> Run As on JAX-RS Node generates wrong URI if Application path has no leading slash
> ----------------------------------------------------------------------------------
>
> Key: JBIDE-16431
> URL: https://issues.jboss.org/browse/JBIDE-16431
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: webservices
> Affects Versions: 4.1.1.Final
> Reporter: Fred Bricon
> Assignee: Xavier Coulon
> Priority: Minor
> Fix For: 4.1.2.CR1, 4.2.0.Alpha2
>
>
> * Create an HTML5 project from central
> * In JaxRsActivator, change @ApplicationPath("/rest") to @ApplicationPath("rest")
> * Do Run As > Run on Server on the GET rest/members endpoint in the JAX-RW Web Services node
> * Assert the WS Tester opens with http://localhost:8080/jboss-as-kitchensink-html5-mobile/rest/members
> FAIL : URL is http://localhost:8080/jboss-as-kitchensink-html5-mobilerest/members
> [JAX-RS doc|http://docs.oracle.com/cd/E19798-01/821-1841/ginpw/] says leading slashes are not mandatory for @Path, but I didn't see any mention of ApplicationPath (my guess is the rule should be consistent). At least, the application server doesn't puke on it so it's a valid use case to me.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 5 months
[JBoss JIRA] (JBIDE-15276) Content assist accumulates proposals for the given prefix, when uri is modified
by Radoslav Rábara (JIRA)
[ https://issues.jboss.org/browse/JBIDE-15276?page=com.atlassian.jira.plugi... ]
Radoslav Rábara edited comment on JBIDE-15276 at 2/4/14 5:32 AM:
-----------------------------------------------------------------
Hi,
I reproduced this issue in JBDS 8.0.0 Alpha1-v20131212-0740-B25.
My steps to reproduce are following:
STEP: Create HTML5 Project
STEP: Create XHTML Page
STEP: Insert following code to the page:
{code}
<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"
>
{code}
STEP: Modify value of xmlns:f attribute assigning it to "http://java.sun.com/jsf/html" and save.
ASSERT: Code assist for <f: displays proposals for the namespace "http://java.sun.com/jsf/html"
FAIL: Code assist accumulates proposals (e.g. there is f:actionListener, f:ajax, ...)
was (Author: rrabara):
Hi,
I reproduced this issue in JBDS 8.0.0 Alpha1-v20131212-0740-B25.
My steps to reproduce are following:
STEP: Create HTML5 Project
STEP: Create XHTML Page
STEP: Insert following code to the page:
{code:title=Bar.java|borderStyle=solid}
<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"
>
{code}
STEP: Modify value of xmlns:f attribute assigning it to "http://java.sun.com/jsf/html" and save.
ASSERT: Code assist for <f: displays proposals for the namespace "http://java.sun.com/jsf/html"
FAIL: Code assist accumulates proposals (e.g. there is f:actionListener, f:ajax, ...)
> Content assist accumulates proposals for the given prefix, when uri is modified
> -------------------------------------------------------------------------------
>
> Key: JBIDE-15276
> URL: https://issues.jboss.org/browse/JBIDE-15276
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: jsp/jsf/xml/html source editing
> Affects Versions: 4.2.0.Alpha1
> Reporter: Viacheslav Kabanovich
> Assignee: Viacheslav Kabanovich
> Priority: Critical
> Fix For: 4.2.0.Alpha1
>
>
> 1. Open a *.xhtml page.
> {code}
> <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"
> >
> {code}
> ASSERT: Code assist for <ui: <h: <f: displays proper proposals.
> 2. Modify value of xmlns:f attribute. First assign it to "http://java.sun.com/jsf/html" and save, then to "http://java.sun.com/jsf/facelets" and save, finally back to "http://java.sun.com/jsf/core" and save.
> ASSERT: Code assist for <f: after each modification displays proper proposals for the currently assigned uri.
> FAILURE: Code assist for <f: accumulates proposals for all uri's to which it has been assigned.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 5 months