s:select selected option from a list based on a condition

2017-11-20 Thread heberr...@gmail.com


I have a select tag as above. The Student object has a boolean value 
defaultStudent with getter isDefaultStudent. How to pre-select the default 
student based on this boolean value. Value accepts only static value, not 
condition.

-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



Converting struts1 tag to struts2 null handling

2017-11-24 Thread heberr...@gmail.com


The following struts 1 code evaluates to true when row.type is null.



The same I converted into struts2 as below but it evaluates to false when 
row.type is null.



How to make this true when #row.type is null.


-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]