Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

80
Views
Necesita el equivalente de la etiqueta JSP en REACT
public class RadioOptions{ private String key; private String value; //getter and setter methods }

Aquí puede recuperar las llamadas usando el valor clave:

 List<RadioOptions> radioOption= new ArrayList<RadioOptions>(); radioOption.add( new RadioOptions("1", "This is option 1.") ); radioOption.add( new RadioOptions("2", "This is option 2.") ); radioOption.add( new RadioOptions("3", "This is option 3.") ); radioOption.add( new RadioOptions("4", "This is option 4.") );

¿Cuál será la etiqueta equivalente de reacción de esta etiqueta JSP?

 <s:radio label="Please select the best choice" name="answer" list="radioOption" listKey="key" listValue="value" value="1" />
about 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Puede usar HTML <input type="radio"> para seleccionar solo una de un número limitado de opciones. de la misma manera que funciona su etiqueta JSP <s:radio/> .

Ejemplo :

 <label> <input type="radio" name="answer" value="1" /> Please select the best choice </label>

Puede encontrar más información sobre cómo usar los botones de radio en React

about 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!