--
You received this message because you are subscribed to the Google Groups "Enterprise Web Developer Community" group.
To post to this group, send an email to enterprise-web-de...@googlegroups.com.
To unsubscribe from this group, send email to enterprise-web-develope...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/enterprise-web-developer-community?hl=en-GB.
D LIST^DIC(2,,,"Q",500,,KBAZNAME,"B",KBAZSC,KBAZWRIT,"KBAZTEMP")
N LIST S LIST=$NA(KBAZTEMP("DILIST")) ; abbreviate return list nameN KBAZCNT S KBAZCNT=0F D Q:'KBAZCNT. S KBAZCNT=$O(@LIST@(1,KBAZCNT)). Q:'KBAZCNT. N NAME S NAME=@LIST@(1,KBAZCNT) ; Name (.01). N KBAZWRB S KBAZWRB=$G(@LIST@("ID","WRITE",KBAZCNT,3)) ; wrd, rm-bd. S KBAZPATS(KBAZCNT)=NAME_" "_KBAZWRB;QUIT ; end of EWDPERS
<st:field type="combo" id="patient" label="Patient:" labelWidth="25%" method="EWDPERS^KBAZFHDC" panelHeight="400" />
> > To post to this group, send an email to enterprise-web-developer-comm...@googlegroups.com.
> > To unsubscribe from this group, send email to enterprise-web-developer-community+unsubscribe@googlegroups.com.
Note the line wrapping (every 80 characters?) which wrecks the Javascript. I'm assuming that the IO device is not back to where it started. So my question is, is there a way to do this properly, calling a PIPES device but then resetting ewd's IO for the return?
Thanks,
Michael Reach
(By the way, if this can be made to work, I have a FM Print page ready to go as well.)
s IOM=80 ; RIGHT MARGIN
s IOSL=24 ; SCREEN/PAGE LENGTH
s IOST(0)=60 ; SUBTYPE NUMBER, ien in TERMINAL TYPE file
is enough to fool Fileman into thinking that it's writing to a terminal, so that the Captioned output works. Thanks!
Here's how I do it:
In the routine:
; Move to EWD Session global
d clearSessionArray^%zewdAPI("DIINQUIRE",sessid)
d mergeGlobalToSession^%zewdAPI($NAME(^TMP("EWDU",$J)),"DIINQUIRE",sessid)
On the page fragment:
<ewd:config isFirstPage="false" pageType="ajax"
prePageScript="INQ^C0EDIINQUIRE">
<ewd:forEach sessionName="DIINQUIRE" index="$lineNo" return="$data">
<?= $data ?><br />
</ewd:forEach>
Sam
PS: The M 95 standard specifies that the maximum global length of a
single node is 255 characters. Cache supports up to 32K, GT.M supports
up to 64K; but I think both companies don't recommend having anything
that large because of inefficiencies at the OS level having to do with
interactions with the Block size on the OS.
On Fri, Jun 8, 2012 at 9:57 AM, Michael Reach Michael Reach wrote:
> One issue that is maybe a question for Rob Tweed:
> When I do my FM Inquiry, I post the result back to the page by placing the
> inquiry output in a session variable. That works okay if it isn't too big.
> If the inquiry result is more than 4080 characters, I get a gt.m error in
> setSessionValue^%zewdAPI
> %GTM-E-REC2BIG, Record size (4967) is greater than maximum (4080) for
> region: DEFAULT,%GTM-I-GVIS, Global variable:
> ^%zewdSession("session",1801,"results")
> Is there a better way to do this - how does ewd handle large chunks of data?
> Thanks,
> Michael
>
> --
> You received this message because you are subscribed to the Google Groups
> "Enterprise Web Developer Community" group.
> To view this discussion on the web, visit
> https://groups.google.com/d/msg/enterprise-web-developer-community/-/KODcp1baNXYJ.
>
> To post to this group, send an email to
> To unsubscribe from this group, send email to