<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Weird, now it works.<br>
I got some crazy error which I can not remember any more just now. I
had already taken it out and just tried this one:<br>
<html jwcid="@Shell" title="ognl: {appTitle+ ' - ' +sectionTitle}"
stylesheet="asset:mainCss"><br>
<br>
Then I got your email and took the { and } off again, but I can not
reproduce the problem I had earlier... Maybe something didn't
reload/propagade properly.<br>
<br>
Oh well... better this way than the other way around.<br>
<br>
Thank you for the response.<br>
<br>
MARK<br>
<br>
Schulte Marcus wrote:
<blockquote
cite="***@szh001.ch.sub"
type="cite">
<pre wrap="">That should work just fine - which error do you get?
</pre>
<blockquote type="cite">
<pre wrap="">-----Original Message-----
From: Mark [<a class="moz-txt-link-freetext" href="mailto:***@mark-arnold.net">mailto:***@mark-arnold.net</a>]
Sent: Tuesday, May 09, 2006 8:16 AM
To: Tapestry users
Subject: Concatenating strings in OGNL
Hi,
how can I concatenate strings using OGNL?
What I would like to do is something like this:
<html jwcid="@Shell" title="ognl:appTitle + ' - ' + sectionTitle"
stylesheet="asset:mainCss">
The resulting title should look like this: "My Application -
Admin Section".
Is there a way to do this in OGNL or do I need to add a Java
function to
the page/component?
Thanks,
MARK
---------------------------------------------------------------------
To unsubscribe, e-mail: <a class="moz-txt-link-abbreviated" href="mailto:users-***@tapestry.apache.org">users-***@tapestry.apache.org</a>
For additional commands, e-mail: <a class="moz-txt-link-abbreviated" href="mailto:users-***@tapestry.apache.org">users-***@tapestry.apache.org</a>
</pre>
</blockquote>
<pre wrap=""><!---->
---------------------------------------------------------------------
To unsubscribe, e-mail: <a class="moz-txt-link-abbreviated" href="mailto:users-***@tapestry.apache.org">users-***@tapestry.apache.org</a>
For additional commands, e-mail: <a class="moz-txt-link-abbreviated" href="mailto:users-***@tapestry.apache.org">users-***@tapestry.apache.org</a>
</pre>
</blockquote>
<br>
</body>
</html>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-***@tapestry.apache.org
For additional commands, e-mail: users-***@tapestry.apache.org