Re: [Zope-dev] ODBC Error

2000-09-14 Thread Hung Jung Lu
--- In [EMAIL PROTECTED], Julio Flores Schwarzbeck [EMAIL PROTECTED] wrote: The problem is that no matter what I do, with any valid sql statement like "select * from test1" gives me the following error: Error Type: ValueError Error Value: unpack sequence of wrong size (RoleMgr) Has anyone

Re: [Zope-dev] Using Java-Script with DTML

2000-06-29 Thread Hung Jung Lu
--- In [EMAIL PROTECTED], Thomas Weholt [EMAIL PROTECTED] wrote: script language="javascript1.2 function ShowStuff(params){ var text = "dtml-in expr="sqlMethod(some_id=params" !-- this does not work, of course. How I can I pass argument thru Javascript to the sqlMethod ?? ---

Re: [Zope-dev] Getting SessionUID from FSSession

2000-06-16 Thread Hung Jung Lu
--- In [EMAIL PROTECTED], "Jeff Nielsen" [EMAIL PROTECTED] wrote: How can I gather the current SessionUID from FSSession? From the docs, I gather that dtml-var "FSSession['SessionUID']" should return the SessionUID, but it always returns "None". Can anyone clue me in? Try: dtml-var