[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.axapta.programming

JavaScript problem with WebForm

Patrik/SE

1/9/2006 12:15:00 PM

Hi!

I got some strange problem today when I tried to use a Web Form.
I created my own Web Form and wanted to show it from a WebLink.
The problem is that I get a JavaScript error when the page is loaded and the
page is empty except for the menu to the left.

I get an error in this JavaScript function:
function _wfsubmit(cmd,ctl,rec,val)
{
document..WCMD.value=cmd;
document..WCTL.value=ctl;
document..WREC.value=rec;
document..WVAL.value=val;
document..submit();
return false;
}

This is an automatic created script, i havn't done anything to it. For some
reason the automation forgot to write something where there double dots are.

My source code for opening the Web Form is:

webLink.menufunction(new
Menufunction(MenuItemDisplayStr(ReplacementItemBlocked),MenuItemType::Display));
webSession().redirect(webLink);

This code is in
Web Form: SalesTableCreate
Data Source: SalesBasketLine
Field: ItemIdConfigId (not a standard field)
Method: modified

I want to offer the user another product if the product they wanted to buy
doesn't exist anymore or is temporary blocked.

Any ideas?
12 Answers

Patrik/SE

1/9/2006 1:16:00 PM

0

It turned out to be my own fault :-(
There was something wrong with my MenuItem. I think I used wrong web form,

Surfer

12/13/2010 5:49:00 AM

0

On Mon, 13 Dec 2010 14:55:54 +1100, "bonobonobono" <jjj@jjj.com>
wrote:


>>
>> Despite freezing temperatures and snow lashing many parts of Europe,
>> delegates at this year's climate change conference say 2010 has been
>> one of the hottest years on record.
>>
That refers to the average temperature of the globe.

Europe isn't the globe.



Jim

12/13/2010 5:53:00 AM

0


"Surfer" <no@spam.net> wrote in message
news:3pcbg69c9htpfgl8907otsg3inunlsor3f@4ax.com...
> On Mon, 13 Dec 2010 14:55:54 +1100, "bonobonobono" <jjj@jjj.com>
> wrote:
>
>
>>>
>>> Despite freezing temperatures and snow lashing many parts of Europe,
>>> delegates at this year's climate change conference say 2010 has been
>>> one of the hottest years on record.
>>>
> That refers to the average temperature of the globe.
>
> Europe isn't the globe.


It's spreading to the US .... soon the globe!


Thank God for GW, as we would otherwise be heading for another Ice Age
now.

RL

Saturday was the snowiest December day on record in the Twin Cities
(16.3"), and the fifth greatest snowstorm all-time (17.1" total),
dating back to 1875. This was the heaviest snow dump on the metro
since the infamous Halloween Blizzard of 1991.




Warmest Regards

B0nz0

"It is a remarkable fact that despite the worldwide expenditure of perhaps
US$50 billion since 1990, and the efforts of tens of thousands of scientists
worldwide, no human climate signal has yet been detected that is distinct
from natural variation."
Bob Carter, Research Professor of Geology, James Cook University, Townsville

"If climate has not "tipped" in over 4 billion years it's not going to tip
now due to mankind. The planet has a natural thermostat"
Richard S. Lindzen, Atmospheric Physicist, Professor of Meteorology MIT,
Former IPCC Lead Author

"It does not matter who you are, or how smart you are, or what title you
have, or how many of you there are, and certainly not how many papers your
side has published, if your prediction is wrong then your hypothesis is
wrong. Period."
Professor Richard Feynman, Nobel Laureate in Physics

"A core problem is that science has given way to ideology. The scientific
method has been dispensed with, or abused, to serve the myth of man-made
global warming."
"The World Turned Upside Down", Melanie Phillips

"Computer models are built in an almost backwards fashion: The goal is to
show evidence of AGW, and the "scientists" go to work to produce such a
result. When even these models fail to show what advocates want, the data
and interpretations are "fudged" to bring about the desired result"
"The World Turned Upside Down", Melanie Phillips

"Ocean acidification looks suspiciously like a back-up plan by the
environmental pressure groups in case the climate fails to warm: another try
at condemning fossil fuels!"
http://www.rationaloptimist.com/blog/threat-ocean-acidification-greatly-e...

Before attacking hypothetical problems, let us first solve the real problems
that threaten humanity. One single water pump at an equivalent cost of a
couple of solar panels can indeed spare hundreds of Sahel women the daily
journey to the spring and spare many infections and lives.
Martin De Vlieghere, philosopher

"The fact that an opinion has been widely held is no evidence whatever that
it is not utterly absurd; indeed in view of the silliness of the majority of
mankind, a widespread belief is more likely to be foolish than sensible."
Bertrand Russell




Seon

12/13/2010 7:16:00 AM

0

How long has recorded history been? 200 years? How old is the Earth
again?...


Government Shill #2

12/13/2010 7:56:00 AM

0

On Mon, 13 Dec 2010 18:15:41 +1100, "Seon" <seon@iinet.net.au> wrote:

>How long has recorded history been? 200 years? How old is the Earth
>again?...

200 years???

Ever hear of the Romans? The Egyptians?

Tell me what you studied a uni again.

Shill #2
--
"I, on the other hand, am a fully-rounded human being, with
a degree from the University of Life, a diploma from the
School of Hard Knocks, and three gold stars from the
Kindergarten of Getting the Shit Kicked Out of Me."

-Captain Edmund Blackadder commenting on University education
in 'Blackadder goes Forth'

Seon

12/13/2010 8:39:00 AM

0



"Government Shill #2" <gov.shill@gmail.com> wrote in message
news:6akbg6pck15h4n8jmt0vqd99l5c4tjgjf8@4ax.com...
> On Mon, 13 Dec 2010 18:15:41 +1100, "Seon" <seon@iinet.net.au> wrote:
>
>>How long has recorded history been? 200 years? How old is the Earth
>>again?...
>
> 200 years???
>
> Ever hear of the Romans? The Egyptians?
>
> Tell me what you studied a uni again.
>
Oh, I assumed it meant how long the temperature record was. Thanks for
pointing out my error in your own way.

> Shill #2
> --
> "I, on the other hand, am a fully-rounded human being, with
> a degree from the University of Life, a diploma from the
> School of Hard Knocks, and three gold stars from the
> Kindergarten of Getting the Shit Kicked Out of Me."
>
> -Captain Edmund Blackadder commenting on University education
> in 'Blackadder goes Forth'

i|||| | | || ||| || |||| 2.0

12/13/2010 8:58:00 AM

0


"Government Shill #2" <gov.shill@gmail.com> wrote in message
news:6akbg6pck15h4n8jmt0vqd99l5c4tjgjf8@4ax.com...
> On Mon, 13 Dec 2010 18:15:41 +1100, "Seon" <seon@iinet.net.au> wrote:
>
>>How long has recorded history been? 200 years? How old is the Earth
>>again?...
>
> 200 years???
>
> Ever hear of the Romans? The Egyptians?
>
> Tell me what you studied a uni again.

I think they probably meant 'with accurate thermometers' and detailed records, hence
'recorded'

The Ancient Egyptians , after the last glaciaal and before the pharaonic dynasties,
experienced a sahara that was far wetter and more productive than today and had a couple
of thousand years to develop agriculture before conditions changed.
http://en.wikipedia.org/wiki/Gr...
(I wonder if they had greens demanding agriculture cutbacks? :-)

There are other records, mostly geological, and there is always a problem matching patchy
geological inferences with modern extensive measurments and records. How does one map 50
million world wide hourly/minute readings today with a couple of hundred over a year 150
years ago or 17 readings inferred from rocks 100 million years ago?

The last decade or two are likely to have been the warmest of the last 2000 years. 2010
seems to have tied with 1998 as the warmest.
Of the last 200 *million* years the last 3 million have been the coldest.
The coldest period of this cold period were 12-20,000 ago at the end of which the temp
rose about 1 degree per century.
http://en.wikipedia.org/wiki/File:Vostok_Peti...
http://en.wikipedia.org/wiki/Timeline_of_...


For much of geological history temperatures have averaged much warmer and conditions like
the present have been unusual. We are still in an ice age, that is we have ice caps.
http://en.wikipedia.org/wi...




Sapient Fridge

12/13/2010 7:24:00 PM

0

In message <4d059930@dnews.tpgi.com.au>, bonobonobono <jjj@jjj.com>
writes
>
>"Harry Hope" <rivrvu@ix.netcom.com> wrote in message
>news:7co9g698majo5d07e5ivb5lre4s09id33j@4ax.com...
>>
>> http://www.icenews.is/index.php/2010/12/12/greenland-warmer-...
>>
>> 12 December 2010
>>
>>
>> Despite freezing temperatures and snow lashing many parts of Europe,
>> delegates at this year's climate change conference say 2010 has been
>> one of the hottest years on record.
>>
>
>
>Only if you accept fudged data!
>
>
>Climate Data Tampering "Warms" The Planet!
>
>Check out the links below .
>
>
>
>
>
>======================================
>
>Climate Data Tampering Warms Australia
>
>Compare the graphs before and after "adjustment"!
>
>
>
>http://wattsupwiththat.com/2009/12/08/the-smoking-gun-at-da...

A cherry picked weather station with known bad data:

http://www.economist.com/blogs/democracyinamerica/2009/12/trust_scienti...

"As previously advised, the main temperature station moved to the radar
station at the newly built Darwin airport in January 1941. The
temperature station had previously been at the Darwin Post Office in the
middle of the CBD, on the cliff above the port. Thus, there is a likely
factor of removal of a slight urban heat island effect from 1941
onwards. However, the main factor appears to be a change in screening.
The new station located at Darwin airport from January 1941 used a
standard Stevenson screen. However, the previous station at Darwin PO
did not have a Stevenson screen. Instead, the instrument was mounted on
a horizontal enclosure without a back or sides. The postmaster had to
move it during the day so that the direct tropical sun didn't strike it!
Obviously, if he forgot or was too busy, the temperature readings were a
hell of a lot hotter than it really was!"

We've seen Watts do this kind of thing before, he claimed that the
weather stations in America were badly sited and that's what was causing
the warming measurements, but when you look at the data from the "good"
weather stations it turns out to be almost identical:

http://www.youtube.com/user/greenman3610#p/u/9/d...

Look from 5:02 on to see the comparison between heat island and non-heat
island measurements in America.

Watts deliberately spreads misleading propaganda, and he's very good at
it.

<snip>
--
sapient_usenet02@spamsights.org ICQ #17887309 * Save the net *
Grok: http://spam... http://www... * nuke a spammer *
Find: http://www.sa... http://www.ne... * today *
Kill: http://mail... http://au... http://sp...

Sapient Fridge

12/13/2010 7:27:00 PM

0

In message <4d05b485$1@dnews.tpgi.com.au>, bonobonobono <jjj@jjj.com>
writes
>
>"Surfer" <no@spam.net> wrote in message
>news:3pcbg69c9htpfgl8907otsg3inunlsor3f@4ax.com...
>> On Mon, 13 Dec 2010 14:55:54 +1100, "bonobonobono" <jjj@jjj.com>
>> wrote:
>>
>>
>>>>
>>>> Despite freezing temperatures and snow lashing many parts of Europe,
>>>> delegates at this year's climate change conference say 2010 has been
>>>> one of the hottest years on record.
>>>>
>> That refers to the average temperature of the globe.
>>
>> Europe isn't the globe.
>
>
>It's spreading to the US .... soon the globe!
>
>
>Thank God for GW, as we would otherwise be heading for another Ice Age
>now.
>
>RL
>
>Saturday was the snowiest December day on record in the Twin Cities
>(16.3"), and the fifth greatest snowstorm all-time (17.1" total),
>dating back to 1875. This was the heaviest snow dump on the metro
>since the infamous Halloween Blizzard of 1991.

And how did all that water get up into the atmosphere?

http://www.skepticalscience.com/Record-snowfall-disproves-global-w...

"To claim that record snowfall is inconsistent with a warming world
betrays a lack of understanding of the link between global warming and
extreme precipitation. Warming causes more moisture in the air which
leads to more extreme precipitation events. This includes more heavy
snowstorms in regions where snowfall conditions are favourable. Far from
contradicting global warming, record snowfall is predicted by climate
models and consistent with our expectation of more extreme precipitation
events. "
--
sapient_usenet02@spamsights.org ICQ #17887309 * Save the net *
Grok: http://spam... http://www... * nuke a spammer *
Find: http://www.sa... http://www.ne... * today *
Kill: http://mail... http://au... http://sp...

Jim

12/13/2010 11:38:00 PM

0


"Sapient Fridge" <use_reply_address@spamsights.org> wrote in message
news:5U+2JeiuNnBNFwR1@spamsights.org...
> In message <4d05b485$1@dnews.tpgi.com.au>, bonobonobono <jjj@jjj.com>
> writes
>>
>>"Surfer" <no@spam.net> wrote in message
>>news:3pcbg69c9htpfgl8907otsg3inunlsor3f@4ax.com...
>>> On Mon, 13 Dec 2010 14:55:54 +1100, "bonobonobono" <jjj@jjj.com>
>>> wrote:
>>>
>>>
>>>>>
>>>>> Despite freezing temperatures and snow lashing many parts of Europe,
>>>>> delegates at this year's climate change conference say 2010 has been
>>>>> one of the hottest years on record.
>>>>>
>>> That refers to the average temperature of the globe.
>>>
>>> Europe isn't the globe.
>>
>>
>>It's spreading to the US .... soon the globe!
>>
>>
>>Thank God for GW, as we would otherwise be heading for another Ice Age
>>now.
>>
>>RL
>>
>>Saturday was the snowiest December day on record in the Twin Cities
>>(16.3"), and the fifth greatest snowstorm all-time (17.1" total),
>>dating back to 1875. This was the heaviest snow dump on the metro
>>since the infamous Halloween Blizzard of 1991.
>
> And how did all that water get up into the atmosphere?
>
> http://www.skepticalscience.com/Record-snowfall-disproves-global-w...
>
> "To claim that record snowfall is inconsistent with a warming world
> betrays a lack of understanding of the link between global warming and
> extreme precipitation.




Oh really?
Just ask one of your socialists ... er "scientists" at the CRU then!





CRU Prediction In 2000, No More Snow In Winter!

"Snowfalls are now just a thing of the past, within a few years winter
snowfall will become a very rare and exciting event".

Dr David Viner, Senior Research "Scientist", CRU, University of East Anglia,





When we look back to the 1970's, we laugh our asses off at how popular press
was prediction the world was entering the next ice age.



In 2000, with another near snowless winter in parts of England, the CRU made
the bold prediction that no snow in winter was now normal.



From The Independent on 20 March 2000 we got the headline:

"Snowfalls are now just a thing of the past". According to Dr David Viner, a
senior research "scientist" at the CRU of the University of East Anglia,
within a few years winter snowfall will become "a very rare and exciting
event".



http://www.independent.co.uk/environment/snowfalls-are-now-just-a-thing-of-the-past-7...





BUT Today:

Snow blankets London for Global Warming debate - first October Snow in over
70 years



http://www.telegraph.co.uk/travel/travelnews/6893844/Snow-and-ice-to-hit-Britain-at-New...





There two lessons in the above:



1) AGW whackos are full of BS if they think Man's CO2 output is a problem.



2) The internet is logging everything, and we WILL NOT FORGET peoples
position in 5 years.



In other words, the internet is a like an elephant that does not forget.

Politicians will not be able to re-surface in 5 years assuming that their
liberal press and media has forgotten about their positions.





http://wattsupwiththat.com/2009/12/29/crus-forecast-winter-snowfall-will-become-a-very-rare-and-excit...





Warmest Regards



B0nz0



"It is a remarkable fact that despite the worldwide expenditure of perhaps
US$50 billion since 1990, and the efforts of tens of thousands of scientists
worldwide, no human climate signal has yet been detected that is distinct
from natural variation."

Bob Carter, Research Professor of Geology, James Cook University, Townsville



"If climate has not "tipped" in over 4 billion years it's not going to tip
now due to mankind. The planet has a natural thermostat"

Richard S. Lindzen, Atmospheric Physicist, Professor of Meteorology MIT,
Former IPCC Lead Author



"It does not matter who you are, or how smart you are, or what title you
have, or how many of you there are, and certainly not how many papers your
side has published, if your prediction is wrong then your hypothesis is
wrong. Period."

Professor Richard Feynman, Nobel Laureate in Physics



"A core problem is that science has given way to ideology. The scientific
method has been dispensed with, or abused, to serve the myth of man-made
global warming."

"The World Turned Upside Down", Melanie Phillips



"Computer models are built in an almost backwards fashion: The goal is to
show evidence of AGW, and the "scientists" go to work to produce such a
result. When even these models fail to show what advocates want, the data
and interpretations are "fudged" to bring about the desired result"

"The World Turned Upside Down", Melanie Phillips



"Ocean acidification looks suspiciously like a back-up plan by the
environmental pressure groups in case the climate fails to warm: another try
at condemning fossil fuels!"

http://www.rationaloptimist.com/blog/threat-ocean-acidification-greatly-e...



Before attacking hypothetical problems, let us first solve the real problems
that threaten humanity. One single water pump at an equivalent cost of a
couple of solar panels can indeed spare hundreds of Sahel women the daily
journey to the spring and spare many infections and lives.

Martin De Vlieghere, philosopher



"The fact that an opinion has been widely held is no evidence whatever that
it is not utterly absurd; indeed in view of the silliness of the majority of
mankind, a widespread belief is more likely to be foolish than sensible."

Bertrand Russell