Re: i18n of mockup

Godefroid Chapelle <[email protected]>
Newsgroups gmane.comp.web.zope.plone.devel
Message-ID <[email protected]>
Le 09/12/13 12:52, Rok Garbas a écrit :
> you pass them via data attributes as options of pattern.
>
> for now nothing more fancy is needed.
>
>
> --
> Rok Garbas -http://www.garbas.si

Thanks for the hint

Answer with a bit more details :

If I want to configure message of preventdoublesubmit

I need to add

data-pat-preventdoublesubmit="message: You already clicked the submit 
button. Do you really want to submit this form again?"

attribute to the form element where the pattern is triggered.

-- 
Godefroid Chapelle (aka __gotcha) http://bubblenet.be


------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.