Creating a custom JSF component?

S

stefoid

Hi, Im wondering what would be the best approach to solve this problem:

In my web app (game) I need a scrollable map made of at least 100x100
hexagons. The user can click on a hexagon to get more information
about it (need a trip to the server), and they can also move units from
one hexagon to another).

Pretty standard stuff, but I want to implement it thin_as_I_can client,
and I want to use JSF.

I suppose this would be a custom component. Probably an applet would
be the easiest way to implement the map, but is there anyway to nicely
integrate an applet into the JSF framework, perhaps as a JSF component?
 
A

Andrea Desole

I've never written an applet, but I would say that JSF is better,
because you don't need any plugin on your browser, which probably suits
better your thin_as_I_can requirement. I would also think that you
probably have to develop two custom components, or at least one
component and one renderer: one for the single hexagon, and one for the
map itself, that is, the container.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,981
Messages
2,570,188
Members
46,733
Latest member
LonaMonzon

Latest Threads

Top