doing a google
search<http://www.google.com/search?q=podvar&sourceid=navclient-ff&ie=UTF-8&rlz=1B2GGGL_en__176CA177>
i found a couple things on podvar. its a little scarce, or maybe thats all
that is needed for this.
when adding an activity in buildPas's we do:
protected static void addActivity(Pod projectPod, PasProject project,
int index, Pod activityPod, PasActivity activity) {
projectPod.add(activityPod);
activityPod.add(activity);
String leftName = "importActivity" + index;
PropertyRef pr = new IndexedPropertyRef(project, "activities",
index);
projectPod.bind(leftName, pr, true); // isTransient==true
PodVarDelegate podIn = new PodVarDelegate(projectPod.getPodId(),
leftName);
String rightName = "activity";
PodVarDelegate podOut = new PodVarDelegate(activityPod.getPodId(),
rightName);
SimpleContainer sc = new SimpleContainer();
sc.setValue(activity);
activityPod.bind(rightName, sc.getPropertyRef(), false); //
isTransient==false
Assignment assignment = new Assignment(podIn, podOut);
projectPod.getAssemblyCalls().add(assignment);
}
but when we want to remove them?
-Tony
On 4/24/07, Anthony Perritano <[EMAIL PROTECTED]> wrote:
>
> i updated my sail core project. i tried to do a remove on an activity and
> then load the curnit back in the Editor, it get:
>
> AVVERTENZA: exception: java.lang.RuntimeException:
> PodVarDelegate:dddddddd-6005-0000-0000-000000000000:step refers to absent
> pod export
> Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: error
> assembling
> at net.sf.sail.core.beans.Pod.assemble(Pod.java:159)
> at net.sf.sail.core.beans.Pod.assembleChildren(Pod.java:186)
> at net.sf.sail.core.beans.Pod.assemble(Pod.java:151)
> at net.sf.sail.core.curnit.Curnit.assemble(Curnit.java:92)
> at
> org.telscenter.pas.authortool.context.CurnitAuthoringContext.assemble(
> CurnitAuthoringContext.java :95)
> at org.telscenter.pas.authortool.context.CurnitAuthoringContext
> .<init>(CurnitAuthoringContext.java:88)
> at org.telscenter.pas.authortool.main.AuthoringShellMain$1.run(
> AuthoringShellMain.java:189)
> 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)
> Caused by: java.lang.RuntimeException:
> PodVarDelegate:dddddddd-6005-0000-0000-000000000000:step refers to absent
> pod export
> at net.sf.sail.core.beans.assembly.PodVarDelegate.validate(
> PodVarDelegate.java:87)
> at net.sf.sail.core.beans.assembly.Assignment.validate(Assignment.java
> :71)
> at net.sf.sail.core.beans.assembly.Assignment.execute (Assignment.java
> :59)
> at net.sf.sail.core.beans.Pod.assemble(Pod.java:156)
> ... 13 more
>
> does anyone know what this means? it seem i need to do some remove of
> other stuff when i remove a pod? can some one explain?
>
> thx
> 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
-~----------~----~----~----~------~----~------~--~---