Hello List,

I'm attempting to make a partial submit of a form with PPR. I'm using
the following javascript:


        function getForm()
        {
          return document.getElementById('addComponent');
        }

        function partialSubmitForm()
        {
          var form = getForm();
          TrPage.getInstance().sendPartialFormPost(form, {}, {});
        }
        
        

It's failing, because TrPage is not defined.


Since I'm using facelets, I assume I have not provided the required
Trinidad tag to create this object. My page currently is built of
<trh:html> <trh:head> and <trh:body> tags, as I need more control over
the outputted html than <tr:document> affords.

<tr:page> doesn't seem to help. Any ideas what's missing? Or, failing
that, any idea where TrPage is created so I can look there?

Many thanks!

Edd





This message should be regarded as confidential. If you have received this 
email in error please notify the sender and destroy it immediately.
Statements of intent shall only become binding when confirmed in hard copy by 
an authorised signatory.  The contents of this email may relate to dealings 
with other companies within the Detica Group plc group of companies.

Detica Limited is registered in England under No: 1337451.

Registered offices: Surrey Research Park, Guildford, Surrey, GU2 7YP, England.


Reply via email to