You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by ANDI KUSNADI <my...@yahoo.com> on 2004/08/27 09:19:50 UTC
Help me please how to WritingNonPipelineSitemapComponents (actions, matchers, selectors, readers)
Dear all,
how to made simplest hello world from
WritingNonPipelineSitemapComponents (actions, matchers, selectors, readers)
any kind help i just say thank you alot
best regards
andi kusnadi
---------------------------------
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
request-method action misunderstanding
Posted by Phil Blake <ph...@sparkbc.com.au>.
Hi All,
The request-method action is appearing to fail in the following
example. I don't understand what is going on.
I have a matcher:
<map:match pattern="app/model/form.html">
<map:act type="auth-protect">
<map:parameter name="handler" value="auth-handler"/>
<map:select type="request-method">
<map:when test="GET">
<map:call function="flowSwitch"/>
</map:when>
<map:when test="POST">
<map:call continuation="{request-param:continuation-id}"/>
</map:when>
</map:select>
</map:act>
<map:redirect-to uri="public/home/noAuthorisation.html"/>
</map:match>
but when the request comes in I get: (from logs with bits removed and a
highlighted "+null" - does anyone know what that is?)
Date: Thu Sep 23 13:25:23 EST 2004 (1095909923119)
Message: BEGIN act
resolver=org.apache.cocoon.environment.http.HttpEnvironment@8f85d4,
objectModel={org.apache.cocoon.components.CocoonComponentManager=org.apa
che.cocoon.components.EnvironmentDescription@9b26b6,
httpservletcontext=org.mortbay.jetty.servlet.ServletHandler$Context@1b2f
47,
source-
resolver=org.apache.cocoon.environment.http.HttpEnvironment@8f85d4,
context=org.apache.cocoon.environment.http.HttpContext@bce693,
httprequest=+/app/model/form.html+null
POST
/app/model/form.html?continuation-
id=0a238264606c55174666808f7727632b3b1a6419 HTTP/1.1
Host: bigdog.local:8888
Connection: close
Referer: http://bigdog.local:8888/app/model/form.html
Date: Thu Sep 23 13:25:23 EST 2004 (1095909923123)
Current Sitemap Parameters:
LEVEL 2
PARAM: 'handler' VALUE: 'auth-handler'
PARAM: 'ID' VALUE: '1'
LEVEL 1
PARAM: '../0' VALUE: 'app/model/form.html'
Date: Thu Sep 23 13:25:23 EST 2004 (1095909923230)
Message: WK: Just Created New Continuation
256c796f7862502e2525250a614e202e213d1e68
Doesn't this mean that the action tested true to the "GET" match and
it's run my flow? how is this possible?
Thanks in advance.
Phil
PS. For sanity I checked the request coming in (log follows). The
continuation id is present and correct. What have I done wrong?
Date: Thu Sep 23 13:25:23 EST 2004 (1095909923084)
REQUEST: /app/model/form.html
REQUEST SESSION ID: 23qq780r0rbkm
METHOD: POST
CONTENT LENGTH: 941
PROTOCOL: HTTP/1.1
SCHEME: http
AUTH TYPE: null
CURRENT ACTIVE REQUESTS: 1
REQUEST PARAMETERS:
PARAM: 'kriEntryDue615' VALUES: '[]'
PARAM: 'kriEntryDue607' VALUES: '[]'
PARAM: 'kriEntryDue618' VALUES: '[]'
PARAM: 'kriEntryDue581' VALUES: '[]'
PARAM: 'kriEntryDue629' VALUES: '[]'
PARAM: 'kriEntryDue606' VALUES: '[]'
PARAM: 'kriEntryDue608' VALUES: '[]'
PARAM: 'kriEntryDue580' VALUES: '[]'
PARAM: 'kriEntryDue599' VALUES: '[]'
PARAM: 'kriEntryDue620' VALUES: '[]'
PARAM: 'kriEntryDue613' VALUES: '[]'
PARAM: 'kriEntryDue605' VALUES: '[]'
PARAM: 'kriEntryDue597' VALUES: '[]'
PARAM: 'kriEntryDue602' VALUES: '[]'
PARAM: 'continuation-id' VALUES:
'[0a238264606c55174666808f7727632b3b1a6419]'
PARAM: 'kriEntryDue585' VALUES: '[]'
PARAM: 'kriEntryDue596' VALUES: '[]'
PARAM: 'kriEntryDue612' VALUES: '[]'
PARAM: 'tab-state' VALUES: '[0]'
PARAM: 'forms_submit_id' VALUES: '[]'
PARAM: 'kriEntryDue626' VALUES: '[]'
PARAM: 'kriEntryDue595' VALUES: '[]'
PARAM: 'kriEntryDue614' VALUES: '[]'
PARAM: 'kriEntryDue625' VALUES: '[]'
PARAM: 'kriEntryDue588' VALUES: '[]'
PARAM: 'kriEntryDue617' VALUES: '[]'
PARAM: 'kriEntryDue616' VALUES: '[]'
PARAM: 'kriEntryForConfirmation600' VALUES: '[10]'
PARAM: 'kriEntryDue623' VALUES: '[]'
PARAM: 'kriEntryDue601' VALUES: '[]'
PARAM: 'kriEntryDue610' VALUES: '[]'
PARAM: 'kriEntryDue632' VALUES: '[]'
PARAM: 'kriEntryDue621' VALUES: '[]'
PARAM: 'kriEntryDue591' VALUES: '[]'
PARAM: 'kriEntryDue628' VALUES: '[]'
PARAM: 'kriEntryDue598' VALUES: '[]'
PARAM: 'kriEntryDue587' VALUES: '[]'
PARAM: 'kriEntryDue631' VALUES: '[]'
PARAM: 'kriEntryDue635' VALUES: '[]'
PARAM: 'kriEntryDue624' VALUES: '[]'
PARAM: 'kriEntryDue627' VALUES: '[]'
PARAM: 'kriEntryDue611' VALUES: '[]'
PARAM: 'kriEntryDue589' VALUES: '[]'
PARAM: 'kriEntryDue633' VALUES: '[]'
PARAM: 'kriEntryDue622' VALUES: '[]'
PARAM: 'kriEntryDue634' VALUES: '[]'
PARAM: 'kriEntryDue582' VALUES: '[123]'
PARAM: 'kriEntryDue604' VALUES: '[]'
PARAM: 'kriEntryDue584' VALUES: '[]'
PARAM: 'kriEntryDue592' VALUES: '[]'
PARAM: 'kriEntryDue630' VALUES: '[]'
PARAM: 'kriEntryDue603' VALUES: '[]'
PARAM: 'kriEntryDue619' VALUES: '[]'
PARAM: 'kriEntryDue609' VALUES: '[]'
PARAM: 'kriEntryDue590' VALUES: '[]'
PARAM: 'kriEntryDue594' VALUES: '[]'
PARAM: 'kriEntryDue583' VALUES: '[]'
PARAM: 'kriEntryDue586' VALUES: '[]'
PARAM: 'kriEntryDue593' VALUES: '[]'
HEADER PARAMETERS:
PARAM: 'Host' VALUES: '[bigdog.local:8888]'
PARAM: 'Connection' VALUES: '[close]'
PARAM: 'Referer' VALUES:
'[http://bigdog.local:8888/app/model/form.html]'
PARAM: 'User-Agent' VALUES: '[Mozilla/5.0 (Macintosh; U; PPC Mac OS X;
en) AppleWebKit/125.5 (KHTML], [like Gecko) Safari/125.9]'
PARAM: 'Content-Type' VALUES: '[application/x-www-form-urlencoded]'
PARAM: 'Content-Length' VALUES: '[941]'
SESSION ATTRIBUTES:
PARAM: 'dataContext' VALUE:
'org.objectstyle.cayenne.access.DataContext@404c85'
PARAM:
'org.apache.cocoon.webapps.authentication.components.DefaultAuthenticati
onManager/UserStatus' VALUE:
'org.apache.cocoon.webapps.authentication.user.UserState@a4cef0'
PARAM: 'FOM JavaScript GLOBAL SCOPE' VALUE:
'{file:/usr/local/development/ProtechtEnterprise/build/ant.build/
ProtechtEnterprise/ProtechtEnterprise.war/./
=org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpre
ter$ThreadScope@66c508}'
PARAM: 'cayenne.datacontext' VALUE:
'org.objectstyle.cayenne.access.DataContext@404c85'
Re: Help me please how to WritingNonPipelineSitemapComponents (actions, matchers, selectors, readers)
Posted by ANDI KUSNADI <my...@yahoo.com>.
i see from http://localhost:8080/cocoon/samples/blocks/tour/intro/docs/bizlayer.html
from that pages i see bsiness layer options and the choices are avalon,independent java code ,etc.
1. and i see from the wiki in pages DevelopingComponents there's some overview in writing component with Writingpipelinesitemapcomponents , but i don't how to implements the simples thing WritingNonPipelinesitemapcomponents. if somebody give me some samples , i very appreciate.
2. if i get to now how i do it from this mail list . is it can be called by flow script ?
thank you
andi kusnadi
KOZLOV Roman <ro...@opencascade.com> wrote:
Hi,
Could you, please, specify a little bit more what do you mean by
"WritingNonPipelineSitemapComponents" ?
Did you read cocoon's documentation?
Roman
ANDI KUSNADI wrote:
> Dear all,
>
> how to made simplest hello world from
>
> WritingNonPipelineSitemapComponents (actions, matchers, selectors,
> readers)
>
> any kind help i just say thank you alot
>
> best regards
>
> andi kusnadi
>
>
>
> -----------------------------------------------------------------------
> Do you Yahoo!?
> Yahoo! Mail is new and improved - Check it out!
>
> ----------------------------------------------------------------
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
---------------------------------
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
Re: Help me please how to WritingNonPipelineSitemapComponents (actions, matchers, selectors, readers)
Posted by ANDI KUSNADI <my...@yahoo.com>.
i see from http://localhost:8080/cocoon/samples/blocks/tour/intro/docs/bizlayer.html
from that pages i see bsiness layer options and the choices are avalon,independent java code ,etc.
1. and i see from the wiki in pages DevelopingComponents there's some overview in writing component with Writingpipelinesitemapcomponents , but i don't how to implements the simples thing WritingNonPipelinesitemapcomponents. if somebody give me some samples , i very appreciate.
2. if i get to now how i do it from this mail list . is it can be called by flow script ?
thank you
andi kusnadi
KOZLOV Roman <ro...@opencascade.com> wrote:
Hi,
Could you, please, specify a little bit more what do you mean by
"WritingNonPipelineSitemapComponents" ?
Did you read cocoon's documentation?
Roman
ANDI KUSNADI wrote:
> Dear all,
>
> how to made simplest hello world from
>
> WritingNonPipelineSitemapComponents (actions, matchers, selectors,
> readers)
>
> any kind help i just say thank you alot
>
> best regards
>
> andi kusnadi
>
>
>
> -----------------------------------------------------------------------
> Do you Yahoo!?
> Yahoo! Mail is new and improved - Check it out!
>
> ----------------------------------------------------------------
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Re: Help me please how to WritingNonPipelineSitemapComponents (actions,
matchers, selectors, readers)
Posted by KOZLOV Roman <ro...@opencascade.com>.
Hi,
Could you, please, specify a little bit more what do you mean by
"WritingNonPipelineSitemapComponents" ?
Did you read cocoon's documentation?
Roman
ANDI KUSNADI wrote:
> Dear all,
>
> how to made simplest hello world from
>
> WritingNonPipelineSitemapComponents (actions, matchers, selectors,
> readers)
>
> any kind help i just say thank you alot
>
> best regards
>
> andi kusnadi
>
>
>
> -----------------------------------------------------------------------
> Do you Yahoo!?
> Yahoo! Mail is new and improved - Check it out!
>
> ----------------------------------------------------------------
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org