Re: Weaves library
You are right. The library use jQuery, but not Tapestry5-jQuery :s. Do you have JavaScript errors ? Can you check the request sent by the actionLink is an Ajax request ? Manu 2013/8/16 David Canteros > Sorry, I forgot the code. There is nothing special, I have only included a > component called "PagedGrid" in the TML(instead of the classic Grid) file > and a code for specific GridDataSource in java file. The component works > fine, but the ajax actionlink throw the mentioned exception. This only > happen in the page which i added the component. > > TML: > > pagedsource="TestPagedSource"> > > ${greeting}! > > > JAVA: > > public CollectionPagedGridDataSource getTestPagedSource() { > return new CollectionPagedGridDataSource(this.bookingsResultDS, > BookingHolder.class); > } > > @Component > private Zone testZone; > > public String getGreeting(){ >return "Hello"; > } > > public Object onActionFromTest() { > return testZone.getBody(); > } > > > -- > David Germán Canteros > > > 2013/8/16 David Canteros > > > The link: https://github.com/intercommit/Weaves > > > > I'm pretty sure that "weaves" uses jquery (in the repository I saw the > > files jquery-1.9.1.min.js and jquery_init.js), can we have a conflict > > between jquery from weaves and jquery from tapestry5-jquery? > > > > -- > > David Germán Canteros > > > > > > 2013/8/16 Emmanuel DEMEY > > > >> I do not think tapestry jquery is the problem. I am maybe wrong. Does > >> Weaves use tapestry jquery? Can you give a link to this library and some > >> codes. > >> Manu > >> Le 16 août 2013 17:40, "David Canteros" a > >> écrit : > >> > >> > Hi! > >> > I'm improving my T5 app interface and during this process I found the > >> > excellent library called "Weaves". I want to test the "PagedGrid" > >> > component, it looks great! But I have a little problem: > >> > when I replace the standard grid by the pagedgrid then all of the ajax > >> > actionlinks stop working. The pagedgrid seems to work fine, but when i > >> > click in any "action link" then the application response with the > >> message > >> > "Page must be specified before initializing for partial page render." > >> > Before add the pagedgrid the actionlinks were working fine,.. Any > ideas? > >> > > >> > I'm using tapestry 5.3.7 with org.got5.tapestry5-jquery, may be this > >> last > >> > library could be related?? > >> > > >> > Thanks in advance! > >> > David > >> > > >> > > >> > -- > >> > David Germán Canteros > >> > > >> > > > > > -- Emmanuel DEMEY Ingénieur Etude et Développement ATOS Worldline +33 (0)6 47 47 42 02 demey.emman...@gmail.com http://emmanueldemey.fr/ Twitter : @EmmanuelDemey
Re: Weaves library
Sorry, I forgot the code. There is nothing special, I have only included a component called "PagedGrid" in the TML(instead of the classic Grid) file and a code for specific GridDataSource in java file. The component works fine, but the ajax actionlink throw the mentioned exception. This only happen in the page which i added the component. TML: ${greeting}! JAVA: public CollectionPagedGridDataSource getTestPagedSource() { return new CollectionPagedGridDataSource(this.bookingsResultDS, BookingHolder.class); } @Component private Zone testZone; public String getGreeting(){ return "Hello"; } public Object onActionFromTest() { return testZone.getBody(); } -- David Germán Canteros 2013/8/16 David Canteros > The link: https://github.com/intercommit/Weaves > > I'm pretty sure that "weaves" uses jquery (in the repository I saw the > files jquery-1.9.1.min.js and jquery_init.js), can we have a conflict > between jquery from weaves and jquery from tapestry5-jquery? > > -- > David Germán Canteros > > > 2013/8/16 Emmanuel DEMEY > >> I do not think tapestry jquery is the problem. I am maybe wrong. Does >> Weaves use tapestry jquery? Can you give a link to this library and some >> codes. >> Manu >> Le 16 août 2013 17:40, "David Canteros" a >> écrit : >> >> > Hi! >> > I'm improving my T5 app interface and during this process I found the >> > excellent library called "Weaves". I want to test the "PagedGrid" >> > component, it looks great! But I have a little problem: >> > when I replace the standard grid by the pagedgrid then all of the ajax >> > actionlinks stop working. The pagedgrid seems to work fine, but when i >> > click in any "action link" then the application response with the >> message >> > "Page must be specified before initializing for partial page render." >> > Before add the pagedgrid the actionlinks were working fine,.. Any ideas? >> > >> > I'm using tapestry 5.3.7 with org.got5.tapestry5-jquery, may be this >> last >> > library could be related?? >> > >> > Thanks in advance! >> > David >> > >> > >> > -- >> > David Germán Canteros >> > >> > >
Re: Weaves library
The link: https://github.com/intercommit/Weaves I'm pretty sure that "weaves" uses jquery (in the repository I saw the files jquery-1.9.1.min.js and jquery_init.js), can we have a conflict between jquery from weaves and jquery from tapestry5-jquery? -- David Germán Canteros 2013/8/16 Emmanuel DEMEY > I do not think tapestry jquery is the problem. I am maybe wrong. Does > Weaves use tapestry jquery? Can you give a link to this library and some > codes. > Manu > Le 16 août 2013 17:40, "David Canteros" a > écrit : > > > Hi! > > I'm improving my T5 app interface and during this process I found the > > excellent library called "Weaves". I want to test the "PagedGrid" > > component, it looks great! But I have a little problem: > > when I replace the standard grid by the pagedgrid then all of the ajax > > actionlinks stop working. The pagedgrid seems to work fine, but when i > > click in any "action link" then the application response with the message > > "Page must be specified before initializing for partial page render." > > Before add the pagedgrid the actionlinks were working fine,.. Any ideas? > > > > I'm using tapestry 5.3.7 with org.got5.tapestry5-jquery, may be this last > > library could be related?? > > > > Thanks in advance! > > David > > > > > > -- > > David Germán Canteros > > >
Re: Weaves library
I do not think tapestry jquery is the problem. I am maybe wrong. Does Weaves use tapestry jquery? Can you give a link to this library and some codes. Manu Le 16 août 2013 17:40, "David Canteros" a écrit : > Hi! > I'm improving my T5 app interface and during this process I found the > excellent library called "Weaves". I want to test the "PagedGrid" > component, it looks great! But I have a little problem: > when I replace the standard grid by the pagedgrid then all of the ajax > actionlinks stop working. The pagedgrid seems to work fine, but when i > click in any "action link" then the application response with the message > "Page must be specified before initializing for partial page render." > Before add the pagedgrid the actionlinks were working fine,.. Any ideas? > > I'm using tapestry 5.3.7 with org.got5.tapestry5-jquery, may be this last > library could be related?? > > Thanks in advance! > David > > > -- > David Germán Canteros >
Weaves library
Hi! I'm improving my T5 app interface and during this process I found the excellent library called "Weaves". I want to test the "PagedGrid" component, it looks great! But I have a little problem: when I replace the standard grid by the pagedgrid then all of the ajax actionlinks stop working. The pagedgrid seems to work fine, but when i click in any "action link" then the application response with the message "Page must be specified before initializing for partial page render." Before add the pagedgrid the actionlinks were working fine,.. Any ideas? I'm using tapestry 5.3.7 with org.got5.tapestry5-jquery, may be this last library could be related?? Thanks in advance! David -- David Germán Canteros