Re: [Mapbuilder-devel] Help...creating a second button bar

2007-09-07 Thread Andreas Hocevar
Hi, On 9/7/07, César <[EMAIL PROTECTED]> wrote: > But I have my own config.xml with a lot of new changes, you see it...Are > there another solution, like change only a few lines o something else? The only strange thing in your config is that you seem not to have buttons for the first button bar.

Re: [Mapbuilder-devel] Help...creating a second button bar

2007-09-07 Thread César
But I have my own config.xml with a lot of new changes, you see it...Are there another solution, like change only a few lines o something else? Thanks Andreas. 2007/9/6, Andreas Hocevar <[EMAIL PROTECTED]>: > > On 9/6/07, César <[EMAIL PROTECTED]> wrote: > > Hi Andreas, > > > > I tested it, but i

Re: [Mapbuilder-devel] Help...creating a second button bar

2007-09-06 Thread Andreas Hocevar
On 9/6/07, César <[EMAIL PROTECTED]> wrote: > Hi Andreas, > > I tested it, but it doesn`t work. Just tried with changing the config for the stock wfs-t demo of 1.5-alpha2, and it works. Regards, Andreas. - This SF.net email

Re: [Mapbuilder-devel] Help...creating a second button bar

2007-09-06 Thread César
Hi Andreas, I tested it, but it doesn`t work. Regards César 2007/9/6, Andreas Hocevar <[EMAIL PROTECTED]>: > > On 9/6/07, César <[EMAIL PROTECTED]> wrote: > > I've added this...but I think it isn't enough. Should I add anything > more? > > I post my code: > > > >

Re: [Mapbuilder-devel] Help...creating a second button bar

2007-09-06 Thread Andreas Hocevar
On 9/6/07, César <[EMAIL PROTECTED]> wrote: > I've added this...but I think it isn't enough. Should I add anything more? > I post my code: > Try instead. And I did not see a reference to mainButtonBar in your config.xml Regards, Andreas. ---

Re: [Mapbuilder-devel] Help...creating a second button bar

2007-09-06 Thread Andreas Hocevar
Hi, On 9/6/07, César <[EMAIL PROTECTED]> wrote: > Hi developers, > > Can anybody tell me what must I do to create a second button bar with new > buttons? For the buttons that shuld be in the second button bar, set the property to a different value (eg. "secondButtonBar"). Then, in your HTML page

Re: [Mapbuilder-devel] Help with the transaction

2007-06-26 Thread César
Hi, I've solved the problem. I've added the sentence: objRef.transactionResponseModel.async=false; before the request and this carry out the task as I need. Thanks 2007/6/25, Andreas Hocevar <[EMAIL PROTECTED]>: Hi, On 6/25/07, César <[EMAIL PROTECTED]> wrote: > How can I make a synchronou

Re: [Mapbuilder-devel] Help with the transaction

2007-06-25 Thread Andreas Hocevar
Hi, On 6/25/07, César <[EMAIL PROTECTED]> wrote: > How can I make a synchronous get feature petition from the WfsGetFeature > fiel? I need to obtain the xml from the server, and then modify it. So, if > the get feature petition is asynchronous, I can do it. You might again want to read the docume

Re: [Mapbuilder-devel] Help

2007-06-21 Thread Luca Giandoso
On 6/21/07, César <[EMAIL PROTECTED]> wrote: > Ok, sorry. I was told that any thread should be subjected "help". I think it's better, but maybe some others of the list may not agree... > > Your solution, isn't work because of the namespaces. Should I define the > namespaces in the WfsGetFeature w

Re: [Mapbuilder-devel] Help

2007-06-21 Thread César
Ok, sorry. I was told that any thread should be subjected "help". Your solution, isn't work because of the namespaces. Should I define the namespaces in the WfsGetFeature widget into theconfig.xml file, or in the WFsGetFeature.js file? How can I define them Could it be the mainMap tag the proble

Re: [Mapbuilder-devel] Help

2007-06-20 Thread Luca Giandoso
yourModel.getXpathValue(yourModel, xpathExpression); Have a look at the Sarissa library for more info. Please create another thread when you post new questions and assign it a right subject, not something too general like "Help". Luca On 6/20/07, César <[EMAIL PROTECTED]> wrote: > Hi everybody,

Re: [Mapbuilder-devel] Help

2007-06-20 Thread César
Sorry. 2007/6/20, Luca Giandoso <[EMAIL PROTECTED]>: Please create another thread in the mailing list so others can read it. Luca On 6/20/07, César <[EMAIL PROTECTED]> wrote: > Thanks > > Another thing please, > > How can I obtain the value of a variable in EditPoint.js file which it was > de

Re: [Mapbuilder-devel] Help

2007-06-19 Thread Luca Giandoso
You can can also hide the button by change the widget code adding these lines: this.postPaint = function(objRef) { // put something here document.getElementById(objRef.outputNodeId).style.visibility = "hidden"; } or this.postPaint = function(objRef) { document.getElementB

Re: [Mapbuilder-devel] Help

2007-06-19 Thread Cameron Shorter
Look in the config.xml file. Search for the buttons you don't want. Comment them out. This will remove buttons and functionality. If you just want to remove the buttons without removing the functionality, then you might want to replace the button's image with a single dot. Again, you can do this

Re: [Mapbuilder-devel] Help

2007-06-11 Thread César
Ok, I' m going to explain you what I am doing: I am adding a new class MovePoint to create a button with a new functionality. It is, when I push the button to query a city, I want to move the city, and then save the changes into the server. My new class is: mapbuilder.loadScript(baseDir+"/widge

Re: [Mapbuilder-devel] Help

2007-06-11 Thread Luca Giandoso
If you post some code we can help you better... Luca Giandoso On 6/11/07, César <[EMAIL PROTECTED]> wrote: > Hi, > > I've check objRef.featureXpath, and the namespaces, in fact it is used the > same namespaces that editpoint widget, and I have no troubles with > editpoint. Apart from config.xml,

Re: [Mapbuilder-devel] Help

2007-06-11 Thread César
Hi, I've check objRef.featureXpath, and the namespaces, in fact it is used the same namespaces that editpoint widget, and I have no troubles with editpoint. Apart from config.xml, do you know others files where namespaces label is modified? Thanks 2007/6/9, Luca Giandoso <[EMAIL PROTECTED]>:

Re: [Mapbuilder-devel] Help

2007-06-09 Thread Luca Giandoso
Check objRef.featureXpath, maybe the namespaces are not correct. Luca Giandoso On 6/8/07, César <[EMAIL PROTECTED]> wrote: > Hi, > > I've an error code 14:An attempt was made to create or change an object in a > way which is incorrect with regard to namespaces. when I try to do > objRef.targetMod

Re: [Mapbuilder-devel] Help

2007-06-05 Thread Andreas Hocevar
Hi, the following hints assume that you use the wfs-t example and add the following to your config, I suggest above the node: MovePoint.js mainButtonBar featureCollection mainMouseClick RadioButton /images/EditPointEnable.png /images/EditPointDisabl

Re: [Mapbuilder-devel] Help

2007-06-01 Thread César
Hi, I am trying what you have said to me. I've created a new button called MovePoint.js. In this file, I've changed doAction() method to get the feature of the old point, but I failed. I do not know what I have to do to recover the feature of the point. I attach you the file. I wish you can help

Re: [Mapbuilder-devel] Help

2007-05-31 Thread Andreas Hocevar
Hi, On 5/31/07, César <[EMAIL PROTECTED]> wrote: > I want to move a point in the map, is means, to update the data into > the wfs. So I need a new button with this funcionality. When I push it > on, this button allows me to move a city. Currently, there is no vector feature editing mode in Mapbui

Re: [Mapbuilder-devel] Help

2007-05-31 Thread César
Hi, Sorry for re-post my question. I resolved this question, I have already known how to draw a polygon, but I have another question. I want to move a point in the map, is means, to update the data into the wfs. So I need a new button with this funcionality. When I push it on, this button allows

Re: [Mapbuilder-devel] Help

2007-05-30 Thread Andreas Hocevar
Hi, You do not need to re-post your questions. If there is no answer, there might be a reason for it. Usually it is helpful to explain what functionality you need in a few senctences. Then we can think of your problem and help you find a proper solution. On 5/30/07, César <[EMAIL PROTECTED]> wrot