-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 You should use an EventLink instead - that's what they're for. :)
/Filip Yury Luneff skrev: > Hello, users. > > Is there a way to separate activation contexts for page and its > components? > > I wrote a component that uses AJAX to interact from client side. > Render part of the component creates links for callbacks using > ComponentResources. And callbacks are method with fixed number > of arguments (2 for ex.). > > When the page that contains that component tries to introduce its own > activation context, callback url will have page's context embedded. So > now AJAX calls to component with 3 context elements - 1 from page and > 2 from component. And as the component knows nothing about this, it > must be treated in a special way (for now I retained only onActivate > part of the page so it's not a fully pages context that is saved). > > Is there a way to clearly separate contexts of the page and component > events so that component could be unaware of any page it is embedded > to? > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQEcBAEBAgAGBQJKC9YoAAoJEEfiH7PpjaMnMeYH/3DxibIPmP0c1mVrDqoo0Nob swgq+Fuw8oxjH7ck8exjEwHrkbune93AButw0RLn/VyE4HpUEV+kr0zeJT85gqOj D86O1Uf7x/vxyLyhPgiTIVkjmjsI6cDGjlTJmcI/z5Cq0pWlP/ojb10Flkn1mTMM Yy9SzFSrsGhOammXHI4JyjkVV64FAcgeqMydcdE65fnKLtNBURMGzhLqHDq8Bc8G +RlQHGqEzesoJbF0Ln2gVTT9TdSZ5OnQpMy/aIR87kklPbavTQpQ0rE6ZA88NsvG UQp8S7nv3Vx7uewX1iT8FLSqQB2CmFyrekFQeIj4lZklyeFLgz5sBFG01376rDE= =ncaC -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
