From: Ramsey G. <ra...@xe...> - 2010-09-17 18:45:20
|
Sounds like you are... this is long shot, but try adding this to ERD2WSwitchComponent. Maybe it will give you get better results public void takeValuesFromRequest(WORequest request, WOContext context) { maybeResetCaches(); super.takeValuesFromRequest( request, context ); } Ajax requests needs to maybeResetCaches earlier than ERD2WSwitchComponent currently calls. Without that, you can get values from the previously switched in component instead of the ones you wanted. Ramsey On Sep 17, 2010, at 2:28 PM, Kieran Kelleher wrote: > Not sure what you mean by that (still new to D2W), but there is a > relationship property which builds in an embedded > ERMDEditRelationship page. > > -Kieran > > On Sep 17, 2010, at 2:24 PM, Ramsey Gurley wrote: > >> I think you are seeing something different than what I ran into at >> WOWODC then... Out of curiosity, are you using an embedded page >> configuration with your wizard page? >> >> Ramsey >> >> On Sep 17, 2010, at 1:44 PM, Kieran Kelleher wrote: >> >>> OK, the problem is happening on ERMODWizardCreationPage and not on >>> ERMODInspectPage. >>> >>> So it seems ERMODWizardCreationPage is doing some caching (that I >>> cannot figure out yet) and hence the need for a new session ..... >>> maybe this can be solved with ERMODWizardCreationPage observing >>> some cache clearing notification or sth. >>> >>> Change to propertyKeys update the page layout immediately without >>> clearing the D2W cache when the page template is ERMODInspectPage. >>> >>> Meanwhile, I created a workaround for nav controller actions that >>> go to ERMODWizardCreationPage by adding a direct action to my Dev >>> DA class to clear D2W cache, create a new session and fire >>> NavController methods, so at least I can use that to jump to non- >>> rapid-turnaround-compatible D2W pages that don't get values pushed >>> into them by a previous page... for example >>> >>> /wa/Dev/d2wTestPage?action=createRoleAction&login=true&user=kieran >>> >>> -Kieran >>> >>> >>> >>> >>> On Sep 17, 2010, at 9:12 AM, Michael Schrag wrote: >>> >>>> Rapid turnaround = essential for d2w ... It's been fine for me, >>>> but I'm not quite on the same versions as you are. I'll have to >>>> look at where that model reloading happens and see if I can get >>>> you some debug to put in to understand what is going on. >>>> >>>> Sent from my iPad >>>> >>>> On Sep 17, 2010, at 8:18 AM, Kieran Kelleher >>>> <kie...@ma...> wrote: >>>> >>>>> >>>>> So, It D2W rule changes work instantly for others, what setup >>>>> (wolips, eclipse, bundle-less or not, etc.) are you using? >>> >>> >>> ------------------------------------------------------------------------------ >>> Start uncovering the many advantages of virtual appliances >>> and start using them to simplify application deployment and >>> accelerate your shift to cloud computing. >>> http://p.sf.net/sfu/novell-sfdev2dev >>> _______________________________________________ >>> Wonder-disc mailing list >>> Won...@li... >>> https://lists.sourceforge.net/lists/listinfo/wonder-disc >>> >> > > |