Mark Lundquist-2 wrote:
Now i understood, that the flow-script is indeed
javascript, but it only regulates the when which page will be called,
yes server side, and no, thats not where
the business logic is placed, that is in the jx-templates served by the
JXTemplateGenerator
Hi;
I installed the cocoon-authentication block (cocoon-2.2).
The installation looks like it was successfull, my pages
are secured and i get the login-mask as expected.
Now i want to create a flow-script, where i want to access the
current credentials (i.e. the current userId) and pass this
Tony Edwards wrote:
Hi Alberto,
I'm not too sure about PreparedStatements in Oracle, but I connect to
a database using jdbc from flow like this:
function getConnection(){
//I obtain these values from an xml file
var dbUrl = jdbc:oracle:thin:@servername:1521:dbname;
var dbUSerName =
How to proceed ?
And then after i got this initial setup running, how would i have to
call
for the userId ?
Is there something like appMan.getUserId() or similar ? Is there some
documentation about the
authentication-api available? and how the data is accessible from a
flowscript ?
Hi
On Sep 13, 2008, at 1:35 AM, hussayn wrote:
[examples snipped...] Is that more or less a correct description of
the nuts and bolts ?
Yes, exactly, you are totally getting it now! :-)
cheers,
—ml—
-
To unsubscribe,
On Sep 13, 2008, at 1:35 AM, hussayn wrote:
[...]
cocoon.sendPageAndWait(helloWorld.jx, { date: now } );
[...]
BTW... make sure you understand the difference between
sendPageAndWait() and sendPage(). It has to do with continuations,
and I don't have time to explain it now but you will
On Sep 13, 2008, at 1:35 AM, hussayn wrote:
1.) Create a flowScript (e.g. main.js).
In that flowscript prepare all data by accessing the relevant beans,
possibly trigger calculations by calling bean-methods,
and fetching the relevant data by accessing the bean getters