Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Problem linking ShapeListBoxApplet with Flowchart (Read 1852 times)
evan
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 1
Joined: Dec 14th, 2007
Problem linking ShapeListBoxApplet with Flowchart
Dec 15th, 2007 at 1:45pm
Print Post  
At first the following worked, then I tried to give a path for an alternate shape list (FlowChart1.ShapeLibraryLocation = "http://localhost/NetDiagSample/pm.shl") and this did not work, then I removed this property setting and now even the default shape list is not being loaded!! pls help.

    <table width="100%" border="1px" cellpadding="0" cellspacing="0">
     <tr>
<td width="350px">
           <applet id="jShapeListBox"
                   name="jShapeListBox"
                   code="com/mindfusion/jdiagram/ShapeListBoxApplet.class"
                   archive="JDiagram.jar"
                   style="height:500px"
                   mayscript>
           </applet>               
</td>

       <td width="100%">
           <ndiag:FlowChart ID="FlowChart1"
                            runat="server"
                            Height="500px"
                            Width="550px"
                            AutoActivateApplet="True" />
       </td>
       </tr>
    </table>

  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Problem linking ShapeListBoxApplet with Flowch
Reply #1 - Dec 16th, 2007 at 8:07am
Print Post  
Try to load the shape library through the ShapeLibraryLocation parameter of the listbox applet:

<applet id="jShapeListBox"  ... >
     <param name="ShapeLibraryLocation" value="http://localhost/NetDiagSample/pm.shl" >
</applet>

Otherwise, the list box displays just the shapes available at the time it is initialized, and the custom library specified through the flowchart's location parameter might haven't been downloaded yet. If you are going to use the listbox' ShapeLibraryLocation parameter, remove the ShapeLibraryLocation attribute of the flowchart object.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint