Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Image in button, radio button with bootstrap 06 Jul 2013 21:15 #7897

  • VeCrea
  • VeCrea's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
  • Absolute JCook fan
  • Posts: 473
  • Thank you received: 100
I have a fk displaying it's data with RADIO as control.
Boostrap takes it and transforms it in a button group : nice, it works. But what if the field pointed by the fk is an image ? Could i display the image instead of the name of the image in thebutton ?
Thanks for any help.

Please Log in or Create an account to join the conversation.

Image in button, radio button with bootstrap 07 Jul 2013 12:54 #7902

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
I never tried that.
You can try to create a new JDom class for that, using the bootstrap buttons.
Of course, you will need to call html.fly.image inside in order to get the right image url.
It should not be difficult.
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.056 seconds

  I found "cook" two days ago. Played around with it for a day and then within a day got rid of two legacy applications in IBM Lotus Domino Notes and replaced them with "cook". It was really easy. A piece of cake. Actually it was even easier than cooking. Cooking involves more work than developing with "cook". What can I say about "cook"? Great application great price for what it delivers great forum with a lot of information and fast responses active and friendly community fast forward moving development cycle So what should I say "Monsieur Le Cook"? Keep the good work going it will lead to success. Having become a paying member in the words of Edith Piaf may I say ..... non rien de rien ... je ne regrette rien. Vive La France.
FK (JED)
         

Get Started