Comment 2 for bug 490826

Revision history for this message
Māris Fogels (mars) wrote : Re: [Bug 490826] [NEW] JavaScript code should not be requesting XHTML representations from the web service

2009/12/2 Björn Tillenius <email address hidden>:
> On Tue, Dec 01, 2009 at 01:57:49PM -0000, Māris Fogels wrote:
>> Public bug reported:
>>
>> JavaScript in Launchpad should not be requesting the default XHTML
>> representation from the webservice, just so it can cherry-pick the
>> specific attributes that the code needs.  Instead, the code should
>> request just the fields it needs.
>
> I assume the plan is to remove the default XHTML representation as well,
> so that people aren't tempted to use it?
>

Correct, the default should be removed. Pages can create their own all-in-one representation if they want.