Ok, if you update the otrunk project, the refid part of this should be 
fixed.

I still need to fix the href part.

Scott

Scott Cytacki wrote:
> This looks like a bug in the copy code.  I created this issue to track 
> my work on it:
> http://jira.concord.org/browse/OTK-54
>
> Scott
>
> Geoffrey Kwan wrote:
>   
>> I was able to get the target to show up in my generated otml =). Now 
>> all the content seems to show up in my generated otml but some of the 
>> ids and refids don't seem to be working properly.
>>
>> Here's a reference to ${static_organism_page} and the declaration of 
>> the object in the concord otml. But when my otml is generated (shown 
>> later below), the reference shows up differently.
>>
>> concord otml
>>
>> reference
>> <a href="${static_organism_page}">
>>
>> declaration
>> <OTCompoundDoc local_id="static_organism_page" name="Static Organisms">
>>   <bodyText>
>>     <table>
>>       <tr height="310">
>>         <td width="250">
>>           <object editable="true" refid="${maleStaticOrganism}" />
>>         </td>
>>         <td width="630">
>>           <object editable="true" refid="${maleChromosome}" />
>>         </td>
>>         <td rowspan="2" width="300">
>>           <object refid="${static_organism_cards}" /><p/>
>>           <object refid="${answer_questions_button}"/>
>>           <object refid="${meiosis_button}" />
>>         </td>
>>       </tr>
>>       <tr>
>>         <td>
>>           <object editable="true" refid="${femaleStaticOrganism}" />
>>         </td>
>>         <td>
>>           <object editable="true" refid="${femaleChromosome}" />
>>         </td>
>>       </tr>
>>     </table>
>>     <object refid="${staticOrg_script_object}" />
>>     <object refid="${meiosis_button_script}" />
>>     <object refid="${answer_questions_script}" />
>>   </bodyText>
>> </OTCompoundDoc>
>>
>> Issue #1
>> In my generated otml below the reference includes 
>> !/static_organism_page and the id 9c11d3b0-0ad0-012a-b541-0017f2cc694e 
>> is no where else to be found in my generated otml file so this href 
>> link does not work. The correct id should be 
>> 65e553b7-3285-11dd-8645-e340a80753e4 which I was able to find by 
>> searching for the object that the href should be pointing to. How can 
>> I resolve this reference to point to the correct id?
>>
>> my generated otml
>>
>> reference
>> <a href="9c11d3b0-0ad0-012a-b541-0017f2cc694e!/static_organism_page">
>>
>> declaration
>> <OTCompoundDoc id="65e553b7-3285-11dd-8645-e340a80753e4" name="Static 
>> Organisms">
>>   <bodyText>
>>     <table>
>>       <tr height="310">
>>         <td width="250">
>>           <object editable="true" 
>> refid="%65e63e40-3285-11dd-8645-e340a80753e4" />
>>         </td>
>>         <td width="630">
>>           <object editable="true" 
>> refid="%65e63e3e-3285-11dd-8645-e340a80753e4" />
>>         </td>
>>         <td rowspan="2" width="300">
>>           <object refid="%65e5c905-3285-11dd-8645-e340a80753e4" />
>>           <p />
>>           <object refid="%65e63e44-3285-11dd-8645-e340a80753e4" />
>>           <object refid="%65e63e45-3285-11dd-8645-e340a80753e4" />
>>         </td>
>>       </tr>
>>       <tr>
>>         <td>
>>           <object editable="true" 
>> refid="%65e63e41-3285-11dd-8645-e340a80753e4" />
>>         </td>
>>         <td>
>>           <object editable="true" 
>> refid="%65e63e3f-3285-11dd-8645-e340a80753e4" />
>>         </td>
>>       </tr>
>>     </table>
>>     <object refid="%65e68c70-3285-11dd-8645-e340a80753e4" />
>>     <object refid="%65e63e48-3285-11dd-8645-e340a80753e4" />
>>     <object refid="%65e6b382-3285-11dd-8645-e340a80753e4" />
>>   </bodyText>
>> </OTCompoundDoc>
>>
>>
>>
>> Issue #2
>> If I change 9c11d3b0-0ad0-012a-b541-0017f2cc694e!/static_organism_page 
>> to 65e553b7-3285-11dd-8645-e340a80753e4 then the link works but the 
>> next page displays a bunch of these Bad OTID: 
>> %65e63e40-3285-11dd-8645-e340a80753e4 messages in the VLE window. I'm 
>> assuming that these OTIDs shouldn't being with %, how can I get ride 
>> of these % signs?
>>
>> and in the eclipse console I receive these
>>
>> Data object is not found for: %%65e5c905-3285-11dd-8645-e340a80753e4
>> Data object is not found for: %%65e63e44-3285-11dd-8645-e340a80753e4
>> Data object is not found for: %%65e63e45-3285-11dd-8645-e340a80753e4
>> Data object is not found for: %%65e68c70-3285-11dd-8645-e340a80753e4
>> Data object is not found for: %%65e63e48-3285-11dd-8645-e340a80753e4
>> Data object is not found for: %%65e6b382-3285-11dd-8645-e340a80753e4
>> Data object is not found for: %%65e63e40-3285-11dd-8645-e340a80753e4
>> Data object is not found for: %%65e63e3e-3285-11dd-8645-e340a80753e4
>> Data object is not found for: %%65e5c905-3285-11dd-8645-e340a80753e4
>> Data object is not found for: %%65e63e44-3285-11dd-8645-e340a80753e4
>> Data object is not found for: %%65e63e45-3285-11dd-8645-e340a80753e4
>> Data object is not found for: %%65e63e41-3285-11dd-8645-e340a80753e4
>> Data object is not found for: %%65e63e3f-3285-11dd-8645-e340a80753e4
>> Data object is not found for: %%65e68c70-3285-11dd-8645-e340a80753e4
>> Data object is not found for: %%65e63e48-3285-11dd-8645-e340a80753e4
>> Data object is not found for: %%65e6b382-3285-11dd-8645-e340a80753e4
>>
>>
>> Issue #3
>> It seems as if all these bad OTIDs have a % sign at the beginning 
>> which they shouldn't, I think. I have discovered that all of these bad 
>> OTIDs are within OTCompoundDocs that contain objects that contain 
>> refids that try to reference these bad OTIDs. An example of this can 
>> be seen in the OTCompoundDoc above that is from my generated otml. 
>> I've tried removing the % signs manually from my generated otml file 
>> to see if that makes it better but I still receive the error even 
>> though the declaration of all these OTIDs are within my generated 
>> otml. I also receive a NullPointerException as well this time even 
>> though I have included ot-script project in the classpath. Why aren't 
>> these references finding the declarations of the objects even though 
>> their ids match?
>>
>>
>> Data object is not found for: %65e68c70-3285-11dd-8645-e340a80753e4
>> Data object is not found for: %65e63e48-3285-11dd-8645-e340a80753e4
>> Data object is not found for: %65e63e40-3285-11dd-8645-e340a80753e4
>> Data object is not found for: %65e63e3e-3285-11dd-8645-e340a80753e4
>> Data object is not found for: %65e63e41-3285-11dd-8645-e340a80753e4
>> Data object is not found for: %65e63e3f-3285-11dd-8645-e340a80753e4
>> Data object is not found for: %65e68c70-3285-11dd-8645-e340a80753e4
>> Data object is not found for: %65e63e48-3285-11dd-8645-e340a80753e4
>> java.lang.NullPointerException
>>     at 
>> org.concord.otrunk.script.ui.OTScriptObjectView.getComponent(OTScriptObjectView.java:51)
>>     at 
>> org.concord.otrunk.view.OTJComponentServiceImpl.getComponent(OTJComponentServiceImpl.java:57)
>>     at 
>> org.concord.otrunk.view.OTViewContainerPanel.createJComponent(OTViewContainerPanel.java:360)
>>     at 
>> org.concord.otrunk.view.OTViewContainerPanel$CreateComponentTask.run(OTViewContainerPanel.java:460)
>>     at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
>>     at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
>>     at 
>> java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
>>     at 
>> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
>>     at 
>> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
>>     at 
>> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
>>     at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
>> Data object is not found for: %65e7c4f7-3285-11dd-8645-e340a80753e4
>> Data object is not found for: %65e7c4f8-3285-11dd-8645-e340a80753e4
>> Data object is not found for: %65e7c4f7-3285-11dd-8645-e340a80753e4
>> Data object is not found for: %65e7c4f8-3285-11dd-8645-e340a80753e4
>>
>> I have included my generated otml file which is named pas-test.otml, 
>> as well as the original concord otml which is named otrunk-103.otml if 
>> that helps.
>>
>> Thanks a bunch,
>> Geoff
>>
>>
>>     
>
>
> >
>   


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SAIL-Dev" group.
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/SAIL-Dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to