Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

What is the method of adding c tag selected by select drop-down

Shulou Source: shulou.com Published: 2022-06-01 03:16:54 11月15日 Update

This article is a detailed introduction to "what is the method of selecting drop-down to add c label". The content is detailed, the steps are clear, and the details are properly handled. I hope this article "what is the method of selecting drop-down to add c label" can help you solve your doubts. Let's go deeper and learn new knowledge together with the ideas of the small editor.

First of all, get the data to be displayed in the background

@RequestMapping(value = "searchDetailByFloId", method = {RequestMethod.GET})

public String searchDetailData(Integer floId, Model model) {

log.info("--------------searchHawbArrivalDetail--------------");

HawbArrivalVO hawbArrivalVO =

this.hawbArrivalService.selectHawbArrivalDetailByFloId(floId);

List termsIds=

this.hawbArrivalService.selectTermsIds();

List transportTypeIds=

this.hawbArrivalService.selectTransportTypeIds();

Map map=

this.hawbArrivalService.selectDictionarys

(hawbArrivalVO.getStartPortId(),hawbArrivalVO.getEndPortId());

model.addAttribute("flo", hawbArrivalVO);

model.addAttribute("transportTypeIds", transportTypeIds);

model.addAttribute("termsIds", termsIds);

model.addAttribute("map", map);

return "domestic/detail";

}

and then show it on the page.

:: Mode of transport

please select

${transportTypeIds.translateRemark}

The effect is that when the query value is equal to the value of the drop-down selection, the drop-down selection will be selected.

The base operator operator descriptor in EL. Access a Bean property or a mapping entry [] Access elements of an array or list ( ) Organize a subexpression to change priority + plus-minus or minus * multiply/ or div divide % or mod mod == or eq Test for equality!= Or ne test is unequal

< or lt测试是否小于>

or gt test is greater than = or ge test is greater than or equal to && or and test logic and|| Or or test logic or! or not test to get empty test whether null value read here, this article "select drop-down select what is the method to add c label" article has been introduced, want to master the knowledge of this article also need to do it yourself to use to understand, if you want to know more related content of the article, welcome to pay attention to the industry information channel.

Tags: Test drop-down method label article content operator logic proper size priority element background foundation that is attributes ideas effects data arrays Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Apple MySQL NVidia Linux Shulou Tech Info