Re: Using Wicket in a Java EE 6 container

2009-08-13 Thread arungupta
t; > i just dont think this new fragment feature matches very well with how > wicket is used. > > -igor > > On Thu, Aug 13, 2009 at 12:08 PM, arungupta wrote: >> >> I think it should be fine (but checking internally). >> >> Does it not depend upon how Wicke

Re: Using Wicket in a Java EE 6 container

2009-08-13 Thread arungupta
nt have the > > >wicket.Filter > >applicationClassName > > org.glassfish.samples.WicketApplication > > > > piece in my web.xml? > > will that lead to an error? > > -igor > &g

Re: Using Wicket in a Java EE 6 container

2009-08-12 Thread arungupta
now register a servlet behind my back and create > a backdoor into the server? > > -igor > > On Tue, Aug 11, 2009 at 5:46 AM, Arun Gupta wrote: >> I wrote a blog describing how to use Wicket with a Servlet 3.0/Java EE >> 6 container: >> >> http://blogs.

Re: Wicket and XHR abstraction

2009-08-06 Thread arungupta
> >> -Arun >> >> -- >> Need Application Server ? - Download glassfish.org >> Blog: http://blogs.sun.com/arungupta >> >> - >> To unsubscribe

Re: Processing GET requests

2009-08-05 Thread arungupta
rs. > > -- > Jeremy Thomerson > http://www.wickettraining.com > > > > > On Wed, Aug 5, 2009 at 7:06 PM, arungupta wrote: >> >> Then I'm not understanding your original point. Is jetty:run not the >> embedded >> Jetty ? >> >> Ho

Re: Processing GET requests

2009-08-05 Thread arungupta
ing - which means any > time you modify a java file it has to restart the app - annoying. > > besides, how do you use a debugger? > > much easier to just right click Start and select "debug as a java > application" > > my two cents > > -igor > > On W

Re: Processing GET requests

2009-08-05 Thread arungupta
gt; cycle. > > -igor > > On Wed, Aug 5, 2009 at 2:41 PM, arungupta wrote: >> >> Some background ... >> >> I'm trying to build a sample application using different Web frameworks >> and >> Wicket is one of them. More details at: >> http:/

Re: Processing GET requests

2009-08-05 Thread arungupta
lCodingStrategy and append the URL as >> "type=runlogs&chart=barchart". Then in the WebPage, extract the query >> string and process them. >> >> How do I ensure that JSON data is returned for GET requests to those URLs >>

Re: Processing GET requests

2009-08-05 Thread arungupta
; Wicket is for building UIs, is json a UI? no. use a servlet. > > -igor > > On Wed, Aug 5, 2009 at 2:41 PM, arungupta wrote: >> >> Some background ... >> >> I'm trying to build a sample application using different Web frameworks >> and >> W

Re: Processing GET requests

2009-08-05 Thread arungupta
servlet.. > > Alex Objelean > > > arungupta wrote: >> >> I need to define couple of URLs in my app that return JSON data on GET >> request and are not tied to any view. Planning to use >> QueryStringUrlCodingStrategy and append the URL as >> "typ

Re: "Couldn't load DiskPageStore index" when migrating from 1.3.6 -> 1.4

2009-08-05 Thread arungupta
our >> webapp requires one, please configure one. >> ERROR - DiskPageStore              - Couldn't load DiskPageStore index >> from file >> /Users/arungupta/workspaces/runner~subversion/wicket/runner/target/work/wicket.runner-filestore/DiskPageStoreIndex. >> java.lan

Re: Alternate rows with different color

2009-08-04 Thread arungupta
ge extends BasePage { >> > private int counter; >> > >> > (...) >> > >> > item.add(new AttributeModifier("class", counter++ % 2 == 0 ? new >> > Model("list-line-odd") : new Model("list-line-event"))); >> > >

Re: Alternate rows with different color

2009-08-04 Thread arungupta
uteModifier("class", counter++ % 2 == 0 ? new >> > Model("list-line-odd") : new Model("list-line-event"))); >> > >> > ? >> > >> > >> > On Wed, Aug 5, 2009 at 1:33 AM, arungupta wrote: >> >

Re: Alternate rows with different color

2009-08-04 Thread arungupta
{ > private int counter; > > (...) > > item.add(new AttributeModifier("class", counter++ % 2 == 0 ? new > Model("list-line-odd") : new Model("list-line-event"))); > > ? > > > On Wed, Aug 5, 2009 at 1:33 AM, arungupta wrote: > &g

Re: Alternate rows with different color

2009-08-04 Thread arungupta
d use it like so: >> >> new refreshingview() { protected item newItem(..) { return new >> oddevenitem(...); }} >> >> btw 1.4.0 is out. >> >> -igor >> >> On Tue, Aug 4, 2009 at 4:56 PM, arungupta wrote: >> > >> > I've b

Re: Alternate rows with different color

2009-08-04 Thread arungupta
OK, trying 1.4 and the sample below, thanks! BTW, the application working fine with 1.3.6 gives the following error with 1.4: ERROR - DiskPageStore - Couldn't load DiskPageStore index from file /Users/arungupta/workspaces/runner~subversion/wicket/runner/target/work/wicket.r

Re: Alternate rows with different color

2009-08-04 Thread arungupta
is doesn not implement a > getter for those. > > maybe > > item.add(new AttributeModifier("class", runlog.getId() % 2 == 0 ? > "list-line-odd" : "list-line-event")); > ? > > or change/add parantheses ... > > On Wed, Aug 5, 2009 at

Re: Alternate rows with different color

2009-08-04 Thread arungupta
1) >> -- cut here -- >> >> CSS is statically linked as: >> >> >> >> The CSS is at: >> >> http://kenai.com/projects/runner/sources/subversion/content/wicket/runner/src/main/webapp/css/runlog.css?rev=118 >> >> Any idea, what's

Re: Alternate rows with different color

2009-08-04 Thread arungupta
t;> The CSS is at: >> >> >> http://kenai.com/projects/runner/sources/subversion/content/wicket/runner/src/main/webapp/css/runlog.css?rev=118 >> >> Any idea, what's wrong ? >> >> Or a better advise to provide odd/even rows with different colors ? &