| Author |
How to display a barcode in the form
|
Stu Quinn
Ranch Hand
Joined: Feb 27, 2009
Posts: 35
|
|
Good day,
Web page development really is not my area and I need to determine the best approach to display a barcode. Any suggestions and snippets would be appreciated.
Note I am restricted to JDK 1.4 and JSF 1.1 running on Websphere 6.0.
Thanks for any assistance,
Stu
|
 |
Tim Holloway
Saloon Keeper
Joined: Jun 25, 2001
Posts: 14487
|
|
Hasn't IBM dropped support for WebSphere 6.0? Everyone I know is running WAS 6.1. Which supports Java 5. And speaking of support, Sun - a/k/a "Oracle America' stopped supporting Java 1.4 quite some time ago. Back before Oracle bought them, in fact. Don't look now, but your boat is slowly sinking.
Barcodes can be rendered on JSF pages in 2 ways.
One way is to render them as graphic images on the server and then display them just like you would any other dynamically-created image.
The second way involved setting up a web page to actually invoke a barcode font and output the data as text to be rendered using that font.
The second way is more precise, but harder to do, since it basically requires a font download.
|
Customer surveys are for companies who didn't pay proper attention to begin with.
|
 |
Stu Quinn
Ranch Hand
Joined: Feb 27, 2009
Posts: 35
|
|
Yes, I am aware my platform is dated, however that was the hand I was dealt. I need a bumper sticker that reads "I would rather be coding EJB3 on JBOSS".
As for displaying the barcode I am supporting in-house PCs so I can load up a font. I will head down that route.
I ran across a JSF component that uses Barbeque. I will take a look at that as well.
Thanks,
Stu
|
 |
Stu Quinn
Ranch Hand
Joined: Feb 27, 2009
Posts: 35
|
|
I neglected to mention where I found the solution:
http://www.jroller.com/mert/entry/jsfbarcodecreator_released_in_jsf_comp#comments
Life is good,
Stu
|
 |
 |
|
|
subject: How to display a barcode in the form
|
|
|