10g Can't use component palette in code editor

In 903 I used to use the Code Snippets page on the component palette to insert common bits of code.
In 10g, the component palette remains inactive if I have a jsp or java code editor open. If I switch to the visual tab, the palette activates, but deactivates again on switching back to a code editor.

Actually, I can use it with a JSP code editor, but not Java

Similar Messages

  • How many times can you install Lightroom 5? My problem is that I have saved my programs on C. To I have more space, I want to save my programs now on E. Can I now uninstall Lightroom and reinstall from C to E? Can I use the same license code as the first

    Please help!!
    How many times can you install Lightroom 5? My problem is that I have saved my programs on C. To I have more space, I want to save my programs now on E. Can I now uninstall Lightroom and reinstall from C to E? Can I use the same license code as the first installation?

    Thank you for your answers, it helps me a lot.
    But sorry for my ignorance. I understand how you mean it, but I don't know how to do it. I'm scared to lose the settings/edits of the images.

  • HT1222 Can you use the same authorization code for QT Pro on two computers? Or do you have to buy a code for each computer

    I have two computers a laptop and my Video Editing computer can I use the same activation code on both?

    An Apple ID is a user name you use for everything you do with Apple. Creating an account for an Apple service, such as the iTunes Store or the App Store, creates an Apple ID. Apple ID allows you to access other Apple services.   So you can use the same Apple ID for up to 10 Macs associated with it.
    To create an Apple ID you need to enter  your full name and your primary email address as your Apple ID. This will be used as the contact email address for your account.

  • I can see the component palette

    Hi,
    I have installed recently Oracle9i JDeveloper.... I was not able to see the component although I have
    checked the component palette ....
    Will you please help...
    Thanks,
    Mona

    Mona,
    The Component Palette is context-sensitive so it will only display components on it when it has an editor open that it knows about. For example, if you create a UML Diagram, the palette should be populated with the elements that can be created on the diagram, likewise if you have the UI Editor open you will see buttons, textfields etc that you use in your UI.
    Hope that helps,
    Lisa

  • Can we use MS C++ Socket code to send to a labview socket vi?

    See above.

    No, the VIs you are referring to in LabVIEW use National Instruments DataSocket technology. This is not the same as Windows Sockets communication that you are referring to from Visual C++. They are not compatible to be used together. We do provide libraries for Visual C++ for DataSocket that come with our Measurment Studio package. Measurement Studio includes classes like CNiDataSocket that can be used to communicate with the LabVIEW DataSocket VIs.
    Best Regards,
    Chris Matthews
    National Instruments

  • HT5188 Can I use a 'gifted' app code with AC?

    I have an unused redemption code for an app that was gifted to me (the code was sent to me by a school administrator). Can I manually add this to Apple Configurator so that I can manage this app on our school iPads? I don't believe it was purchased through VPP, so it's not on a spread sheet that I can import to AC. It's a very expensive communication device app, so I need to be able to move the app between iPads as our students move through the school system. Thanks.

    By default, whenever you connect a supervised device to Apple Configurator, any apps which were installed on that device by a user will be deleted.
    With Apple Configurator v1.1 or later, you can change this setting in Preferences, under the Apple Configurator menu. http://support.apple.com/kb/HT5203
    So, if you install the app as a "user" using whatever apple id you would normally use to install a standalone app, you can change the preferences setting in .1.1.  You would not use Configurator to install the app but add it manually  to the device being used by the student or group of students in question.  Given that you only have one code you could not legally place it on multiple devices anyway so there is no point in  loading it through Configurator.

  • Can I use Apple Volume Purchasing Codes with Apple Profile Manager?

    I am using Apple Profile Manager (on OS X 10.8) to manage some iOS devices.  I would like to be able to push apps to users using Profile Manager, however, I cannot seem to find a way to import an Apple Volume Purchasing Program redemption code spreadsheet.  Basically, I am looking for a way to deploy apps to the devices without the users having to purchase them using their own Apple ID's.  I've done some research, and I have determined that this funcationality seems to be included in Apple Configurator.  I am wondering if I can do the same thing in Profile Manager.  I would rather not have to change my MDM solution, if at all possible.  Thanks in advance, I appreciate it.

    Hey JTShelatz,
    just push you Apps with Profileservice. But just the amount of purchased licences .
    Thats how I understood Apples VPP deployment strategy.

  • Event Receiver - Can I use Sleep in C# code to wait for several days or months? Any issues with this?

    Hi there,
    Sorry - I canNOT use Workflows or TimerJobs!
    This HAS TO BE an event receiver (Nothing else is possible).
    In my C# Event Receiver - I have to take an action after a particular date is reached (which can be several days/months).
    Is it okay for me to use Sleep(3 months) in code? Any issues this can cause?
    Thanks so much.

    I think you'd be much better implementing a SharePoint timer job to do this. In your event receiver, you could update a property bag. The timer job can then read the property bag every 5 minutes (or at what ever interval you need) and take action based on
    the date. 
    If you use sleep, it blocks the current thread from doing anything else, so no, you shouldn't do that! See: http://msdn.microsoft.com/en-us/library/system.threading.thread.sleep(v=vs.110).aspx
    You could look at Thread timers, but I don't know if that will working within an event receiver (I think a SharePoint timer job is more stable option) http://msdn.microsoft.com/en-us/library/swx5easy.aspx
    Regards, Matthew
    MCPD | MCITP
    My Blog
    View
    Matthew Yarlett's profile
    See my webpart on the TechNet Gallery that allows administrative users to upload, crop and format user profile photos. Check it out here:
    Upload and Crop User Profile Photos

  • OBIEE 10g - Can I use logical SQL to set variable?

    I am trying to set value of a session variable in the Advanced tab Prefix box of a request.
    Assigment of absolute value like this is working good:
    SET VARIABLE MYVAR=1;
    Can I set the variable using logical SQL? Something like:
    SET VARIABLE MYVAR = (SELECT table1.col1 from catname where table1.col2=1)
    Thanks in advance.

    Hi,
    You can create a session variable or dynamic variable in the RPD and try using it in here at the Advanced Tab prefix.
    But still check yourself if you need multiple values returning in the SQL statement.
    Hope this is helpful/ useful.
    Regards
    MuRam

  • Oracle 10g - can I use a variable to identifywhat user's tablesto access?

    I have the following code in a trigger (PL/Sql block) of a form:
    select fieldname into myvar from user1.sometable;
    is there a way to use a variable instead of hard coding 'user1'? And on the same topic, could this variable be declared globally?
    Thanks in advance,
    Darren

    Hi again!
    i've forgot something!
    You are able to switch to another schema. If you are another user than user1, try:
    alter session set current_schema = user1;after this there is no need to use synonyms or tableowners in front of the tablename in your sql-statements.
    May you use this in a when-new-form-instance trigger in your first form like:
    forms_ddl ( 'alter session set current_schema = ' || :parameter.your_schema );Regards

  • How can i use $$context inside my code

    hi
    my client need to get information from the server and i want it to use the ip address. how can i get it?
    thanks

    WRiting the JSP is as simple as adding the hostname into a HTML file and calling it JSP. The only tricky bit is setting up a JSP server.
    There are millions of examples of JSP pages on the web. This page is a JSP page.
    If you find another way of determining which server a JNLP install came from, let me know (no one I know has found another way)

  • How can I use JTextField as JTable cell editor while using AbstractTableMod

    I use this code but can not edit field
    import javax.swing.table.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.awt.*;
    import javax.swing.text.*;
    public class Main extends JFrame {
    JTable table;
    MyTableModel tableModel;
    public Main() {
    super("Colored JTable Demonstration");
    tableModel = new MyTableModel(10, 5);
    table = new JTable(tableModel);
    DefaultTableCellRenderer colorRenderer = new DefaultTableCellRenderer() {
    public void setValue(Object value) {
    if (value instanceof ColoredItem) {
    Color fcolor = ((ColoredItem) value).getForeground();
    Color bcolor = ((ColoredItem) value).getBackground();
    this.setForeground(fcolor);
    this.setBackground(bcolor);
    setText(((ColoredItem) value).getValue());
    table.setDefaultRenderer(Object.class, colorRenderer);
    //table.setDefaultEditor(Object.class, new DefaultCellEditor(new JTextField()));
    //Set up real input validation for the integer column.
    TableCellEditor editor = new DefaultCellEditor(new JTextField()) {
    public Component getTableCellEditorComponent(JTable table,
    Object value, boolean isSelected, int row, int column) {
    super.getTableCellEditorComponent(table, value, isSelected,row, column);
    JTextField myField = (JTextField) getComponent();
    //myField.setDocument(new ValidDocument());
    return myField;
    //if(value==null) return null;
    //return null;
    int numbercolumn = table.getColumnCount();
    for(int i = 0; i< numbercolumn ; i++){
    table.getColumnModel().getColumn(i).setCellEditor(editor);
    // table.getColumnModel().getColumn(i).setCellRenderer(new ColorRenderer());
    //table.validate();
    JScrollPane scrollPane = new JScrollPane(table);
    getContentPane().add(scrollPane, BorderLayout.CENTER);
    JPanel radioPanel = new JPanel(new GridLayout(1, 5));
    JRadioButton redRadio = new JRadioButton("Red");
    JRadioButton greenRadio = new JRadioButton("Green");
    JRadioButton blueRadio = new JRadioButton("Blue");
    JRadioButton yellowRadio = new JRadioButton("Yellow");
    JRadioButton blackRadio = new JRadioButton("Black");
    // Group the radio buttons.
    ButtonGroup group = new ButtonGroup();
    group.add(redRadio);
    group.add(greenRadio);
    group.add(blueRadio);
    group.add(yellowRadio);
    group.add(blackRadio);
    radioPanel.add(redRadio);
    radioPanel.add(greenRadio);
    radioPanel.add(blueRadio);
    radioPanel.add(yellowRadio);
    radioPanel.add(blackRadio);
    RadioListener radioListener = new RadioListener();
    redRadio.addActionListener(radioListener);
    greenRadio.addActionListener(radioListener);
    blueRadio.addActionListener(radioListener);
    yellowRadio.addActionListener(radioListener);
    blackRadio.addActionListener(radioListener);
    // add radiopanel to container
    JPanel panel = new JPanel(new GridLayout(2, 1));
    panel.add(new JLabel("Select color for selected cell:"));
    panel.add(radioPanel);
    getContentPane().add(BorderLayout.SOUTH, panel);
    addWindowListener(new WindowAdapter() {
    public void windowClosing(WindowEvent e) {
    System.exit(0);
    class ValidDocument extends PlainDocument {
    public void insertString(int index, String s, AttributeSet a)
    throws BadLocationException {
    if ((s == null) || (s.length() == 0)) {
    return;
    StringBuffer t = new StringBuffer(getLength() + s.length());
    t.append(getText(0, index));
    t.append(s);
    t.append(getText(index, getLength() - index));
    if(s.equals("1") && t.toString().equals("1")){               
    super.insertString(index, s, a);
    if(s.equals("0") && t.toString().equals("0")){
    super.insertString(index, s, a);
    if(s.equals(".") && t.toString().equals("0.")){
    super.insertString(index, s, a);
    if(s.equals("5") && t.toString().equals("0.5")){
    super.insertString(index, s, a);
    if(s.equals("b") && t.toString().equals("b")){
    super.insertString(index, s, a);
    //if (super instanceof ColoredItem) {
    // Color fcolor = ((ColoredItem) value).getForeground();
    // Color bcolor = ((ColoredItem) value).getBackground();
    // this.setForeground(fcolor);
    // this.setBackground(bcolor);
    //super.setText(t.toString());
    System.out.println("hehe");
    class RadioListener implements ActionListener {
    public void actionPerformed(ActionEvent ae) {
    int row = table.getSelectedRow();
    int column = table.getSelectedColumn();
    ColoredItem ci = (ColoredItem) tableModel.getValueAt(row, column);
    if (ae.getActionCommand().equals("Red"))
    ci.setBackground(Color.red);
    else if (ae.getActionCommand().equals("Green"))
    ci.setBackground(Color.green);
    else if (ae.getActionCommand().equals("Blue"))
    ci.setBackground(Color.blue);
    else if (ae.getActionCommand().equals("Yellow"))
    ci.setBackground(Color.yellow);
    else if (ae.getActionCommand().equals("Black"))
    ci.setBackground(Color.black);
    System.out.println(ci.getValue());
    // necessary to cause a fireTableCellUpdated event
    tableModel.setValueAt(ci, row, column);
    private class ColoredItem {
    private String value;
    private Color foreground;
    private Color background;
    public ColoredItem(String value, Color foreground, Color background) {
    this.value = value;
    this.foreground = foreground;
    this.background = background;
    public void setValue(String value) {
    this.value = value;
    public void setForeground(Color foreground) {
    this.foreground = foreground;
    public void setBackground(Color background) {
    this.background = background;
    public String getValue() {
    return value;
    public Color getForeground() {
    return foreground;
    public Color getBackground() {
    return background;
    class MyTableModel extends AbstractTableModel {
    String [] columnNames;
    ColoredItem [][] data;
    MyTableModel(int rows, int columns) {
    columnNames = createColumnElements(columns);
    data = createTableElements(rows, columns);
    public int getColumnCount() {
    return columnNames.length;
    public int getRowCount() {
    return data.length;
    public String getColumnName(int col) {
    return columnNames[col];
    public Object getValueAt(int row, int col) {
    return data[row][col];
    public Class getColumnClass(int c) {
    return getValueAt(0, c).getClass();
    public void setValueAt(ColoredItem value, int row, int col) {              
    data[row][col] = value;
    //System.out.println((ColoredItem)value.getValue());
    //temp.setValue((ColoredItem)value.getValue());
    fireTableCellUpdated(row, col);
    private String[] createColumnElements(int columns) {
    String[] data;
    data = new String[columns];
    for (int i=0; i<columns; i++) {
    data[i] = new String("Column " + i);
    return data;
    private ColoredItem [][] createTableElements(int rows, int columns) {
    ColoredItem [][]data;
    data = new ColoredItem[rows][];
    for (int i=0; i<rows; i++) {
    data[i] = new ColoredItem[columns];
    for (int j=0; j<columns; j++) {
    data[i][j] = new ColoredItem("", Color.black, Color.white);
    return data;
    public boolean isCellEditable(int rowIndex, int columnIndex) {
    return true;
    public static void main(String []args) {
    Main main = new Main();
    main.pack();
    main.setVisible(true);
    }

    JTextField jtxf=new JTextField();
         private void setColumns() {
    TableColumn column = null;
    if(this.getRowCount()>0){
    for (int i = 0; i < this.getColumnCount(); i++) {
    column = this.getColumnModel().getColumn(i);
              DefaultCellEditor dce = new DefaultCellEditor(jtxf);
              column.setCellEditor(dce);
              dce.setClickCountToStart(1);
    simply call this method in constructor it will help u

  • Can I use lightroom as an external editor from Aperture?

    Could I use Lightroom to do edits on an Aperture file and then return the edited file to Aperture for saving or editing further?

    No.  You could use Photoshop or Acorn or Pixelmator or Gimp as external editors as they are all "pixel" editors.  But not Lightroom as it doesn't work the same way.

  • Can I use UTL_MAIL if database is 10g, but Forms 6i

    If my application if running Forms 6i, but database is 10g, can I use UTL_MAIL to send email with attachment?

    sure.
    create the whole logic of your utl_mail-commands in a db-package of your own. Then use this procedure/function from within your form.
    But first check, if your forms-version is certified against a 10g database. forms 6i patch 17 e.g. is certified against db 10g release 1

  • Custom Component Palette

    Hi,
    I want to know how can I create my component palette with differents controls. I want that my palette has several JSF components (JSF HTML and ADF Faces Core).
    For example, in my custom palette I have a Table (of ADF Faces Core), a InputText (of ADF Faces Core) and a PanelGrid (of JSF HTML).
    How can I do that? It is possible?
    Thanks
    Diego

    In Tools -> Configue Palette I can only create Component Palette of the following types (css, java, oxd_usc and snippet), but I can't add JSF Components in this types.
    How can I add JSF components in this types?
    Or, which is the type (css, java, oxd_usc, snippet or other) used for add JSF components?
    Thanks
    Diego

Maybe you are looking for