Community
Participate
Working Groups
Create a DWP with JSF 2.0 facet Create a XHTML page. Add an f:loadBundle tag as shown below <f:view> <h:form> <f:loadBundle var="res"></f:loadBundle> </h:form> </f:view> Result: Missing Resource Exception. Now add the basename attribute and invoke content assist. Result: the variable res is not listed in the content assist eclipse.buildId=I20100312-0800 java.version=1.6.0_17 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US Command-line arguments: -os win32 -ws win32 -arch x86 Error Sat Mar 13 15:30:13 PST 2010 MissingResourceException for NLSPropertyValue: rendered.description java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key rendered.description at java.util.ResourceBundle.getObject(Unknown Source) at java.util.ResourceBundle.getString(Unknown Source) at org.eclipse.jst.jsf.common.metadata.internal.TraitValueHelper.getNLSPropertyValue(TraitValueHelper.java:161) at org.eclipse.jst.jsf.common.metadata.internal.TraitValueHelper.getNLSValue(TraitValueHelper.java:145) at org.eclipse.jst.jsf.facelet.core.internal.cm.addtagmd.provider.AttributeDataItemProvider.getTranslatedString(AttributeDataItemProvider.java:251) at org.eclipse.jst.jsf.facelet.core.internal.cm.strategy.MDExternalMetadataStrategy.createAttribute(MDExternalMetadataStrategy.java:442) at org.eclipse.jst.jsf.facelet.core.internal.cm.strategy.MDExternalMetadataStrategy.access$0(MDExternalMetadataStrategy.java:422) at org.eclipse.jst.jsf.facelet.core.internal.cm.strategy.MDExternalMetadataStrategy$MDExternalTagInfo$1.run(MDExternalMetadataStrategy.java:180) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49) at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175) at org.eclipse.jst.jsf.facelet.core.internal.cm.strategy.MDExternalMetadataStrategy$MDExternalTagInfo.getAttributes(MDExternalMetadataStrategy.java:165) at org.eclipse.jst.jsf.facelet.core.internal.cm.MetadataTagInfo.getAttributes(MetadataTagInfo.java:114) at org.eclipse.jst.jsf.facelet.core.internal.cm.ElementCMAdapter.getLength(ElementCMAdapter.java:109) at org.eclipse.wst.xml.ui.internal.contentassist.AbstractContentModelGenerator.generateAttributes(AbstractContentModelGenerator.java:38) at org.eclipse.wst.xml.ui.internal.contentassist.XMLContentModelGenerator.generateStartTag(XMLContentModelGenerator.java:108) at org.eclipse.wst.xml.ui.internal.contentassist.AbstractContentModelGenerator.generateTag(AbstractContentModelGenerator.java:61) at org.eclipse.wst.xml.ui.internal.contentassist.AbstractContentAssistProcessor.addTagNameProposals(AbstractContentAssistProcessor.java:1060) at org.eclipse.wst.xml.ui.internal.contentassist.AbstractContentAssistProcessor.computeTagOpenProposals(AbstractContentAssistProcessor.java:1708) at org.eclipse.wst.xml.ui.internal.contentassist.AbstractContentAssistProcessor.computeCompletionProposals(AbstractContentAssistProcessor.java:1285) at org.eclipse.wst.xml.ui.internal.contentassist.AbstractContentAssistProcessor.computeCompletionProposals(AbstractContentAssistProcessor.java:1413) at org.eclipse.jst.jsf.facelet.ui.internal.contentassist.XHTMLContentAssistProcessor.computeCompletionProposals(XHTMLContentAssistProcessor.java:64) at org.eclipse.wst.sse.ui.contentassist.StructuredContentAssistProcessor.collectProposals(StructuredContentAssistProcessor.java:453) at org.eclipse.wst.sse.ui.contentassist.StructuredContentAssistProcessor.computeCompletionProposals(StructuredContentAssistProcessor.java:244) at org.eclipse.wst.sse.ui.internal.contentassist.CompoundContentAssistProcessor.computeCompletionProposals(CompoundContentAssistProcessor.java:126) at org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:1834) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:557) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$16(CompletionProposalPopup.java:554) at org.eclipse.jface.text.contentassist.CompletionProposalPopup$2.run(CompletionProposalPopup.java:489) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.showProposals(CompletionProposalPopup.java:483) at org.eclipse.jface.text.contentassist.ContentAssistant$2.run(ContentAssistant.java:376) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4012) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3631) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2416) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2380) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2229) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:504) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:497) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) 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:369) 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:619) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574) at org.eclipse.equinox.launcher.Main.run(Main.java:1406)
Fixed for M7. Missing properties have added which prevented attribute content assist.