power-media / prado3

Automatically exported from code.google.com/p/prado3
Other
0 stars 0 forks source link

Callback server responses always includes all stylesheets #457

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I am using TTimeTriggeredCallback to trigger some callbacks to update a 
TActiveLabel with some information.

Upon testing, i noticed that all my CSS files are included in my callback 
server responses, e.g.

<!--X-PRADO-PAGESTATE-->eJztWllz2zgS9k9htFv75EM8dNHZ1NpOMkltEqsixbvz5IIoWEKZIjgE
aFmV8j/bt/lj0w2AIiVRphRJrqnZPFA2cTT66wb6AoPA9hxqtwZ1z6WkOfA6gzYZOKQxJHaH0jpx7gbD
lucS3/G/C9/za4EM67Vz4rtL77b/nfn1czOw7dc+U0n6ZCRq59e+De9903DFw5AGkvGopol0/NpR/xMT
8uh2qCg5mtS1X5hV8xs41nZxsGk7umUwQfh1v4Z/nPpC31jK+N1vKXvAvqZf6yZkNCH4YjcWBkZkQgtk
kNdCb8AjSSOJPdAR8ZOABGM13m4tDBTQXCD0xHx7rxBALLUrzcxJfxbTXZA4oDhJH+XZWE7CcysYk0RQ
+c9v/fcn7Y2gOXuFlvFbjsa2/dqQiiBhsdo1zyLzYHC/F/HpK4sSMTsGbJTEx9YdEdLqUzLpxZTcW4Im
DzTZCKr7glBhnXs6m/JkKCoU2EIFkolANMeWFO6x9cBZQLcA5r0ssJBEo5SMaAUwv0ajjdhvvCD7YD5I
Ksc8eZ55PKLT6fRUCtiApzTdCEfzJY8SUE3oAxNMnpA7SSvwAOyW9ZbMxEZAWi+rkIQPuKw6JjCbRUP6
eHwHXodPjyPOhzH8zoZss0PSfkFQ4AgDHs8SNhrLavvt1G3Xuvh0/at1+eGi//HC+nBxc2Fd/7IRrM4L
wkIlfO71JiSRGA90YQMCjC64HBaNKqw5WLkk3dDb7jdiqDhIcNLZBKyZ5DwckIpzBDTuSCg2xLHfsKEC
B3THAONE8pgFFcoAEnMPemz1e+BzbnKfc/wj7vVpIfwDBgC/c77QCGQGEA0+KTH2mQy1AQA//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k76rsKs6kuIXU5xYJnsamjgwH9At5YCOw9YYUOo98Ko3OxhyjAeVXbBMmlHgUuyxEUJMcjSGVa/1Q
CROdJSY0hdX4ResHr/bE7Yqk7BJJNexNJJXdExaEVTwlhVKmacltEQZFkUbDymTU0FtMu4pmdm+PzvG/
uBs/0yjFfuNRHSfbpth4dEsK4dYXE/oU+2XuBUytNy8p56PAvafzYvZV97Q4tLM4lEYERD3Uss6cbd4t
KEZwur+e3eDvGwyGFT1VH7d6VEoWjcTzqFoKlZ6yMGNHcM4hwHn4oQV7YCEdUUubzOewNRW2+Yz5hB2h
uYeA5s71dkkwCH4eWaOgtcL4HYF5hwDWLNzrWDeMTquwtRW2+ZzClB3hNQ4E75IE92ls/cP6Cg6eJxVm
RG9KPac4YUdwzQOdt88kAjtvXQSBdvTV0PSM4oQdobUOZCe7ZDaBnMn6wFALs03spJlSnLEjuPZhPFov
jWOeVOhLe7Ti0B3BdA6hKb928iwM4FnQmCRE8r2YCfsQQQZyf5nOTq/GnAvaTfgwDSq0s3bGrvgOEnc4
Gbc0uDfh53poZYN3RXWQgOPF995BYgsw42/TyQQErj9SqAibyofviuwgwYVbZJVW+afS0bviOkhUYWec
9skgrAgoSsbuhEmX91pY1DdSMlVtZCEuBNN9NqGFa1QsH051dqQ+gnnPEiFxDA5pbpb42+pAYVT7hUzo
AgWziJsNyK7zSgZtUD5QH1MWmF0qThSyVvSSOUuFdm+Zk0Kfsyip+cJ5FtwsK4dUJvv4tdtKxeFvIvfg
6y98Sr7TKVvAXVrgqnvWW0deVxRw85uSwq2YkDCsLME0vO1KMJrsDxZiUBU6asPv2lUtob2fKtQ+vtZ6
mlcDVcUD9ZtZ3a/0t5QlkI93uZCYL+Rz/gA4bm+p<!--//X-PRADO-PAGESTATE--><!--X-PRADO-AC
TIONS-->[{"Prado.WebUI.TTimeTriggeredCallback.stop":["ctl0_content_privilegeKeyT
imer"]},{"Prado.Element.setAttribute":["ctl0_content_privilegeKey","class","bold
"]}]<!--//X-PRADO-ACTIONS--><!--X-PRADO-STYLESHEETLIST-->["https:\/\/fonts.googl
eapis.com\/css?family=Alfa+Slab+One|Ubuntu:300,400,500,700","\/frontend\/themes\
/frontend\/jquery-selectbox.css","\/frontend\/themes\/frontend\/slimbox2.css","\
/frontend\/themes\/frontend\/style.css"]<!--//X-PRADO-STYLESHEETLIST-->

I tested some regular callbacks and noticed the same behavior.
Both, the theme's style sheets as well as the ones defined via TStyleSheet, are 
included in the reply.

I think that this is a defect.

Cheers,
Raoul

Original issue reported on code.google.com by ra...@bhatia.at on 15 Apr 2013 at 3:14

GoogleCodeExporter commented 8 years ago
I suggest you to read the relevant discussion about the change that introduced 
that behavior in ticket #348 and #408

Original comment by ctrlal...@gmail.com on 18 Apr 2013 at 6:18

GoogleCodeExporter commented 8 years ago

Original comment by ctrlal...@gmail.com on 24 Jul 2013 at 1:46

GoogleCodeExporter commented 8 years ago

Original comment by ctrlal...@gmail.com on 1 Aug 2013 at 10:24