posted 15 years ago
I wrote my own Google Map JSF control a while back before all the other ones came out, so I went back and looked at the source code, since this sounds like a problem I had, but it appears that my map control did the conversions internally.
There's something odd going on here. The stack trace indicates a failure GETTING data from the map control, Since you didn't write the map control, I don't know how you could alter the data type it returns short of modifying the original source code. I'm still uncertain why the EL processor isn't handling the conversion here, but the first thing I'd do is check the TLD to make sure that an expression is even valid for that attribute. If only constants are allowed, that would cause a failure.
An example usage I found looks like this:
It's not using binary values, the latitude and longitude are decimal strings. But they're constants, not EL expressions.
I trust you're familiar with the author's web site at http://www.jroller.com/HazemBlog/entry/gmaps4jsf_create_your_map_with - he seems to have provided a rich set of examples.
Don't forget the GUnload(), BTW. Google maps leak when you do!
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.