Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [lyo-dev] UI preview

Hi, Sergio. You answered before I could :)

There is a Compact class in OSLC4J core to help read the Compact document.
--
Samuel Padgett | IBM Rational | spadgett@xxxxxxxxxx


Inactive hide details for Sergio Jose Deras Arreola---06/06/2013 04:04:24 PM---Answering my own question: I have reviewed the sSergio Jose Deras Arreola---06/06/2013 04:04:24 PM---Answering my own question: I have reviewed the specification


    From:

Sergio Jose Deras Arreola/Mexico/IBM <sderas@xxxxxxxxxxx>

    To:

Lyo project developer discussions <lyo-dev@xxxxxxxxxxx>

    Date:

06/06/2013 04:04 PM

    Subject:

Re: [lyo-dev] UI preview

    Sent by:

lyo-dev-bounces@xxxxxxxxxxx




Answering my own question: 

I have reviewed the specification
http://open-services.net/bin/view/Main/OslcCoreUiPreview?sortcol=table;up=#Displaying_a_small_preview . The consumer can search for the small and large preview entries in the resource, I see that the DOORS requirement does have both. 

Regards and sorry for the inconvenience.  
 

Sergio Deras Arreola  
------------------------------------------------------------
Rational Lifecycle Integration Adapters
Phone: (011-52) 33-3669-7000. Ext: 5897  
T/L: 8877-5897
sderas@xxxxxxxxxxx
Campus Tecnológico Guadalajara, Mx
------------------------------------------------------------
 

    From: 
    Sergio Jose Deras Arreola/Mexico/IBM@IBMMX 
    To: 
    Lyo project developer discussions <lyo-dev@xxxxxxxxxxx> 
    Date: 
    06/06/2013 13:03 
    Subject: 
    [lyo-dev] UI preview 
    Sent by: 
    lyo-dev-bounces@xxxxxxxxxxx





Hello everybody:
 

I am trying to show a UI preview, you know, the small window that shows some information from a resource that it is already linked  with another resource.
 
I was reading
http://open-services.net/resources/tutorials/oslc-primer/ui-preview/ and it says that we need to add the value application/x-oslc-compact+xml to the accept header in order to get the small preview. 
I am working with DOORS and I wanted to see how it looks when a DOORS resource is added to a WI in RTC.
I see that the requested URL looks like this:
https://<host>/dwa/rm/calm/linkrenderingcontent?urn=urn:rational::1-514b30b9627b2a31-O-1-00000063&hover=small&version=2.0 
The accept header is:
 text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8

So, what is the correct way to request the UI preview?
 

Thanks.
 

Sergio Deras Arreola  
------------------------------------------------------------
Rational Lifecycle Integration Adapters
Phone: (011-52) 33-3669-7000. Ext: 5897  
T/L: 8877-5897
sderas@xxxxxxxxxxx
Campus Tecnológico Guadalajara, Mx
------------------------------------------------------------
_______________________________________________
lyo-dev mailing list
lyo-dev@xxxxxxxxxxx

http://dev.eclipse.org/mailman/listinfo/lyo-dev

_______________________________________________
lyo-dev mailing list
lyo-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/lyo-dev


GIF image

GIF image


Back to the top