Tab Setting in Code Style

JDeveloper 11.1.1.3 (PS2)
We're using a code style with
-- Indentation Size = 4
-- Use Tab Character = Checked
-- Tab Size = 4
Every time we restart JDeveloper, my documents appear to be reformatted with a tab setting of 2, although the code style still says it's 4. I can reformat the document by going into Code Style, and clearing the Tab Checkbox. I then have to go back in and recheck it. Can someone please take a look?
Thanks,
Tom

There appear to be bugs filed for this and related issues already (c.f. bug#9793235). They are marked as fixed in 11.1.2 or 11.1.1.4 (depending on the bug) - I guess you could file an SR and ask for a backport to 11.1.1.3
John

Similar Messages

  • Code Style one character indent after a comment line

    I have a problem with "Code Style" formatting undesirably. Any time I put a comment (//) line into my code the next line is indented one space. I can't find any setting in "Code Style" that alters this. I end up doing a lot of manual format editing to get rid of those spaces (the real problem is when I cut and paste a large block of code after a comment line - then the entire code block, every line, has that extra space of indenting).
    Does anyone know how to alter this behavior?
    This is with JDeveloper 10.1.3.3.

    You can use an "indent to here" character before Diesel or set up your paragraph as follows
    left indent 0.125" (or whatever)
    first line indent -0.125"
    You should use your existing paragraph style, too. No need for a new one the way you've described it.

  • In FrameMaker 9.0.3 and 9.0.4, I cannot set tab stops for a style in the Paragraph Designer.

    In FrameMaker 9.0.3 and 9.0.4, I cannot set tab stops for a style in the paragraph designer. Here are the steps to dysfunction:
    1. In Paragraph Designer, for Tab Stops, click Edit. Edit Tab Stop dialog box opens, and the Paragraph Designer dialog box closes.
    2. Type value in New Position box.
    3. Click Continue. The Edit Tab Stop box closes.
    4. Open Paragraph Designer. No tabs are recorded.
    Discussion of a similar problem occured on this forum in June 2010. At that time, the resolution seemed to be to upgrade to 9.0.3. Has anyone else encountered this problem with these versions?
    Thanks.

    Hi, Arnis,
    Brilliant! Thanks so much. I only looked at the later discussions of that thread, which seemed to indicate the problem would be solved by an upgrade to 9.0.3.
    -Trish

  • JDeveloper 11g - exception when trying to set Code Style in Preferences

    Hi forum
    I have just installed the new JDeveloper 11g and have upgraded my projects, and would now like to define my code style. But when I open Preferences -> Code Editor -> Code Style, I get the following error. Is this a known issue? Not being able to set my coding style like I'm used to is pretty annoying...
    Thanks in advance,
    Jacob
    "Internal error when trying to create this panel: "
    java.lang.NullPointerException
         at oracle.jdevimpl.style.profile.ProfileModel$ProfileComparator.compare(ProfileModel.java:409)
         at java.util.Arrays.mergeSort(Arrays.java:1270)
         at java.util.Arrays.sort(Arrays.java:1210)
         at java.util.Collections.sort(Collections.java:159)
         at oracle.jdevimpl.style.profile.ProfileModel.<init>(ProfileModel.java:72)
         at oracle.jdevimpl.style.preferences.CodingStylePreferencesPanel.<init>(CodingStylePreferencesPanel.java:144)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
         at oracle.ide.panels.MetaTraversable.newTraversable(MetaTraversable.java:315)
         at oracle.ide.panels.MetaTraversable.newTraversable(MetaTraversable.java:219)
         at oracle.ide.panels.MDDPanel.getTraversable(MDDPanel.java:1347)
         at oracle.ide.panels.MDDPanel.mav$getTraversable(MDDPanel.java:128)
         at oracle.ide.panels.MDDPanel$Tsl.updateSelectedNavigable(MDDPanel.java:1610)
         at oracle.ide.panels.MDDPanel$Tsl.updateSelection(MDDPanel.java:1518)
         at oracle.ide.panels.MDDPanel$Tsl.actionPerformed(MDDPanel.java:1512)
         at javax.swing.Timer.fireActionPerformed(Timer.java:271)
         at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:177)
         at java.awt.Dialog$1.run(Dialog.java:1045)
         at java.awt.Dialog$3.run(Dialog.java:1097)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.awt.Dialog.show(Dialog.java:1095)
         at java.awt.Component.show(Component.java:1422)
         at java.awt.Component.setVisible(Component.java:1375)
         at java.awt.Window.setVisible(Window.java:806)
         at java.awt.Dialog.setVisible(Dialog.java:985)
         at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
         at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
         at oracle.ide.dialogs.WizardLauncher.runDialog(WizardLauncher.java:55)
         at oracle.ide.panels.TDialogLauncher.showDialog(TDialogLauncher.java:225)
         at oracle.ide.config.IdeSettings.showDialog(IdeSettings.java:808)
         at oracle.ide.config.IdeSettings.showDialog(IdeSettings.java:593)
         at oracle.ide.cmd.IdeSettingsCommand.doit(IdeSettingsCommand.java:45)
         at oracle.ide.controller.CommandProcessor.invoke(CommandProcessor.java:309)
         at oracle.jdevimpl.vcs.cvs.CVSPreferencesCommand.doit(CVSPreferencesCommand.java:46)
         at oracle.ide.controller.CommandProcessor.invoke(CommandProcessor.java:309)
         at oracle.ide.controller.IdeAction.performAction(IdeAction.java:547)
         at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:866)
         at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:496)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
         at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1220)
         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1261)
         at java.awt.Component.processMouseEvent(Component.java:6041)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
         at java.awt.Component.processEvent(Component.java:5806)
         at java.awt.Container.processEvent(Container.java:2058)
         at java.awt.Component.dispatchEventImpl(Component.java:4413)
         at java.awt.Container.dispatchEventImpl(Container.java:2116)
         at java.awt.Component.dispatchEvent(Component.java:4243)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
         at java.awt.Container.dispatchEventImpl(Container.java:2102)
         at java.awt.Window.dispatchEventImpl(Window.java:2440)
         at java.awt.Component.dispatchEvent(Component.java:4243)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)"

    To anyone else encountering this:
    I would just like to report, that Oracle Development has managed to reproduce this problem from scratch by following a similar upgrade path 10.1.3.0->10.1.3.4->11.1.1.0. The problem is NOT OS-related, but related to migrating the user settings from 10.1.3.3. So Jan you were right about that. Credits go to you :)
    The only workaround for me has so far been to take a backup of my old SYSTEM directory causing the problem, and I have been forced to carefully recreate all my settings to get around this problem, since I already removed my old 10.1.3.3 installation, assuming the migration went OK - which it didn't... So, I will keep my old backup, in the hope that Development finds a fix to this issue, so I can go back to the settings I used to have, even though I THINK I have recreated them all for 11g - not completely sure though... time will tell.
    Until then, I will track the bug, that Didier has logged for me, which he mentioned in his post.
    Regards,
    Jacob

  • JDEV 11G TP3: exception when setting preferences for java code style

    I got this exception when calling the panel in the preferences settings for java code style.
    How to restore it ?
    java.lang.NullPointerException
         at oracle.jdevimpl.style.profile.ProfileModel$ProfileComparator.compare(ProfileModel.java:409)
         at java.util.Arrays.mergeSort(Arrays.java:1284)
         at java.util.Arrays.sort(Arrays.java:1223)
         at java.util.Collections.sort(Collections.java:159)
         at oracle.jdevimpl.style.profile.ProfileModel.<init>(ProfileModel.java:72)
         at oracle.jdevimpl.style.preferences.CodingStylePreferencesPanel.<init>(CodingStylePreferencesPanel.java:144)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at oracle.ide.panels.MetaTraversable.newTraversable(MetaTraversable.java:315)
         at oracle.ide.panels.MetaTraversable.newTraversable(MetaTraversable.java:219)
         at oracle.ide.panels.MDDPanel.getTraversable(MDDPanel.java:1243)
         at oracle.ide.panels.MDDPanel.mav$getTraversable(MDDPanel.java:116)
         at oracle.ide.panels.MDDPanel$Tsl.updateSelectedNavigable(MDDPanel.java:1506)
         at oracle.ide.panels.MDDPanel$Tsl.updateSelection(MDDPanel.java:1414)
         at oracle.ide.panels.MDDPanel$Tsl.actionPerformed(MDDPanel.java:1408)
         at javax.swing.Timer.fireActionPerformed(Timer.java:271)
         at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)
         at java.awt.Dialog$1.run(Dialog.java:525)
         at java.awt.Dialog$2.run(Dialog.java:553)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.awt.Dialog.show(Dialog.java:551)
         at java.awt.Component.show(Component.java:1300)
         at java.awt.Component.setVisible(Component.java:1253)
         at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
         at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
         at oracle.ide.dialogs.WizardLauncher.runDialog(WizardLauncher.java:55)
         at oracle.ide.panels.TDialogLauncher.showDialog(TDialogLauncher.java:225)
         at oracle.ide.config.IdeSettings.showDialog(IdeSettings.java:808)
         at oracle.ide.config.IdeSettings.showDialog(IdeSettings.java:593)
         at oracle.ide.cmd.IdeSettingsCommand.doit(IdeSettingsCommand.java:45)
         at oracle.ide.controller.CommandProcessor.invoke(CommandProcessor.java:309)
         at oracle.jdevimpl.vcs.cvs.CVSPreferencesCommand.doit(CVSPreferencesCommand.java:46)
         at oracle.ide.controller.CommandProcessor.invoke(CommandProcessor.java:309)
         at oracle.ide.controller.IdeAction.performAction(IdeAction.java:531)
         at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:784)
         at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:481)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
         at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
         at java.awt.Component.processMouseEvent(Component.java:5501)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
         at java.awt.Component.processEvent(Component.java:5266)
         at java.awt.Container.processEvent(Container.java:1966)
         at java.awt.Component.dispatchEventImpl(Component.java:3968)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
         at java.awt.Container.dispatchEventImpl(Container.java:2010)
         at java.awt.Window.dispatchEventImpl(Window.java:1778)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

    I got this exception for menu tools\preference\extensions.
    I erased folder C:\JDeveloper\myDirectory\system11.1.1.0.22.49.49 and the error appeared.
    Jun 12, 2008 11:20:55 PM oracle.ide.panels.MDDPanel exitTraversable
    SEVERE: Exception exiting traversable oracle.ideimpl.extension.preference.ExtensionOptionsPanel[,0,0,485x391,layout=java.awt.BorderLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=9,maximumSize=,minimumSize=,preferredSize=]
    java.lang.NullPointerException
         at oracle.ideimpl.extension.preference.ExtensionOptionsPanel.disabledIdsHaveChanged(ExtensionOptionsPanel.java:191)
         at oracle.ideimpl.extension.preference.ExtensionOptionsPanel.onExit(ExtensionOptionsPanel.java:182)
         at oracle.ide.panels.MDDPanel.exitTraversable(MDDPanel.java:1160)
         at oracle.ide.panels.MDDPanel.mav$exitTraversable(MDDPanel.java:116)
         at oracle.ide.panels.MDDPanel$Tsl.updateSelectedNavigable(MDDPanel.java:1470)
         at oracle.ide.panels.MDDPanel$Tsl.updateSelection(MDDPanel.java:1414)
         at oracle.ide.panels.MDDPanel$Tsl.actionPerformed(MDDPanel.java:1408)
         at javax.swing.Timer.fireActionPerformed(Timer.java:271)
         at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)
         at java.awt.Dialog$1.run(Dialog.java:525)
         at java.awt.Dialog$2.run(Dialog.java:553)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.awt.Dialog.show(Dialog.java:551)
         at java.awt.Component.show(Component.java:1300)
         at java.awt.Component.setVisible(Component.java:1253)
         at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
         at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
         at oracle.ide.dialogs.WizardLauncher.runDialog(WizardLauncher.java:55)
         at oracle.ide.panels.TDialogLauncher.showDialog(TDialogLauncher.java:225)
         at oracle.ide.config.IdeSettings.showDialog(IdeSettings.java:808)
         at oracle.ide.config.IdeSettings.showDialog(IdeSettings.java:593)
         at oracle.ide.cmd.IdeSettingsCommand.doit(IdeSettingsCommand.java:45)
         at oracle.ide.controller.CommandProcessor.invoke(CommandProcessor.java:309)
         at oracle.jdevimpl.vcs.cvs.CVSPreferencesCommand.doit(CVSPreferencesCommand.java:46)
         at oracle.ide.controller.CommandProcessor.invoke(CommandProcessor.java:309)
         at oracle.ide.controller.IdeAction.performAction(IdeAction.java:536)
         at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:843)
         at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:486)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
         at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
         at java.awt.Component.processMouseEvent(Component.java:5501)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
         at java.awt.Component.processEvent(Component.java:5266)
         at java.awt.Container.processEvent(Container.java:1966)
         at java.awt.Component.dispatchEventImpl(Component.java:3968)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
         at java.awt.Container.dispatchEventImpl(Container.java:2010)
         at java.awt.Window.dispatchEventImpl(Window.java:1778)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    Message was edited by:
    ericardezp

  • Tab Set

    Is my understanding correct that to use the Tab Set feature one page must be created for each tab required? And each page must have a tab set on it in the same position as the others?
    How would this work if I only wanted a portion of the page given over to the tab set? Would I have to repeat the content outside the tab set on each page used by the tab set?
    I have an implementation of a tabbed set using Tomahawk and, I beleive, when a tab is selected a full page refresh is not required. Within the jsp code I can define the html controls that appear on each tab and do not have to create new jsps. Is this functionality available with Creator?
    Andrew

    Having followed the example I have noticed that the content of the first tab (Page1.jsp) is never re-displayed after visiting another tab and attemtpting to return ot the first tab again.

  • Changes on code editor code style are not applied on restart

    Jdeveloper 11.1.1.3.0
    Tools > Preferences > Code Editor > Code style > Edit > Modify "Indentation Size" > OK > OK > Close Jdev > Open Jdev => modified "Indentation size" not applied.
    Any solution?

    hi user474075
    I have noticed something similar for which I have created service request 3-1764420131 ,
    which resulted in bug 9740870 , "CODE STYLE USE TAB CHARACTER ISSUE"
    for which "... We are waiting for the review process of the bug to be completed. ... "
    So, if you can create your own service request (at http://support.oracle.com ) and refer to bug 9740870 that might speed things up.
    (tip : You can use "Your Control Panel" to make your name visible in forum posts.)
    regards
    Jan Vervecken

  • Threadinar10 - Page Separator, Page Fragment Box , Tab Set & Tab Components

    Hi All,
    This is the tenth in the Threadinar series. See the Components Threadinar Index at http://forum.sun.com/jive/thread.jspa?threadID=103424 for the complete list to date.
    This Threadinar will discuss 4 components in the "Components Palette: Layout Section" section of the Creator Component Catalog.
    The components we will focus on today are
    "Page Separator", "Page Fragment Box" , "Tab Set" & "Tab" Components.
    Let us begin our discussion with the "Page Separator" Component.
    Page Separator Component
    You can drag the Page Separator component from the Palette's Layout category to the Visual Designer to create a horizontal line that resizes to any page width selected by the user. This component is the visual equivalent of an HTML <hr> tag.
    In the page bean, a Page Separator component is a PageSeparator object.
    * Note: If you want to use an HTML <hr> tag, drop a Meta component on the page and set its tag property to hr.
    [b]Page Fragment Box Component
    This component enables you to include a page fragment in a page. A page fragment is a separate, reusable part of a page that can be included in any number of pages. For example, you might want to put a common a visual element like a header graphic in a page fragment and then include it in all the pages in an application.
    When you drag the Page Fragment Box component from the Layout category of the Palette and drop it on a page, the Select Page Fragment dialog box prompts you for the name of the page fragment to be included. You can enter the name of an existing page fragment or create a new page fragment. If you create a new page fragment, the IDE gives the new fragment a .jspf file suffix and creates a node for it in the Projects window, as well as adding the page fragment to the Outline window.
    * Note: A Page Fragment Box component simply includes a page fragment in a page. Deleting a Page Fragment Box component from a page does not delete the page fragment itself, even if you originally used the Select Page Fragment dialog box to create the page fragment.
    After dropping a Page Fragment Box component on the page, if you click inside the component, you see the properties for the included fragment. If you click the border of the component, you see the properties for the enclosing <div> block. You can also use the Outline window to select the enclosing block, the page fragment, or the components in the page fragment. In the Outline window, the Page Fragment Box component is represented by a node named directive.include:fragment-file.jspf, where fragment-file is the name of the page fragment file.
    If you double-click the page fragment, it opens as a page in the Visual Editor, enabling you to edit it like a regular page. The page fragment has an associated JavaBeans object, a page fragment bean, which you can edit by clicking the Java button at the top of the page fragment when it is open in the Visual Editor. As with a regular page, if you drop a component like a button in a fragment, double clicking adds an event handler in the page fragment bean, enabling you to reuse the code on any page to which you add the page fragment. A common scenario for reusing component code would be a Search Box fragment that has a search Label, a Text Field where the user enters the search string, some Inline Help, and search logic code in the page fragment bean.
    * The tab order of the components in the page is unlikely to work properly unless you enclose the entire page fragment box in the Faces Verbatim component.
    For more details see tutorial : "Using Page Fragments"
    http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/pagefragments.html
    [b]Tab Set Component
    The Tab Set component in the Palette's Layout category is a container for a set of Tab components. Typical uses of a tab set are:
    * To provide alternate sets of components on the same page and enable the user to navigate to them by clicking on tabs. The user sees only the components under the currently selected tab. For more information on adding components to tabs, see Tab Component.
    * To navigate among a set of pages. If you use a tab set this way, you would usually have the tab set near the top of each page with the component's width set at 100%. You would use the Page Navigation editor to define each tab to display a page in the application, with the current page's tab set as the selected tab. In addition, you would need to delete the default Layout Panel component under each tab so the tab would display the page contents.
    You can set Tab Set properties in the component's Properties window.
    A Tab Set component contains Tab Components, and Tab components can contain other Tab components. You can see these components displayed as hierarchical nodes in the Outline window after you add a Tab Set to your page.
    You can add a new tab to a tab set in two ways, by right-clicking the Tab Set component and choosing Add Tab or by dropping a new tab component on the Tab Set or on a Tab component.
    You can drop a new tab component on a tab set in the Visual Designer to the right or left of existing tabs to create a new tab at that level. The tabs in a tab set can also be containers for other tabs. If you drop a Tab component on an existing tab, the new tab becomes a child of the tab on which you dropped it. The maximum number of levels for tabs is three.
    The tab set component determines which tab is rendered as selected, storing the value in the selected property. By default, the selected property is set to the first tab created for the component. If you click a tab while designing your web page, that tab becomes the selected tab. You can tell during design time that a tab is selected because its color changes.
    [b]Tab Component
    A Tab is part of a Tab Set component. You can add a new tab to a tab set in two ways, by right-clicking the Tab Set component and choosing Add Tab or by dragging a new Tab component from the Layout category of the Palette and dropping it on the Tab Set or on another Tab component. You can also drag from the Palette and drop the tab on the tab set's nodes in the Outline window.
    * If you drop the Tab component to the left or right of an existing tab, it is added to the same row of tabs.
    * If you drop the Tab component on an existing tab, the dropped tab becomes a child tab of the tab on which you drop it unless the existing tab is a third level tab. You can have at most three levels of tabs in a tab set.
    o Note: You cannot add a child tab to a tab that has components in its Layout Panel. When you drop a tab on an existing tab component that has an empty Layout Panel, the empty Layout Panel is deleted to make room for the dropped tab.
    By default, a Tab component has a Layout Panel below it where you can drop components that will be displayed when the user selects the tab. The Layout Panel by default has its panelLayout property set to Grid Layout, meaning that components dropped on the panel are aligned at the location where they are dropped. You can change the layout behavior by setting the panelLayout property to Flow Layout, which aligns dropped components left to right in rows. For more information on Layout Panel properties, see Layout Panel Component Properties Window.
    To select a tab in a tab set, either click the Tab component on the page or select the Tab component's node in the Outline window. To select the whole tab set, either click the border of the Tab Set component on the page or select the tab set's node in the Outline window. Alternatively, you can select a Tab component and either press Escape or right-click and choose Select Parent to select its parent component.
    * Note: If you select a tab on a page in the Visual Designer, a side effect is that it becomes the selected tab. If this effect is not what you want, select the tab in the Outline window so you can set its properties.
    You can drag tabs in the Outline window to change their location and level in the tab set.
    Some typical uses of tabs:
    * You can drop components on the Layout Panel component below a tab to enable a set of components to be displayed below each tab. When the user selects a tab, they see only the components that are associated with the tab, without having to change pages.
    * You can use a tab set to navigate among a set of pages. Each tab component links to a page in your web application. You would use the Page Navigation editor to define each tab to display a page in the application, with the current page's tab set as the selected tab. If you want to use the tab set for page navigation, be sure to delete each tab component's Layout Panel.
    You can also right-click the Tab component and choose one of the following options:
    * Edit action Event Handler. Code the action event handler, the method that is called when the user clicks the tab. This method determines which page or resource to open based on specified conditions. The action method typically processes mouse clicks and returns a string indicating the name of a page navigation case (the page in your application to display next). The default name for the method is tab-id_action, where tab-id is the value of the tab's id property.
    * Bind to Data. Dynamically set the text that appears on the tab. You can bind the component's text property to an object or a data provider, as described in the topic Bind to Data Dialog Box.
    * Property Bindings. Opens a dialog box that enables you to bind properties of the component in addition to the text property to other objects or bean properties that update this component's properties automatically.
    [b] Please join in and share your comments, experiences, additional information, questions, feedback, etc. on these components. <br><br>
    Thank you for your participation

    The following blog has a mini tutorial on using a tab set in a page fragment for page navigation:
    http://blogs.sun.com/divas/entry/tabbing_thru_the_tulips
    A reader commented that the mini tutorial needed to be improved upon to show how to keep the tab state and navigation state in synch.
    How would you do it? If you have a good example, maybe post it to this thread.
    Also, there is no tab tutorial but it is on the priority list. What would you like a tab tutorial to show how to do?

  • Default tab set as the one clicked

    I'll try to explain this the best way I can.
    My setup is a customized version of the SpryTabbedPanels and
    placed in Tab 0's content is a Login form and a Sign Up form in Tab
    1. I was wondering, is there a way to make it so when a form's data
    is posted and refreshed, the tab that was selected by the user
    becomes the default?
    So lets say the var tpl states defaultTab:0 when you first
    load the page but the user goes to Tab 1 and signs up. When they
    hit Submit and the data is posted, is it possible to make Tab 1 the
    tab that stays selected after the page refreshes? I was thinking
    maybe if some type of link was set to each tab to make it come up
    like #0 or #1 and you go to www.test.com/#1 it'd show Tab 1 and if
    you go to www.test.com/#0 it'd show Tab 0.
    Is any of this possible or if you need anymore clarification
    (I'm sure its hard to understand haha, I tried my best), please let
    me know.
    Thanks for any help, I appreciate it :)

    Hello Indecision,
    In Spry 1.5 that can be previewed here:
    http://labs.adobe.com/technologies/spry/preview/
    we added support for AJAX form submission. So my question is why
    would you want to reload the page with the correct tab set instead
    of using this feature that will allow you to not reload the page?
    There are two possible solution to the exact use case you
    describe here but both require some custom code:
    1. Save the current Tab opened into a cookie and on loading
    restore the value from the cookie.
    2. Parse the URL using the document.location.replace() and
    extract the value from after the page loaded and set the correct
    tab.
    Regards,
    Cristian MARIN

  • Setting the default style sheet

    I am trying to set the default style sheet to my customized css - mainstyle19-en.css. I know that I have to run this command - ant make_main_css -DCOLOR=19 but I don't have ant in my path and it is not recognizing it as a command. How do you put that in the path? Also - where are you supposed to run this command? I know somewhere on the server where the image server is located, but where exactly?
    Thanks for your help,
    Karen.

    In addition, if you are using .net, Sarah Wheeler created a simple portlet that allows the user to create a header portlet with the ability to change the stylesheet. I have modified it a little and would be happy to share my version. Take a look at this thread - http://portal.plumtree.com/portal/server.pt/gateway/PTARGS_0_283309_4352_2758_4823_43/http;/PRODGADGET12.plumtree.com/collab/discussion/app/threadDetails.jsp?projID=39883&forumID=48674&threadID=80810&messageID=80894 (If the link doesn't work, it is located Discussions: Pluggable Nav, Style Sheet Mill, PEI, UI Cust: Changing colors/style sheets with custom header portlets?)
    If you send me an email at [email protected] will send you the code.
    Michael [email protected]

  • What is the factory setting pin code for my ipod touch?

    im looking to make a purchase in app on my ipod touch and i need to switch off the restrictions under general settings. in order to this i need the pin code which is 4 digits. this must be factory set as ive not set it previously.
    thanks

    A: what is the factory setting pin code for my ipod touch?

    There is no default setting. You have to set the passcodes. If you cannot remember them, then see:
    If you cannot remember the passcode, you will need to restore your device using the computer with which you last synced it. This allows you to reset your passcode and resync the data from the device (or restore from a backup). If you restore on a different computer that was never synced with the device, you will be able to unlock the device for use and remove the passcode, but your data will not be present. Refer to Updating and restoring iPhone, iPad and iPod touch software.
    Try restoring the iOS device if backing up and erasing all content and settings doesn't resolve the issue. Using iTunes to restore iOS devices is part of standard isolation troubleshooting. Restoring your device will delete all data and content, including songs, videos, contacts, photos, and calendar information, and will restore all settings to their factory condition.
    Before restoring your iOS device, Apple recommends that you either sync with iTunes to transfer any purchases you have made, or back up new data (data acquired after your last sync). If you have movie rentals on the device, see iTunes Store movie rental usage rights in the United States before restoring.
    Follow these steps to restore your device:
    Verify that you are using the latest version of iTunes before attempting to update.
    Connect your device to your computer.
    Select your iPhone, iPad, or iPod touch when it appears in iTunes under Devices.
    Select the Summary tab.
    Select the Restore option.
    When prompted to back up your settings before restoring, select the Back Up option (see in the image below). If you have just backed up the device, it is not necessary to create another.
    Select the Restore option when iTunes prompts you (as long as you've backed up, you should not have to worry about restoring your iOS device).
    When the restore process has completed, the device restarts and displays the Apple logo while starting up:
    After... [Show more]

    Read other 6 answers

  • How can I create a new standard tab set?

    I have a tab set right now with one tab in it. How can I create a new tab set in an existing page with different tabs in it? Thanks.....

    Hi,
    Refer:
    http://proskudin.blogspot.com/2007/06/two-level-tabs.html
    Regards,
    Kartik Patel
    http://patelkartik.blogspot.com/
    http://apex.oracle.com/pls/apex/f?p=9904351712:1

  • Setting color codes for more than one photo at a time

    Is there any way to set color codes for more than one photo at a time?

    Hi John,
    I will look at keywords. My issue is speed. Right now I am culling and editing an event shoot that spanned a week with 35 separate events and more than 5000 images. So I use the fastest most convenient method I can and it still takes a long time to have a completed and final shoot. On this shoot I will end up with a final set of around 1500 images. Right now I am finishing processing a show that will hang in the Deutsches Amerikanish Zentrum in Stuttgart.
    As I am sure you are aware by now, having seen enough of my inane questions that over the last two years or since Lightroom version 1.xx if I could not figure out how to do something I skipped it. So many things in Lightroom are buried and unless you have a mind like a steel trap (and think that some of you guys in the forum do) locating how to do something is not obvious.
    For example, I only learned (in the last hour) that I could assign colors as a group of selections by using Shift + number. I found this in a side head in Martin Evenings Lightroom book. I still do not know how to find a way to display the color filter "selection" set in Library mode. Is there a way?
    To top it off, Stuttgart Media University asked me if I would add a Lightroom module to my schedule this year. Now I have a compelling reason to learn all those missing pieces that I have created workarounds for. Hence the number of posts you have been seeing from me over the past few of weeks.
    I tell my class that there are no such things as stupid questions, only questions. Now I am practicing what I have been preaching for the last gazillion years. Guys like you have been great.
    My workflow is
    1. I first separate all images by event. I do that at the time of import.
    2. I do a fast pass rejecting all the obviously bad images
    3. I do a second pass grouping the images by sub-group (speeches, people talking, performances, etc.) This is where I run out of selection methods and your key-wording could work but it would probably take too much time to establish a keyword set for a single event. Where I have more than five subgroups I set up different collection sets with one collection for each sub group. However I would like to keep a single event in one collection.
    4. I then select the images to be used by color code.
    5. Next I process the final images (crop develop etc) by collection.
    6. Last I output the set according to client requirement.
    If you have a better workflow, I am all ears.
    By the way, what is your photo specialty and where are you located?
    Jim

  • Export to Word loses tab setting

    Post Author: HmCody
    CA Forum: .NET
    I am very new to Crystal Reports with VS.net and have run into a problem that I hope isn't a bug.
    I am creating a report that needs to be able to be exported to Word (it gets sent to the printer for inclusion in a program).  Several of the text objects are formatted with right tabs set at the right edge of the object.  Everything lines up perfectly when the report is viewed in the Report viewer and when I export to a pdf, but when I export to Word the right tabs are converted to left tabs and the text aligned to them is out of view.
    Anyone have a clue as to why this is happening and if there is a way to fix it?
    Thanks for your help.
    Helenmary

    Sorry - no pointers. Other than patience - this is a known issue, probably to be addressed in Service Pack 3 of Crystal reports. See Kb [1643979 - Crystal Reports for Visual Studio 2010 does not look for ForceLargerFonts registry key|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333633343333333933373339%7D.do]
    I have seen one or two reports of people using the below KBase with success (you'll have to modify the reg key to reflect CRVS2010). But most have no success. Testing this I did not have any success either, nor did I see the CRVS2010 engine looking for any of the keys noted in the KB....
    [1644563 - How to create the ForceLargerFonts registry key when using Crystal Reports 2008 (12.x)|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333633343334333533363333%7D.do]
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]
    Edited by: Ludek Uher on Jan 19, 2012 6:37 AM

  • Data of classification tab in t-code MSC2N

    Hi All,
    is there any FM or method to read the data of classification tab in T-Code MSC2N. I need the value of product grade which comes in this tab.
    Thanks in adv.

       CALL FUNCTION 'QMSP_MATERIAL_BATCH_CLASS_READ'
           EXPORTING
                I_MATNR                = gt_SOitems-matnr
                I_CHARG                = gt_SOitems-charg
                I_WERKS                = gt_soitems-WERKS
                I_MARA_LEVEL           = 'X'
                I_NO_DIALOG            = 'X'
                I_DATUV                = SY-DATUM
           IMPORTING
                E_CLASS                = LV_CLASS
                E_KLART                = LV_KLART
                E_OBTAB                = LV_OBTAB
                E_OBJEC                = LV_OBJEC
           EXCEPTIONS
                NO_CLASS               = 1
                INTERNAL_ERROR_CLASSIF = 2
                NO_CHANGE_SERVICE      = 3
                OTHERS                 = 4.
        IF SY-SUBRC = 0. " If Class...etc found
    *--Get classification information
        CALL FUNCTION 'BAPI_OBJCL_GETDETAIL'
             EXPORTING
                  OBJECTKEY       = LV_OBJEC
                  OBJECTTABLE     = LV_OBTAB
                  CLASSNUM        = LV_CLASS
                  CLASSTYPE       = LV_KLART
                  KEYDATE         = SY-DATUM
                  LANGUAGE        = SY-LANGU
             TABLES
                  ALLOCVALUESNUM  = LT_ALLOC_VALUES_NUM
                  ALLOCVALUESCHAR = LT_ALLOCVALUESCHAR
                  ALLOCVALUESCURR = LT_ALLOCVALUESCURR
                  RETURN          = LT_RETURN.

Maybe you are looking for