Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Library : Other (not classified elsewhere) » Skylark functions/links
Skylark functions/links [message #42922] Mon, 14 April 2014 17:46 Go to previous message
mingodad is currently offline  mingodad
Messages: 53
Registered: February 2008
Location: Spain
Member
Hello !

I need to have a way to url_encode some values in witz templates (not in c++), it seems that there is a way to define new functions to be available in witz templates but is not documented, I looked at the source code but could not see how to do it.

Someone can shed a light here ?

Also the way to make links is not too good, I needed to add bookmarks to the links but the actual link function do not seem to accept it and also return a quoted string what makes add things to it in witz impossible.

I replaced on souce all ("\"" + theLink + "\"") by just (theLink) and could achieve my needs.

Another topic related with witz is the actual way to add witz code prefixing with "#$" works fine for hand write code from programmers but it's not friendly to designers and wysiwyg tools (need be aware of escaping "#$" and it can makes invalid html).

I propose to put then hidden inside tags:

<if()><else/></endif> <for()></endfor> ${variable}

It's a bit anoying for hand write but for wysiwyg editors it's fine.

Cheers !
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: ParseSvg.cpp:506:35: error: conversion from 'Upp::String' to non-scalar type
Next Topic: Witz template cryptic error messages
Goto Forum:
  


Current Time: Thu Apr 25 20:06:56 CEST 2024

Total time taken to generate the page: 0.04469 seconds