Yes, thats a possibility, but I find splitting the resource not so nice:
in some languages this will need 3 resources.
Translation is also not straight forward then.
I guess I will need to hack something.. :(
ציטוט Geoff Longman:
If you're willing to give up the <span key> and split the resource
entry you could do this.
<span jwcid="@NestedMessage" resource="DID_YOU">
<span jwcid="@PageLink" page="FindPassword"><span
key="FORGET_PASSWORD"/></span>
<span>
Where
DID_YOU_FORGET=Did you {0}?
FORGET_PASSWORD=forget your password
NestedMessage would be a custom component that renders it's body into
newly created (and not nested I think) writer, then it calls
format("DID_YOU", contents of the writer).
I think this would work although I've never tried anything like it.
Geoff
On 8/23/05, Ron Piterman <[EMAIL PROTECTED]> wrote:
Hi,
Maybe someone has a cool component or a solution to the following problem:
Say there is a resource: "Did you forget your password?"
And I wish to add a link only on the words "forgot your password"
Or: "I read and agree with the *Conditions*" , where "conditions" is a link.
Doing this on simple text is no problem, but on a resource? did anyone
face this problem (successfully...) ?
Cheers,
Ron
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]