Passing plist Items between views with a flip transition

Dear developers,
My question is a simple one, but the background around it can appear a bit complicated - please bear with me!
I have an app with two views; a flip transition allows navigation between them. In each view there is a UILabel - these display strings from a plist. The first View displays 'Question' strings and the second View displays 'Answer' strings.
The plist is structured as follows.
Root................................................(Array)
.............Item 0.................................(Dictionary)
.........................Question...................(String) "Question0?"
.........................ItemChild..................(Dictionary)
.....................................Answer.........(string) "Answer0"
.............Item 1.................................(Dictionary)
.........................Question...................(String) "Question1?"
.........................ItemChild..................(Dictionary)
.....................................Answer.........(string) "Answer1"
.............Item 2.................................(Dictionary)
.........................Question...................(String) "Question2?"
.........................ItemChild..................(Dictionary)
.....................................Answer.........(string) "Answer2"
In the first View there is a button that allows the user to navigate down the Items to view a desired Question/string. On flipping to the second view the itemChild Answer/strings are revealed. This works fine.
On flipping back to the first view however, the Item0 strings are displayed and i don't want this to happen!. Instead I would like the most recent item string to be retained/passed, so that on returning to the first view, the previously selected item question is displayed.
E.g. View 1 (displays Item2/Question2) ---> flip Transition --> View 2 (displays ItemChild/Answer2) --->flip Transition ----> View 1 (displays Item2/Question2)
I have tried to make this work by using the following code;
@secondViewController
- (IBAction)done {
NextItemViewController *controller = [[NextItemViewController alloc] initWithNibName:@"NextItemViewController" bundle:nil];
controller.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal;
controller.Question = [[self. flashCards objectAtIndex:counter]objectForKey:@"Question"]; <-- i thought this might pass on the Item index position to the firstView
[self presentModalViewController:controller animated:YES];
[controller release];
but i think this is being ignored when the first view is reloaded.
how can i get this working?
the code is presented below and the source code for this project is here; http://rapidshare.com/files/408592175/NextItem_2.zip
Should you require further clarification (if the above doesn't make sense)- please get in touch.
with thanks
james
_first View (NextItemViewController.h)_
#import <UIKit/UIKit.h>
@interface NextItemViewController : UIViewController {
NSMutableArray *flashCards;
IBOutlet UILabel *Label1;
int counter;
@property (nonatomic, retain) NSMutableArray *flashCards;
@property (nonatomic, retain) UILabel *Label1;
@property (nonatomic, assign) int counter;
- (IBAction)NextItem;
-(IBAction)Flip;
@end
_First View (NextItemViewController.m)_
#import "NextItemViewController.h"
#import "FlippedViewController.h"
#import "Constants.h"
@implementation NextItemViewController
@synthesize Label1, flashCards, counter;
/////////////////////Code to load the Array into the UIlable////////////////////////////////////////////////
- (void)viewDidLoad {
[super viewDidLoad];
NSString *path = [[NSBundle mainBundle] pathForResource:@"FlashCardData" ofType:@"plist"];
NSMutableArray* tmpArray = [[NSMutableArray alloc]initWithContentsOfFile:path];
self.flashCards = tmpArray;
if ([flashCards count]) { // <-- handle null plist
NSDictionary *Question = [flashCards objectAtIndex:counter];
Label1.text = [Question objectForKey:Question_KEY];
else {
Label1.text = @"No Questions";
[tmpArray release];
///////////////////////////code to load Next item from UIbutton press/////////////////////////////////////
-(IBAction)NextItem {
int count = [flashCards count];
if (++counter < count) { // <-- any cards left?
NSDictionary *nextItem = [self.flashCards objectAtIndex:counter];
Label1.text = [nextItem objectForKey:Question_KEY]; // <-- use #define here
else {
Label1.text = @"Done"; // <-- no more cards
//////////////////////////code to flip views///////////////////////////////////////////////////////////////
- (void)FlippedViewDidFinish:(FlippedViewController *)controller {
[self dismissModalViewControllerAnimated:YES];
- (IBAction)Flip {
FlippedViewController *controller = [[FlippedViewController alloc] initWithNibName:@"FlippedViewController" bundle:nil];
controller.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal;
controller.ItemChild = [[self. flashCards objectAtIndex:counter]objectForKey:@"ItemChild"];
[self presentModalViewController:controller animated:YES];
[controller release];
- (void)didReceiveMemoryWarning {
// Releases the view if it doesn't have a superview.
[super didReceiveMemoryWarning];
// Release any cached data, images, etc that aren't in use.
- (void)viewDidUnload {
// Release any retained subviews of the main view.
// e.g. self.myOutlet = nil;
- (void)dealloc {
[Label1 release];
[flashCards release];
[super dealloc];
@end
_secondView (flippedViewController.h)_
@interface FlippedViewController : UIViewController {
NSDictionary *ItemChild;
IBOutlet UILabel *Label2;
@property (nonatomic, retain) NSDictionary *ItemChild;
@property (nonatomic, retain) UILabel *Label2;
- (IBAction)done;
@end
Second View (flippedViewController.m)
#import "FlippedViewController.h"
#import "NextItemViewController.h"
#import "Constants.h"
@implementation FlippedViewController
@synthesize Label2, ItemChild;
- (void)viewDidLoad {
[super viewDidLoad];
Label2.text = [ItemChild objectForKey:Answer_KEY];
- (IBAction)done {
NextItemViewController *controller = [[NextItemViewController alloc] initWithNibName:@"NextItemViewController" bundle:nil];
controller.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal;
[self presentModalViewController:controller animated:YES];
[controller release];
- (void)didReceiveMemoryWarning {
// Releases the view if it doesn't have a superview.
[super didReceiveMemoryWarning];
// Release any cached data, images, etc that aren't in use.
- (void)viewDidUnload {
[super viewDidUnload];
// Release any retained subviews of the main view.
// e.g. self.myOutlet = nil;
- (void)dealloc {
[ItemChild release];
[Label2 release];
[super dealloc];
@end

james_coleman01 wrote:
I have tried to make this work by using the following code;
@secondViewController
- (IBAction)done {
NextItemViewController *controller = [[NextItemViewController alloc] initWithNibName:@"NextItemViewController" bundle:nil];
controller.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal;
controller.Question = [[self. flashCards objectAtIndex:counter]objectForKey:@"Question"];
[self presentModalViewController:controller animated:YES];
[controller release];
but i think this is being ignored when the first view is reloaded.
The first view is never reloaded and never re-appears, James. The above method creates a new instance of NextItemViewController and presents its view modally. In other words, The first instance of NIVC is the parent of the first instance of FVC, which is the parent of the second instance of NIVC and so on. Each time you do a Flip->Back cycle you add new instances of NIVC and FVC to a growing "stack" of modal view controllers, none of which are ever released.
Since your intent in 'done' is to return to the parent of the modal view, all you need to do there is send a dismissModalViewController message to the parent controller (whose address is always stored in the 'parentViewController' property of the child modal view controller). So this is all you need:
- (IBAction)done {
[self.parentViewController dismissModalViewControllerAnimated:YES]; // <-- back to parent view
Since you already had 'FlippedViewDidFinish' in the parent, the following example code uses that method instead of the code above. Both examples do exactly the same thing in this case.
// NextItemViewController.h
#import <UIKit/UIKit.h>
@class FlippedViewController;
@interface NextItemViewController : UIViewController {
- (void)FlippedViewDidFinish:(FlippedViewController *)controller; // <-- add declaration
@end
// NextItemViewController.m
@implementation NextItemViewController
- (IBAction)Flip {
if (counter >= [flashCards count]) // <-- valid card?
return;
@end
// FlippedViewController.m
@implementation FlippedViewController
- (IBAction)done {
[(NextItemViewController*)self.parentViewController FlippedViewDidFinish:self]; // <-- back to parent view
@end
This second example also includes protection against calling 'Flip' with an invalid array index (i.e. when the deck is empty and "done" is displayed). You might consider disabling the "ItemChild" button in that case, and similarly disabling the "Next Item" button when the deck is empty, but I guess those decisions will depend on whether you want to automatically roll the counter back to 0, etc. I generally hard code array index protection even when it's "impossible" to access the array with an out-of-range index from the UI.
- Ray

Similar Messages

  • How to pass internal table between views

    Hello Experts,
      How to pass an internal table between views? I have followed some steps but its showing an error.
    i have created a table type of ZTTYPE_VBAP and line type  VBAP.
    I have declared in component controllers attribute  LT_VBAP of associated type ZTTYPE_VBAP .
    But when i am using this in my method in component controller its not taking.

    Venkata123# wrote:
    Hello Experts,
    >
    >   How to pass an internal table between views? I have followed some steps but its showing an error.
    >
    > i have created a table type of ZTTYPE_VBAP and line type  VBAP.
    > I have declared in component controllers attribute  LT_VBAP of associated type ZTTYPE_VBAP .
    > But when i am using this in my method in component controller its not taking.
    you will have to declare a node with the attributes in the context tab of component controller. by doing this you will make this node a global one in your entire application . now copy the value you have in the internal table of yours in this node.
    after doing so you can read this node anywhere in the program and you can retrieve the values.
    regards,
    sahai.s

  • Navigate between View with Value Node.

    Dear Expert,
        I would like to know the best way to carrying data in Webdynpro between View.
       For example, I have a Quiz applcation with 10 pages (View) of question.  I would like to submit the answer at the end of the page (10th View).   So, at the end of the page, I need the to retreive the answer from page 1 to 10 and submit it.
    1.   I am using copyToLocal.  What that does it when the application fire Next event plug.  it will
    Quiz.<b>set</b>QuizAns1(Quiz.<b>get</b>QuizAns1)
    and do the same thing for next 9 pages in order to bring the answer from page 1 to the end.
    To simplfied, I am considering.
    2.  Model Beans
    /people/valery.silaev/blog/2005/06/29/apojo--almostplain-old-java-objects-as-model
    3.  Session Beans.
         Is any concern that I shouldn't use session bean in webdynpro??
    Or any other way to make the Code more organize?
    Thanks all.

    Hi,
    The best way to carry data in WebDynpro views is through context attributes.
    Create a context as below in component controller
    Context
    +Questions (node:cardinality 0..n,selection 0..n)
    ---Question
    +Answers
    ---Ans (node:cardinality 0..n,selection 0..n)
    Map the above context to all the views.
    In the wdDoInit() of component controller create Ans elements under Answers node equal to question node.
    for(int i=0;i<wdContext.nodeQuestions.size();i++)
    wdContext.nodeAnswers().addElement(wdContext.nodeAnswers().createAnswersElement());
    // This way we need not create the elements in each view before going to the next view.
    Populate the Question attribute with Questions.
    Through indexing show the question corresponding to views as
    In first view (index 0)
    wdContext.nodeQuestions.getQuestionsElementAt(<b>0</b>).getQuestion();
    In second view (index 1)
    wdContext.nodeQuestions.getQuestionsElementAt(<b>1</b>).getQuestion();
    and so on..
    // Note: The Answer node will not be populated intially with values as your answer might be multiple choice.
    After the user gives answer store the answer in the corresponding index of Ans attribute under node Answers as
    For the answer in first view
    wdContext.nodeAnswers.getAnswersElementAt(<b>0</b>).setAns(<get the answer from the view>);
    For the answer in second view
    wdContext.nodeAnswers.getAnswersElementAt(<b>1</b>).getAns(<get the answer from the view>);
    In your last view you can get the Questions and Answers by looping through the Questions and Answers node.
    This way you will need only one attribute for Question and Answer respectively.

  • Lost ability to move items between spaces with gestures after 10.7 download.  Setting issue or glitch?

    I downloaded OSX 10.7.2 like the rest of the world and besides icloud conversion issues I noticed that I could not move items (files, jpg's, etc.,) from one "Space" (desktop) to another.  I've gone through all the "gesture" settings in the System prefs and there's nothing to do with it.  Using the key fuctions (Control + 1, 2, 3) still allows for moving objects while you have it selected, however if you select any object with the trackpad no gestures work.  Anyone else seen this issue? Is there a setting that I've missed?

    I have absolutely the same problem since the last update. However I really think it is a glitch, because after stubbornly trying dragging a file while using the multi gestures I discovered the following:
    • It works only if you grab the file in the moment you use the multi gesture. It’s like a cat and mice game :D, I wouldn’t say it is a workaround, but just a proof that probably they will fix it.

  • Passing parameters between portlets with in the same page

    Hello,
    I have created a Form and a report. The form allows a user to make some selection values, and then upon submit it passes the selected values to the report to query the database. The results from the query are displayed in a new - seperate - window from the form. Is there anyway to disaply the report results on the same page as the form that called the report? I guess I am trying to have a page with 2 portlets (a form, and a report). I want the user to be able to make a selection from the form portlet and pass that selection to the report portlet within the same page.
    Thanks,
    McKell

    Hi I received this info from an OSS named Mahantesh. I thought it was very helpful information for passing portlet parameters between a form and a report within the same page.
    Please check these steps to pass parameter from form to report:
    This article is based on demo tables EMP and DEPT.
    1. Create a report RPT_DEPT using the query 'Select * from dept where deptno= :deptno'
    2. Create a form FRM_EMP based on EMP table.
    3. Edit the form FRM_EMP => 'Formatting and Validation Options' section => click on DEPTNO field
    => Give the value for the 'Link' (under 'Display options') as 'javascript:runrep()' where runrep is the name<br>
    of javascript function that we are going to create later.
    4. In 'Form text' section, in the 'Footer Text' add the code for the runrep function as follows.
    <script>
    function runrep()
    var formObj = document.forms[0];
    var deptno;
    for (var i=0; i < formObj.length ; i++){
    if (formObj.elements.name == 'FORM_EMP.DEFAULT.DEPTNO.01'){
    //FORM_EMP is the form name
    deptno = formObj.elements[i].value;
    break;
    var url="/portal/page?_pageid=38,1,38_31678:38_31787&_dad=portal&_schema=<br>
    PORTAL&deptno=" + deptno;
    //modify the url according to your environment.<br>
    window.location=url;
    }<br>
    </script>
    5. Modify the URL in the above code with your page url on which form and report portlets have been placed.
    6. Goto Page properties => Parameters tab (Parameters and Events option should have been enabled at Pagegroup level).
    7. Create a page parameter and map it with report portlet parameter.
    8. Now run the page, enter deptno or query the form to get the deptno and click on the link next to deptno field. You should get report with corresponding deptno on the page.

  • How to pass data between views using Flex for mobile?

    Hi,
      In my 1st view, I have set of images. Each image represents a product category. When I click on an image, it has to show my 2nd view which is a list. This should show all the products linked to this category.
    I saw few examples where the 1st view is a list. Select an item in a list shows the details in the next view.
    But what I need is, I need to know which image is clicked in my 1st view (ie) Home page. This id needs to be passed to my 2nd view to retrieve the data for the clicked image (clicked product category).
    Can anyone help me in this?

    Chellaa2011,
      If I understand you correctly, you can pass data to the next view by passing the second parameter to the pushView method. 
      check out: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/spark/components/ViewNa vigator.html#pushView()
      I've written similar apps in the past and found that a singleton class alleviates some of these issues.  If you use a singleton to track currently selections all your views can access the same data without having to pass and return data from each other.
    Hope this helps,
    KLee

  • The order doesn't work in my view with join between two lists. And now?

    Hi,
    I work with sharepoint 2010.
    I did the join between two list follow this
    post.
    I did it and everything is ok, but the order doesn't work.
    What can be it?
    Thanks
    K2rto'4 - Analista Sharepoint
    "Hoje melhor do que ontem, amanhã melhor do que hoje!" 改 善

    Hi,
    I've two lists in my view with join. The list A and the list B.
    I'm ordering the view with the column list A.
    The column list A it's a column for type lookup to list B's column.
    In my view i'm ordering with the column list A of type lookup.
    The view with join is not ordering in order growing.
    I want the view will be ordering by order growing.
    Do you understood?
    Hugs
    K2rto'4 - Analista Sharepoint
    "Hoje melhor do que ontem, amanhã melhor do que hoje!" 改 善

  • View alternative items on item master screen with CRM license

    Hi,
    Does anyone got this issue? We couldn't view the alternative items on item master screen with CRM Service or CRM Sales license on B1 2007A version. We was able to do that in 2005 version with CRM license?
    Thanks,
    David

    In this case, it must be a new fix to the hole before.  CRM license might have been restricted to more degree.  However, check some marketing documents to see if they can select alternative items.  That is main purpose for the sales person.

  • How to pass values between views in FPM - GAF

    Hi Experts ,
    i have a doubt in FPM how to pass values between views .
    For Example:  i am having 2 views -  1 ) overview , 2 ) edit  using  the GAF
    in 1st view (overview ) i have a table displaying the employee details , i will select a single employee from that table for editing .
    how to pass the selected employee details to the 2 nd view (edit ) .
    Thanks & regards
    chinnaiya P

    Hi chinnaiya pandiyan,
    Please follow below steps:
    1. To achieve this u need to create two context nodes in the component controller.
    2. Say one is EMPLOYEE_DATA and other is SELECTED_DATA.
    3. Set the Cardinality of EMPLOYEE_DATA to 0..n and SELECTED_DATA to 1..1.
    4. Add same attributes to both nodes. (probably all those fields that are required in table and/or in edit view.
    5. Map both these nodes to OVERVIEW view.
    6. Map only SELECTED_DATA node to EDIT view.
    7. Create table in OVERVIEW view based on EMPLOYEE_DATA node.
    8. Create edit form in EDIT view based on SELECTED_DATA node.
    9. While navigating from OVERVIEW view to EDIT view, read the selected element of EMPLOYEE_DATA node and copy it to an element of SELECTED_DATA node. This should be written in PROCESS_EVENT method of component controller inherited from FPM component.
    10. Now u got the selected data in SELECTED_DATA node which will be displayed in EDIT view.
    Regards,
    Vikrant

  • Error while using between operator with sql stmts in obiee 11g analytics

    Hi All,
    when I try to use between operator with two select queries in OBIEE 11g analytics, I'm getting the below error:
    Error Codes: YQCO4T56:OPR4ONWY:U9IM8TAC:OI2DL65P
    Location: saw.views.evc.activate, saw.httpserver.processrequest, saw.rpc.server.responder, saw.rpc.server, saw.rpc.server.handleConnection, saw.rpc.server.dispatch, saw.threadpool.socketrpcserver, saw.threads
    Odbc driver returned an error (SQLExecDirectW).
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 27002] Near <select>: Syntax error [nQSError: 26012] . (HY000)
    can anyone help me out in resolving this issue.

    Hi All,
    Thank u all for ur replies, but I dint the exact solution for what I'm searching for.
    If I use the condition as
    "WHERE "Workforce Budget"."Used Budget Amount" BETWEEN MAX("Workforce Budget"."Total Eligible Salaries") AND MAX("Workforce Budget"."Published Worksheet Budget Amount"",
    all the data will be grouped with the two columns which I'm considering in the condition.
    my actual requirement with this query is to get the required date from a table to generate the report either as daily or weekly or monthly report. If I use repository variables, variables are not getting refreshed until I regenerate the server(which I should not do in my project). Hence I have created a table to hold weekly start and end dates and monthly start and end dates to pass the value to the actual report using between operator.
    please could anyone help me on this, my release date is fast approaching.

  • How to update a list in parent view with data from child view/window ?

    I have a view named AccountListView that displays some buttons and a list of accounts.Its viewmodel is called AccountListViewModel and has a collection : ObservableCollection<AccountViewModel>. What I'd like to acomplish: whenever I press the Add/Edit
    Button from the AccountListView to open a new window/usercontrol, i.e. AccountView and bind it to an instance of AccountViewModel that will have some fields to fill in and a Submit and Cancel buttons. How can I update the ObservableCollection<AccountViewModel>
    from  inside the child view, so when I click on the Submit button from AccountViewModel it will return an AccountViewModel object with the data I filled in and add it to the observablecollection. Would notifications from prism be the right way ? Should
    I include code from the AccountListViewModel and AccountViewModel ?

    The way to communicate between view models in Prism is to use the EventAggregator. You raise an event from view model A and subscribe and handle this event in view model B. I have written a blog post about it which should be helpful here:
    http://blog.magnusmontin.net/2014/02/28/using-the-event-aggregator-pattern-to-communicate-between-view-models/.
    In your case you could define an event that carries an AccountViewModel object and pass this one from view model A to view model B:
    public class AccountViewModelEvent : CompositePresentationEvent<AccountViewModel>
    Please refer to the blog post for more information and a complete code example.
    Hope that helps.
    Please remember to close your threads by marking helpful posts as answer and then start a new thread if you have a new question. Please don't ask several questions in the same thread.

  • Saving 3 sets of data in 3 seperate arraylist and passing them to next view

    Hai all,
    I am using tree.The user  has selected the required products in level 3 of tree.Iam getting all the parents of selected product.In order to save them in database i need to send them to next view.how to store all the 3 levels in seperate arrays and pass them to next view.Plz help me with coding.Any suggesstions and help with regard to this will be greatly appreciated.
    Thanks n Regards
    Sharanya.R

    I am using tree.The user has selected the required products in level 3 of tree.Iam getting all the parents of selected product.In order to save them in database i need to send them to next view.how to store all the 3 levels in seperate arrays and pass them to next view.Plz help me with coding.Any suggesstions and help with regard to this will be greatly appreciated.
    hi,
    1. just collect all the values and concatinate using Strings, also use one delimiter between each value.
    like this,
    while(condition){
    String Result ="";
    Result += wdContext.currentTreeNode().getName() + "," ;}
    2. Finally assign this String to some Context, that you want to use in next view.
    3. Use StringTokenizer Class, make Result String as Source and comma as delimeter, then you can able to get list of
    previously stored values.

  • Change 3D views with JavaScript code?

    I am looking for a way to change 3D views using JavaScript. I want to obtain similar result as the predefine action (Go to a 3D view) but with code.
    More preciselly, I want to connect items within a list box to different 3D views.
    Any ideas or suggestion would be greatly appreciated.
    Thank you
    Tutorial on how to use the Go to a 3D view action:
    Connecting Document JavaScript to 3D Views (PDF: 2.3M)
    http://partners.adobe.com/public/developer/en/tips/topic_tip3.pdf
    Related topics:
    looking for a way to switch views using Javascript
    http://www.adobeforums.com/cgi-bin/webx/.3bbed722/0
    SMOOTH TRANSITION BETWEEN VIEWS?
    http://www.adobeforums.com/cgi-bin/webx/.3bc0ce56
    Cameras vs. views; views.xml
    http://www.adobeforums.com/cgi-bin/webx/.3bbf0748/3

    hello maybe other have same problem i found a simple solution for me
    use the javascript bridge and juse the f4m manifest files
    function changeSrc(playerdivId,src){
                var player = document.getElementById(playerdivId);
                player.setMediaResourceURL(src);
    src multicast fm4 manifest like this
    http://sourceforge.net/apps/mediawiki/osmf.adobe/index.php?title=Flash_Media_Manifest_(F4M )_File_Format
    best regards

  • Communication between Views | UITabBar

    Hi,
    I have a TabBar application with three UITabbar Items.
    1. Main
    2. Settings
    3. About
    All 3 views are loaded from XIB files and I have created my UI in these views, linked it to UIActions and UIOutlets and the code within the views works perfectly. My question is how do I communicate between views.
    Say for example, I have a button in Settings view and if I click that, a label's text in Main views has to change. I am a bit confused as to how to go about it. Do i create a separate class and use it to store all the data my views share or is it possible for me to get a pointer to the other views and then alter its data directly.
    I am a bit new to iPhone programming and so am trying to learn things as and how I implement them. Any help is appreciated.
    Thank you,
    Sharath

    You can find the other controllers through the tab bar controller or you can create variables in the app delegate.

  • Passing data to next  view

    Hi All,
    I have small doubt .I have developped an application with in that I created TextEdit UI element when I select some date and send to Next view. How can do it .
    Please suggest me . I have some idea navigating two views by using Inbound and outbound plugs.
    If I am using to pass paramaters how to send it next view how to capture the sended value in the second View.
    Thanks in Advance.
    Mandapati

    Hi,
    U can use context mapping,
    Create a context in controller, view1, view2.
    Map view1 to controller and similarly do for view2.
    set the value in the context attribute of view1 u can get
    in view2 also.
    It is possible to use the context value between two views without using a component controller.Through the fire plug methods u can easily pass the values between two views.
    while creating outbound and inbound plugs create the parameters also for them.
    in the 1 view implementation on button action:
    onAction()
    String name = wdContext.currentContextElement().get<att>();
    wdthis.wdfireplugto2view(name);
    In the second view implementation:
    onplugfrom1view(){
    wdContext.currentContextElement().setRes(name);
    regards,
    Vijayakhanna raman
    Message was edited by: Vijayakhanna Raman

Maybe you are looking for