Help JTree is not displaying inside of JFrame

Hello,
I have a frame application, inside the frame I have a jtable. when the users double click on a row from the table. I want to display an internalJFrame, which contain a tree with data on it. I try different combination with no luck. Below is the code where I am calling the internalJFrame and the internalJFrame code. Thank you for your help.
//calling internal frame (hierarchicalPanel)
if (e.getClickCount () == 2) {
try {
String tempID = jTable1.getValueAt(jTable1.getSelectedRow(), 0).toString();
selectedID = Long.parseLong(tempID);
}catch (NumberFormatException nfe) {
hierarchicalPanel = new HierarchicalPanel(selectedID);
hierarchicalPanel.setAddedToDesktop (true);
desktop.add(hierarchicalPanel);
hierarchicalPanel.setVisible(true);
//internal frame class
private HierarchalView hierarchalView;
//tree stuff
private DefaultMutableTreeNode root = null;
private DefaultTreeModel treeModel;
private CommRecord commRec;
private InstalledComponent installedAComponent;
private InstalledComponent installedZComponent;
private static boolean addedToDesktop;
/** Creates new form Hierarchical */
public HierarchicalPanel(long sipID) {
initComponents();
hierarchalView = new HierarchalView();
createNodes(sipID);
createTree();
* create a JTree
public void createTree() {
jTree1 = new JTree(treeModel);
jTree1.putClientProperty("JTree.lineStyle", "Angled");
jTree1.getSelectionModel()
.setSelectionMode(TreeSelectionModel
.DISCONTIGUOUS_TREE_SELECTION);
jTree1.setOpaque(false);
// tree.setCellRenderer(new AlphaRenderer());
jTree1.expandRow(0);
//this.llistenToTree(treeModel);
//popup();
//return tree;
* Add nodes to model
public void createNodes(long sipID){
DefaultMutableTreeNode root = null;
DefaultMutableTreeNode node = null;
DefaultMutableTreeNode child = null;
commRec = hierarchalView.getComRec(sipID);
long aComponentID = commRec.getSiteAInstalledComponent().getId();
long zComponentID = commRec.getSiteZInstalledComponent().getId();
long comID = commRec.getId();
//String desc = getSipData(sipID).getCustomerName();
root = new DefaultMutableTreeNode("SIP ID" + sipID);
treeModel = new DefaultTreeModel(root);
node = new DefaultMutableTreeNode("Communication ID");
root.add(node);
child = new DefaultMutableTreeNode("A InstallComponent " + aComponentID );
node.add(child);
child = new DefaultMutableTreeNode("Z InstallComponent " + zComponentID );
node.add(child);
System.out.println("finish inside node********");
/** This method is called from within the constructor to
* initialize the form.
* WARNING: Do NOT modify this code. The content of this method is
* always regenerated by the Form Editor.
private void initComponents() {
jPanel1 = new javax.swing.JPanel();
jTree1 = new javax.swing.JTree();
jPanel1.setLayout(new java.awt.BorderLayout());
jPanel1.setMinimumSize(new java.awt.Dimension(5, 100));
jPanel1.setPreferredSize(new java.awt.Dimension(5, 100));
jTree1.setMaximumSize(new java.awt.Dimension(78, 50));
jTree1.setMinimumSize(new java.awt.Dimension(80, 20));
jTree1.setPreferredSize(new java.awt.Dimension(100, 50));
jPanel1.add(jTree1, java.awt.BorderLayout.CENTER);
getContentPane().add(jPanel1, java.awt.BorderLayout.NORTH);
pack();
* Called whenever the value of the selection changes.
* @param e the event that characterizes the change.
public void valueChanged(TreeSelectionEvent e) {
/** Getter for property addedToDesktop.
* @return Value of property addedToDesktop.
public boolean isAddedToDesktop () {
return addedToDesktop;
/** Setter for property addedToDesktop.
* @param addedToDesktop New value of property addedToDesktop.
public void setAddedToDesktop (boolean addedToDesktop) {
this.addedToDesktop = addedToDesktop;

You forgot insert it into treeModel

Similar Messages

  • How to force JTree to not display  the leaves

    Hi
    Is there anyway to force JTree to not display the "end nodes" so to speak.
    What I want is that if a node is a leaf and is not allowed to have children
    I do not want the JTree to display them.
    I need this to build a component for a custom file system view like Windows Explorer
    which contains a tree with folders on the left and and contents of the currently selected( expanded)
    folder on the right. But Explorer does not display any files in the left pane, only folders.
    So I need to implement the same in my component

    This will give you some things to think aboutimport java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.tree.*;
    import javax.swing.event.*;
    import java.util.*;
    public class Test3 extends JFrame {
      Vector nodes = new Vector();
      DefaultMutableTreeNode root = new DefaultMutableTreeNode("Root");
      DefaultTreeModel dtm = new DefaultTreeModel(root);
      JTree jt = new JTree(dtm);
      JCheckBox jcb = new JCheckBox("Allow Expansion");
      Random r = new Random();
      int nodeCount=0;
      public Test3() {
        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        Container content = getContentPane();
        addNodes(root,0);
        content.add(jcb, BorderLayout.NORTH);
        content.add(new JScrollPane(jt), BorderLayout.CENTER);
        jt.addTreeWillExpandListener(new TreeWillExpandListener() {
          public void treeWillCollapse(TreeExpansionEvent tse) {}
          public void treeWillExpand(TreeExpansionEvent tse) throws ExpandVetoException{
            if (jcb.isSelected()) return;
            TreeNode tn = (TreeNode)tse.getPath().getLastPathComponent();
            Enumeration e = tn.children();
            boolean expand = false;
            while (!expand && e.hasMoreElements()) {
              if (((TreeNode)e.nextElement()).getChildCount()!=0) expand  = true;
            if (!expand) throw new ExpandVetoException(tse);
        setSize(400, 400);
      private void addNodes(DefaultMutableTreeNode parent, int level) {
        int cnt = r.nextInt(3)+3-level;
        for (int i=0; i<cnt; i++) {
          DefaultMutableTreeNode node = new DefaultMutableTreeNode("Node"+nodeCount++);
          parent.add(node);
          nodes.add(node);
          addNodes(node, level+1);
      public static void main(String[] args) { new Test3().setVisible(true); }
    }

  • Why the JTable do not display in the JFrame? Thanks!

    Why the JTable do not display in the JFrame?
    Thanks for your help.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class test extends JFrame implements ActionListener {
         JButton button=new JButton("Click");
         public test(){
              JFrame frame=new JFrame("abc");
         frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              frame.getContentPane().add(button, BorderLayout.NORTH);
              button.addActionListener(this);
              frame.setVisible(true);
         public void actionPerformed(ActionEvent event) {
              String[] columnNames = {"First Name","Last Name","Sport","# of Years","Vegetarian"};
              Object[][] data = {{"Mary", "Campione","Snowboarding", new Integer(5), new Boolean(false)}};
              JTable table = new JTable(data, columnNames);
              table.setPreferredScrollableViewportSize(new Dimension(500, 70));
              JScrollPane scrollPane = new JScrollPane(table);
         getContentPane().add(scrollPane, BorderLayout.NORTH);
         public static void main(String args[]){
              test t=new test();
    }

    Problem solved.
    Thanks!

  • Help topics are not displaying when using Windows 7 / IE 9 / RH10

    We recently upgraded our library from RH8 to RH10.  Also used a trial version of  RH9 in this process. Now when we compile several of the projects have issues where help topics do not display when selected in the TOC or when a link to the topic is clicked within another internal topic. It is in a continous loop in the browser (like it is trying to load).  If you right-click on the topic it displays (we are currently using this as the work-around).  Anyone else having this problem?? I saw something similiar for Windows8/IE10, but the fix does not apply here (http://forums.adobe.com/message/5138909#5138909#5138909).

    Hi,
    I (April) apologize I have been OOO and have not been able to respond to your replies.  
    Let’s start over. 
    We have an issue where help topics do not display when selected in the TOC or when a link to the topic is clicked within another internal topic. It is in a continous loop in the browser (flickering like it is trying to load). If you right-click on the topic it displays (we are currently using this as the work-around).
    We use Windows 7, IE9 and RH10 for all our projects. (Recently upgraded from RH8 to RH10)
    Turns out the problem is not isolated. I have run across it in at least one other project, which leads me to think it also occurs in others.
    "Does this only occur when the help is called from your software? Is it OK if you double click the start page?"
              No. I it ALSO occurs when launched from the start page. 
    Have you tried deleting the CPD file and reopening Rh and the project?
              Yes, without success.
    Are you using any redirects?    
              Per (Adrienne), “I am not using any redirects. I encounter this issue only in IE. If I paste the .htm into a Firefox browser, the help displays as it should.” 
              I will add that the project also displays incorrectly in Google Chrome.
    Thanks  April

  • The icons for the Personas Plus and Video Download Helper extensions are not displaying on a fresh install of Firefox 3.6.12

    I had to do a complete uninstall and reinstall of my up-t0-date Firefox due to another problem (it would only open one window), but after reinstalling my extensions, their icons were not displaying.
    I uninstalled and reinstalled again, but the Personas Plus fox will not display in the status bar, and the Video Download Helper icon will not display in the Navigation toolbar, and is not available in the Customize Toolbars menu.
    These extensions worked fine before. What's wrong now?

    You need to set options in those add-ons and/or use Customize Toolbars. Always look at instructions on each add-on's page at https://addons.mozilla.org/ ,
    -search for and locate the add-on,
    -open the page for that add-on,
    -review the information there,
    -then visit and bookmark the developer's home page shown on the add-on page; many add-on developers also have a forum for questions, so look for a link on the developer's home page.
    Most questions can be answered in one of those places.
    <u>'''ABP'''</u>: Tools > Add-ons > Extensions, locate and click on ABP, click Options, in ABP interface, click on Options tab, if no check mark at "Show in toolbar" or "Show in status bar", you can click on each of those items to place a check mark and they will show in one or both places. On the add-ons page https://addons.mozilla.org/ visit and bookmark the developer's home page and forum.
    <u>'''NoScript'''</u>
    '''''For the toolbar''''': scroll down on the following to the paragraph in the first section beginning with "A set of toolbar buttons is also provided:" and read that section: http://noscript.net/features#basics . It gives instructions on using the Customize Toolbar function to place the icon on your toolbar. Also see:
    ''' [[Back and forward or other toolbar buttons are missing]]'''
    '''[[Navigation Toolbar items]]'''
    '''[http://support.mozilla.com/en-US/kb/How+to+customize+the+toolbar How to customize the toolbar]'''
    '''''For the Status Bar''''': Tools > Add-ons > Extensions, locate and click on NoScript, click Options, click Advanced tab, check your preferences; see 4th image on: http://noscript.net/screenshots
    <u>'''IE Tab 2'''</u>: Tools > Add-ons > Extensions, locate and click on IE Tab 2, look under "Image Gallery", 3rd row, 1st image: https://addons.mozilla.org/en-US/firefox/addon/92382/ . Unfortunately, this developer has moved his home page and not updated the add-ons page. I use IE Tab Plus (formerly Coral IE Tab).

  • Help topics are not displaying when using Windows 8/IE 10

    I have a WebHelp system created in RoboHelp 7. When opening that Help from our application using Windows 8 with Internet Explorer 10 and allowing blocked content, the Help topics do not display in the right pane when clicking a topic from the Contents in the left pane. Below are the steps:
    1. Open the Help system from the Help menu within the application.
    2. The Allow Blocked Content displays and I allow it.
    3. The Help opens and if I click a topic from the TOC in the left pane, the topic doesn't display in the right pane.
    A workaround we found was to widen the left pane and the topic then displays. Also, if you don't allow blocked content, this issue doesn't happen. However, I need to allow blocked content in order for PDFs within the Help to open properly and also because the Search doesn't display without allowing blocked content.
    We also tested this with a Help system that was created using Robohelp 9 and have the same issue. I'm wondering if RoboHelp 10 would solve this problem.
    Does anyone know if IE 10 requires Help systems to be created in RoboHelp 10 to work properly, at least when allowing blocked content?

    It seems to be time for the old divide and conquer approach.
    Zip up the project so you have a copy that cannot accidentally be opened and worked on. That gives you a copy that you can safely revert to later if needed. Save the zip file somewhere safe.
    Then create another copy of the project so that you have two copies that can be worked on.
    Open Copy 1 and delete half the topics. Ignore any broken links reported. Generate the help from that copy.
    Open Copy 2 and delete the other half of the topics. Generate the help from that copy.
    It should be the case that one copy is now OK and one still has the problem.
    Trash the good copy and then create a second copy of the copy with the problem.
    Repeat the process until you have located whatever is causing the problem.
    The process takes less time than you might think.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • New Jtree node not displaying

    I have created a Jtree with some default elements. Later on I add new ones with the: treeModel.insertNodeInto() method. However the new node is not displayed. If I colapse and expand the tree it's still not displayed. Is there anything I need to do to tell the tree to refresh itself.

    Here are some more details that might help isolate this refresh problem. I've got a custom JPanel that displays a JTree. The root of JTree has 2 children: A, and B. You can dynamically add a Foler to A, where Folder implements TreeNode. You can drag elements from the tree rooted at B to a Batch. I've subclassed JTree to handle the drag and drop.
    public class Folder implements MutableTreeNode {
    public class MyPanel extends JPanel {
        private DefaultMutableTreeNode root, A, B;
        private MyTree tree;
        public MyPanel() {
            root = new DefaultMutableTreeNode();
            A = new DefaultMutableTreeNode("A");
            B = new DefaultMutableTreeNode("B");
            root.add(A);
            root.add(B);
            tree = new MyTree(root);
        // this method refreshes the tree correctly!!!
        public void addFolder(Folder f) {
            A.insert(f, A.getChildCount());
            // let the model know that the node was inserted
            DefaultTreeModel model = (DefaultTreeModel)tree.getModel();
            model.nodesWereInserted(A, new int[] {A.getChildCount() - 1});
            tree.makeVisible(new TreePath(new Object[] {root, A, f}));
    public class MyTree extends JTree
    implements DropTargetListener, DragSourceListener, DragGestureListener {
        public MyTree(DefaultMutableTreeNode root) {
            super(root);
        // method that handles the drop
        // DnDNode is a subclass of MutableTreeNode that implements Transferable
        // this method does _not_ update the UI correctly
        public void drop(DropTargetDropEvent dtde) {
            try {
                Transferable t = dtde.getTransferable();
                if ( t.isDataFlavorSupported(...) ) {
                    Point p = dtde.getLocation();
                    TreePath path = getPathForLocation(p.x, p.y);
                    if (path != null && path.getLastPathComponent() instanceof Folder) {
                        dtde.acceptDrop(DnDConstants.ACTION_COPY);
                        Folder parent = (Folder)path.getLastPathComponent();
                        DnDNode child = (DnDNode)t.getTransferData(...);
                        parent.insert(child, parent.getChildCount());
                        model.nodesWereInserted(parent, new int[] {parent.getChildCount() - 1});
                        makeVisible(path.pathByAddingChild(child));
                        dtde.getDropTargetContext().dropComplete(true);
                    else dtde.rejectDrop();
                else dtde.rejectDrop();
            catch(Exception ioe) {... }
    }To sum up, the UI is correctly refreshed when I call the addFolder() method in the class MyPanel. The UI does not refresh correctly after the drop() method in the MyTree class. Even though the same methods are used for both insertions.

  • [Urgent Help Required] Report not displaying

    Dear All,
    Please help me with a issue in running report from form. I am using the following code to run a report from a form. The issue is that when i click the button i get all the success messages which are in the code and a new browser window opens but my report is not displaying. Please can any one help me with this issue. I have to submit my project with a week so this is very urgent.
    This is the code I am using:
    DECLARE
         v_report_id Report_Object;
         vc_report_job_id VARCHAR2(100); /* unique id for each Report request */
         vc_rep_status VARCHAR2(100); /* status of the Report job */
    BEGIN
         /* Get a handle to the Report Object itself. */
         v_report_id:= FIND_REPORT_OBJECT('REPORT7');
         message ('report found');
    SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_COMM_MODE, SYNCHRONOUS);
         SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_DESTYPE,cache);
         SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_DESFORMAT,'HTML');
         SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_SERVER, 'repserver90');
         vc_report_job_id:=RUN_REPORT_OBJECT(v_report_id);
         message (vc_report_job_id);
         vc_rep_status := REPORT_OBJECT_STATUS(vc_report_job_id);
         message (vc_rep_status);
    IF vc_rep_status='FINISHED' THEN
         web.show_document 'http://localhost:8888/reports/rwservlet/getjobid='||vc_report_job_id ||'?server='|| 'repserver90','_blank');
         ELSE
              message ('Report failed with error message '||vc_rep_status);
         END IF;
    END;

    Any Help in this Regards will be highly appreciated

  • Help - Templates are not displaying in English

    For some reason, the templates in Pages (as well as in iWeb) are not displaying in English -- although that's my default language on my MacBook. I would think this is something easy to fix, but I must just be overlooking something. (MS Word displays its templates in English).
    Can someone please help -- it is a bit annoying that the templates are displaying in a different language. Thanks.

    Welcome to Apple Discussions
    iWork uses a "filler" text known as Greeking to let you see how the templates look with text without having text that would distract you from the layout. This is a fairly common question, so DennisG wrote a user tip about it - Placeholder text in a foreign language.

  • Windows help and support not displaying picture instead red x

    on windows vista 64 bit when i click start ? help and support windows help and support open
     not displaying picture instead red x

    Hi,
    Which browser are you using ? These are for:
    Internet Explorer 8 & 9
    Start Internet Explorer 8/9.
    On the Tools menu, click Internet Options.
    On the General tab, click Delete under Browsing History.
    In the Delete Browsing History dialog box, click to clear all of the check boxes except for the Temporary Internet Files check box, and then click Delete.
    Click OK to close the Internet Options dialog box.
    Internet Explorer 7
    Start Internet Explorer 7.
    On the Tools menu, click Delete Browsing History.
    In the Delete Browsing History dialog box, click Delete Files.
    Click OK to close the Internet Options dialog box.
    Internet Explorer 6 and earlier versions
    On the Tools menu, click Internet Options.
    On the General tab, click Delete Files under Temporary Internet files.
    Click to select the Delete all offline content check box, and then click OK.
    Click OK to close the Internet Options dialog box.
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • HELP - Image fills not displaying in Internet Explorer 11

    Not sure why but image fills are not displaying in IE 11.  This is critical for me. Any idea why this would be happening?  I thought Muse supports IE11 ?

    It seems to be an issue with the global.css file.  If I remove the characters following the ?  I can see the images.. however the images don't take on 100% width.. they are showing as 1/2 the width.

  • Custom fields not displayed inside 'Add. fields' tab of KS01/KS02 tcodes

    Hi Experts,
    I have created a new sub screen 0999 inside program SAPLXKM1 . This subscreen is being called from PBO of screen 0399 / 3399 of SAPLKMA1. During cost center creation (KS01) , one new tab 'Add. fields ' has been added but 0999 screen fields are not being displayed (tab page is blank).
    CALL CUSTOMER-SUBSCREEN custflds INCLUDING 'SAPLXKM1' '0999'.
    Enhancement : COOMKS01.
    Please help what i have missed in this enhancement. Please let me know if there is any step step documentation for the same.
    Thanks,
    Arnab

    Hi
    Please check whether
    1. you have added the custom fields and related texts to the subscreen 0999
    2. you  have written code in function exits for data export and import from screen to screen
    Try passing the values to screen by using the below exits.
    EXIT_SAPLKMA1_001              Flow Logic PBO
    EXIT_SAPLKMA1_002              Flow Logic PAI
    Shiva

  • Help with spry not displaying using ssi

    Hi,
    I have reviewed previous tutorials and can't find where my mistake is.  I cut and pasted the code for spry onto an include file with the extention .shtml .  I pointed to the file and the header seeems to correct,
    My files are root relative
    I have a file called includes, you can view the source here
    http://crystalbeach.com/funthings/includes.shtml
    Here is my link that is supposed to be displaying the spry navigation bar.
    http://crystalbeach.com/funthings/index_erinn.shtml
    Please help!
    thanks

    http://crystalbeach.com/funthings/index_erinn.shtml
    Line 29
    <!--include file="includes.shtml"--> is simply a plain HTML comment. It doesn't do anything.
    Change to
    <!--#include virtual="/funthings/includes.shtml" -->
    This assumes that your include file is named includes.shtml and is always stored inside a folder named "funthings". Many people store includes inside a folder named "includes" in the root folder on the server.
    NOTE: the .shtml file extension only applies to the parent page calling the include file.
    The include file can have any file extension e.g. menu.monkeybutt where the include code would change to <!--#include virtual="/includes/menu.monkeybutt" -->

  • Data not displaying inside cfdocument

    Hello,
    I am encountering a strange situation when trying to display data inside a
    <cfdocument> tag. I have constructed the code outside of a <cfdocument>
    tag and all displays as intended.
    However, when I insert the data inside a <cfdocument> tag and use the
    attribute of float: left, on the <div> tags the data associated with the
    <div> tag the attribute is applied to, dissappears. Remove the float: left
    attribute and the data reappears.
    This happens whether I insert directly inside a <cfdocument> tag or do it
    via the <cfsavecontent> process.
    Any ideas on where I should be looking to fix the issue? Also, I am using
    DW CS5, in code mode for this.
    Thanks - Leonard B
    -- Code Below --
    <cfdocument
    format="PDF"
    pagetype="letter"
    margintop=".50"
    marginbottom=".50"
    marginright=".50"
    marginleft=".50"
    orientation="portrait"
    unit="in"
    backgroundvisible="yes"
    overwrite="no"
    fontembed="yes"
    bookmark="false"
    localurl="yes">
    <div style="clear: both; border: 1px solid #000 padding: 10px 0px 0px 0px; width: 800px; height: 50px">
    <div style="clear: both; float: left; width: 400px">
    <div style="clear: both">
    <div style="float: left; width: 110px" align="right">Name:</div>
    <div style="float: left"> <cfoutput>#rs_get_time_submissions.emp_name#</cfoutput></div>
    </div>
    <div style="clear: both; padding: 5px 0px 0px 0px">
    <div style="float: left; width: 110px" align="right">Emp. Number:</div>
    <div style="float: left"> <cfoutput>#rs_get_time_submissions.emp_number#</cfoutput></div>
    </div>
    <div style="clear: both; padding: 5px 0px 0px 0px">
    <div style="float: left; width: 110px" align="right">Month / Year:</div>
    <div style="float: left"> 
    <cfif #rs_get_time_submissions.mnum# eq "1">January
    <cfelseif #rs_get_time_submissions.mnum# eq "2">February
    <cfelseif #rs_get_time_submissions.mnum# eq "3">March
    <cfelseif #rs_get_time_submissions.mnum# eq "4">April
    <cfelseif #rs_get_time_submissions.mnum# eq "5">May
    <cfelseif #rs_get_time_submissions.mnum# eq "6">June
    <cfelseif #rs_get_time_submissions.mnum# eq "7">July
    <cfelseif #rs_get_time_submissions.mnum# eq "8">August
    <cfelseif #rs_get_time_submissions.mnum# eq "9">September
    <cfelseif #rs_get_time_submissions.mnum# eq "10">October
    <cfelseif #rs_get_time_submissions.mnum# eq "11">November
    <cfelseif #rs_get_time_submissions.mnum# eq "12">December</cfif>
    <cfoutput>~ #rs_get_time_submissions.ynum#</cfoutput>
    </div>
    </div>
    </div>
    <div style="float: left; width: 400px">
    <div style="clear:both;width:300px">
    <div style="float:left; width:100px"  align="right"><cfoutput>#decimalformat(rs_total_approved_hours.total_hours)#</cfoutput></ div>
    <div style="float: left"> = Total Approved Hours</div>
    </div>
    <div style="clear:both; padding: 5px 0px 0px 0px; width:300px">
    <div style="float:left; width:100px"  align="right"><cfoutput>#decimalformat(rs_total_pending_hours.total_hours)#</cfoutput></d iv>
    <div> = Total Pending Hours</div>
    </div>
    <div style="clear:both; padding: 5px 0px 0px 0px; width:300px">
    <div style="float:left; width:100px"  align="right"><cfoutput>#decimalformat(total_hours)#</cfoutput></div>
    <div> = Total Hours</div>
    </div>
    </div>
    </div>
    </cfdocument>

    Hi Bhaskar,
    I deleted the request and again loaded with full load, still problem remains same.
    what do mean by how the data is stored in RSA3, I did get this pl clear to me.
    In the PSA I found "update Request is not genareted"
    in what case update request will miss, I think that is problem.
    can you help.
    Regards.
    Vijay

  • Need help for style not displaying correctly in chm

    I’m using RoboHelp HTML version 8.  RH8 is dropping a style from my stylesheet.  The style appears to be applied correctly when I view a topic (the HTML file) directly with either IE or Firefox browser, and it appears correctly when I view the topic with the “Item View” feature in RH8 (the eyeglasses icon).  However, in the compiled HTML help output from RH, the style is not correct.  The style in question is a class of style (“desc” for descriptions) for a subset of table data. The “desc” class should have the data in the cell left justified, and the cell width should be 50%.  The main parent style for table data (centered text, cell width varies) seems to be applied instead, and the child style for descriptions is not applied.  Below I've included a screen shot of a table page as it looks in Item Viewer, then the same page as it appears in the CHM, and finally the style sheet in its original state before being added to RH.
    Here are things I’ve checked for:
    ·         The project is large, with over 6300 topics and a compiled chm of 5560 KB.  RH crashes when I try to apply style sheets or master pages to multiple topics from the Topic List.  However, I created a much smaller test project with 122 topics and still get the dropped style.
    ·         The style sheets were created outside of RH, and are also used for presenting the same content over the web outside of RH.  The styles display fine in the other context through a browser.  I have not modified the style sheet in RH, but I have opened it in RH.  I’ve also tried deleting and re-copying the style sheet into the project.
    ·         There is another set of styles applying to the tables, for table rows.  There is a “tr” class for the heading and classes for rotating background colors.  These child styles appear correct with no problems.  Every row in a table belongs to a child class of row styles.  In the case of table data styles, most cells require the parent “td” style and only a subclass require the child “desc” style.  It’s the “desc” style that isn’t showing up in the chm.  Is this a clue?
    ·         Multiple style sheets per topic.  Apparently only one style sheet can be used per topic.  In my project, I have two types of topics, called schema pages and table pages, with a style sheet for each.  The same master page is used for both types.  The master page uses the tables style sheet.  Therefore, the tables topics (the ones with the dropped style) use only one style sheet, but it is specified in both the master page and the topic itself.   Is this a problem?
    ·         Reviewing the style sheet in RH.  When I inspect the style sheet through RH’s Project Manager, the table data and table row styles appear under “Other” and not under “Table.”  Is this a clue?
    The special formatting of the description cells in our table-heavy project is essential.  I’ve spend days trying to troubleshoot this problem and would appreciate any help anyone can offer.

    Hi jensei,
    Thanks for that. When I took that screenshot - bizarrely those cells all had exactly the same html. I can't easily prove that now as I have tinkered with that test page quite a lot since. I started thinking maybe I could do something "clever" with table styles to save me the joyless task of manually editing all tables in my project. In the end I gave up and decided to devote a couple of hours to going through and reformatting all tables with a font that was the same size and of a similar type face to the rest of the page. Obviously not an option in your monster project, but it worked for me.
    I've seen so many random results here that I can't get my head around what exactly is going wrong - for me the issue seems connected with style = none in a table.
    Anywhere else on the page, style = none yields text with font = Tahoma 10pt.
    But in the table cells that text sometimes rendered ok in CHM, but often it would randomly appear far larger.
    So for me the cure was to format all tables with font = arial 10pt (rendered result is similar, but somehow different enough to stop the erroneous size rendering).
    That's as far as I got - as usual with time being very precious, I've had to curb my geekiness and crack on.
    Cheers,
    Andy

Maybe you are looking for