XMLFormTransformer: unknown element [item]

2003-06-30 Thread Hill Karimov
Hi, I get following error in error.log on demo xmlForm: ERROR (2003-06-30) 11:27.58:188 [xmlform.sitemap.transformer] (/cocoon/samples/xmlform/wizard) Thread-14/XMLFormTransformer: unknown element [item] ERROR (2003-06-30) 11:27.58:188 [xmlform.sitemap.transformer]

java.net.SocketException: Connection reset by peer: socket write error

2003-06-27 Thread Hill Karimov
Hi all, After update my cocoon 2.1-dev to cocoon 2.1m2, I get these exceptions in error.log: ERROR (2003-06-27) 15:52.52:235 [access] (/cocoon/test/ftv2mlastnode.gif) Thread-17/CocoonServlet: Internal Cocoon Problem java.net.SocketException: Connection reset by peer: socket write error

get request attribute in sitemap

2003-06-17 Thread Hill Karimov
Hi all, Is possible to get request attribute in sitemap? some like to get request parameter: map:match pattern=delete_account.html map:act set=process map:parameter name=descriptor value=descriptors/form_account.xml/ /map:act !-- ??? some like it -- map:act

Re: get request attribute in sitemap

2003-06-17 Thread Hill Karimov
-param:name}/ /map:transform So, Peter will be passed to the transform as a parameter. Is this what you're after? Upayavira On 17 Jun 2003 at 3:36, Hill Karimov wrote: Hi all, Is possible to get request attribute in sitemap? some like to get request parameter: map:match

Re: get request attribute in sitemap

2003-06-17 Thread Hill Karimov
}/ /map:transform So, Peter will be passed to the transform as a parameter. Is this what you're after? Upayavira On 17 Jun 2003 at 3:36, Hill Karimov wrote: Hi all, Is possible to get request attribute in sitemap? some like to get request parameter: map:match pattern

How can I send sitemap param from my wizard action?

2003-06-10 Thread Hill Karimov
Hi all, How I see AbstractXMLFormAction.page(..), objectMap is creating new: protected Map page(String pageName) { Map objectModel = new HashMap(); objectModel.put(OBJECT_MAP_NEXT_PAGE, pageName); return objectModel; } What if I want send some sitemap param from my wizard action (

Is it possible to run other action inside xmlForm action?

2003-06-10 Thread Hill Karimov
Hi all, Is it possible to run other action that extends AbstractComplementaryConfigurableAction inside xmlForm? e.g.: run org.apache.cocoon.acting.DatabaseAddAction public Map perform () { ... } else if ( formView.equals ( VIEW_CONFIRM ) ) { if ( command.equals( CMD_NEXT ) ) { // here

Re: create new Violation: xmlForm

2003-06-03 Thread Hill Karimov
(AddViolation(/card, New Error)); Hope this helps! Andrew Hill Karimov wrote: Hi all, Question about xmlForm: I want create new Violation and add it to Form. What I do, here is snatch from my wizard action: ... public Map perform () { VendorPhoneCard jBean

logic in sitemap.xmap

2003-06-03 Thread Hill Karimov
Hi all, Is possible to use complex logic in sitemap? How I know I can use this code: map:select type=request-attribute map:parameter name=attribute-name value=cocoon-action-run/ map:when test=true ... for logic: if (

Re: logic in sitemap.xmap

2003-06-03 Thread Hill Karimov
I use cocoon 2.1 dev. How more complex logics I can use? Is there some docs, examples or links? What is 'check out flow' ? Could you give me some example? Thanks a lot, Hill --- Geoff Howard [EMAIL PROTECTED] wrote: Complex logic is intentionally excluded. What version are you using? 2.0

create new Violation: xmlForm

2003-05-31 Thread Hill Karimov
Hi all, Question about xmlForm: I want create new Violation and add it to Form. What I do, here is snatch from my wizard action: ... public Map perform () { VendorPhoneCard jBean = (VendorPhoneCard) getForm().getModel(); if ( ... some validation ... ) { Violation newViolation