Willie,

Thanks for the explanation.  I need to figure out why my TBLive application
is not accessing or loading the image. My assumption is that if I can
access and see the image in TB-ME, so then I should be able to see it
within the web app. - which I can't at the moment. I suspect it has
something to
do with value string within the object property or maybe how to access the
tomcat service that is deploying the TBLive

-david

                                                                                
  David Petrovich                                                               
  Senior Principal Systems Engineer                                             
  Command And Control Systems, Security Solutions                               
  Network Centric Systems                                                       
  Raytheon Company                                                              
                                                                                
                                                                                
                                                                                
                                                                                
  (business)                                                                    
                                                                +1.727.302.3176 
  (cell)                                                                        
                                                                +1.727.252.9231 
  (fax)                                                                         
                                                                +1.727.768.8699 
                                                                                
  [email protected]                                                
                                                                                
                                                                                
                                                                                
  8333 Bryan Dairy Rd.                                                          
  Largo, Florida 33777   United States                                          
  www.raytheon.com                                                              
                                                                                
                                                                                
  Raytheon Sustainability                                                       
                                                                                
  This message contains information that may be confidential and privileged.    
  Unless you are the addressee (or authorized to receive mail for the           
  addressee), you should not use, copy or disclose to anyone this message or    
  any information contained in this message. If you have received this message  
  in error, please so advise the sender by reply e-mail and delete this         
  message. Thank you for your cooperation.                                      
                                                                                
                                                                                





                                                                                
                                                        
  From:       Willie Milnor <[email protected]>                           
                                                        
                                                                                
                                                        
  To:         [email protected]                                   
                                                        
                                                                                
                                                        
  Date:       09/15/2011 12:08 PM                                               
                                                        
                                                                                
                                                        
  Subject:    Re: [topbraid-users] accessing a jpg, pdf and a ms word doc in 
TBLive                                                     
                                                                                
                                                        
  Sent by:    [email protected]                                   
                                                        
                                                                                
                                                        





Hi David,

If TBE sees a URI that ends with a file extension for an image
(i.e., .jpg, .ping, etc.) then TBE will attempt to load the image at that
URL; and if the image cannot be loaded, then TBE will merely display the
URI.  In the latter case, if the property is a datatype property then TBE
will simply display the URI as text; however, if the property is an object
property (as is hasScreenCapture), then TBE will display the URI as if it
were the URI of another resource (and clicking the link would redirect the
form to that resource).

[[
When I click on the blue highlighted path, a form pops up without
displaying the image.
]]
Based on my description above, it seems that TBE is unable to load the
image.

[[
I need to do this for pdfs and word docs as well.
]]
If the range of hasDoc is xsd:anyURI, then clicking the URL will open up a
separate browser window/tab to that URL.  (But again, if the URI appears to
be for a file, TBE will try to load that image.)

On Wed, Sep 14, 2011 at 2:29 PM, [email protected] <
[email protected]> wrote:
  I've created project Cyber.org and then several directories under that
  project to store jpg, pdf and word docs. The intent is to access them
  through an TPLive application. In TBC-ME,  I ctreated  two properties.
  One for images then the other for the pdf and word doc.
  hasScreenCapture is an object property  The hasDoc is an object
  property with a range of xsd:anyURI.

  The path value of the  hasScreenCapture property is <http://Cyber.org/
  CyberTools/docs/Screencapture/PRA.JPG>

  Within TBC-ME I can see the globe and when I click on it the jpg
  appears.

  I've deployed the project in TBLive. When I click on the data instance
  that has the hasScreenCapture poperty I see the following value:
  http://Cyber.org/CyberTools/docs/Screencapture/PRA.JPG

  When I click on the blue highlighted path, a form pops up without
  displaying the image.

  I need to do this for pdfs and word docs as well.

  --
  You received this message because you are subscribed to the Google
  Group "TopBraid Suite Users", the topics of which include TopBraid
  Composer,
  TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN.
  To post to this group, send email to
  [email protected]
  To unsubscribe from this group, send email to
  [email protected]
  For more options, visit this group at
  http://groups.google.com/group/topbraid-users?hl=en



--
Willie Milnor
Sr. Semantic Solutions Developer

TopQuadrant, Inc.
330 John Carlyle Street
Suite 180
Alexandria, VA 22314
703.299.9330
www.topquadrant.com

Cell: 410.971.7788




--
You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include TopBraid
Composer,
TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en

-- 
You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include TopBraid Composer,
TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en

<<inline: 4A901727.gif>>

<<inline: graycol.gif>>

<<inline: ecblank.gif>>

Reply via email to