Yes, that'd work. commandLink wouldn't know it was
a PPR request.
-- Adam
On 6/16/07, noah <[EMAIL PROTECTED]> wrote:
Suppose I wanted to trigger an action for a standard component (i.e. I
can't change the decode method), say h:commandLink. Could I do
something like this?
var params = {};
p
Suppose I wanted to trigger an action for a standard component (i.e. I
can't change the decode method), say h:commandLink. Could I do
something like this?
var params = {};
params[clientId] = clientId;
TrPage.getInstance().sendFormPost(theForm, params);
On 6/15/07, Adam Winer <[EMAIL PROTECTED]>
On 6/15/07, Adam Winer <[EMAIL PROTECTED]> wrote:
On 6/15/07, noah <[EMAIL PROTECTED]> wrote:
> On 6/15/07, Adam Winer <[EMAIL PROTECTED]> wrote:
> > The XmlHttpRequest code has landed! Give the
> > latest 1.0.2-SNAPSHOT a try. The method
> > you want is currently:
> >
> > TrPage.getInstance(
One way is:
var theForm = ... find my form through the DOM ...
var clientId = ... the client ID of the component;
TrPage.getInstance().sendFormPost(theForm, {source:clientId});
Then, on the server, in your decode, you'd just need to
check if the "source" param was component.getClientId(),
and y
On 6/15/07, noah <[EMAIL PROTECTED]> wrote:
On 6/15/07, Adam Winer <[EMAIL PROTECTED]> wrote:
> The XmlHttpRequest code has landed! Give the
> latest 1.0.2-SNAPSHOT a try. The method
> you want is currently:
>
> TrPage.getInstance().sendFormPost(theForm, params, headerParams);
>
> ... though
This is exciting. One more question: What if you wanted to write your
own command component? How would you trigger an action with
sendFormPost?
On 6/15/07, Adam Winer <[EMAIL PROTECTED]> wrote:
The XmlHttpRequest code has landed! Give the
latest 1.0.2-SNAPSHOT a try. The method
you want is cu
On 6/15/07, Adam Winer <[EMAIL PROTECTED]> wrote:
The XmlHttpRequest code has landed! Give the
latest 1.0.2-SNAPSHOT a try. The method
you want is currently:
TrPage.getInstance().sendFormPost(theForm, params, headerParams);
... though that probably will change in a few ways before
the final
The XmlHttpRequest code has landed! Give the
latest 1.0.2-SNAPSHOT a try. The method
you want is currently:
TrPage.getInstance().sendFormPost(theForm, params, headerParams);
... though that probably will change in a few ways before
the final release of 1.0.2.
-- Adam
On 6/15/07, noah <[EM
On 6/14/07, Adam Winer <[EMAIL PROTECTED]> wrote:
There's no publicly supported way to fire a PPR request now,
but there will be once the XmlHttpRequest code is merged in.
-- Adam
Huzah! That will be good for us component developers :)
If you're looking for a temporary hack that will almost
There's no publicly supported way to fire a PPR request now,
but there will be once the XmlHttpRequest code is merged in.
-- Adam
On 6/14/07, Renzo Tomaselli <[EMAIL PROTECTED]> wrote:
Hi, I'm looking for a method to trigger PPR upon setting certain
conditions on client operations.
I have a m
Hi, I'm looking for a method to trigger PPR upon setting certain
conditions on client operations.
I have a multipanel page, where one panel contains an iframe for
rendering a blob through browser plugins.
Users are allowed to swap, minimize and restore panels through js, thus
these operations ar
11 matches
Mail list logo