This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
sathish kumar
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use LookupDispatchAction instead of DispatchAction. This link explains how to use it.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!