Yazan2 / gmaps4jsf

Automatically exported from code.google.com/p/gmaps4jsf
0 stars 0 forks source link

Including "submitOnValueChange" causes page to fail #131

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
For anyone who can help...

Whenever I include  (( submitOnValueChange="true"  )), I get this error when 
trying to render the webpage: The server either does not recognize the request 
method, or it lacks the ability to fulfill the request.

Any idea why?  I've attached a 4 minute screencast showing the issue.

Thanks for the help!  I really appreciate it!

Robert

Original issue reported on code.google.com by robert2...@gmail.com on 10 Aug 2010 at 11:55

Attachments:

GoogleCodeExporter commented 8 years ago
Can you send me the source code of the page instead?

Original comment by Hazem.sa...@gmail.com on 13 Aug 2010 at 12:52

GoogleCodeExporter commented 8 years ago
Okay, I'll attach the source here... can I get the backing bean for this page: 
http://www.mashups4jsf.com/gmaps4jsf-examples/pages/markersServerSideEvents.jsp.
source.

Or can you tell me where it is.

Thanks!

Original comment by robert2...@gmail.com on 14 Aug 2010 at 12:53

GoogleCodeExporter commented 8 years ago
Actually... I don't see how the lat/longs are retrieved in this file: 
http://www.mashups4jsf.com/gmaps4jsf-examples/pages/markersServerSideEvents.jsp.
source.

I understand that the changeListener is in effect, but how are the new 
lat/longs retrieved for the outputText components?  

I can't see it... is it buried in the backing bean?

Thanks!

Original comment by robert2...@gmail.com on 14 Aug 2010 at 12:57

GoogleCodeExporter commented 8 years ago
I just noticed... your latitude/longitude are coming up longitude/latitude in 
the output text components.  Can you fix this?

Original comment by robert2...@gmail.com on 14 Aug 2010 at 1:01

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Ah... it wasn't in form tags... that stops the failure, but I still can't 
figure out how to get the data into the outputText component.

Original comment by robert2...@gmail.com on 14 Aug 2010 at 1:29

GoogleCodeExporter commented 8 years ago
Hmmm... I don't want to submit the form... I just want to populate the 
inputText components after the marker is moved... AND move the marked after the 
inputText components change... how is this done... must I used Javascript is 
this AJAX or do you have it built in with your attribute options?  Here's my 
reference page: http://rockfishreports.com/Rockfish_input_form.faces

Thanks!

Original comment by robert2...@gmail.com on 14 Aug 2010 at 1:59

GoogleCodeExporter commented 8 years ago
For now, You must use custom Ajax code.

However, we are looking forward to support JSF 2.0 f:ajax tag directly.

Original comment by Hazem.sa...@gmail.com on 14 Aug 2010 at 6:14