Re: XMLForm - How to - question

2002-11-30 Thread aps olute

Ivelin, 
So far your responses regarding this subject is to refer one to another
link which I have already read but do not quite understand well and still have
further questions that all you need is clarify it for me.  If it was that
simple  to understand I would not be asking for more clarification. I am
requesting a little more leeway as some of this concept does not sink-in yet. 
The most pressing one is the usage of a subdirectory "wizard" or "howto" in
your example(which DOES NOT WORK). Can you take a moment to clarify what
directory name should be created and to put the start.xml and most of the xml
files in your sample? 
In regards to the "{page}" question, I think I understood it, but a simple
yes or no answer would have suffice to confirm instead of  "go read the docs"
which put me back to no confidence in the sample.  Why is this so hard to do
for you experts to say "yes" the presumptions are correct or "no" its
incorrect?

Respectfully..
aps


--- aps olute <[EMAIL PROTECTED]> wrote:
>  I can not get the XMLForm Wizard How To  to work, so I tried to follow
> the sample working and have some question.
> 1. In the cocoon/samples/xmlform/sitemap.xmap how does the mapping from 
>  
>   
>...
>...
><  this part I did not
> quite
> understand.  A directory of wizard/ is there for it to work, so for the
> howto-wizard.html a corresponding howto-wizard.html/  directory must be
> created? But it seems not right as the descriptor file says  src="howto/{page}.xml"/>  VERY CONFUSING. Please help. I have it like
> cocoon/samples/xmlform/howto/start.xml  thinking it would point here and the
> error keeps popping it cannot find the
> cocoon/samples/xmlform/howto/howto-wizard.html resource can not be found.
> 
> 2. Furthermore, the {page} what is this? where does the matcher find this
> "page"? I suspect from looking at the WizardAction.java the prepare() method
> returns page(VIEW_staticonstant), are this the same "page" ?  
> 
> 3. What was done to make this "page" available to the matcher? Available in
> all
> the scope? ie, page, session, application or in particular scope only?  Also
> if
> I have a "generic type class" a servlet returns like the "page" how to make
> this available to the matcher?
> 
> 4.Looking around for same HOW-TO sample, they seem to import additional
> classes
> for example on this page,
>
http://216.239.33.100/search?q=cache:nUkMoXPuDTUC:xml.apache.org/forrest/community/howto/xmlform/step4.html+how+to+use+XMLForm+&hl=en&ie=UTF-8
> 
> __
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
> 
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. 
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
> 


__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Re: XMLForm - How to - question

2002-11-30 Thread Ivelin Ivanov

If you read up some more on Cocoon Actions in general, you will have
no problem understanding where the {page} comes from.

Look how the WizardAction uses the page() method.
Then read this:
http://xml.apache.org/cocoon/userdocs/concepts/actions.html


- Original Message -
From: "aps olute" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 29, 2002 1:13 PM
Subject: XMLForm - How to - question


> I can not get the XMLForm Wizard How To  to work, so I tried to follow
> the sample working and have some question.
> 1. In the cocoon/samples/xmlform/sitemap.xmap how does the mapping from
> 
>   
>...
>...
><  this part I did not
quite
> understand.  A directory of wizard/ is there for it to work, so for the
> howto-wizard.html a corresponding howto-wizard.html/  directory must be
> created? But it seems not right as the descriptor file says  src="howto/{page}.xml"/>  VERY CONFUSING. Please help. I have it like
> cocoon/samples/xmlform/howto/start.xml  thinking it would point here and
the
> error keeps popping it cannot find the
> cocoon/samples/xmlform/howto/howto-wizard.html resource can not be found.
>
> 2. Furthermore, the {page} what is this? where does the matcher find this
> "page"? I suspect from looking at the WizardAction.java the prepare()
method
> returns page(VIEW_staticonstant), are this the same "page" ?
>
> 3. What was done to make this "page" available to the matcher? Available
in all
> the scope? ie, page, session, application or in particular scope only?
Also if
> I have a "generic type class" a servlet returns like the "page" how to
make
> this available to the matcher?
>
> 4.Looking around for same HOW-TO sample, they seem to import additional
classes
> for example on this page,
http://216.239.33.100/search?q=cache:nUkMoXPuDTUC:xml.apache.org/forrest/com
munity/howto/xmlform/step4.html+how+to+use+XMLForm+&hl=en&ie=UTF-8
>
> __
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
>
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
>


-
Please check that your question  has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




XMLForm - How to - question

2002-11-29 Thread aps olute
 I can not get the XMLForm Wizard How To  to work, so I tried to follow
the sample working and have some question.
1. In the cocoon/samples/xmlform/sitemap.xmap how does the mapping from 
 
  
   ...
   ...
   <  this part I did not quite
understand.  A directory of wizard/ is there for it to work, so for the
howto-wizard.html a corresponding howto-wizard.html/  directory must be
created? But it seems not right as the descriptor file says   VERY CONFUSING. Please help. I have it like
cocoon/samples/xmlform/howto/start.xml  thinking it would point here and the
error keeps popping it cannot find the
cocoon/samples/xmlform/howto/howto-wizard.html resource can not be found.

2. Furthermore, the {page} what is this? where does the matcher find this
"page"? I suspect from looking at the WizardAction.java the prepare() method
returns page(VIEW_staticonstant), are this the same "page" ?  

3. What was done to make this "page" available to the matcher? Available in all
the scope? ie, page, session, application or in particular scope only?  Also if
I have a "generic type class" a servlet returns like the "page" how to make
this available to the matcher?

4.Looking around for same HOW-TO sample, they seem to import additional classes
for example on this page, 
http://216.239.33.100/search?q=cache:nUkMoXPuDTUC:xml.apache.org/forrest/community/howto/xmlform/step4.html+how+to+use+XMLForm+&hl=en&ie=UTF-8

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>