Development
Q: How do I enable verbose logging?
A: Remove
app.logger=org.radeox.util.logging.NullLogger from
application.conf
Q: Where can I find the source code to SnipSnap?
A: The source can be find at the usual download sites, see
snipsnap-download. The file contains
src in it's name.
Q: Is there CVS access? 
A: Yes, see
SnipSnap CVS Access. If you contirbute regulary to SnipSnap, you can get CVS access.
Q: How can I participate?
A: You can send us patches, bug fixes and extensions for SnipSnap. We consider to include them into the core. SnipSnap is built with a plugin architecture. You can write your own macros and SnipSnap extentions and send them to use. We will include them into our
contribution directory. See
snipsnap-documentation how to develop extension and package them as JARs.
Q: How and why would I use Tomcat for development?
A: The tomcat servlet container supports deployment and reloading of web applications in a running container. See
Snipsnap and Tomcat.
Technology
Q: Why does SnipSnap use JSTL and JSP ? <abc> is much better.
A: We have a lot of expierience with web systems and know a lot
of technologies but decided to use JSTL/JSP. We used JSTL because
- it's easy to understand for users
- it integrates with our IDE (IDEA)
- it's easy to extend
Q: Do I need JSP 1.2/JSTL in my servlet container ?
A: Currently yes. We think about using WebWork in the future. This will
eliminate the need for JSTL
Q: What do you guys use for development ?
A: Basically
IDEA, ant, CVS and MacOS X
Q: Is there a way I can write a macro that contains anchor tags with request variables and I would like to access them at the next call to the macro. For example take the "Calendar" macro which contains two links namely, "show next month" and "show previous month" and URLs might look like this <A HREF="?showMonth=4">Prev</A>May<A HREF="?showMonth=6">Next</A>
How do I access these request variables? I have tried params.get("0") as well as params.get("showMonth")… No Luck So Far! Any help on this is greatly appreciated. Can you also email me the answer @ veni_veni at Yahoo. Thanks.
A: ?????
Q: How can I extract a page unformatted?
I want to use my SnipSnap as a location for properties files and then point small Java tools at a SnipSnap URL when they need a properties files.
I understand that I can use the following code internally to SnipSnap to get a page unformatted
SnipSpaceFactory.getInstance().load(<your configuration snip>).getContent()
Is there a URL equivalent to do the same?
Thanks
paularmstrongA: Yes, there is: /raw/<snipname>. For example, this URL give you the unformatted contents of this page:
http://snipsnap.org/raw/development
-
Ryan