I think you should do this... in controllers/plugin_jqgrid.py function
data() contains

    def f(value,fieldname):
        r = table[fieldname].represent
        if r: return r(value)
        return value

replace it with

    from gluon.html import xmlescape

    def f(value,fieldname):
        r = table[fieldname].represent
        if r: value=r(value)
        return xmlescape(value)

this is better than cgi.escape because it will allows you to use
helpers and embed, for example, a link.


On Mar 30, 1:40 am, parroit <andrea.par...@ebansoftware.net> wrote:
> Interesting, thank you. I will add autoencode parameters to
> the grid construnctor.
>
> I saw that setting the parameter to true will enable the encoding
> for all columns of the grid. Maybe, if we want to have some column
> with html data,
> it's better to encode the data in w2p?
> Massimo, you know an easy way to do so?
>
> Andrea
>
> On 28 Mar, 16:57, "ont.rif" <ont....@gmail.com> wrote:
>
> > :-)  same bug as 
> > forhttp://groups.google.ru/group/web2py/browse_thread/thread/96877110aa8...
> > I have found intresting feature 
> > forJqGrid3.5.2http://blogs.teamb.com/craigstuntz/2010/02/08/38548/
> > May be it is useful to add this option to this plugin ?
>
> > On 28 ÜÐà, 21:35, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
> > > :-)
>
> > > On Mar 28, 4:04 am, parroit <andrea.par...@ebansoftware.net> wrote:
>
> > > > Thank you. Yes, I can merge with it.
> > > > I look at the existingjqgridplugin files.
> > > > I'll add the search feature and the parameters
> > > > for columns width, names etc...
>
> > > > I'll add a post here when I'll done with the work.
>
> > > > Bye
>
> > > > Andrea
>
> > > > On 28 Mar, 03:18, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
> > > > > I looked at it and you did excellent work.
>
> > > > > I have one issue and one proposal.
>
> > > > > The issue is that plugin_editable_jqgrid.py exposes classes and
> > > > > methods that do not start with plugin_editable_jqgrid and that is a
> > > > > problem because can potentially conflict with other plugins.
>
> > > > > The proposal is that we merge it with the existingjqgridplugin.
>
> > > > > Can you take a first crack at merging them?
> > > > > I will be happy to do any required cleanup work and post it.
>
> > > > > Massimo
>
> > > > > On 27 Mar, 19:38, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
> > > > > > I will look at it asap. Thank you!
>
> > > > > > Massimo
>
> > > > > > On 27 Mar, 11:51, parroit <andrea.par...@ebansoftware.net> wrote:
>
> > > > > > > Hi. I've developed a plugin to useJqGridwith inline editing and 
> > > > > > > json
> > > > > > > updates.
> > > > > > > I've published some help at this page:http://app.ebansoftware.net,
> > > > > > > but I think it be more useful
> > > > > > > to publish it also onhttp://www.web2py.com/plugins. What is the
> > > > > > > correct procedure
> > > > > > > to publish the plugin on that site?
>
> > > > > > > Thanks
>
> > > > > > > Andrea

Reply via email to