Thank you for your response.
I have already used the escapetool but he doesn't seem work : this tool
adds one backslash before the quote but the script looks wrong.
(onclick="function(\"param\",callback);" doesn't work)
I've read this page :
http://www.xwiki.org/xwiki/bin/view/FAQ/HowCanIescapeOutQ
On Mon, Jun 11, 2012 at 11:11 PM, Arnaud bourree
wrote:
> 2012/6/11 Caleb James DeLisle :
>> XWiki core development team is proud to announce the availability of XWiki
>> Enterprise 4.1 Release Candidate 1
>> This is the first and hopefully final release candidate of the 4.1 release
>> cycle. Be
2012/6/11 Caleb James DeLisle :
> XWiki core development team is proud to announce the availability of XWiki
> Enterprise 4.1 Release Candidate 1
> This is the first and hopefully final release candidate of the 4.1 release
> cycle. Being a release candidate, this release is sparse on new features
On Mon, Jun 11, 2012 at 5:42 PM, Paul Libbrecht wrote:
>
> Le 11 juin 2012 à 16:31, Sergiu Dumitriu a écrit :
>> var userInput = "$!escapetool.javascript($request.userInput)";
>
> Actually... is there a list of such predefined variables?
> Or... what's the way to list them? With their class.
You
Le 11 juin 2012 à 16:31, Sergiu Dumitriu a écrit :
> var userInput = "$!escapetool.javascript($request.userInput)";
Actually... is there a list of such predefined variables?
Or... what's the way to list them? With their class.
paul
___
users mailing li
I've often used
$escapetool.javascript($request.param)
maybe that helps?
paul
Le 11 juin 2012 à 14:43, a écrit :
> Hello everybody,
>
> I've a simple problem.
> I've a text input where people can enter some text.
> After, I want to send that text as a param to a javascript function.
On 06/11/2012 08:43 AM, mathieu.canzer...@intech.lu wrote:
Hello everybody,
I've a simple problem.
I've a text input where people can enter some text.
After, I want to send that text as a param to a javascript function.
However, when user types a quote (simple or double), there is a problem
in m
Here's what I did:
(1) In the sheet (you probably customized
AppWithinMinutes.LiveTableViewSheet) I added another hidden input
besides the one holding the URL template
{{html}}
{{/html}}
(2) In the JSX I replaced
this.input = new Element('input', {type: 'text'});
with
this.input = trigger.u
I don't really understand if your problem is in velocity or pure javascript ?
Anyway, in pure javascript you would just have to escape the single
and double quotes, something like the following (I did not test it,
just found it by googling) :
var escapedString = inputValue.replace(/([\\"'])/g,
"\\
XWiki core development team is proud to announce the availability of XWiki
Enterprise 4.1 Release Candidate 1
This is the first and hopefully final release candidate of the 4.1 release
cycle. Being a release candidate, this release is sparse on new features
concentrating instead on stabilization
Hello everybody,
I've a simple problem.
I've a text input where people can enter some text.
After, I want to send that text as a param to a javascript function.
However, when user types a quote (simple or double), there is a problem
in my javascript syntax.
I've tred to add backslash but no ef
App Within Minutes creates a nice "Add record" button.
After clicking the button a dialog is presented asking for input that is
used to create a new documentname.
This is (more or less, since i modified it slightly) the Java script that
is added to the sheet by the app-within-minutes generator.
My
Hi Niels,
I am sorry to hear you`re having problems with trolls and I can perfectly
understand how annoying, disruptive and possibly costly that might be.
However, I would not encourage IP filtering based solutions to handle SPAM
in general, simply due to the scarce nature of IPv4 addresses (and
Thanks a lot for your feedback Jeremie.
I'm personally glad that you've noticed that XWiki is more stable/robust than
ever before. I personally think we need to work more on performances since
there are several ways to improve them even further.
I didn't know you started with XWiki 0.9! The pow
14 matches
Mail list logo