Hi,<br>Thanks for the link. This is the kinda thing that I was looking for.<br><br><div class="gmail_quote">2008/10/31 Arnd Wippermann <span dir="ltr"><<a href="mailto:arnd.wippermann@web.de">arnd.wippermann@web.de</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">it's possible to use popups for editing feature
attributes.</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"><a href="http://gis.ibbeck.de/ginfo/apps/OLExamples/OL26/examples/styles_unique_with_group.html" target="_blank">http://gis.ibbeck.de/ginfo/apps/OLExamples/OL26/examples/styles_unique_with_group.html</a></font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">If your transcation takes place after you have updated the
attributes, i would think the transaction should work.</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">Arnd Wippermann</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"></font></span> </div>
<div dir="ltr" align="left">
<hr>
</div>
<div dir="ltr" align="left"><font face="Tahoma" size="2"><b>Von:</b>
<a href="mailto:users-bounces@openlayers.org" target="_blank">users-bounces@openlayers.org</a> [mailto:<a href="mailto:users-bounces@openlayers.org" target="_blank">users-bounces@openlayers.org</a>] <b>Im Auftrag
von </b>Indika Tantrigoda<br><b>Gesendet:</b> Freitag, 31. Oktober 2008
14:22<br><b>An:</b> Alexandre Dube<br><b>Cc:</b> OpenLayers users mailing
list<br><b>Betreff:</b> Re: [OpenLayers-Users] User inputs in
Popups<br></font><br></div><div><div></div><div class="Wj3C7c">
<div></div>Hi Alexandre,<br>Thanks for the reply. I am referring to the html
text box inside the popup. Thats where I want to enter the data.<br>I also
included a button in the popup to initiate the transaction. This works fine when
I hard code the attribute information.<br><br>I did try the method you
suggested. Maybe because the html text box is not directly in the web page(but
rather in the popup) I didnt have much success. However I will try this again.
Maybe I missed something.<br><br>If there is any other way of achieving this
(maybe with ajax) kindly let me know.<br><br>Regards,<br>Indika <br><br>
<div class="gmail_quote">2008/10/31 Alexandre Dube <span dir="ltr"><<a href="mailto:adube@mapgears.com" target="_blank">adube@mapgears.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi
Indika,
<div><br><br> >> The problem is I am unable to access
the input data.<br><br></div> Do you mean you can't access the html text
box ? If you do, give it and id, access it with
document.getElementById('yourId') and parse the text box value to the
feature.attributes before saving. That will add the attribute to your
INSERT/UPDATE request at the same time. I'm not sure if that's what you
meant, though.
<div><br><br> >>Also everytime the wfs-insert takes
place i get an alert with the transaction results details.<br>Is there anyway
not have the alert come up everytime.<br><br></div> Search in your files
for the "alert" string and just get rid of it.<br><br>Hope this
helps,<br><br>Alexandre<br><br>Indika Tantrigoda wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div></div>
<div>Hello to all,<br>I have a wfs layer setup which allows me
to add points.<br>I would like the user to enter the attribute information
so that it too can get<br>written to postgres.<br><br>I setup a popup with a
text box which allows me to add the relevant details.<br>The problem is I am
unable to access the input data.<br><br>Is there any way to get around this,
or this is an alternative method I could approach.<br><br>Also everytime the
wfs-insert takes place i get an alert with the transaction results
details.<br>Is there anyway not have the alert come up
everytime.<br><br>Thanks<br><br>Indika<br></div></div>------------------------------------------------------------------------<br><br>_______________________________________________<br>Users
mailing list<br><a href="mailto:Users@openlayers.org" target="_blank">Users@openlayers.org</a><br><a href="http://openlayers.org/mailman/listinfo/users" target="_blank">http://openlayers.org/mailman/listinfo/users</a><br>
<br></blockquote><br><br>--
<br>Alexandre Dubé<br>Mapgears<br><a href="http://www.mapgears.com" target="_blank">www.mapgears.com</a><br><br></blockquote></div><br></div></div></div>
</blockquote></div><br>