Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for parametrized values into GSFProperty assets #23

Open
fvillalba opened this issue Mar 31, 2014 · 0 comments
Open

Add support for parametrized values into GSFProperty assets #23

fvillalba opened this issue Mar 31, 2014 · 0 comments

Comments

@fvillalba
Copy link
Contributor

It would be VERY useful (and reusable) if we could parametrize the value of a GSF Property.
That would make it very simple to use GSFProperty assets as a representation of labels / error messages.
One could do things like:
< gsf : property name="internal_label_Ndocsfound" var="putMyParsedLabelHere" >
< gsf : parameter name="numdocs" value="<%=results.getSize()%> / >
< / gsf : property>
... and define the value of the GSFProperty asset as:
Found Variables.numdocs matches.
OR
Found $$$numdocs$$$ matches.
OR EVEN
Found ${numdocs} matches.
... which would produce at runtime:
Found 24 matches.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant