New ICEFaces compatible table component.
[Logo]
Forums for ICEfaces and ICEpdf
[Search] Search   [Recent Topics] Recent Topics   [Groups] Home Page | www.icefaces.org  [Register] Register  [Login] Login 
New ICEFaces compatible table component.  XML
Forum Index -> Components Go to Page: Previous  1, 2, 3 Next 
Author Message
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

[Email]
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

[Email]
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.
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

[Email]
nirmala_86

Joined: 14/07/2008 00:00:00
Messages: 21
Offline


Thanks, i got the snappy calendar
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

[Email]
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.
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

[Email]
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
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?
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

[Email]
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
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

[Email]
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

[Email]
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
 
Forum Index -> Components Go to Page: Previous  1, 2, 3 Next 
Go to:   
Powered by JForum 2.1.7ice © JForum Team