I think the NavigationLog might be a little different.

i create the navigation rim in OTPasProjectController like yay:

                Rim navRim = new OTrunkRim("navigation_log", String.class, 
otProject);
                project.setNavigationLogRim(navRim);

The rim is created successfully, however the when navigating it does  
not log correctly, it is always null:

[EMAIL PROTECTED] (value: <?xml  
version="1.0" encoding="UTF-8"?>
<project_open podUUID="null" />
, millisecondsOffset: 27957),  
[EMAIL PROTECTED] (value: <?xml  
version="1.0" encoding="UTF-8"?>
<step_close podUUID="null" />
, millisecondsOffset: 28199),  
[EMAIL PROTECTED] (value: <?xml  
version="1.0" encoding="UTF-8"?>
<step_open podUUID="null" />
, millisecondsOffset: 28200),  
[EMAIL PROTECTED] (value: <?xml  
version="1.0" encoding="UTF-8"?>
<step_close podUUID="null" />
, millisecondsOffset: 137241),  
[EMAIL PROTECTED] (value: <?xml  
version="1.0" encoding="UTF-8"?>
<step_open podUUID="null" />
, millisecondsOffset: 137243),  
[EMAIL PROTECTED] (value: <?xml  
version="1.0" encoding="UTF-8"?>
<step_close podUUID="null" />
, millisecondsOffset: 864614),  
[EMAIL PROTECTED] (value: <?xml  
version="1.0" encoding="UTF-8"?>
<step_open podUUID="null" />
, millisecondsOffset: 864616),  
[EMAIL PROTECTED] (value: <?xml  
version="1.0" encoding="UTF-8"?>
<step_close podUUID="null" />
, millisecondsOffset: 869541),  
[EMAIL PROTECTED] (value: <?xml  
version="1.0" encoding="UTF-8"?>
<step_open podUUID="null" />
, millisecondsOffset: 869552)]

Object gotoStepElement = getPasProject().getItemLog("step_open",
                                        getGotoStep());

getItemLog:
        public String getItemLog(String name, BeanContextChildSupport item) {
                Element itemLog = domFactory.element(name);
                Document document = domFactory.document(itemLog);
                String id = getItemUUID(item);
                itemLog.setAttribute("podUUID", id == null ? "null" : id);
                return outputter.outputString(document);
        }

I have been doing some investigating. the fact that all these are null  
have to do with the curnitmap not being generated? Then when a step is  
opened it should set "step_open" right?

thx
Tony



On [Jun 4], at 7:26 AM, Scott Cytacki wrote:

>
> The current rim/sock implementation used by PasOtrunk requires the
> controllers to create the rims dynamically so the Pas beans can get
> them, get a sock for them, and store data in.
>
> I would guess that the NavigationLog is looking for a rim on the
> PasProject and not finding it.  So probably the  PasProject controller
> needs to be modified to create that rim and add it to the PasProject
> when it loads it up.
>
> Scott
>
> Anthony Perritano wrote:
>> The NavigationLog in Pas uses the a Sock and Rim. Right now it comes
>> up null. I have been looking at it to see how to get it working with
>> otrunk based projects. It seems that their needs to be an entry in  
>> the
>> otml defined. thoughts? but i don't know how we would define it based
>> on the current rim/sock implementation for po-trunk. what is its
>> relationship to rims and socks defined in steps?
>>
>> -Tony
>>
>>
>>
>>
>>>
>>
>
>
> >

-Tony




--~--~---------~--~----~------------~-------~--~----~
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