• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Why NetBeans is not happy with <s:radio> tag and marks it in red?

 
Ranch Hand
Posts: 34
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am using <s:radio> today:

Following Struts doc, I have the following code in my jsp:


NetBeans is not happy with my code and marks the whole list component in red. But it allows me to run the program. The three radio buttons are displayed, but the first button is not pre-selected, as we want. In other words, is not working.

Now following mkyong, I change my code as follows:


This time, everything is working perfected: the three radio buttons are displayed and the first button is pre-selected. But even that, NetBeans is not happy either in that it marks the whole list component in red. Do you know why?
 
Everybody's invited. Even this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic