Announcement Announcement Module
Collapse
No announcement yet.
Bug in binding converter? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Bug in binding converter?

    web flow
    Code:
    	<view-state id="enterSimulation" view="view-simulation" model="simulationView" >
    		<binder>
    			<binding property="simulationMode.simulationDate" converter="customStringToDate"/>
    			<binding property="simulationMode.simulationMode" converter="customStringToMode"/>
    			
    		</binder>
            ....
    JSP
    Code:
    	<form:input path="simulationMode.simulationMode" readonly="true"/> <!-- it calls the converter -->
    	${simulationView.simulationMode.simulationMode} <!-- it doesn't call the converter -->
    how can i implement the converter with the same expression?

  • #2
    i am using Spring MVC 2.5.6.SEC01 and Spring Webflow 2.0.8.RELEASE

    Comment


    • #3
      the reason behind this, i want to display the simulationMode value not the code.

      "0" = "actual mode"
      "1" = "simulation mode"

      but not inside the input text ,.... want to display it as label...

      spring doesn't support ${simulationView.simulationMode.simulationMode} to call the converter...

      if not, please give me any ideas on how to display as a label...
      Spring tag label doesn't show the value...
      e.g. <form:label path="simulationMode.simulationMode" ></form:label> <-- it results nothing

      Comment

      Working...
      X