Would love to hear the post on this one..
The are saying : rebuild the box..
That is the solution? Let's not find the problem, just rebuild the desktop.
We have no debugging abilities, as we have no one with admin rights.

On Wed, Jan 19, 2011 at 11:44 AM, Axton <axton.gr...@gmail.com> wrote:

> ** Does the exception come from the included js file or from the js in the
> active link.  If the latter, it may be that the old js functions used to
> manipulate fields may have changed.
>
> On Wed, Jan 19, 2011 at 6:55 AM, Roger Justice <rjust2...@aol.com> wrote:
>
>> ** We are testing this on 7.6.03 and got an error Caught Exception:Object
>> Expected. Since this was posted in 2007 do you have any updates.
>>
>>  Subject: Re: How to capture a user's computer name in the mid-tier?
>> >
>> > Depending on your mid-tier server config, this can be a little
>> > trickier.  If you have a load balancer, you will get the ip of the
>> > load balancer, not the client.  Some load balancers allow you to send
>> > the ip through as an http header, so the js would have to be modified
>> > to account for that if this is the case.
>> >
>> > Axton Grams
>> >
>> > On 9/21/07, Kaiser Norm E CIV USAF 96 CS/SCCE <[EMAIL PROTECTED]>
>> > wrote:
>> > > Gary:
>> > >
>> > > Copy the following text into your mouse buffer and paste it into
>> > > Notepad:
>> > >
>> > >     function env_ip_var()
>> > >     {
>> > >        var return_value = "<%=request.getRemoteAddr()%>";
>> > >        return (return_value)
>> > >     }
>> > >     function env_hostname()
>> > >     {
>> > >        var return_value = "<%=request.getRemoteHost()%>";
>> > >        return (return_value)
>> > >     }
>> > >
>> > > Save the file as get_client_info.jsp.
>> > >
>> > > Then copy that file into your SHARED folder on your Midtier.
>> > >
>> > > Then open your form in the Admin tool.  Go to VIEW PROPERTIES, click
>> > the
>> > > APPEARANCE tab, and click EDIT WEB HEADER CONTENT.  Paste the
>> > following
>> > > into the field:
>> > >
>> > > <SCRIPT src="/arsys/shared/get_client_info.jsp"
>> > > language="Javascript"></SCRIPT>
>> > >
>> > > Save the form.
>> > >
>> > > Then create an active link that runs on SUBMIT or WINDOW OPEN or
>> > > whatever that does a RUN PROCESS.  The run process should be this:
>> > >
>> > > javascript.window.F(xxxfield idxxx).DoSet(env_hostname());
>> > >
>> > > Replace "xxxfield idxxx" with the field ID of the field you want to
>> > > capture the hostname.  Just put the number--no dollar signs or quotes
>> > or
>> > > anything else.
>> > >
>> > > Save the AL.  Give it a run.  Should work like a champ.
>> > >
>> > > Let me know if you have any trouble.  I have it working here on every
>> > > ticket that's submitted.
>>  _attend WWRUG11 www.wwrug.com ARSlist: "Where the Answers Are"_
>
>
> _attend WWRUG11 www.wwrug.com ARSlist: "Where the Answers Are"_
>



-- 
Patrick Zandi

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug11 www.wwrug.com ARSList: "Where the Answers Are"

Reply via email to