Hi All,
I have two interface, A and B. When a button in interface A is clicked all the components in B should be refreshed. Is it possible to refresh all the components in interface B without passing parameters in all components in interface B?(I am passing the refresh variable from A to B, but not from B to components in B)
Discussion posts and replies are publicly visible
This is always a tricky question to answer when we haven't been given a strong idea of the relationship between the interfaces in question. Also confusion around this usually seems to be underpinned by a lack of familiarity with how interfaces naturally stack and how data (and refreshed data) tends to pass between them. I usually recommend that you just go ahead and pass data between interfaces - if this is something you think isn't possible in your case, then I would suggest that the structure you're hoping to use might not be properly set up, in general.
True. The funny part is, everyone is keeping the guessing game on but the OP does not care to reply with the details.
At this point the leaderboard algo just seems to care who posts the most per day in bulk, so I'm playin the game to get back my #2 spot
Why not #1?
Mike Schmitt , so you join the spammers? Just for the 15 mins of fame ;-)
Harshit Bumb (Appyzie) said:Why not #1?
Nobody can match the Helzle machine, i've just accepted it by now
Unknown said:so you join the spammers?
I don't plan to "spam" of course, anything other than the occasional glib side-commentary of course
Sorry everyone, Yes that's true I need to pass parameters on button click. I was just thinking if there is any other way to refresh without passing the parameters. But it seems not possible. Thank you everyone for your suggestions.
Rahul009 said:I need to pass parameters on button click. I was just thinking if there is any other way to refresh without passing the parameters.
My favorite way is to have a parent-level interface with its own local variables, where you pass them to either of the child interfaces, and these can be set up to monitor the status of those variables and refresh as needed. As others have mentioned here already, it largely depends on the details you haven't really shared.