[JBoss JIRA] (JBIDE-18547) Generate index.html in default Dynamic Web Project
by Daniel Azarov (JIRA)
[ https://issues.jboss.org/browse/JBIDE-18547?page=com.atlassian.jira.plugi... ]
Daniel Azarov commented on JBIDE-18547:
---------------------------------------
[~ArunGupta], what do you suggest as template for index.html?
One of existing templates:
!HtmlTemplates.png!
Or something different?
> Generate index.html in default Dynamic Web Project
> --------------------------------------------------
>
> Key: JBIDE-18547
> URL: https://issues.jboss.org/browse/JBIDE-18547
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: upstream
> Reporter: Arun Gupta
> Assignee: Daniel Azarov
> Fix For: 4.3.x
>
> Attachments: HtmlTemplates.png, screenshot-1.png
>
>
> Default Dynamic Web Project does not contain index.html and so running it on a server always require to generate this file first. That's a very typical scenario and should be fixed for a more seamless experience.
> Accessing the application at http://localhost:8080/helloworld/ shows "Forbidden" as shown in the attachment.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 1 month
[JBoss JIRA] (JBIDE-19439) Explorer: Cannot delete v2 applications via "Del"-Key
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-19439?page=com.atlassian.jira.plugi... ]
Andre Dietisheim commented on JBIDE-19439:
------------------------------------------
The "Delete" key is bound to the different type of handlers (delete connection, domain, application, etc.) via contexts. The context switching is implemented in the OpenShiftExplorerView which switches contexts based on the type of the current selection.
{code:title=org.jboss.tools.common.ui/OpenShiftExplorerView}
private static final String CONNECTION_CONTEXT = "org.jboss.tools.openshift.explorer.context.connection";
private static final String APPLICATION_CONTEXT = "org.jboss.tools.openshift.explorer.context.application";
private static final String DOMAIN_CONTEXT = "org.jboss.tools.openshift.explorer.context.domain";
...
private ISelectionChangedListener onSelectionChanged() {
return new ISelectionChangedListener() {
@Override
public void selectionChanged(SelectionChangedEvent event) {
ISelection selection = event.getSelection();
if (UIUtils.isFirstElementOfType(IDomain.class, selection)) {
activate(DOMAIN_CONTEXT);
} else if (UIUtils.isFirstElementOfType(IApplication.class, selection)) {
activate(APPLICATION_CONTEXT);
} else if (UIUtils.isFirstElementOfType(ExpressConnection.class, selection)) {
// must be checked after domain, application, adapter may convert
// any resource to a connection
activate(CONNECTION_CONTEXT);
}
}
};
}
{code}
With JBIDE-19096 we moved the OpenShiftExplorerView to org.jboss.tools.openshift.common.ui and it therefore has no access to v2 or v3 types and therefore cannot do the context switching any more.
> Explorer: Cannot delete v2 applications via "Del"-Key
> -----------------------------------------------------
>
> Key: JBIDE-19439
> URL: https://issues.jboss.org/browse/JBIDE-19439
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.3.0.Alpha2
> Reporter: Andre Dietisheim
> Priority: Minor
> Fix For: 4.3.0.Alpha2
>
>
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 1 month