File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Label of the submit button does not working when i use DispatchAction Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Label of the submit button does not working when i use DispatchAction" Watch "Label of the submit button does not working when i use DispatchAction" New topic
Author

Label of the submit button does not working when i use DispatchAction

sathish kumar
Greenhorn

Joined: Nov 02, 2006
Posts: 2
hi all,

I using DispatchAction in my Action class.

The problem i got is if use two words to show the label of the submit button
it takes vaule attribute of the submit button and display it as label.

i use the submit button like this


<html:submit property="method" value="showDetails"><bean:message key="com.show"></html:submit>

I have showDetails method in my Action class. and Key value of the bean:message tag is Show Details

I want to show label as Show Details but it takes value attribute of the button like showDetails as one word.


please help me

thanks
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
Use LookupDispatchAction instead of DispatchAction. This link explains how to use it.


Merrill
Consultant, Sima Solutions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Label of the submit button does not working when i use DispatchAction