| Author |
Message |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 15/10/2008 12:57:20
|
rmayhew

Joined: 11/04/2006 00:00:00
Messages: 100
Offline
|
There is a servlet that needs to be defined in order to get the javascript. I need to update the wiki to indicate this. Until then check out the sample app config.
Blank values make sense. I'll add it in.
|
Rob Mayhew
http://snappy.sensemaker.net
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 18/10/2008 17:29:08
|
rmayhew

Joined: 11/04/2006 00:00:00
Messages: 100
Offline
|
I've added in basic null support for the calendar. Please check out http://github.com/robmayhew/snappy-components/tree/master and let me know if this works.
|
Rob Mayhew
http://snappy.sensemaker.net
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 26/12/2008 06:10:43
|
nirmala_86
Joined: 14/07/2008 00:00:00
Messages: 21
Offline
|
Hi all,
I have downloaded snappy. I want to use snappy calendar.so i put the jar in WEB-INF/lib folder .
My jsp page:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<jsp:root version="1.2"
xmlns:jsp="http://java.sun.com/JSP/Page"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:snappy="http://sensemaker.net/snappy"
xmlns:ice="http://www.icesoft.com/icefaces/component">
<jsp:directive.page contentType="text/html;charset=ISO-8859-1" pageEncoding="ISO-8859-1"/>
<f:view>
<ice:outputDeclaration doctypeRoot="HTML" doctypePublic="-//W3C//DTD HTML 4.01 Transitional//EN" doctypeSystem="http://www.w3.org/TR/html4/loose.dtd"/>
<html>
<head>
<link rel="stylesheet" type="text/css" href="styles/snappy.css" />
</head>
<body>
<ice:outputText value="Thank you for using ICEfaces." />
<ice:form partialSubmit="true" id="snappyDate">
<snappy:calendar value="#{bean.date}" autoSubmit="true" id="cal"></snappy:calendar>
</ice:form>
</body>
</html>
</f:view>
My bean:
package com.zylog.brighthouse.iris.view.bean;
import java.util.Date;
public class SnappyBean {
public Date date;
public Date getDate() {
return date;
}
public void setDate(Date date) {
this.date = date;
}
}
When i run this eg, i get "sp_calendar is undefined" ie javascript error.
Wat i am doing wrong? is there any others steps to use this snappy calendar? plz help me.
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 26/12/2008 08:50:18
|
rmayhew

Joined: 11/04/2006 00:00:00
Messages: 100
Offline
|
Try including this link in the header.
<script src="./snappyresources/snappy.js"/>
</head>
|
Rob Mayhew
http://snappy.sensemaker.net
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 29/12/2008 00:10:44
|
nirmala_86
Joined: 14/07/2008 00:00:00
Messages: 21
Offline
|
Thanks, i got the snappy calendar
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 29/12/2008 09:59:47
|
rmayhew

Joined: 11/04/2006 00:00:00
Messages: 100
Offline
|
Glad i could help. I've updated the snappy wiki as well.
|
Rob Mayhew
http://snappy.sensemaker.net
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 30/12/2008 03:06:52
|
nirmala_86
Joined: 14/07/2008 00:00:00
Messages: 21
Offline
|
just adding this line in coding
<snappy:calendar value="#{bean.date}"/> and clicking the calendar icon i get "the calendar with NAN and no other value"
Whether i have to give a default date from bean while page loading.
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 31/12/2008 10:33:34
|
rmayhew

Joined: 11/04/2006 00:00:00
Messages: 100
Offline
|
I need to add Null support to the calendar. To work around be sure to provide a date.
|
Rob Mayhew
http://snappy.sensemaker.net
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 18/03/2009 02:26:20
|
r1a1v1i1
Joined: 14/03/2008 00:00:00
Messages: 68
Offline
|
Hi,
I am trying to use snappy calendar. But the following tag
xmlns:snappy="http://sensemaker.net/snappy" giving problem as the url is not reachable. Please help me in finding out the solution
Thanks,
Ravi
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 18/03/2009 09:36:35
|
mkat
Joined: 16/10/2008 00:00:00
Messages: 96
Offline
|
Hi,
question: does the snappy table have scrolling? I've been looking for a way to have a scrolling table that fetches data as needed for large datasets.
and, how customizable is the css styling of the snappy table? Can it use like the default icefaces styles?
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 18/03/2009 09:41:04
|
rmayhew

Joined: 11/04/2006 00:00:00
Messages: 100
Offline
|
The site was down for a bit. It's back up now.
As for scrolling. Not really, you have to page though all of the entries. But I did make paging instant. No page reload.
|
Rob Mayhew
http://snappy.sensemaker.net
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 20/03/2009 08:45:47
|
r1a1v1i1
Joined: 14/03/2008 00:00:00
Messages: 68
Offline
|
Hi,
I am able to add snappy calendar in ICEFaces page. But the date picker popup is not coming exactly under the text box. Its getting displayed at the bottom-left of the page. Is thery any solution to fix this?
Thanks,
Ravi
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 22/03/2009 22:04:29
|
rmayhew

Joined: 11/04/2006 00:00:00
Messages: 100
Offline
|
Make sure the component ID is set. (And so is it's parent)
|
Rob Mayhew
http://snappy.sensemaker.net
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 22/03/2009 22:06:18
|
rmayhew

Joined: 11/04/2006 00:00:00
Messages: 100
Offline
|
Also if you could post a snipit of code that would be useful.
|
Rob Mayhew
http://snappy.sensemaker.net
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 23/03/2009 01:20:10
|
thisisraj
Joined: 10/12/2008 00:00:00
Messages: 9
Offline
|
Hi rmayhew,
I too have the same calendar position problem.My code snippet is as below:
<ice:panelGroup >From:</ice:panelGroup>
<ice:panelGroup>
<snappy:calendar value="some date value"/>
</ice:panelGroup>
Assume that i have given some date value to the value attribute of the <snappy:calendat> tag.
Please suggest me the solution to solve this problem.
Thanks in advance
|
Rajesh |
|
|
 |
|
|