On Jul 30, 2010, at 11:48, Rana Singh wrote: > Thanks so much for the quick answer. > > I know that there is more options in the STK, but due to license restriction > I am now building the templates from scratch, so the STK is no good for me. > > Greg, by an empty dialog, do you mean an empty dialog which actually pops up > with no fields?
Yeah - that'd be an ugly workaround. Other option: fix Magnolia's paragraph selection dialog so that it "works" when one tries to add a paragraph which doesn't have an associated dialog. -g > > I'll look into this when I get some time on hand, thanks for help so far. > > Best Regards > > Rana > > On Fri, Jul 30, 2010 at 10:39 AM, Bert Leunis <[email protected]> wrote: > Hi Rana, > > I think that what you want is being done in the STK. You can define there the > so-called 'autogenerated paragraph'. When a page is created, in the > modelclass the execute method is called. That's the place where a paragraph > is automatically created. Most of the time this is a singleton paragraph, > that is: it is only to be used once on the page. > > You can take a look at > info.magnolia.module.templatingkit.templates.SingletonParagraphTemplateModel.execute() > for an example for inspiration. > > Or maybe this is not what you meant, if I see Gregs answer. > > Hope this helps anyway. > Bye, Bert > > > Van: [email protected] [[email protected]] > namens Rana Singh [[email protected]] > Verzonden: vrijdag 30 juli 2010 10:20 > Aan: Magnolia User-List > Onderwerp: [magnolia-user] Paragraph without a dialog > > Dear All, > > I've got a simple question, I would like to create a normal paragraph but > without any dialog attached to it. I would like it to just go to my jsp-file > without a dialog popping up. Is this possible? > I've read something about having a hidden value in the dialog, but not been > able to make it work at this moment. > > Best Regards > > -- > -- > Rana Ranjit Singh > Solutions Engineer | +47 413 50 220 > Iterate AS | www.iterate.no > The Lean Software Development Consultancy > > > ---------------------------------------------------------------- > For list details see > http://www.magnolia-cms.com/home/community/mailing-lists.html > To unsubscribe, E-mail to: <[email protected]> > ---------------------------------------------------------------- > > > > -- > -- > Rana Ranjit Singh > Solutions Engineer | +47 413 50 220 > Iterate AS | www.iterate.no > The Lean Software Development Consultancy ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
