The easy Weblog and Wiki Software
[ start | index | login ]
start > development

development

Created by ivar. Last edited by ryan, 2 years and 62 days ago. Viewed 3,480 times. #8
[diff] [history] [edit] [rdf]
labels
Parent:snipsnap-documentation
Category:FAQ
attachments

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 paularmstrong

A: Yes, there is: /raw/<snipname>. For example, this URL give you the unformatted contents of this page: >>http://snipsnap.org/raw/development
- Ryan

3 comments (by JennieGirl, ejoftheweb, paularmstrong) | post comment

What is SnipSnap?
SnipSnap is a free and easy to install weblog and wiki tool written in Java.

SnipSnap download
Current version: 1.0b3-uttoxeter
Try our >>Web Start Demo!

Resources

5567 Users and 13713 Snips. Installed 6 years and 48 days ago

Logged in Users: (2)
… and 28 Guests.

snipsnap-changed for older changes.

< August 2008 >
SunMonTueWedThuFriSat
12
3456789
10111213141516
17181920212223
24252627282930
31

snipsnap
Listed on BlogShares
XHTML 1.0 validated
CSS validated
RSS 2.0 validated
RSS Feed

pico-powered

Powered by SnipSnap 1.0b3-uttoxeter
YourKit >>Java Profiler

Fraunhofer FIRST

snipsnap.org | Copyright 2000-2006 Fraunhofer FIRST