<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=687133617-31102008><FONT face=Arial
color=#0000ff size=2>it's possible to use popups for editing feature
attributes.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=687133617-31102008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=687133617-31102008><FONT face=Arial
color=#0000ff size=2><A
href="http://gis.ibbeck.de/ginfo/apps/OLExamples/OL26/examples/styles_unique_with_group.html">http://gis.ibbeck.de/ginfo/apps/OLExamples/OL26/examples/styles_unique_with_group.html</A></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=687133617-31102008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=687133617-31102008><FONT face=Arial
color=#0000ff 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 class=687133617-31102008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=687133617-31102008><FONT face=Arial
color=#0000ff size=2>Arnd Wippermann</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=687133617-31102008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left>
<HR tabIndex=-1>
</DIV>
<DIV dir=ltr align=left><FONT face=Tahoma size=2><B>Von:</B>
users-bounces@openlayers.org [mailto:users-bounces@openlayers.org] <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>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">adube@mapgears.com</A>></SPAN><BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Hi
Indika,
<DIV class=Ih2E3d><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 class=Ih2E3d><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="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV>
<DIV></DIV>
<DIV class=Wj3C7c>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></BODY></HTML>