> -----Original Message-----
> From: users-boun...@xwiki.org
> [mailto:users-boun...@xwiki.org] On Behalf Of Guillaume Lerouge
> Sent: Monday, November 16, 2009 12:39 PM
> To: XWiki Users
> Subject: Re: [xwiki-users] problem with FAQ tutorial .. space
> assignment?
>
> Hi Mark,
>
> glad to know that "fixed" your issue.
>
> Sergiu & al: since we changed the creation form to remove the
> need for JS for the form to work we didn't add a new way to
> filter invalid characters prior to creating the URL called to
> create the new document. I added some "cleaning" code to do
> this for the FAQ example but it would be much better if we
> had a standard velocity method to perform that cleaning prior
> to page creation.
>
> Is there anything we could use to do that?

I've been using util.clearName(name). Is that right?

-Joshua

>
> Guillaume
>
> On 11/16/09, mark_marzi...@bcbsil.com
> <mark_marzi...@bcbsil.com> wrote:
> > Hi Guillaume,
> >
> > You got it! Plain old alphanumeric goes into the FAQ space,
> anything
> > else goes to Main.
> >
> > Every !...@#$! entry I created I used a hyphen or a comma or something
> > not strictly alphanumeric somewhere in the entry. Silly me!
> >
> > Thanks et al,
> > Mark
> >
> > BCBS-IL
> > ph 312-653-4293
> > mark_marzi...@bcbsil.com
> >
> >
> >
> >
> >
> > Guillaume Lerouge <guilla...@xwiki.com> Sent by:
> > users-boun...@xwiki.org
> > 11/16/2009 12:09 PM
> > Please respond to
> > XWiki Users <users@xwiki.org>
> >
> >
> > To
> > XWiki Users <users@xwiki.org>
> > cc
> >
> > Subject
> > Re: [xwiki-users] problem with FAQ tutorial .. space assignment?
> >
> >
> >
> >
> >
> >
> > Hi Mark,
> >
> > I've tested your XAR on my machine on a fresh XE 2.0 instance and...
> > it works perfectly well.
> >
> > I think the problem comes from the text you're inputting in
> the input
> > under "Add a new question" on FAQ.WebHome. I see the first question
> > you created is named
> "FAQ.First+question%2C+entered+as+Admin/" -> can
> > you try entering an new question that is simply called "test" (no
> > special characters) and see what happens when you do that?
> >
> > In my case it created http://localhost:9080/xwiki/bin/view/FAQ/test
> > which is the expected behavior.
> >
> > I suspect the characters you entered in the input triggered the
> > creation in the wrong location. If that's so, we'll update the FAQ
> > application example to include better name cleaning prior
> to document
> > creation.
> >
> > Guillaume
> >
> > On 11/16/09, mark_marzi...@bcbsil.com
> <mark_marzi...@bcbsil.com> wrote:
> >> Hi Vincent et al,
> >>
> >> Thanks again for the help, very much appreciated.
> >>
> >> This url should get you to a gui where you select the file to dl:
> >> http://www.esnips.com/web/MarkMarzialepublicfolder
> >>
> >> There's only 1 file in this folder, named 'myxwiki_export.xar'.
> >> Should stick out like a sore thumb.
> >>
> >> Let me know if you have any trouble.
> >>
> >> Thanks,
> >> Mark
> >>
> >> BCBS-IL
> >> ph 312-653-4293
> >> mark_marzi...@bcbsil.com
> >>
> >>
> >>
> >>
> >>
> >> Vincent Massol <vinc...@massol.net>
> >> Sent by: users-boun...@xwiki.org
> >> 11/16/2009 11:03 AM
> >> Please respond to
> >> XWiki Users <users@xwiki.org>
> >>
> >>
> >> To
> >> XWiki Users <users@xwiki.org>
> >> cc
> >>
> >> Subject
> >> Re: [xwiki-users] problem with FAQ tutorial .. space assignment?
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >> On Nov 16, 2009, at 5:36 PM, mark_marzi...@bcbsil.com wrote:
> >>
> >>> Hi Vincent,
> >>>
> >>> That's a very generous offer and well appreciated.
> >>>
> >>> At the moment I don't have a url to point you to, but I'll find
> >>> something.
> >>>
> >>> I assume 'Export as XAR' from the xwiki Main page is sufficient?
> >>
> >> Go to the Admin page, then click export. That'll export the whole
> >> wiki but it doesn't matter (unless you want to hide stuff,
> in which
> >> case you could just export the 4 pages: FAQClass, FAQTemplate,
> >> FAQSheet and FAQ.WebHome by navigating to each page and choosing
> >> export as XAR in the top menu).
> >>
> >> Of course if your wiki has a public URL it's even easier (but it's
> >> probably not the case).
> >>
> >> Thanks
> >> -Vincent
> >>
> >>> The
> >>> resulting xar doesn't seem to have enough content to be
> of use. I'm
> >>> guessing that's because I'm using an external db (MySql). If I'm
> >>> right about that, then I can reinstall the standalone xwiki using
> >>> the default hsqldb, rebuild the faq and try again.
> >>>
> >>> Or perhaps I should export from the FAQ space itself?
> >>>
> >>> Thanks,
> >>> Mark
> >>>
> >>> BCBS-IL
> >>> ph 312-653-4293
> >>> mark_marzi...@bcbsil.com
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> Vincent Massol <vinc...@massol.net>
> >>> Sent by: users-boun...@xwiki.org
> >>> 11/16/2009 10:19 AM
> >>> Please respond to
> >>> XWiki Users <users@xwiki.org>
> >>>
> >>>
> >>> To
> >>> XWiki Users <users@xwiki.org>
> >>> cc
> >>>
> >>> Subject
> >>> Re: [xwiki-users] problem with FAQ tutorial .. space assignment?
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> On Nov 16, 2009, at 5:10 PM, mark_marzi...@bcbsil.com wrote:
> >>>
> >>>> Hi Vincent,
> >>>>
> >>>> Thanks yet again.
> >>>>
> >>>> Sadly I'm still creating FAQ entries in the Main space,
> not the FAQ
> >>>> space.
> >>>>
> >>>> I'm going to need a little time to cry it all out before I try
> >>>> again. I'd pull my hair out but there's not enough to get a hold
> >>>> on.
> >>>
> >>> If you can export your wiki as a XAR and make it
> available somewhere
> >>> at a URL, we could try it out and see what's wrong.
> >>>
> >>> Thanks
> >>> -Vincent
> >>>
> >>>>
> >>>> Thanks,
> >>>> Mark
> >>>>
> >>>> BCBS-IL
> >>>> ph 312-653-4293
> >>>> mark_marzi...@bcbsil.com
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> Vincent Massol <vinc...@massol.net> Sent by:
> >>>> users-boun...@xwiki.org
> >>>> 11/16/2009 09:59 AM
> >>>> Please respond to
> >>>> XWiki Users <users@xwiki.org>
> >>>>
> >>>>
> >>>> To
> >>>> XWiki Users <users@xwiki.org>
> >>>> cc
> >>>>
> >>>> Subject
> >>>> Re: [xwiki-users] problem with FAQ tutorial .. space assignment?
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> On Nov 16, 2009, at 4:20 PM, mark_marzi...@bcbsil.com wrote:
> >>>>
> >>>>> Hi Vincent,
> >>>>>
> >>>>> One point I want to check out with you. The part of the
> tutorial
> >>>>> under the heading 'Create a homepage for your application' is a
> >>>>> little unclear to me. I was told the FAQ was written during an
> >>>>> earlier version of xwiki when a Space was called a Web.
> >>>>
> >>>> This was true in the past but the FAQ tutorial and the
> XWiki Class
> >>>> Wizard were rewritten in XWiki Enterprise 2.0 so it's no
> longer true.
> >>>>
> >>>>> In latter attempts to follow the tutorial I've
> interpreted 'Go to
> >>>>> the "FAQ.WebHome" page' as:
> >>>>> Go to the Wiki Dashboard (in my setup
> >>>>> http://localhost/xwiki/bin/view/Main/)
> >>>>
> >>>> This is not correct. FAQ.WebHome is well... FAQ/WebHome (or FAQ/
> >>>> for short).
> >>>>
> >>>>> click on the unresolved link in the FAQ space edit the
> resulting
> >>>>> page at http://localhost/xwiki/bin/view/FAQ/
> >>>>
> >>>> Yes this will create the FAQ.WebHome page.
> >>>>
> >>>>> I've been told the url http://localhost/xwiki/bin/view/FAQ/ is
> >>>>> equivalent to
> http://localhost/xwiki/bin/view/FAQ/WebHome/ but I'm
> >>>>> a little shaky on that point.
> >>>>
> >>>> Yes it's the same. Forget FAQ/, this is just a shortcut.
> Always use
> >>>> the fully-qualified name and you'll be fine.
> >>>>
> >>>>> Since the code on this page actually creates the new
> FAQ entries,
> >>>>> and FAQ entries are definitely being created (though not in the
> >>>>> FAQ space), I've been thinking this confusion isn't critical to
> >>>>> creating entries in the right space. Is that wrong?
> >>>>
> >>>> It's not critical at all. In the tutorial it just asks you to
> >>>> create the FAQ.WebHome page. I've (hopefully) clarified
> this on the
> >>>> FAQ tutorial page.
> >>>>
> >>>> So is all working for you now?
> >>>>
> >>>> Thanks
> >>>> -Vincent
> >>>>
> >>>>> ---
> >>>>>
> >>>>> For completeness, here's the FAQSheet code:
> >>>>> {{velocity}}
> >>>>> ## You can modify this page to customize the
> presentation of your
> >>>>> object.
> >>>>> ## At first you should keep the default presentation
> and just save
> >>>>> the document.
> >>>>> = Document $doc.name =
> >>>>>
> >>>>> #set($class = $doc.getObject('FAQ.FAQClass').xWikiClass)
> >>>>>
> >>>>> #foreach($prop in $class.properties) ; $prop.prettyName
> >>>>> : $doc.display($prop.getName())
> >>>>> #end
> >>>>> {{/velocity}}
> >>>>>
> >>>>> Thanks,
> >>>>> Mark
> >>>>>
> >>>>> Vincent Massol <vinc...@massol.net> Sent by:
> >>>>> users-boun...@xwiki.org
> >>>>> 11/16/2009 09:05 AM
> >>>>> Please respond to
> >>>>> XWiki Users <users@xwiki.org>
> >>>>>
> >>>>>
> >>>>> To
> >>>>> XWiki Users <users@xwiki.org>
> >>>>> cc
> >>>>>
> >>>>> Subject
> >>>>> Re: [xwiki-users] problem with FAQ tutorial .. space assignment?
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>> On Nov 16, 2009, at 3:53 PM, mark_marzi...@bcbsil.com wrote:
> >>>>>
> >>>>>> Hi Vincent,
> >>>>>>
> >>>>>> Thanks again for your help.
> >>>>>>
> >>>>>> As far as the code goes, I did change the default
> space for the
> >>>>>> FAQClass to FAQ just as the tutorial stated. The code
> is earlier
> >>>>>> in this email
> >>>>>> trail:
> >>>>>>
> >>>>>>>>> #set($defaultParent = 'FAQ.WebHome') #set($defaultSpace =
> >>>>>>>>> 'FAQ')
> >>>>>
> >>>>> Ok I hadn't checked the code you sent. It looks ok. I don't see
> >>>>> the FAQSheet code though.
> >>>>>
> >>>>> Anyway let us know how your 3rd try goes.
> >>>>>
> >>>>> Thanks
> >>>>> -Vincent
> >>>>>
> >>>>>>
> >>>>>> I'm doing this all again from scratch. Maybe 3rd time
> is a charm.
> >>>>>>
> >>>>>> Thanks,
> >>>>>> Mark
> >>>>>>
> >>>>>> BCBS-IL
> >>>>>> ph 312-653-4293
> >>>>>> mark_marzi...@bcbsil.com
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>> Vincent Massol <vinc...@massol.net> Sent by:
> >>>>>> users-boun...@xwiki.org
> >>>>>> 11/16/2009 08:46 AM
> >>>>>> Please respond to
> >>>>>> XWiki Users <users@xwiki.org>
> >>>>>>
> >>>>>>
> >>>>>> To
> >>>>>> XWiki Users <users@xwiki.org>
> >>>>>> cc
> >>>>>>
> >>>>>> Subject
> >>>>>> Re: [xwiki-users] problem with FAQ tutorial .. space
> assignment?
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>> On Nov 16, 2009, at 3:26 PM, mark_marzi...@bcbsil.com wrote:
> >>>>>>
> >>>>>>> Hi Vincent,
> >>>>>>>
> >>>>>>> Thanks for your help. I'm sure I'm doing something wrong. My
> >>>>>>> difficulty is in finding what it is I'm doing wrong.
> I'll review
> >>>>>>> the steps again, this time paying special attention to the
> >>>>>>> points you raised.
> >>>>>>>
> >>>>>>> It'd help if you could expand on " .. or have set up some
> >>>>>>> different configuration for the default wiki syntax for new
> >>>>>>> pages". I installed xwiki from scratch, then pulled in
> >>>>>>> xwiki-enterprise-wiki-2.0.xar, then started typing in the faq
> >>>>>>> example. If that somehow affected the configuration
> for default
> >>>>>>> wiki syntax, I'm not aware how.
> >>>>>>
> >>>>>> If you haven't touched the default config then all new
> pages are
> >>>>>> created in XWiki Syntax 2.0 by default, which is fine
> and matches
> >>>>>> the FAQ tutorial expectations.
> >>>>>>
> >>>>>> In
> >>>>>>
> >>>>>
> >>>>
> >>>
> >>
> >
> http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorial#HCreatet
> > heFAQClass
> >
> >>
> >>>
> >>>>
> >>>>>
> >>>>>>
> >>>>>> , there's a step where you'll see:
> >>>>>> #set($defaultSpace = 'Main')
> >>>>>>
> >>>>>> As described, replace "Main" with the space where you want the
> >>>>>> docs to be created, for ex: "FAQ".
> >>>>>>
> >>>>>> Thanks
> >>>>>> -Vincent
> >>>>>>
> >>>>>>> Point noted on user contributed code.
> >>>>>>>
> >>>>>>> Thanks,
> >>>>>>> Mark
> >>>>>>>
> >>>>>>> BCBS-IL
> >>>>>>> ph 312-653-4293
> >>>>>>> mark_marzi...@bcbsil.com
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>> Vincent Massol <vinc...@massol.net> Sent by:
> >>>>>>> users-boun...@xwiki.org
> >>>>>>> 11/16/2009 08:17 AM
> >>>>>>> Please respond to
> >>>>>>> XWiki Users <users@xwiki.org>
> >>>>>>>
> >>>>>>>
> >>>>>>> To
> >>>>>>> XWiki Users <users@xwiki.org>
> >>>>>>> cc
> >>>>>>>
> >>>>>>> Subject
> >>>>>>> Re: [xwiki-users] problem with FAQ tutorial .. space
> assignment?
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>> Hi Mark,
> >>>>>>>
> >>>>>>> On Nov 16, 2009, at 2:42 PM, mark_marzi...@bcbsil.com wrote:
> >>>>>>>
> >>>>>>>> Hi Josh,
> >>>>>>>>
> >>>>>>>> Thanks for your reply and interest.
> >>>>>>>>
> >>>>>>>> Unfortunately I haven't been able to figure out what
> the heck
> >>>>>>>> I'm doing wrong in this relatively simple case. Beginning to
> >>>>>>>> look at alternative wikis.
> >>>>>>>>
> >>>>>>>> Definitely xwiki can be used to build 2.0 level of
> >>>>>>>> functionality, but it seems to me there's a little too much
> >>>>>>>> black box. I've tried other applications as well ..
> such as the
> >>>>>>>> task manager app .. and found problems others have found as
> >>>>>>>> well right out of the box. My point is it's all a little too
> >>>>>>>> vague for my comfort.
> >>>>>>>
> >>>>>>> One thing to note: this task manager app is not written nor
> >>>>>>> supported by the XWiki dev team. It's been contributed by
> >>>>>>> individuals and is supported by them or any contributor who
> >>>>>>> wants to help. The quality of the code you find on
> >>>>>>> code.xwiki.org varies a lot. All we can guarantee here is the
> >>>>>>> code that is developed by the XWiki dev team.
> >>>>>>>
> >>>>>>> In general if apps on code.xwiki.org break it's because they
> >>>>>>> haven't been updated at the same rate as the XWiki
> platform and
> >>>>>>> in general it's really not much to make them work (a
> few minutes
> >>>>>>> of work).
> >>>>>>>
> >>>>>>> The FAQ tutorial works well AFAIK. IMO you've
> probably forgotten
> >>>>>>> some steps (in one step you must edit the default template to
> >>>>>>> set in which space new FAQ documents are created -
> not that it
> >>>>>>> matters, it'll work wherever they are created) or have set up
> >>>>>>> some different configuration for the default wiki
> syntax for new
> >>>>>>> pages.
> >>>>>>>
> >>>>>>> Thanks
> >>>>>>> -Vincent
> >>>>>>>
> >>>>>>>> I haven't given up, just beginning to look elsewhere as well.
> >>>>>>>>
> >>>>>>>> Thanks,
> >>>>>>>> Mark
> >>>>>>>>
> >>>>>>>> BCBS-IL
> >>>>>>>> ph 312-653-4293
> >>>>>>>> mark_marzi...@bcbsil.com
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> Josh <dissemin...@gmail.com>
> >>>>>>>> Sent by: users-boun...@xwiki.org
> >>>>>>>> 11/14/2009 03:57 PM
> >>>>>>>> Please respond to
> >>>>>>>> XWiki Users <users@xwiki.org>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> To
> >>>>>>>> XWiki Users <users@xwiki.org>
> >>>>>>>> cc
> >>>>>>>>
> >>>>>>>> Subject
> >>>>>>>> Re: [xwiki-users] problem with FAQ tutorial .. space
> assignment?
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> Hi Mark,
> >>>>>>>>
> >>>>>>>> Sorry for the delayed response. I went through the steps of
> >>>>>>>> creating the FAQ application per the tutorial, but I can't
> >>>>>>>> reproduce your issue.
> >>>>>>>> Questions are created in the FAQ space for me, not
> Main. Your
> >>>>>>>> code looks fine as well.
> >>>>>>>>
> >>>>>>>> Were you able to figure it out?
> >>>>>>>>
> >>>>>>>> Thanks,
> >>>>>>>> -Joshua-
> >>>>>>>>
> >>>>>>>> mark_marzi...@bcbsil.com wrote:
> >>>>>>>>> Hi Joshua,
> >>>>>>>>>
> >>>>>>>>> (I apologize to all if this appears more than once;
> I haven't
> >>>>>>>>> been successful posting to the mailing list since before
> >>>>>>>>> yesterday.
> >>>>>>>>> Perhaps
> >>>>>>>>> attachments are prohibited? Trying again without.)
> >>>>>>>>>
> >>>>>>>>> Thanks again, your explanation of spaces was very clear and
> >>>>>>>>> helpful.
> >>>>>>>>>
> >>>>>>>>> Now that I have a little better understanding of
> spaces, I'll
> >>>>>>>>> present my
> >>>>>>>>
> >>>>>>>>> problem. For some reason when I create a FAQ entry,
> it's not
> >>>>>>>>> going into the FAQ space but instead into the Main
> space. Per
> >>>>>>>>> the tutorial, I
> >>>>>>>> haven't
> >>>>>>>>> created a FAQ space explicitly this go round.
> >>>>>>>>>
> >>>>>>>>> It seems to me this can only be happening as a
> result of the
> >>>>>>>>> code that adds a FAQ, or perhaps in the class
> definition code
> >>>>>>>>> which specifies the default space. Looks right to
> me and jibes
> >>>>>>>>> with what you've said about spaces. Here it is
> yanked directly
> >>>>>>>>> out of my code .. which was simply a copy/paste from the
> >>>>>>>>> tutorial:
> >>>>>>>>>
> >>>>>>>>> FAQClass code:
> >>>>>>>>> {{velocity}}
> >>>>>>>>> ## Replace Main with the Space where you want your
> documents
> >>>>>>>>> to be created.
> >>>>>>>>> ## Replace the default parent with the one of your
> choice and
> >>>>>>>>> save the document.
> >>>>>>>>> ##
> >>>>>>>>> #set($className = $doc.name.substring(0,
> >>>>>>>>> $doc.name.indexOf("Class")))
> >>>>>>>>> #set($defaultParent = 'FAQ.WebHome') #set($defaultSpace =
> >>>>>>>>> 'FAQ') {{/velocity}}
> >>>>>>>>>
> >>>>>>>>> {{include document="XWiki.ClassSheet"/}}
> >>>>>>>>>
> >>>>>>>>> FAQTemplate code:
> >>>>>>>>> {{include document="FAQ.FAQSheet"/}}
> >>>>>>>>>
> >>>>>>>>> FAQ WebHome code (
> >>>>>>>> http://localhost/xwiki/bin/edit/FAQ/WebHome?&editor=wiki
> >>>>>>>>> ):
> >>>>>>>>> = Existing FAQ entries =
> >>>>>>>>>
> >>>>>>>>> {{velocity}}
> >>>>>>>>> #set($sql = ", BaseObject as obj where
> obj.name=doc.fullName
> >>>>>>>>> and obj.className='FAQ.FAQClass' and
> >>>>>>>>> obj.name<>'FAQ.FAQTemplate'") #set($results =
> >>>>>>>>> $xwiki.searchDocuments($sql))
> >>>>>>>>> #if($results.empty)
> >>>>>>>>> No FAQ has been created yet!
> >>>>>>>>> #else
> >>>>>>>>> #foreach ($item in $results)
> >>>>>>>>> #set($faq = $xwiki.getDocument($item))
> >>>>>>>>> * [[${faq.display("question").replace("<p>",
> >>>>>>>>> "").replace("</p>", "")}>>${item}]] #end #end {{/velocity}}
> >>>>>>>>>
> >>>>>>>>> {{velocity}}
> >>>>>>>>> #if("$!request.docName" != '') ## Request for
> creating a new
> >>>>>>>>> instance #set($targetDocName =
> >>>>>>>>> "${request.spaceName}.${request.docName}")
> >>>>>>>>> #set($targetDocName = $targetDocName.replace("?",
> >>>>>>>>> "").replace("#",
> >>>>>>>>> "").trim())
> >>>>>>>>> #if(!$xwiki.exists($targetDocName) &&
> >>>>>>>>> $xwiki.hasAccessLevel('edit', $context.user,
> $targetDocName))
> >>>>>>>>>
> $response.sendRedirect($xwiki.getURL($targetDocName, 'inline',
> >>>>>>>>> "template=${request.template}&parent=${request.parent}"))
> >>>>>>>>> ## Stop processing, since we already sent a redirect.
> >>>>>>>>> #stop
> >>>>>>>>> #end
> >>>>>>>>> #end
> >>>>>>>>>
> >>>>>>>>> = Add a new question =
> >>>>>>>>>
> >>>>>>>>> #if("$!targetDocName" != '' &&
> $xwiki.exists($targetDocName))
> >>>>>>>>> {{warning}}The target document already exists.
> Please choose a
> >>>>>>>> different
> >>>>>>>>> name, or [[view the existing document>>$targetDocName]]{{/
> >>>>>>>>> warning}} #elseif("$!targetDocName" != '') {{warning}}You
> >>>>>>>>> don't have permission to create that
> >>>>>>>> document{{/warning}}
> >>>>>>>>> #end
> >>>>>>>>>
> >>>>>>>>> {{html}}
> >>>>>>>>> <form action="" id="newdoc" method="post"> <div> <input
> >>>>>>>>> type="hidden" name="parent"
> value="${doc.fullName}"/> <input
> >>>>>>>>> type="hidden" name="template"
> value="FAQ.FAQTemplate"/> <input
> >>>>>>>>> type="hidden" name="sheet" value="1"/> <input type="hidden"
> >>>>>>>>> name="spaceName" value="FAQ"/>
> >>>>>>>>> Document: <input type="text" name="docName"
> value="Enter your
> >>>>>>>>> question here" class="withTip" size="50"/> <span
> >>>>>>>>> class="buttonwrapper"><input type="submit" value="Create
> >>>>>>>> this
> >>>>>>>>> FAQ" class="button"/></span>
> >>>>>>>>> </div>
> >>>>>>>>> </form>
> >>>>>>>>> {{/html}}
> >>>>>>>>> {{/velocity}}
> >>>>>>>>>
> >>>>>>>>> So what am I missing?
> >>>>>>>>>
> >>>>>>>>> Thanks,
> >>>>>>>>> Mark
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>> "Rieken, Joshua" <joshua_rie...@reyrey.com> Sent by:
> >>>>>>>>> users-boun...@xwiki.org
> >>>>>>>>> 11/10/2009 04:37 PM
> >>>>>>>>> Please respond to
> >>>>>>>>> XWiki Users <users@xwiki.org>
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>> To
> >>>>>>>>> XWiki Users <users@xwiki.org>
> >>>>>>>>> cc
> >>>>>>>>>
> >>>>>>>>> Subject
> >>>>>>>>> Re: [xwiki-users] problem with FAQ tutorial ..
> space assignment?
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>> Mark,
> >>>>>>>>>
> >>>>>>>>> You're very welcome. It's not necessary to
> explicitly create
> >>>>>>>>> the WebHome
> >>>>>>>>
> >>>>>>>>> in FAQ until later in the tutorial. Question/Answer
> documents
> >>>>>>>>> that are created from the FAQ Class page will go
> into the FAQ
> >>>>>>>>> space, which "comes
> >>>>>>>>
> >>>>>>>>> into existence" the instant any document is placed in it.
> >>>>>>>>>
> >>>>>>>>> For example, if you add a question/answer page called
> >>>>>>>>> "FAQ.Howtoeditapage", you can still get to it regardless of
> >>>>>>>>> whether "FAQ.WebHome" exists.
> >>>>>>>>>
> >>>>>>>>> A space "disappears" when every document that is
> part of the
> >>>>>>>>> space is deleted. So a space is just a collection
> of documents
> >>>>>>>>> and doesn't really
> >>>>>>>>
> >>>>>>>>> exist outside of those documents. It's really just a
> >>>>>>>>> convenient way to organize your documents.
> >>>>>>>>>
> >>>>>>>>> Good luck, and if you have any more questions, please don't
> >>>>>>>>> hesitate to ask.
> >>>>>>>>>
> >>>>>>>>> -Joshua-
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>> -----Original Message-----
> >>>>>>>>>> From: users-boun...@xwiki.org
> >>>>>>>>>> [mailto:users-boun...@xwiki.org] On Behalf Of
> >>>>>> mark_marzi...@bcbsil.com
> >>>>>>>>>> Sent: Tuesday, November 10, 2009 3:31 PM
> >>>>>>>>>> To: XWiki Users
> >>>>>>>>>> Cc: XWiki Users; users-boun...@xwiki.org
> >>>>>>>>>> Subject: Re: [xwiki-users] problem with FAQ
> tutorial .. space
> >>>>>>>>>> assignment?
> >>>>>>>>>>
> >>>>>>>>>> Hi Joshua,
> >>>>>>>>>>
> >>>>>>>>>> Thanks very much for your prompt reply. It helps a lot to
> >>>>>>>>>> know the history and what WebHome means!
> >>>>>>>>>>
> >>>>>>>>>> Am I correct then in first creating the FAQ space
> explicitly,
> >>>>>>>>>> even though that's not called for in the tutorial? Like so:
> >>>>>>>>>>
> >>>>>>>>>> "I've first created the FAQ Space, then built the
> FAQ Class,
> >>>>>>>>>> etc, then put the code into the 'home' page for
> the space, ie
> >>>>>>>>>> http://localhost/xwiki/bin/view/FAQ/";
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> Thanks,
> >>>>>>>>>> Mark
> >>>>>>>>>>
> >>>>>>>>>> BCBS-IL
> >>>>>>>>>> ph 312-653-4293
> >>>>>>>>>> mark_marzi...@bcbsil.com
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> "Rieken, Joshua" <joshua_rie...@reyrey.com> Sent by:
> >>>>>>>>>> users-boun...@xwiki.org
> >>>>>>>>>> 11/10/2009 03:18 PM
> >>>>>>>>>> Please respond to
> >>>>>>>>>> XWiki Users <users@xwiki.org>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> To
> >>>>>>>>>> XWiki Users <users@xwiki.org> cc
> >>>>>>>>>>
> >>>>>>>>>> Subject
> >>>>>>>>>> Re: [xwiki-users] problem with FAQ tutorial .. space
> >>>>>>>>>> assignment?
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> Hi Mark,
> >>>>>>>>>>
> >>>>>>>>>> http://localhost/xwiki/bin/view/FAQ/ actually takes you to
> >>>>>>>>>> http://localhost/xwiki/bin/view/FAQ/WebHome.
> "WebHome" is the
> >>>>>>>>>> home page for any given space. The name "WebHome"
> came from
> >>>>>>>>>> earlier versions of XWiki, when a Space was called a Web.
> >>>>>>>>>>
> >>>>>>>>>> Hope this helps,
> >>>>>>>>>> -Joshua-
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>> -----Original Message-----
> >>>>>>>>>>> From: users-boun...@xwiki.org
> >>>>>>>>>>> [mailto:users-boun...@xwiki.org] On Behalf Of
> >>>>>>>>>>>
> >>>>>>>>>> mark_marzi...@bcbsil.com
> >>>>>>>>>>
> >>>>>>>>>>> Sent: Tuesday, November 10, 2009 3:06 PM
> >>>>>>>>>>> To: users@xwiki.org
> >>>>>>>>>>> Subject: [xwiki-users] problem with FAQ tutorial .. space
> >>>>>>>>>>>
> >>>>>>>>>> assignment?
> >>>>>>>>>>
> >>>>>>>>>>> Hi,
> >>>>>>>>>>>
> >>>>>>>>>>> I've followed along in the tutorial in the dev guide for
> >>>>>>>>>>> creating a FAQ at
> >>>>>>>>>>>
> http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutoria
> >>>>>>>>>>> l
> >>>>>>>>>>>
> >>>>>>>>>>> Here's my first point of confusion: in section 'Create a
> >>>>>>>>>>> homepage for your application' it states 'Go to the
> >>>>>>>>>>> "FAQ.WebHome" page'. I do not see such a page. In
> the latest
> >>>>>>>>>>> iterations of building the FAQ I've first created the FAQ
> >>>>>>>>>>> Space, then built the FAQ Class, etc, then put
> the code into
> >>>>>>>>>>> the 'home' page for the space, ie
> >>>>>>>>>>>
> >>>>>>>>>> http://localhost/xwiki/bin/view/FAQ/
> >>>>>>>>>>
> >>>>>>>>>>> I'm sure my problems stem from my weak
> understanding of this
> >>>>>>>>>>> step and how spaces are created and referenced.
> >>>>>>>>>>>
> >>>>>>>>>>> Thanks,
> >>>>>>>>>>> Mark
> >> _______________________________________________
> >> users mailing list
> >> users@xwiki.org
> >> http://lists.xwiki.org/mailman/listinfo/users
> >>
> >>
> >>
> >> HCSC Company Disclaimer
> >>
> >> The information contained in this communication is confidential,
> > private,
> >> proprietary, or otherwise privileged and is intended only
> for the use
> >> of the addressee.  Unauthorized use, disclosure, distribution or
> >> copying is strictly prohibited and may be unlawful.  If you have
> >> received this communication in error, please notify the sender
> >> immediately at (312) 653-6000 in Illinois; (800)835-8699 in New
> >> Mexico; (918)560-3500 in Oklahoma; or (972)766-6900 in Texas.
> >> _______________________________________________
> >> users mailing list
> >> users@xwiki.org
> >> http://lists.xwiki.org/mailman/listinfo/users
> >>
> >
> >
> > --
> > Guillaume Lerouge
> > Product Manager - XWiki SAS
> > Skype: wikibc
> > Twitter: glerouge
> > http://guillaumelerouge.com/
> > _______________________________________________
> > users mailing list
> > users@xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> >
> > _______________________________________________
> > users mailing list
> > users@xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> >
>
>
> --
> Guillaume Lerouge
> Product Manager - XWiki SAS
> Skype: wikibc
> Twitter: glerouge
> http://guillaumelerouge.com/
> _______________________________________________
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to