• valygrl
  • NEWBIE
  • 0 Points
  • Member since 2007

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies
I am creating an inline s-control to display some additional values for a custom object from a related object, and I want it to look like part of the regular page.  I'm using the example from here:
 
 
But the bPageBlock class puts a border on the section, that I don't want.  I just want the background to be the same color as the rest of the page. 
 
the beginning of the html I'm using looks like this:
 
var output =  "<div class='bPageBlock secondaryPalette'>";
output += "<div class='pbBody'>";
output += "<DIV class=pbSubsection>";
output += "<table class='detailList' cellpadding='0' cellspacing='0' border='0'>";
 
Thanks in advance, I know this is a total beginner-question.
 
 
 
I have been able to sucessfully install the Apex plugin on Eclipse 3.3
I can create a new Apex project with File > New > Project ... Apex Project.  Everything logs in and loads just fine.
However, when I try to open one of the example SControls (like TechSupportFlag.scf), or I try to create one, I get the following error:

"Problem Occured" dialog:
Error opening the editor.
javax/xml/rpc/ServiceException


Stack Trace:
Code:
java.lang.NoClassDefFoundError: javax/xml/rpc/ServiceException
 at java.lang.Class.getDeclaredConstructors0(Native Method)
 at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
 at java.lang.Class.getConstructor0(Unknown Source)
 at java.lang.Class.newInstance0(Unknown Source)
 at java.lang.Class.newInstance(Unknown Source)
 at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:170)
 at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:788)
 at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
 at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)
 at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:243)
 at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
 at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:239)
 at org.eclipse.ui.internal.registry.EditorDescriptor.createEditor(EditorDescriptor.java:231)
 at org.eclipse.ui.internal.EditorManager.createPart(EditorManager.java:841)
 at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:606)
 at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:426)
 at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:592)
 at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:263)
 at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2721)
 at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2633)
 at org.eclipse.ui.internal.WorkbenchPage.access$12(WorkbenchPage.java:2625)
 at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2577)
 at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
 at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2572)
 at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2556)
 at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2547)
 at org.eclipse.ui.ide.IDE.openEditor(IDE.java:644)
 at org.eclipse.ui.ide.IDE.openEditor(IDE.java:603)
 at org.eclipse.ui.actions.OpenFileAction.openFile(OpenFileAction.java:98)
 at org.eclipse.ui.actions.OpenSystemEditorAction.run(OpenSystemEditorAction.java:98)
 at org.eclipse.ui.views.navigator.OpenActionGroup.runDefaultAction(OpenActionGroup.java:125)
 at org.eclipse.ui.views.navigator.MainActionGroup.runDefaultAction(MainActionGroup.java:328)
 at org.eclipse.ui.views.navigator.ResourceNavigator.handleOpen(ResourceNavigator.java:694)
 at org.eclipse.ui.views.navigator.ResourceNavigator$6.open(ResourceNavigator.java:437)
 at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:820)
 at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
 at org.eclipse.core.runtime.Platform.run(Platform.java:857)
 at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:46)
 at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:193)
 at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:818)
 at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1079)
 at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1183)
 at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:263)
 at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:257)
 at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:297)
 at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
 at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
 at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
 at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
 at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
 at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
 at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
 at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
 at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
 at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
 at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
 at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
 at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:153)
 at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
 at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
 at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
 at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
 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:504)
 at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
 at org.eclipse.equinox.launcher.Main.run(Main.java:1169)

 
Any ideas?  I'm pretty sure I'm missing something, but not quite sure what.
Thanks

Message Edited by j pod on 08-06-2007 09:34 AM

  • August 06, 2007
  • Like
  • 0