Argument in exception tag

2004-06-01 Thread Alvaro Martinez
Hello,
How can I include an argument in an exception tag?
For example, this is a piece of my "struts_config.xml":
...
  

   
  
...

Could I have a "errors.deleted" with the following sentence: "{0}
is an invalid number."
I would like to include an argument in my "errors.deleted" which I can throw
from servlet "companies.actions.CompaniesDeleteAction" when an Exception
occurs.
Thanks in advance...
Alvaro


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



Re: Problem!! TreeView [Struts-Layout]

2004-05-28 Thread Alvaro Martinez
Are You using the Blue Shoes' solution?.
I have had to modify the solution TreeView using the event ['onChange']
Alvaro

- Original Message - 
From: "Tushar Kharbanda" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Friday, May 28, 2004 9:50 AM
Subject: Problem!! TreeView [Struts-Layout]



I am making a dynamic tree by getting the data from some webservices and
hence populating the tree.

But I do not want to load the entire tree at one go... instead I want to
load the children only if the parent is clicked upon... i.e. clicked on the
(+) icon next to the Tree Node

Now the problem is that (+) icon next to the parent will not be shown as I
am not loading the children in the parent initially.Also I cannot load
the children by making the user click on the parent's name coz that click
has a different action which is to show the parent details in the right
frame

So I thought if I can provide 2 links at one level of a node, one for
loading children and one for showing details of parent in the right
frame but not sure if that's possible...

Is there a soln  to above prob or else is there a way by which (+) icon
can be shown without loading children and then some method call back  when
user clicks on (+)

Regards
Tushar

Yahoo! India Matrimony: Find your partner online.


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



Exception argument

2004-05-28 Thread Alvaro Martinez

Hello,
How can I include an argument in an exception tag?
For example, this is a piece of my "struts_config.xml":
...
  

   
  
...

Could I have a "errors.deleted" with the following sentence(next key): "{0}
is
an invalid number."
I would like to include an argument in my "errors.deleted" which I can throw
from servlet "companies.actions.CompaniesDeleteAction" when an Exception
occurs.
Thanks in advance...
Alvaro







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



exception argument

2004-05-26 Thread Alvaro Martinez
I don't know English very well, I'm sorry...
How can I include an argument in an exception tag?
For example, this is a piece of my "struts_config.xml":
...
  

   
  
...

I would like to include an argument in my "errors.deleted" wich I can throw
from servlet "companies.actions.CompaniesDeleteAction" when an Exception
ocurrs.
Thanks in advance...
Alvaro


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