[Building Sakai] PDA version of YAFT

Charles Severance csev at umich.edu
Wed Feb 13 19:15:44 PST 2013


On Feb 13, 2013, at 8:19 PM, Steve Swinsburg wrote:

> As for Wicket tools, I thought that was fixed, or are they being ignored? and going back to the iframe by default? Seems to work ok in 2.9 and trunk?

We tried mightily to make it work - but there was some kind of URL munging that was happening that was inside of the Wicket code that made it so that we could not reliably predict when we were dealing with a page or ajax by looking only at the URL.   We got to 95% but never got to perfect.   We found rules that Wicket mostly followed when forming URLs for various purposes - but then it inexplicably broke its own rules from time to time - and it was not profile2 code.   So we punted.  :(

You can see in this file:

https://source.sakaiproject.org/svn/portal/trunk/portal-impl/impl/src/java/org/sakaiproject/portal/charon/handlers/PDAHandler.java

This line:
	private static final String IFRAME_SUPPRESS_DEFAULT = ":all:sakai.profile2:sakai.synoptic.messagecenter:sakai.sitestats:sakai.sitestats.admin";
That defaults profile2 to be rendered in an iframe in the 2.9 PDA portal by default.

This will bring back memories of how hard we tried:

https://jira.sakaiproject.org/browse/SAK-22285

I always felt that if we dug into Wicket a tiny bit, we could have made it work - but it seemed like there were other things that were higher priority getting 2.9 done.

/Chuck

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20130213/30c36564/attachment.html 


More information about the sakai-dev mailing list