On 01/10/2011 12:35 PM, Vincent Massol wrote:
> Hi devs,
> 
> In lots of places we need to display the title without any markup rendering. 
> Examples:
> - breadcrumb
> - activity stream
> - search results
> etc
> 
> This is such a common use case I'm proposing to add a new API for it in 
> Document: getPlainTitle()
> It's a one liner that will do:
> 
> getRenderedTitle("plain/1.0")

You mean adding an alias to c.x.x.api.Document#getRenderedTitle("plain/1.0")?
If so, I am -0 on that because as I understand, c.x.x.api.Document is on the 
road to being retired
with the old core and any new APIs there should have very compelling 
rationales. At least (IMO) they
should provide functionality which was previously unavailable without 
programming permission.

Caleb


> 
> Here's my +1
> 
> Thanks
> -Vincent
> 
> _______________________________________________
> devs mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/devs
> 

_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to