Re: Provide a link from an error message

2008-06-16 Thread Dimitris Mouchritsas

Dimitris Mouchritsas wrote:

Hi again,
If you've been following my threads a bit you'll see that we're 
developing an app using struts 1.2.4.
I have another question, we'd like to provide a link in some of the 
error messages. But struts seems

to change < to <
I know that writing html in the ApplicationResources.properties file 
is bad so I thought we'd use

parameters like:
{0}{1}{2} is required

Where {0} would be ,
{1} the text for the link and
{2} 

but still struts converts < and >.

The code we use to display the errors is this:
<%-- Error messages --%>

   
   :
   
   
   
   
   
   
 
   key="prompt.close" />

   
   


Is there a way to do it?

Thanks
Dimitris

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


Never mind, found it, .

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



Provide a link from an error message

2008-06-16 Thread Dimitris Mouchritsas

Hi again,
If you've been following my threads a bit you'll see that we're 
developing an app using struts 1.2.4.
I have another question, we'd like to provide a link in some of the 
error messages. But struts seems

to change < to <
I know that writing html in the ApplicationResources.properties file is 
bad so I thought we'd use

parameters like:
{0}{1}{2} is required

Where {0} would be ,
{1} the text for the link and
{2} 

but still struts converts < and >.

The code we use to display the errors is this:
<%-- Error messages --%>

   
   :
   
   
   
   
   
   
  
   
   key="prompt.close" />

   
   


Is there a way to do it?

Thanks
Dimitris

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