Re: Underline content with properties files

2006-08-29 Thread DJ Gredler

There's a CSS first-letter pseudo element, but I don't know how many
browsers support it.

On 8/29/06, Oort, Dick [EMAIL PROTECTED] wrote:


You could create a custom component for this, and pass the word as a
parameter. In the html part of the component, you use
ognl/java.lang.String to split the String into 2 parts, putting the
first part between u /u.

Regards,


Dick

-Original Message-
From: Peter Dawn [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 29, 2006 7:30 AM
To: tapestry-user@jakarta.apache.org
Subject: Underline content with properties files

guys,

i want to underline one letter of a word, which is within my properties
files. i mean say i have a word like Name. I want to underline N. If i
was using static text I could use u tag. but since this information is
now in a properties file, how should i do this.

any ideas.

-
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]




RE: Underline content with properties files

2006-08-29 Thread Thomas.Vaughan
CSS has a :first-letter meta style that could do what you want.
Besides, u is deprecated anyway.

Something like this should work:

Properties file:
name.key=pName/p

CSS file:
p:first-letter {
text-decoration:underline;
}

HTML file:
span key=name.key raw=trueName value from props file/span



-Original Message-
From: Peter Dawn [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 29, 2006 1:30 AM
To: tapestry-user@jakarta.apache.org
Subject: Underline content with properties files

guys,

i want to underline one letter of a word, which is within my
properties files. i mean say i have a word like Name. I want to
underline N. If i was using static text I could use u tag. but since
this information is now in a properties file, how should i do this.

any ideas.

-
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]



Underline content with properties files

2006-08-28 Thread Peter Dawn

guys,

i want to underline one letter of a word, which is within my
properties files. i mean say i have a word like Name. I want to
underline N. If i was using static text I could use u tag. but since
this information is now in a properties file, how should i do this.

any ideas.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Underline content with properties files

2006-08-28 Thread Oort, Dick
You could create a custom component for this, and pass the word as a
parameter. In the html part of the component, you use
ognl/java.lang.String to split the String into 2 parts, putting the
first part between u /u. 

Regards,


Dick

-Original Message-
From: Peter Dawn [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 29, 2006 7:30 AM
To: tapestry-user@jakarta.apache.org
Subject: Underline content with properties files

guys,

i want to underline one letter of a word, which is within my properties
files. i mean say i have a word like Name. I want to underline N. If i
was using static text I could use u tag. but since this information is
now in a properties file, how should i do this.

any ideas.

-
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]