[fusion-users] Accessing the Task Frame / Selection changed
Rodolfo Moreno
rmoreno at voxiva.com
Fri Nov 28 00:11:32 EST 2008
Hi Paul Spencer.
I'd like to know if you did the changes in order to send parameters with
POST method to the taskpane after doing a selection in the last fusion 1.1
release?
Cheers,
I guess its possible to request a page in an iframe using POST but I
don't know off hand how to do it. If you can figure out how to do it,
I'll make the changes in fusion.
Rodolfo Moreno wrote:
>
> Hi Paul S. and D.
>
> Paul Spencer: Sending parameters to iframe by POST method
>
> Give to the IFRAME a unique id/name and then set the "target" of the FORM
> as that unique id/name.
> sample:
> <form action="page.aspx" method="post" target="myIframe">
>
> <iframe name="myIframe" src="page.aspx"></iframe>
>
> I hope that it to be what you want.
>
> Paul D. the setContentURL functions doesn't exist, at least in the
> taspane.js of 1.0.6 fusion version.
>
> Cheers.
>
>
>
> Paul Deschamps wrote:
>>
>> Hi All,
>>
>> Are we not talking about the setContentURL func? instead of the
>> setContent
>> func?
>>
>> The setContentURL triggers an Ajax call to fetch the content. We could
>> change the setContentURL function to take in the Ajax "options" object as
>> well as the URL so you can change it from get to post.
>>
>> Or am I totally off my rocker ;) possibly it was a long weekend ;)
>>
>> Cheers
>>
>> Paul D.
>>
>>
>> On Tue, Oct 14, 2008 at 7:59 AM, Paul Spencer
>> <pspencer at dmsolutions.ca>wrote:
>>
>>> I guess its possible to request a page in an iframe using POST but I
>>> don't
>>> know off hand how to do it. If you can figure out how to do it, I'll
>>> make
>>> the changes in fusion.
>>>
>>> Cheers
>>>
>>> Paul
>>>
>>>
>>> On 12-Oct-08, at 10:48 AM, Rodolfo Moreno wrote:
>>>
>>>
>>>> Hi Paul,
>>>> It works good.
>>>> the url obviously could has parameters using the GET method, however I
>>>> would
>>>> like to send the parameters with the POST method mainly for sending the
>>>> selected features to my ASPX page due to that the number of selected
>>>> features and their properties could exceed the allowable length of the
>>>> querystring of the GET method.
>>>>
>>>>
>>>> Berdel, Brian wrote:
>>>>
>>>>>
>>>>> Great, thanks Paul. I'll give it a try.
>>>>>
>>>>> Brian
>>>>>
>>>>> -----Original Message-----
>>>>> From: Paul Spencer [mailto:pspencer at dmsolutions.ca]
>>>>> Sent: Wednesday, October 08, 2008 10:52 AM
>>>>> To: Berdel, Brian
>>>>> Cc: fusion-users at lists.osgeo.org
>>>>> Subject: Re: [fusion-users] Accessing the Task Frame / Selection
>>>>> changed
>>>>>
>>>>> Hi Brian,
>>>>>
>>>>> You should be able to do something like this:
>>>>>
>>>>> Fusion.getWidgetById('TaskPane').setContent(url);
>>>>>
>>>>> where 'TaskPane' is the Name that is used in the ApplicationDefinition
>>>>> for defining the TaskPane widget.
>>>>>
>>>>> Cheers
>>>>>
>>>>> Paul
>>>>>
>>>>> Hello all,
>>>>>> I am trying to access the task frame when a selection is made...I can
>>>>>>
>>>>>
>>>>> hook to the select widget but I really have no idea how to access
>>>>>> the task frame (Like if I wanted to perform a _postback in
>>>>>> Javascript on it or update values.)
>>>>>>
>>>>>> Any help appreciated!
>>>>>>
>>>>>> Thanks,
>>>>>>
>>>>>> -Brian
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> fusion-users mailing list
>>>>>> fusion-users at lists.osgeo.org
>>>>>> http://lists.osgeo.org/mailman/listinfo/fusion-users
>>>>>>
>>>>>
>>>>>
>>>>> __________________________________________
>>>>>
>>>>> Paul Spencer
>>>>> Chief Technology Officer
>>>>> DM Solutions Group Inc
>>>>> http://www.dmsolutions.ca/
>>>>>
>>>>> _______________________________________________
>>>>> fusion-users mailing list
>>>>> fusion-users at lists.osgeo.org
>>>>> http://lists.osgeo.org/mailman/listinfo/fusion-users
>>>>>
>>>>>
>>>>>
>>>>
>>>> -----
>>>> Rodolfo Moreno
>>>> CivilEng
>>>>
>>>> --
>>>> View this message in context:
>>>> http://n2.nabble.com/MapServer-Fusion-Select-Tool-tp787919p1322422.html
>>>> Sent from the Fusion Users mailing list archive at Nabble.com.
>>>>
>>>> _______________________________________________
>>>> fusion-users mailing list
>>>> fusion-users at lists.osgeo.org
>>>> http://lists.osgeo.org/mailman/listinfo/fusion-users
>>>>
>>>
>>>
>>> __________________________________________
>>>
>>> Paul Spencer
>>> Chief Technology Officer
>>> DM Solutions Group Inc
>>> http://www.dmsolutions.ca/
>>>
>>> _______________________________________________
>>> fusion-users mailing list
>>> fusion-users at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/fusion-users
>>>
>>
>> _______________________________________________
>> fusion-users mailing list
>> fusion-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/fusion-users
>>
>>
>
>
-----
Rodolfo Moreno
CivilEng
--
View this message in context: http://n2.nabble.com/MapServer-Fusion-Select-Tool-tp787919p1587922.html
Sent from the Fusion Users mailing list archive at Nabble.com.
More information about the fusion-users
mailing list