[JBoss JIRA] Created: (JBIDE-1575) Seam s:decorate not displayed "visually" in VPE
by steve tynor (JIRA)
Seam s:decorate not displayed "visually" in VPE
-----------------------------------------------
Key: JBIDE-1575
URL: http://jira.jboss.com/jira/browse/JBIDE-1575
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Visual Page Editor
Affects Versions: 2.0.0.GA
Environment: Windows, Eclipse 3.3.1.1 (eclipse-jee-europa-fall2-win32/), JBoss Tools 2.0.0.GA
Reporter: steve tynor
Attachments: screenshot-1.jpg
Seam s:decorate tags are rendered textually rather than visually in the VPE. Max asked me to post screenshots and my xhtml.
Have I configured something incorrectly?
Here is the text of the facelet being rendered:
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:s="http://jboss.com/products/seam/taglib"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:rich="http://richfaces.ajax4jsf.org/rich"
template="/WEB-INF/facelets/templates/template.xhtml">
<ui:define name="title">Select a Client</ui:define>
<ui:define name="body">
<rich:panel>
<f:facet name="header">Welcome!</f:facet>
Welcome #{currentUser.firstName} #{currentUser.lastName} (#{currentUser.username}).
You must select a client.
<br/>
<br/>
<h:form id="clientListForm" styleClass="edit">
<table>
<s:decorate id="clientDecoration" template="/WEB-INF/facelets/templates/edit.xhtml">
<ui:define name="label">Client</ui:define>
<h:selectOneMenu id="client" value="#{authenticator.currentClient}" required="true">
<s:selectItems value="#{authenticator.clientsForUser}" var="client" label="#{client.name}" noSelectionLabel="#{messages['select.noneSelected']}"/>
<s:convertEntity />
</h:selectOneMenu>
<h:commandButton id="chooseClient"
value="Choose Client"
action="#{authenticator.chooseClient}"/>
</s:decorate>
</table>
</h:form>
</rich:panel>
</ui:define>
</ui:composition>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 11 months
[JBoss JIRA] Created: (JBIDE-3987) Wizard crashes when import JSF(Struts) project for dublicated folders' name
by Yura Zhishko (JIRA)
Wizard crashes when import JSF(Struts) project for dublicated folders' name
---------------------------------------------------------------------------
Key: JBIDE-3987
URL: https://jira.jboss.org/jira/browse/JBIDE-3987
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JSF, struts/shale
Affects Versions: 3.0.0.GA
Reporter: Yura Zhishko
Assignee: Alexey Kazakov
1) Create new JSF project (using JSF wizard) in workspace and give the name, for example, NewProject
2) Delete this project from workspace but don't remove from disk
3) Go locally to workspace folder and find created project
4) Create another folder with the same name NewProject and move there project folder (with porject itself) from 1-st step, so the path to web.xml shold be smt like that (<workspacelocation>/NewProject/NewProject/WebContent/WEB-INF/web.xml)
5) Return to workspace in studio
6) Import project from step 4 using JSF Import Project wizard
7) At last step press Finish -> Continue:
RESULT:
java.lang.reflect.InvocationTargetException
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:477)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
at org.jboss.tools.jst.web.ui.wizards.project.ImportWebProjectWizard.performFinish(ImportWebProjectWizard.java:90)
at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at org.eclipse.ui.internal.handlers.WizardHandler$Import.executeHandler(WizardHandler.java:146)
at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:273)
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:281)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:247)
at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157)
at org.eclipse.ui.internal.actions.CommandAction.run(CommandAction.java:171)
at org.eclipse.ui.actions.ImportResourcesAction.run(ImportResourcesAction.java:97)
at org.eclipse.ui.actions.BaseSelectionListenerAction.runWithEvent(BaseSelectionListenerAction.java:168)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
Caused by: java.lang.NullPointerException
at org.jboss.tools.jsf.web.helpers.context.AdoptJSFProjectFinisher.modifyWebXML(AdoptJSFProjectFinisher.java:241)
at org.jboss.tools.jsf.web.helpers.context.AdoptJSFProjectFinisher.execute(AdoptJSFProjectFinisher.java:69)
at org.jboss.tools.jsf.ui.operation.JSFProjectAdoptOperation.execute(JSFProjectAdoptOperation.java:44)
at org.jboss.tools.jst.web.ui.operation.WebProjectAdoptOperation.createWebNature(WebProjectAdoptOperation.java:84)
at org.jboss.tools.jst.web.ui.operation.WebNatureOperation.run(WebNatureOperation.java:232)
at org.eclipse.ui.actions.WorkspaceModifyDelegatingOperation.execute(WorkspaceModifyDelegatingOperation.java:69)
at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:104)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:116)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
... 51 more
Root exception:
java.lang.NullPointerException
at org.jboss.tools.jsf.web.helpers.context.AdoptJSFProjectFinisher.modifyWebXML(AdoptJSFProjectFinisher.java:241)
at org.jboss.tools.jsf.web.helpers.context.AdoptJSFProjectFinisher.execute(AdoptJSFProjectFinisher.java:69)
at org.jboss.tools.jsf.ui.operation.JSFProjectAdoptOperation.execute(JSFProjectAdoptOperation.java:44)
at org.jboss.tools.jst.web.ui.operation.WebProjectAdoptOperation.createWebNature(WebProjectAdoptOperation.java:84)
at org.jboss.tools.jst.web.ui.operation.WebNatureOperation.run(WebNatureOperation.java:232)
at org.eclipse.ui.actions.WorkspaceModifyDelegatingOperation.execute(WorkspaceModifyDelegatingOperation.java:69)
at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:104)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:116)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
at org.jboss.tools.jst.web.ui.wizards.project.ImportWebProjectWizard.performFinish(ImportWebProjectWizard.java:90)
at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at org.eclipse.ui.internal.handlers.WizardHandler$Import.executeHandler(WizardHandler.java:146)
at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:273)
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:281)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:247)
at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157)
at org.eclipse.ui.internal.actions.CommandAction.run(CommandAction.java:171)
at org.eclipse.ui.actions.ImportResourcesAction.run(ImportResourcesAction.java:97)
at org.eclipse.ui.actions.BaseSelectionListenerAction.runWithEvent(BaseSelectionListenerAction.java:168)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
The same exception occurs with Struts project
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 11 months
[JBoss JIRA] Created: (JBIDE-4110) s:label isn't refreshed automatically.
by Yura Zhishko (JIRA)
s:label isn't refreshed automatically.
--------------------------------------
Key: JBIDE-4110
URL: https://jira.jboss.org/jira/browse/JBIDE-4110
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Visual Page Editor Templates
Affects Versions: 3.1.0
Reporter: Yura Zhishko
Assignee: Maxim Areshkau
Priority: Minor
1) Create Seam 2.0.1 project
2) Put attached pages into WebContent folder
3) Open components.xhtml
4) Put next line into any place of the page: <s:label styleClass="btn">Text Label</s:label>
ASSERT: Text Label has a correct style
5) Delete styleClass attribute with the value
EXPECTED: style disappeared on the Visual Pane
ACTUAL: Nothing happens. Component hasn't been updated.
Try to reproduce it using style attribute. RESULT is the same.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 11 months
[JBoss JIRA] Created: (JBIDE-2559) Enhancing code assist box
by Tomasz Wilczynski (JIRA)
Enhancing code assist box
-------------------------
Key: JBIDE-2559
URL: https://jira.jboss.org/jira/browse/JBIDE-2559
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: Visual Page Editor
Affects Versions: 2.1.0.GA
Reporter: Tomasz Wilczynski
Priority: Minor
Please correct the code assist box with messages component.
I know that proposing entries in #{messages['key.in.bundle']} notation has already been implemented but believe me - it is very difficult to use.
Why? Because it proposes entries after typing messages. (with dot) instead of after messages[' (with rectangle parentesis and single apostrophe)
Imagine that you have a big bundle with keys containing dots. Let's say you need entry for a key "sample.key"
1. You type #{messages.
2. You press enter
3. You have to SEARCH for this entry in the dialog box (you cant type "sample" to narrow the hint set, because sure, you'd find it but also end up with #{messages.sample.key})
It may seem a minor issue, but in fact I just use the copy-paste technique which is faster than scrolling the dialog box.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 11 months
[JBoss JIRA] Created: (JBIDE-4089) http://download.jboss.org/jbosstools/updates/stable/plugins/org.eclipse.birt.integration.wtp.ui_2.3.2.r232_20090122.jar. is 404d
by Nick Boldt (JIRA)
http://download.jboss.org/jbosstools/updates/stable/plugins/org.eclipse.b.... is 404d
--------------------------------------------------------------------------------------------------------------------------------
Key: JBIDE-4089
URL: https://jira.jboss.org/jira/browse/JBIDE-4089
Project: Tools (JBoss Tools)
Issue Type: Bug
Affects Versions: 3.0.0.GA
Reporter: Nick Boldt
Assignee: Nick Boldt
This error shouldn't happen, since the jar comes from Eclipse, not dl.jb.org.
> Just for your information, I copy/pasted the error as played to me by
> eclipse. This is the most noticed "kill" of the install.
> This is using the http://download.jboss.org/jbosstools/updates/stable/
> -----------------------------------------------------
> http://www.jboss.org/tools/downloadUpdate operation has failed
> Error retrieving
> "plugins/org.eclipse.birt.integration.wtp.ui_2.3.2.r232_20090122.jar".
> [Server returned HTTP response code: "404 Not Found" for URL:
> http://download.jboss.org/jbosstools/updates/stable/plugins/org.eclipse.b...]
> Server returned HTTP response code: "404 Not Found" for URL:
> http://download.jboss.org/jbosstools/updates/stable/plugins/org.eclipse.b....
> --------------------------------------------------------
> It might be a timeout, but afaik 404 is what is told by the server to
> me. If you want me to, I can try to rip the connection whilst
> downloading and see what that brings, but I am reasonably sure that it
> would not be 404.
>
> Once again, that you for taking the time and care in answering. Much
> appreciated.
>
> Kind Regards, Marcus Dijkstra
>
>
> On Tue, Mar 24, 2009 at 6:49 PM, Nick Boldt <nboldt(a)redhat.com> wrote:
>> It's probably a network timeout issue. Try downloading from one of the
>> Sourceforge mirrors.
>>
>> http://jboss.org/tools/download/stable/3_0_0_GA.html
>> https://sourceforge.net/project/showfiles.php?group_id=22866&package_id=2...
>>
>> If you grab one or more zips (eg., the "all plugins" zip), you can unpack
>> them into a folder and point p2 at that folder to use that as a local
>> install location. p2 should then copy the plugins/features into your
>> Eclipse, and you can trash the zip and unpacked folder after that.
>>
>> It's an extra step, but it gets you around the fact that jboss.org might be
>> slow from your part of the planet. :)
>>
>> In future, we will look at providing a packed p2 repository so that the
>> unpack step will not be required.
>>
>> N
>>
>> Marcus Dijkstra wrote:
>>> Hi Nick,
>>>
>>> thank you for the prompt reply! Works for you is enough for me. Leaves
>>> me to find out what happens on this side of the the ocean (Holland).
>>> Thanks again for the trouble taken,
>>>
>>> Kind regards, Marcus
>>>
>>> On Mon, Mar 23, 2009 at 9:38 PM, Nick Boldt <nboldt(a)redhat.com> wrote:
>>>> Try http://www.jboss.org/tools/download/ for downloads (no /index.html).
>>>>
>>>> http://download.jboss.org/jbosstools/updates/stable/ seems to be working
>>>> for
>>>> me.
>>>>
>>>> Note that the wiki doc has been replaced by this page:
>>>>
>>>> http://www.jboss.org/tools/download/installation.html
>>>>
>>>> Nick
>>>>
>>>> Marcus Dijkstra wrote:
>>>>> Nick,
>>>>>
>>>>> it seems currently something is amiss with the eclipse plugin update
>>>>> site, when used from within Eclipse:
>>>>>
>>>>> Today all links I think should probably work come back with a "no
>>>>> repository found at http://....", for instance:
>>>>> http://download.jboss.org/jbosstools/updates/stable/
>>>>> http://download.jboss.org/jbosstools/updates/development/
>>>>>
>>>>> Yesterday the downloads fell over because halfway through various 404
>>>>> and 503 messages where returned on about 5 attempts to install,
>>>>> implying end of excercise.
>>>>>
>>>>> Downloading the bundle to install manually doesn't work either: URL
>>>>> http://www.jboss.org/tools/download/index.html produces a 404
>>>>>
>>>>> Hm. I am sure I am not the only one bringing this to your attention,
>>>>> since you were the last person to update
>>>>> http://www.jboss.org/community/docs/DOC-10044
>>>>> the HowToInstall JBossTools page.
>>>>>
>>>>> Good luck with looking into this.
>>>>>
>>>>> Kind Regards, Marcus Dijkstra
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 11 months