简体   繁体   中英

What does <ice:outputText value=“#{exam.testName}”/> mean?

I have a xhtml file with <ice:outputText value="#{exam.testName}"/>

The part of the webpage associated with that statement just shows the Test Name. I have the whole java source code and I am trying to find the database query that brings back the test names. I don't know what exam.testName means and what it refers to in the code for it to get the test name for that page.

Thanks!

It is using a JSF (Java Server Faces) component; probably from the ICEFaces component library (you should search your xhtml namespaces to be sure, though)

It shows some text obtained from calling getTestName() in a bean identified as exam (either the bean class is Exam or it has a @Named annotation specifying such a name for the bean, or it is defined in the faces-config.xml file.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM