Re: Why are we top-posting...
Now you all get a gun and shoot me :) I got your point How many times No No No .. Enough This is a declaration I, TAHA, WILL NEVER SAY THAT TOP POSTING IS BAD OR BOTTOM POSTING IS GOOD CLOSE THIS POST... PLEASE . taha (internally still a bottom-poster by heart) On Sat, Mar 21, 2009 at 2:59 PM, Stephen Swinsburg wrote: > You read text from bottom to top? > > I thought this was dead and buried, people can post however they like and we > are not going to conform to someone's 'standard'. Think of it this way, it's > a mailing list where people write and read emails. How do you read and write > your email? Pretty sure you'd hit a quick 'Reply' and type your message at > the top like 99% of the rest of the world? Why change it for a mailing list? > It's not designed so that one final post has every piece of information in > it, that is what threads are for. What if someone erases part of the email > when they reply? You'd be stuffed then! > > > > On 21/03/2009, at 5:50 AM, C. Bergström wrote: > >> A: Because it messes up the order in which people normally read text. >> Q: Why is it such a bad thing? >> A: Top-posting. >> Q: What is the most annoying thing on usenet and in e-mail? >> >> - >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> > > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Bean Validation and Wicket
Are there any plans in the future to make use of the Bean Validation Framework (JSR 303) in Wicket? Though we dont have any concrete implementations for JSR 303 yet and JSF 2.0 will be using JSR 303, how well is Wicket positioned to use bean validation? Thanks, Subbu. -- View this message in context: http://www.nabble.com/Bean-Validation-and-Wicket-tp22643342p22643342.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: wicket-jasper UI
just uploaded in googlecode and here is the link: http://code.google.com/p/wicket-jasper-ui/ Brill Pappin wrote: > > Oh nice! > I was just contemplating how I was going to integrate jasper. > > Thanks for the heads up. > > - Brill Pappin >Sent from my mobile. > > > On 21-Mar-09, at 6:38 AM, freak182 wrote: > >> >> Hello, >> >> I just wanna share this simple project called wicket-jasper. It is >> basically >> jasperreports embeded in wicket. If you wanna share your idea or >> added some >> features,please do so. Anyway, our company is already using it >> please see >> the attached files. >> >> Thanks. Cheers >> >> http://www.nabble.com/file/p22634657/wicket-jasper.tar wicket- >> jasper.tar >> -- >> View this message in context: >> http://www.nabble.com/wicket-jasper-UI-tp22634657p22634657.html >> Sent from the Wicket - User mailing list archive at Nabble.com. >> >> >> - >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > > -- View this message in context: http://www.nabble.com/wicket-jasper-UI-tp22634657p22643155.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
WicketStuff yui-parent yui examples war not deploying correctly
I just started looking at some of the JS framework integration a few days ago on WicketStuff. I am looking to do some drag & drop stuff and possibly looking for split pane functionality. I am looking at YUI because a couple of people in here said the dnd stuff worked better than the scriptaculous dnd. I pulled the source from trunk this afternoon and ran the maven build under https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core/yui-parent. mvn install. It says it built the project plus the two sub projects. [INFO] Wicket YUI Integration - Parent ... SUCCESS [49.375s] [INFO] Wicket YUI Integration SUCCESS [2:02.235s] [INFO] Wicket YUI Integration - Examples . SUCCESS [21.328s] However, when I drop the yui-examples-1.4-SNAPSHOT.war into tomcat (6.0.14), I get an error on deployment. It looks like some changes were checked in in the last day or so. I went and pulled the 1.3.x version and built that and it starts up correctly. Is anybody else getting this? This is my tomcat console output: INFO: Initializing Coyote HTTP/1.1 on http-80 Mar 21, 2009 7:24:37 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 675 ms Mar 21, 2009 7:24:37 PM org.apache.catalina.core.StandardService start INFO: Starting service Catalina Mar 21, 2009 7:24:37 PM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/6.0.14 Mar 21, 2009 7:24:37 PM org.apache.catalina.core.StandardContext start SEVERE: Error filterStart Mar 21, 2009 7:24:37 PM org.apache.catalina.core.StandardContext start SEVERE: Context [/yui-examples-1.4-SNAPSHOT] startup failed due to previous erro rs Mar 21, 2009 7:24:38 PM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on http-80 Mar 21, 2009 7:24:38 PM org.apache.jk.common.ChannelSocket init INFO: JK: ajp13 listening on /0.0.0.0:8009 Mar 21, 2009 7:24:38 PM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/62 config=null Mar 21, 2009 7:24:38 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 1164 ms Thanks very much. -- View this message in context: http://www.nabble.com/WicketStuff-yui-parent-yui-examples-war-not-deploying-correctly-tp22642685p22642685.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Extensible wicket application
surround your img tags with Martijn On Sat, Mar 21, 2009 at 10:29 PM, Daniel Dominik Holúbek wrote: > Ernesto, thank you very much :) > If my application ever goes to the production, it will be thanks to you :) > > Regarding the images problem: I think I did not explain it well. I'm not > asking where to place them. I placed them almost everywhere, but I still > can't access them - in the bundle. You see, I have an "images" directory, > and in HTML files, I am accessing them as "img src="images/blah.jpg", but I > still can't get this working. I am expecting only a hint - how are you doing > this? > > And the database problem - I have the same application deployed as standard > webapp, and there it works. I only wanted to know if it isn't some specific > Wicket-Hibernate-OSGi problem you might have solved before :) > > But thank you all again! > > On Sat, Mar 21, 2009 at 6:06 PM, Brill Pappin wrote: > >> Yah, the whole argument about where the resources should go or the one >> before that about top posting or bottom posting. >> You'd think we didn't have any actual work to do :) >> >> - Brill >> >> >> On 21-Mar-09, at 12:39 PM, Ernesto Reinaldo Barreiro wrote: >> >> useless thread? >>> >>> On Sat, Mar 21, 2009 at 4:17 PM, Brill Pappin wrote: >>> >>> At the risk of starting another useless thread, this is what I do for images and other non HTML resources that are shared: - if the project is small, they can just sit with the HTML. - if the project is larger then it might be useful to keep them more separate, under an images directory and use the base page to ref them or even create a loader to manage them. Ether way, you use them the same way, only prefix the resource name with the subdir if you have separated them out. As for your db error, that looks like something out side the scope of wicket. - Brill Pappin Sent from my mobile. On 21-Mar-09, at 9:38 AM, Daniel Dominik Holúbek wrote: Thanks a lot, it works now. > However, two more questions. Where should I place images folder and how > should I access it in my html files (or style.css as well)? > And the second one: when i try to insert a record with hibernate into my > database, i get this exception: > > Batch entry 0 insert into forum.anim_forum (autor, email, title, text, > datum, ip, id) values (...) was aborted. > > and > > org.hibernate.exception.DataException: Could not execute JDBC batch > update > > Could you (or possibly anyone else) help me with this? :) > Thanks! > > On Fri, Mar 20, 2009 at 10:27 PM, Ernesto Reinaldo Barreiro < > reier...@gmail.com> wrote: > > One more thing. As far as I remember the servlet bridge makes a 'work > >> copy' >> of the plugins folder if you see you make changes, export the plugins, >> and >> changes do not 'propagate' to the application, try deleting >> works/Catalina >> folder. >> >> On Fri, Mar 20, 2009 at 9:58 PM, Ernesto Reinaldo Barreiro < >> reier...@gmail.com> wrote: >> >> Hi Daniel, >> >>> >>> I found some time to get it working! The key to the problem was >>> >>> >>> >>> >>> >> http://dev.eclipse.org/newslists/news.eclipse.technology.equinox/msg04838.html >> >> >>> So, if you synchronize the projects >>> >>> com.antilia.wstarter >>> com.antilia.wstarter.demo >>> >>> exports them to you bridge it should work. I attach copy of >>> bridge.zip, >>> containing a bridge folder, which is working for me. If you unzip it >>> to >>> >>> your >> >> tomcat webapps, restart tomcat and go to >>> >>> http://localhost:8080/bridge/demo-app/ >>> >>> Then you should see the example working. >>> >>> Best, >>> >>> Ernesto >>> >>> >>> On Fri, Mar 20, 2009 at 6:34 AM, Daniel Dominik Holúbek < >>> dankodo...@gmail.com> wrote: >>> >>> Right click -> Export -> Plugin development -> Deployable plug-ins and >>> fragments Have a nice day :) On Thu, Mar 19, 2009 at 9:32 PM, Ernesto Reinaldo Barreiro < reier...@gmail.com> wrote: Did you exported them how? As equinox jar files or as simple jar > > files? >>> >> Let >>> me see if tomorrow I find some time for trying this out myself... > > Best, > > Ernesto > > On Thu, Mar 19, 2009 at 9:14 PM, Daniel Dominik Holúbek < > dankodo...@gmail.com> wrote: > > Yes, > >> that's exactly what I did :) >> I checked out the bundles, then exported them from eclipse. And >> then >> installed those bundles along with javax.servlet into the bridge >> application
Re: Extensible wicket application
Ernesto, thank you very much :) If my application ever goes to the production, it will be thanks to you :) Regarding the images problem: I think I did not explain it well. I'm not asking where to place them. I placed them almost everywhere, but I still can't access them - in the bundle. You see, I have an "images" directory, and in HTML files, I am accessing them as "img src="images/blah.jpg", but I still can't get this working. I am expecting only a hint - how are you doing this? And the database problem - I have the same application deployed as standard webapp, and there it works. I only wanted to know if it isn't some specific Wicket-Hibernate-OSGi problem you might have solved before :) But thank you all again! On Sat, Mar 21, 2009 at 6:06 PM, Brill Pappin wrote: > Yah, the whole argument about where the resources should go or the one > before that about top posting or bottom posting. > You'd think we didn't have any actual work to do :) > > - Brill > > > On 21-Mar-09, at 12:39 PM, Ernesto Reinaldo Barreiro wrote: > > useless thread? >> >> On Sat, Mar 21, 2009 at 4:17 PM, Brill Pappin wrote: >> >> At the risk of starting another useless thread, this is what I do for >>> images and other non HTML resources that are shared: >>> - if the project is small, they can just sit with the HTML. >>> - if the project is larger then it might be useful to keep them more >>> separate, under an images directory and use the base page to ref them or >>> even create a loader to manage them. >>> >>> Ether way, you use them the same way, only prefix the resource name with >>> the subdir if you have separated them out. >>> >>> As for your db error, that looks like something out side the scope of >>> wicket. >>> >>> - Brill Pappin >>> Sent from my mobile. >>> >>> >>> >>> On 21-Mar-09, at 9:38 AM, Daniel Dominik Holúbek >>> wrote: >>> >>> Thanks a lot, it works now. >>> However, two more questions. Where should I place images folder and how should I access it in my html files (or style.css as well)? And the second one: when i try to insert a record with hibernate into my database, i get this exception: Batch entry 0 insert into forum.anim_forum (autor, email, title, text, datum, ip, id) values (...) was aborted. and org.hibernate.exception.DataException: Could not execute JDBC batch update Could you (or possibly anyone else) help me with this? :) Thanks! On Fri, Mar 20, 2009 at 10:27 PM, Ernesto Reinaldo Barreiro < reier...@gmail.com> wrote: One more thing. As far as I remember the servlet bridge makes a 'work > copy' > of the plugins folder if you see you make changes, export the plugins, > and > changes do not 'propagate' to the application, try deleting > works/Catalina > folder. > > On Fri, Mar 20, 2009 at 9:58 PM, Ernesto Reinaldo Barreiro < > reier...@gmail.com> wrote: > > Hi Daniel, > >> >> I found some time to get it working! The key to the problem was >> >> >> >> >> > http://dev.eclipse.org/newslists/news.eclipse.technology.equinox/msg04838.html > > >> So, if you synchronize the projects >> >> com.antilia.wstarter >> com.antilia.wstarter.demo >> >> exports them to you bridge it should work. I attach copy of >> bridge.zip, >> containing a bridge folder, which is working for me. If you unzip it >> to >> >> your > > tomcat webapps, restart tomcat and go to >> >> http://localhost:8080/bridge/demo-app/ >> >> Then you should see the example working. >> >> Best, >> >> Ernesto >> >> >> On Fri, Mar 20, 2009 at 6:34 AM, Daniel Dominik Holúbek < >> dankodo...@gmail.com> wrote: >> >> Right click -> Export -> Plugin development -> Deployable plug-ins and >> >>> fragments >>> Have a nice day :) >>> >>> On Thu, Mar 19, 2009 at 9:32 PM, Ernesto Reinaldo Barreiro < >>> reier...@gmail.com> wrote: >>> >>> Did you exported them how? As equinox jar files or as simple jar >>> files? >>> >> > Let >> >>> >>> me see if tomorrow I find some time for trying this out myself... Best, Ernesto On Thu, Mar 19, 2009 at 9:14 PM, Daniel Dominik Holúbek < dankodo...@gmail.com> wrote: Yes, > that's exactly what I did :) > I checked out the bundles, then exported them from eclipse. And > then > installed those bundles along with javax.servlet into the bridge > application, bud I got the error when I tried to install > > wstarter-demo. >>> >>> Thanks a lot! > > On Thu, Mar 19, 2009 at 8:28 PM, Ernesto Reinaldo Barreiro < > reier...@gmail.com> wrote: > > I co
Re: DropDownChoice in ListView
Thank you very much! Now that I know what to look out for, I think I must have been blind while searching for an answer. But my first reference, this cwiki page, missed out on this: http://cwiki.apache.org/WICKET/listview-with-checkboxes.html I just updated it and added the necessary line! Best Regards, Alex Am 21.03.2009 um 21:29 schrieb Martijn Dashorst: ListView documentation states that you should "setReuseItems(true)" when working in a form or with form components. Martijn On Sat, Mar 21, 2009 at 9:26 PM, Alexander Lohse wrote: Hi, I am encountering a strange problem when adding DropDownChoices to a ListView. Displaying and retrieving values works fine, BUT the values are lost during errorous form submission. The following ListView is added to a form. When the form is submitted successful all ModelObjects are updated fine. But when submission fails ( e.g. because of some other fields which are required and values are missing) the DropdownChoices loose their selected values and return to the "original" ModelObject value. Here is the code of the ListView: public class TaskList extends ListView { public TaskList (String id) { super(id); setRenderBodyOnly(true); } protected void populateItem (final ListItem listItem) { ReminderTaskProxyModel model = listItem.getModelObject(); WeekdayChoice dayChoice = new WeekdayChoice("day"); dayChoice.setModel(new PropertyModel(model, "day")); listItem.add(dayChoice); HourChoice hourChoice = new HourChoice("hour"); hourChoice.setModel(new PropertyModel(model, "hour")); listItem.add(hourChoice); listItem.setRenderBodyOnly(true); } } WeekdayChoice and HourChoice basically extend DropDownChoice and set the choices and a renderer: public class HourChoice extends DropDownChoice { public HourChoice (String id) { super(id); setChoiceRenderer(new HourRenderer()); List hours = new LinkedList(); for(int i = 1; i <= 24; i++) { hours.add(i); } setChoices(hours); } private class HourRenderer implements IChoiceRenderer { private NumberFormat format = new DecimalFormat("00.##"); public Object getDisplayValue (Integer hour) { return format.format(hour) + ":00"; } public String getIdValue (Integer hour, int index) { return String.valueOf(hour); } } } Any ideas, or hints where I might go wrong are greatly appreciated. Thank you in advance! Regards, Alex __ "A designer knows he has achieved perfection not when there is nothing left to add, but when there is nothing left to take away." (Antoine de Saint Exupéry) . Alexander Lohse • Entwicklungsleitung & Projektmanagement Tel +49 38374 752 11 • Fax +49 38374 752 23 http://www.humantouch.de Human Touch Medienproduktion GmbH Am See 1 • 17440 Klein Jasedow • Deutschland Geschäftsführung: Lara Mallien, Nele Hybsier, Alexander Lohse, Johannes Heimrath (Senior) Handelsregister Stralsund • HRB 4192 • USt-IdNr. DE128367684 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Become a Wicket expert, learn from the best: http://wicketinaction.com Apache Wicket 1.3.5 is released Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org __ "In software, we rarely have meaningful requirements. Even if we do, the only measure of success that matters is whether our solution solves the customer's shifting idea of what their problem is." (Jeff Atwood) . Alexander Lohse • Entwicklungsleitung & Projektmanagement Tel +49 38374 752 11 • Fax +49 38374 752 23 http://www.humantouch.de Human Touch Medienproduktion GmbH Am See 1 • 17440 Klein Jasedow • Deutschland Geschäftsführung: Lara Mallien, Nele Hybsier, Alexander Lohse, Johannes Heimrath (Senior) Handelsregister Stralsund • HRB 4192 • USt-IdNr. DE128367684 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: DropDownChoice in ListView
ListView documentation states that you should "setReuseItems(true)" when working in a form or with form components. Martijn On Sat, Mar 21, 2009 at 9:26 PM, Alexander Lohse wrote: > Hi, > > I am encountering a strange problem when adding DropDownChoices to a > ListView. Displaying and retrieving values works fine, BUT the values are > lost during errorous form submission. > > The following ListView is added to a form. When the form is submitted > successful all ModelObjects are updated fine. > But when submission fails ( e.g. because of some other fields which are > required and values are missing) the DropdownChoices loose their selected > values and return to the "original" ModelObject value. > > Here is the code of the ListView: > > public class TaskList extends ListView { > > public TaskList (String id) { > super(id); > setRenderBodyOnly(true); > } > > protected void populateItem (final ListItem > listItem) { > ReminderTaskProxyModel model = listItem.getModelObject(); > > WeekdayChoice dayChoice = new WeekdayChoice("day"); > dayChoice.setModel(new PropertyModel(model, "day")); > listItem.add(dayChoice); > > HourChoice hourChoice = new HourChoice("hour"); > hourChoice.setModel(new PropertyModel(model, "hour")); > listItem.add(hourChoice); > > listItem.setRenderBodyOnly(true); > } > } > > WeekdayChoice and HourChoice basically extend DropDownChoice and set the > choices and a renderer: > > public class HourChoice extends DropDownChoice { > > public HourChoice (String id) { > super(id); > setChoiceRenderer(new HourRenderer()); > List hours = new LinkedList(); > for(int i = 1; i <= 24; i++) { > hours.add(i); > } > setChoices(hours); > } > > private class HourRenderer implements IChoiceRenderer { > > private NumberFormat format = new DecimalFormat("00.##"); > > public Object getDisplayValue (Integer hour) { > return format.format(hour) + ":00"; > } > > public String getIdValue (Integer hour, int index) { > return String.valueOf(hour); > } > } > } > > Any ideas, or hints where I might go wrong are greatly appreciated. > Thank you in advance! > > Regards, > > Alex > __ > > "A designer knows he has achieved perfection not when there is nothing left > to add, > but when there is nothing left to take away." > (Antoine de Saint Exupéry) > . > > Alexander Lohse • Entwicklungsleitung & Projektmanagement > Tel +49 38374 752 11 • Fax +49 38374 752 23 > http://www.humantouch.de > > Human Touch Medienproduktion GmbH > Am See 1 • 17440 Klein Jasedow • Deutschland > > Geschäftsführung: > Lara Mallien, Nele Hybsier, Alexander Lohse, Johannes Heimrath (Senior) > Handelsregister Stralsund • HRB 4192 • USt-IdNr. DE128367684 > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Become a Wicket expert, learn from the best: http://wicketinaction.com Apache Wicket 1.3.5 is released Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
DropDownChoice in ListView
Hi, I am encountering a strange problem when adding DropDownChoices to a ListView. Displaying and retrieving values works fine, BUT the values are lost during errorous form submission. The following ListView is added to a form. When the form is submitted successful all ModelObjects are updated fine. But when submission fails ( e.g. because of some other fields which are required and values are missing) the DropdownChoices loose their selected values and return to the "original" ModelObject value. Here is the code of the ListView: public class TaskList extends ListView { public TaskList (String id) { super(id); setRenderBodyOnly(true); } protected void populateItem (final ListItem listItem) { ReminderTaskProxyModel model = listItem.getModelObject(); WeekdayChoice dayChoice = new WeekdayChoice("day"); dayChoice.setModel(new PropertyModel(model, "day")); listItem.add(dayChoice); HourChoice hourChoice = new HourChoice("hour"); hourChoice.setModel(new PropertyModel(model, "hour")); listItem.add(hourChoice); listItem.setRenderBodyOnly(true); } } WeekdayChoice and HourChoice basically extend DropDownChoice and set the choices and a renderer: public class HourChoice extends DropDownChoice { public HourChoice (String id) { super(id); setChoiceRenderer(new HourRenderer()); List hours = new LinkedList(); for(int i = 1; i <= 24; i++) { hours.add(i); } setChoices(hours); } private class HourRenderer implements IChoiceRenderer { private NumberFormat format = new DecimalFormat("00.##"); public Object getDisplayValue (Integer hour) { return format.format(hour) + ":00"; } public String getIdValue (Integer hour, int index) { return String.valueOf(hour); } } } Any ideas, or hints where I might go wrong are greatly appreciated. Thank you in advance! Regards, Alex __ "A designer knows he has achieved perfection not when there is nothing left to add, but when there is nothing left to take away." (Antoine de Saint Exupéry) . Alexander Lohse • Entwicklungsleitung & Projektmanagement Tel +49 38374 752 11 • Fax +49 38374 752 23 http://www.humantouch.de Human Touch Medienproduktion GmbH Am See 1 • 17440 Klein Jasedow • Deutschland Geschäftsführung: Lara Mallien, Nele Hybsier, Alexander Lohse, Johannes Heimrath (Senior) Handelsregister Stralsund • HRB 4192 • USt-IdNr. DE128367684 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: GRIDVIEW refresh -- yes or no.
if that is the case you can create a quickstart and attach it to a jira issue. -igor On Sat, Mar 21, 2009 at 12:39 PM, ej595 wrote: > > Yes i tried that also to see what the situation is. Iterator is only called > once. Unless the entire page is re-loaded. I could be missing something > simple. > > What ive done now is in the onUpdate(AjaxRequestTarget target) ive called > getItems(); and i maniplate the items in the list manually. If call clear() > on the list to see if somehow magically the iterator method will gets called > again, it simply clears the list and never re-loads it (until i reload the > entire page). > > > > > igor.vaynberg wrote: >> >> set a breakpoint in idataprovider and see if size/iterator() are >> called inside the ajax call. they should be. >> >> -igor >> >> On Sat, Mar 21, 2009 at 10:49 AM, ej595 wrote: >>> >>> Yes , for sure it definately repaints it, but it seems that it repaints >>> with >>> the same contents or updated contents of the Items loaded from the inital >>> dataprovider call ( iterator(int first, int count) ). If for example i >>> want >>> to refresh that list with a NEW database call, or rebuild the list - then >>> it >>> doesnt seem to do that. >>> >>> If for example, i have an ordered list of items in the grid that is >>> determined by the model object (say, a property called position ), if i >>> update the postion field i would expect that i could write the new >>> position >>> to the DB, reload the items with the same query (that was ordered by >>> postion) and then refresh the grid with everything moving into the >>> correct >>> position. That doesnt seem to happen. The values get updated, but it >>> doesnt >>> populate the grid with the NEW data from the db call. >>> >>> >>> >>> igor.vaynberg wrote: webmarkupcontainer container=new webmarkupcontainer(); container.setoutputmarkupid(true); container.add(new mygridview()); ...add(new ajaxlink() { onclick(target) { target.add(container); }}); will repaint the entire gridview via ajax. -igor On Sat, Mar 21, 2009 at 9:25 AM, ej595 wrote: > > Been spending some time with the Gridview repeater. Im using it for the > cols > and rows feature, and all seems great. However, it seems the > dataprovider > is > only called once. If you have an ajax checkbox for example in your > grid, > and > as a result of a click you want to update the ENTIRE item list, the i > seems > thats not permitted unless you reload the page. > > is this part of the gridview operation, or should i be looking at > another > repeater (which has the row, cols feature) > > > -- > View this message in context: > http://www.nabble.com/GRIDVIEW-refreshyes-or-no.-tp22637779p22637779.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org >>> >>> -- >>> View this message in context: >>> http://www.nabble.com/GRIDVIEW-refreshyes-or-no.-tp22637779p22638572.html >>> Sent from the Wicket - User mailing list archive at Nabble.com. >>> >>> >>> - >>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >>> For additional commands, e-mail: users-h...@wicket.apache.org >>> >>> >> >> - >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> >> > > -- > View this message in context: > http://www.nabble.com/GRIDVIEW-refreshyes-or-no.-tp22637779p22639567.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: GRIDVIEW refresh -- yes or no.
Yes i tried that also to see what the situation is. Iterator is only called once. Unless the entire page is re-loaded. I could be missing something simple. What ive done now is in the onUpdate(AjaxRequestTarget target) ive called getItems(); and i maniplate the items in the list manually. If call clear() on the list to see if somehow magically the iterator method will gets called again, it simply clears the list and never re-loads it (until i reload the entire page). igor.vaynberg wrote: > > set a breakpoint in idataprovider and see if size/iterator() are > called inside the ajax call. they should be. > > -igor > > On Sat, Mar 21, 2009 at 10:49 AM, ej595 wrote: >> >> Yes , for sure it definately repaints it, but it seems that it repaints >> with >> the same contents or updated contents of the Items loaded from the inital >> dataprovider call ( iterator(int first, int count) ). If for example i >> want >> to refresh that list with a NEW database call, or rebuild the list - then >> it >> doesnt seem to do that. >> >> If for example, i have an ordered list of items in the grid that is >> determined by the model object (say, a property called position ), if i >> update the postion field i would expect that i could write the new >> position >> to the DB, reload the items with the same query (that was ordered by >> postion) and then refresh the grid with everything moving into the >> correct >> position. That doesnt seem to happen. The values get updated, but it >> doesnt >> populate the grid with the NEW data from the db call. >> >> >> >> igor.vaynberg wrote: >>> >>> webmarkupcontainer container=new webmarkupcontainer(); >>> container.setoutputmarkupid(true); >>> container.add(new mygridview()); >>> >>> ...add(new ajaxlink() { onclick(target) { target.add(container); }}); >>> >>> will repaint the entire gridview via ajax. >>> >>> -igor >>> >>> On Sat, Mar 21, 2009 at 9:25 AM, ej595 wrote: Been spending some time with the Gridview repeater. Im using it for the cols and rows feature, and all seems great. However, it seems the dataprovider is only called once. If you have an ajax checkbox for example in your grid, and as a result of a click you want to update the ENTIRE item list, the i seems thats not permitted unless you reload the page. is this part of the gridview operation, or should i be looking at another repeater (which has the row, cols feature) -- View this message in context: http://www.nabble.com/GRIDVIEW-refreshyes-or-no.-tp22637779p22637779.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org >>> >>> - >>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >>> For additional commands, e-mail: users-h...@wicket.apache.org >>> >>> >>> >> >> -- >> View this message in context: >> http://www.nabble.com/GRIDVIEW-refreshyes-or-no.-tp22637779p22638572.html >> Sent from the Wicket - User mailing list archive at Nabble.com. >> >> >> - >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > > -- View this message in context: http://www.nabble.com/GRIDVIEW-refreshyes-or-no.-tp22637779p22639567.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: GRIDVIEW refresh -- yes or no.
set a breakpoint in idataprovider and see if size/iterator() are called inside the ajax call. they should be. -igor On Sat, Mar 21, 2009 at 10:49 AM, ej595 wrote: > > Yes , for sure it definately repaints it, but it seems that it repaints with > the same contents or updated contents of the Items loaded from the inital > dataprovider call ( iterator(int first, int count) ). If for example i want > to refresh that list with a NEW database call, or rebuild the list - then it > doesnt seem to do that. > > If for example, i have an ordered list of items in the grid that is > determined by the model object (say, a property called position ), if i > update the postion field i would expect that i could write the new position > to the DB, reload the items with the same query (that was ordered by > postion) and then refresh the grid with everything moving into the correct > position. That doesnt seem to happen. The values get updated, but it doesnt > populate the grid with the NEW data from the db call. > > > > igor.vaynberg wrote: >> >> webmarkupcontainer container=new webmarkupcontainer(); >> container.setoutputmarkupid(true); >> container.add(new mygridview()); >> >> ...add(new ajaxlink() { onclick(target) { target.add(container); }}); >> >> will repaint the entire gridview via ajax. >> >> -igor >> >> On Sat, Mar 21, 2009 at 9:25 AM, ej595 wrote: >>> >>> Been spending some time with the Gridview repeater. Im using it for the >>> cols >>> and rows feature, and all seems great. However, it seems the dataprovider >>> is >>> only called once. If you have an ajax checkbox for example in your grid, >>> and >>> as a result of a click you want to update the ENTIRE item list, the i >>> seems >>> thats not permitted unless you reload the page. >>> >>> is this part of the gridview operation, or should i be looking at another >>> repeater (which has the row, cols feature) >>> >>> >>> -- >>> View this message in context: >>> http://www.nabble.com/GRIDVIEW-refreshyes-or-no.-tp22637779p22637779.html >>> Sent from the Wicket - User mailing list archive at Nabble.com. >>> >>> >>> - >>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >>> For additional commands, e-mail: users-h...@wicket.apache.org >>> >>> >> >> - >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> >> > > -- > View this message in context: > http://www.nabble.com/GRIDVIEW-refreshyes-or-no.-tp22637779p22638572.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: AjaxTabbedPanel stopped working.
Thanks! You really saved my day. -- View this message in context: http://www.nabble.com/AjaxTabbedPanel-stopped-working.-tp22639328p22639422.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: AjaxTabbedPanel stopped working.
Mathias P.W Nilsson wrote: Hi, I know this code is long but for some reason my AjaxTabbedPanel,link,onSubmit() is not getting called. Create an onError and add the feedback panel to target, so you'll know why. Adriano - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
AjaxTabbedPanel stopped working.
Hi, I know this code is long but for some reason my AjaxTabbedPanel,link,onSubmit() is not getting called. package se.edgesoft.hairless.web.page.site.checkout; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; import java.util.LinkedList; import java.util.List; import org.apache.wicket.ajax.AjaxRequestTarget; import org.apache.wicket.ajax.form.AjaxFormComponentUpdatingBehavior; import org.apache.wicket.ajax.markup.html.AjaxLink; import org.apache.wicket.ajax.markup.html.form.AjaxCheckBox; import org.apache.wicket.ajax.markup.html.form.AjaxSubmitLink; import org.apache.wicket.extensions.ajax.markup.html.tabs.AjaxTabbedPanel; import org.apache.wicket.extensions.markup.html.tabs.AbstractTab; import org.apache.wicket.markup.html.WebMarkupContainer; import org.apache.wicket.markup.html.basic.Label; import org.apache.wicket.markup.html.form.CheckBox; import org.apache.wicket.markup.html.form.ChoiceRenderer; import org.apache.wicket.markup.html.form.DropDownChoice; import org.apache.wicket.markup.html.form.Form; import org.apache.wicket.markup.html.form.TextField; import org.apache.wicket.markup.html.link.BookmarkablePageLink; import org.apache.wicket.markup.html.link.Link; import org.apache.wicket.markup.html.panel.FeedbackPanel; import org.apache.wicket.markup.html.panel.Fragment; import org.apache.wicket.markup.html.panel.Panel; import org.apache.wicket.model.CompoundPropertyModel; import org.apache.wicket.model.IModel; import org.apache.wicket.model.LoadableDetachableModel; import org.apache.wicket.model.Model; import org.apache.wicket.model.PropertyModel; import org.apache.wicket.protocol.http.WebRequest; import org.apache.wicket.spring.injection.annot.SpringBean; import org.apache.wicket.validation.validator.EmailAddressValidator; import org.apache.wicket.validation.validator.StringValidator; import se.edgesoft.hairless.entities.cart.Cart; import se.edgesoft.hairless.entities.cart.CartItem; import se.edgesoft.hairless.entities.country.FreightCost; import se.edgesoft.hairless.entities.item.Item; import se.edgesoft.hairless.entities.item.SubItem; import se.edgesoft.hairless.entities.item.attribute.Attribute; import se.edgesoft.hairless.entities.order.Order; import se.edgesoft.hairless.entities.order.OrderItem; import se.edgesoft.hairless.entities.order.kreditor.KreditorOrder; import se.edgesoft.hairless.entities.order.posten.PostenOrder; import se.edgesoft.hairless.entities.presentation.Presentation; import se.edgesoft.hairless.entities.presentation.PresentationType; import se.edgesoft.hairless.entities.translation.Translation; import se.edgesoft.hairless.entities.translation.TranslationType; import se.edgesoft.hairless.entities.user.User; import se.edgesoft.hairless.model.order.payment.DirectPayment; import se.edgesoft.hairless.model.order.payment.IPayment; import se.edgesoft.hairless.model.order.payment.KreditorException; import se.edgesoft.hairless.model.order.payment.KreditorFactory; import se.edgesoft.hairless.model.order.payment.KreditorPayment; import se.edgesoft.hairless.model.order.payment.MonthlyKreditorPayment; import se.edgesoft.hairless.model.order.payment.PaymentFactory; import se.edgesoft.hairless.model.order.payment.PaymentMethod; import se.edgesoft.hairless.model.order.posten.PostenPaymentMethod; import se.edgesoft.hairless.model.presentation.PresentationManager; import se.edgesoft.hairless.model.translation.Translator; import se.edgesoft.hairless.model.translation.TranslatorManager; import se.edgesoft.hairless.session.HairlessSession; import se.edgesoft.hairless.utils.DateValidator; import se.edgesoft.hairless.web.components.form.ForgotPassWordForm; import se.edgesoft.hairless.web.components.form.NewUserForm; import se.edgesoft.hairless.web.page.site.Base; import se.edgesoft.hairless.web.page.site.OverviewablePage; import se.edgesoft.hairless.web.page.site.customerservice.Terms; import se.edgesoft.hairless.web.panels.cart.PurchaseItemPanel; public class PurchasePage extends OverviewablePage{ AjaxTabbedPanel panel; private IPayment payment; PurchaseItemPanel immediateDeliveryPanel; @SpringBean( name = "PaymentFactory" ) private PaymentFactory paymentFactory; @SpringBean( name = "KreditorFactory" ) private KreditorFactory kreditorFactory; private User user; public KreditorFactory getKreditorFactory() { return kreditorFactory; } public PaymentFactory getPaymentFactory() { return paymentFactory; } public IPayment getPayment() { return payment; } public void setPayment(IPayment payment) { this.payment = payment; } public PurchasePage(){ Presentation presentation = new PresentationManager( getStore() ).getPresentation( PresentationType.CART ); Translat
Re: How can I share text resources with multiple web applications?
Ant is for n00bz... real men use commandline cp and javac, or if you're really good just type in byte code directly. Martijn On Sat, Mar 21, 2009 at 8:23 AM, Igor Vaynberg wrote: > the real question is, where do the ant folks keep their resources? :) > > -igor > > On Fri, Mar 20, 2009 at 10:58 PM, Brill Pappin wrote: >> Ahh... yes of course. >> >> I was hoping for a switch that would put the html there as well, and not >> include the extra resource config :) >> Oh well... its not too big a deal. >> >> - Brill >> >> On 21-Mar-09, at 1:44 AM, James Carman wrote: >> >>> On Sat, Mar 21, 2009 at 1:35 AM, Brill Pappin wrote: Re: "The quickstart allows both." Does it? I missed that feature but it would be very handy! >>> >>> Sure! Take a look at a generated quickstart. There's a >>> src/main/resources directory with a log4j.properties file in there >>> (which gets copied over to the target/classes directory). So, it >>> doesn't obliterate the "maven way" of doing things. It just augments >>> it. >>> and yes in that case it's an established project... I think this thread has gotten a bit emotional and mixed up with several different discussions (which is likely my doing). >>> >>> Heh, no worries. We all seem to get worked up when discussing how >>> things *should* be done. :) >>> >>> - >>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >>> For additional commands, e-mail: users-h...@wicket.apache.org >>> >> >> >> - >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Become a Wicket expert, learn from the best: http://wicketinaction.com Apache Wicket 1.3.5 is released Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: GRIDVIEW refresh -- yes or no.
Yes , for sure it definately repaints it, but it seems that it repaints with the same contents or updated contents of the Items loaded from the inital dataprovider call ( iterator(int first, int count) ). If for example i want to refresh that list with a NEW database call, or rebuild the list - then it doesnt seem to do that. If for example, i have an ordered list of items in the grid that is determined by the model object (say, a property called position ), if i update the postion field i would expect that i could write the new position to the DB, reload the items with the same query (that was ordered by postion) and then refresh the grid with everything moving into the correct position. That doesnt seem to happen. The values get updated, but it doesnt populate the grid with the NEW data from the db call. igor.vaynberg wrote: > > webmarkupcontainer container=new webmarkupcontainer(); > container.setoutputmarkupid(true); > container.add(new mygridview()); > > ...add(new ajaxlink() { onclick(target) { target.add(container); }}); > > will repaint the entire gridview via ajax. > > -igor > > On Sat, Mar 21, 2009 at 9:25 AM, ej595 wrote: >> >> Been spending some time with the Gridview repeater. Im using it for the >> cols >> and rows feature, and all seems great. However, it seems the dataprovider >> is >> only called once. If you have an ajax checkbox for example in your grid, >> and >> as a result of a click you want to update the ENTIRE item list, the i >> seems >> thats not permitted unless you reload the page. >> >> is this part of the gridview operation, or should i be looking at another >> repeater (which has the row, cols feature) >> >> >> -- >> View this message in context: >> http://www.nabble.com/GRIDVIEW-refreshyes-or-no.-tp22637779p22637779.html >> Sent from the Wicket - User mailing list archive at Nabble.com. >> >> >> - >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > > -- View this message in context: http://www.nabble.com/GRIDVIEW-refreshyes-or-no.-tp22637779p22638572.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: GRIDVIEW refresh -- yes or no.
webmarkupcontainer container=new webmarkupcontainer(); container.setoutputmarkupid(true); container.add(new mygridview()); ...add(new ajaxlink() { onclick(target) { target.add(container); }}); will repaint the entire gridview via ajax. -igor On Sat, Mar 21, 2009 at 9:25 AM, ej595 wrote: > > Been spending some time with the Gridview repeater. Im using it for the cols > and rows feature, and all seems great. However, it seems the dataprovider is > only called once. If you have an ajax checkbox for example in your grid, and > as a result of a click you want to update the ENTIRE item list, the i seems > thats not permitted unless you reload the page. > > is this part of the gridview operation, or should i be looking at another > repeater (which has the row, cols feature) > > > -- > View this message in context: > http://www.nabble.com/GRIDVIEW-refreshyes-or-no.-tp22637779p22637779.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Extensible wicket application
Yah, the whole argument about where the resources should go or the one before that about top posting or bottom posting. You'd think we didn't have any actual work to do :) - Brill On 21-Mar-09, at 12:39 PM, Ernesto Reinaldo Barreiro wrote: useless thread? On Sat, Mar 21, 2009 at 4:17 PM, Brill Pappin wrote: At the risk of starting another useless thread, this is what I do for images and other non HTML resources that are shared: - if the project is small, they can just sit with the HTML. - if the project is larger then it might be useful to keep them more separate, under an images directory and use the base page to ref them or even create a loader to manage them. Ether way, you use them the same way, only prefix the resource name with the subdir if you have separated them out. As for your db error, that looks like something out side the scope of wicket. - Brill Pappin Sent from my mobile. On 21-Mar-09, at 9:38 AM, Daniel Dominik Holúbek > wrote: Thanks a lot, it works now. However, two more questions. Where should I place images folder and how should I access it in my html files (or style.css as well)? And the second one: when i try to insert a record with hibernate into my database, i get this exception: Batch entry 0 insert into forum.anim_forum (autor, email, title, text, datum, ip, id) values (...) was aborted. and org.hibernate.exception.DataException: Could not execute JDBC batch update Could you (or possibly anyone else) help me with this? :) Thanks! On Fri, Mar 20, 2009 at 10:27 PM, Ernesto Reinaldo Barreiro < reier...@gmail.com> wrote: One more thing. As far as I remember the servlet bridge makes a 'work copy' of the plugins folder if you see you make changes, export the plugins, and changes do not 'propagate' to the application, try deleting works/Catalina folder. On Fri, Mar 20, 2009 at 9:58 PM, Ernesto Reinaldo Barreiro < reier...@gmail.com> wrote: Hi Daniel, I found some time to get it working! The key to the problem was http://dev.eclipse.org/newslists/news.eclipse.technology.equinox/msg04838.html So, if you synchronize the projects com.antilia.wstarter com.antilia.wstarter.demo exports them to you bridge it should work. I attach copy of bridge.zip, containing a bridge folder, which is working for me. If you unzip it to your tomcat webapps, restart tomcat and go to http://localhost:8080/bridge/demo-app/ Then you should see the example working. Best, Ernesto On Fri, Mar 20, 2009 at 6:34 AM, Daniel Dominik Holúbek < dankodo...@gmail.com> wrote: Right click -> Export -> Plugin development -> Deployable plug- ins and fragments Have a nice day :) On Thu, Mar 19, 2009 at 9:32 PM, Ernesto Reinaldo Barreiro < reier...@gmail.com> wrote: Did you exported them how? As equinox jar files or as simple jar files? Let me see if tomorrow I find some time for trying this out myself... Best, Ernesto On Thu, Mar 19, 2009 at 9:14 PM, Daniel Dominik Holúbek < dankodo...@gmail.com> wrote: Yes, that's exactly what I did :) I checked out the bundles, then exported them from eclipse. And then installed those bundles along with javax.servlet into the bridge application, bud I got the error when I tried to install wstarter-demo. Thanks a lot! On Thu, Mar 19, 2009 at 8:28 PM, Ernesto Reinaldo Barreiro < reier...@gmail.com> wrote: I couldn't try today to build the example using servlet bridge, to busy over here;-), let me see if I can find some time tomorrow to get it working. But normally what I would do is use eclipse for development and then export the jar to a bridge/plugins for deployment... Did you read this page http://www.eclipse.org/equinox/server/http_in_container.php Best, Ernesto On Thu, Mar 19, 2009 at 11:08 AM, Daniel Dominik Holúbek < dankodo...@gmail.com> wrote: Well, now I have tried to run it in eclipse and it is running properly. On Wed, Mar 18, 2009 at 7:21 PM, Ernesto Reinaldo Barreiro < reier...@gmail.com> wrote: Hi Daniel, Is this the output of the console? I have no idea what's going on... I'll try to get bridge running myself with those bundles (*wstarter*)... Did you tried running them with eclipse and the starter demo contains? Ernesto On Tue, Mar 17, 2009 at 10:58 PM, Daniel Dominik Holúbek < dankodo...@gmail.com> wrote: Ok, so I finally managed to get it working :) I installed the http-console bundle an it works, but when I try to run your demo application, when trying to start the demo bundle I get this error: java.lang.LinkageError: loader constraints violated when linking javax/servlet/Servlet class My bundles are: idState Bundle 0ACTIVE org.eclipse.osgi_3.3.0.200704022148 Fragments=12 1ACTIVE org.eclipse.equinox.common_3.3.0.200704022148 2ACTIVE org.eclipse.update.configurator_3.2.100.v20070322 3ACTIVE org.eclipse.equi
Re: Wicketstuff Core Dependency Management...
I don't mind fixing it at all, but I do believe it should be fixed. I spent a LONG time trying to figure out why my dependencies were showing up as "provided" when I clearly set them up in my pom as the default scope (compile). On Sat, Mar 21, 2009 at 12:27 PM, Jeremy Thomerson wrote: > I'm totally in favor of anyone who knows more about Maven than me to fix it. > I didn't know about the transitive dependency issue. > > Here are two things that I would add, though: > - other than wicket itself, I don't think the parent should add any required > dependencies - many subprojects may not need them > > - you should only make the change if you're willing to fix anything that you > break. That's part of the deal. Running a mvn clean install and a mvn > site:deploy (it's not deploy, but I can't remember - anyway the site > generation is working and should be tested) > > Jeremy Thomerson > http://www.wickettraining.com > -- sent from a wireless device > > > -Original Message- > From: James Carman > Sent: Saturday, March 21, 2009 10:17 AM > To: users@wicket.apache.org > Subject: Re: Wicketstuff Core Dependency Management... > > Wicket itself doesn't declare the dependencies this way. So, why > should wicketstuff-core? > > On Sat, Mar 21, 2009 at 11:11 AM, James Carman > wrote: >> But, I shouldn't *have* to do that, Brill. That's the whole point. >> Breaking transitive dependency resolution is a bad thing in the maven >> world. We're handing dependencies the wrong way if we're breaking >> stuff. >> >> On Sat, Mar 21, 2009 at 11:07 AM, Brill Pappin wrote: >>> Actually that might mess up the rest of us :) >>> >>> If you need those lobs to be includes, simply add them to you pom and change >>> their scope so they are included... The build should then override the >>> provided scope in the parent. >>> >>> - Brill Pappin >>> Sent from my mobile. >>> >>> >>> On 21-Mar-09, at 9:01 AM, James Carman wrote: >>> The dependencies in the main wicketstuff-core are "scoped" for stuff like slf4j and jetty to be "provided". This totally screwed me up when I was trying to write an example application (the log4j stuff wasn't showing up because it was marked as provided by the parent pom). Does anyone care if I remove the scope declarations from the section in the wicketstuff-core parent pom? It fixed my problem when I did. James - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org >>> >>> - >>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >>> For additional commands, e-mail: users-h...@wicket.apache.org >>> >>> >> > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Extensible wicket application
You are welcome. Sorry, I can no longer help with your new problems... Just one more thing: if you are going to ask different questions maybe is better if you start a new thread. Best, Ernesto On Sat, Mar 21, 2009 at 2:38 PM, Daniel Dominik Holúbek < dankodo...@gmail.com> wrote: > Thanks a lot, it works now. > However, two more questions. Where should I place images folder and how > should I access it in my html files (or style.css as well)? > And the second one: when i try to insert a record with hibernate into my > database, i get this exception: > > Batch entry 0 insert into forum.anim_forum (autor, email, title, text, > datum, ip, id) values (...) was aborted. > > and > > org.hibernate.exception.DataException: Could not execute JDBC batch update > > Could you (or possibly anyone else) help me with this? :) > Thanks! > > On Fri, Mar 20, 2009 at 10:27 PM, Ernesto Reinaldo Barreiro < > reier...@gmail.com> wrote: > > > One more thing. As far as I remember the servlet bridge makes a 'work > copy' > > of the plugins folder if you see you make changes, export the plugins, > and > > changes do not 'propagate' to the application, try deleting > works/Catalina > > folder. > > > > On Fri, Mar 20, 2009 at 9:58 PM, Ernesto Reinaldo Barreiro < > > reier...@gmail.com> wrote: > > > > > Hi Daniel, > > > > > > I found some time to get it working! The key to the problem was > > > > > > > > > > > > http://dev.eclipse.org/newslists/news.eclipse.technology.equinox/msg04838.html > > > > > > So, if you synchronize the projects > > > > > > com.antilia.wstarter > > > com.antilia.wstarter.demo > > > > > > exports them to you bridge it should work. I attach copy of > bridge.zip, > > > containing a bridge folder, which is working for me. If you unzip it to > > your > > > tomcat webapps, restart tomcat and go to > > > > > > http://localhost:8080/bridge/demo-app/ > > > > > > Then you should see the example working. > > > > > > Best, > > > > > > Ernesto > > > > > > > > > On Fri, Mar 20, 2009 at 6:34 AM, Daniel Dominik Holúbek < > > > dankodo...@gmail.com> wrote: > > > > > >> Right click -> Export -> Plugin development -> Deployable plug-ins and > > >> fragments > > >> Have a nice day :) > > >> > > >> On Thu, Mar 19, 2009 at 9:32 PM, Ernesto Reinaldo Barreiro < > > >> reier...@gmail.com> wrote: > > >> > > >> > Did you exported them how? As equinox jar files or as simple jar > > files? > > >> Let > > >> > me see if tomorrow I find some time for trying this out myself... > > >> > > > >> > Best, > > >> > > > >> > Ernesto > > >> > > > >> > On Thu, Mar 19, 2009 at 9:14 PM, Daniel Dominik Holúbek < > > >> > dankodo...@gmail.com> wrote: > > >> > > > >> > > Yes, > > >> > > that's exactly what I did :) > > >> > > I checked out the bundles, then exported them from eclipse. And > then > > >> > > installed those bundles along with javax.servlet into the bridge > > >> > > application, bud I got the error when I tried to install > > >> wstarter-demo. > > >> > > > > >> > > Thanks a lot! > > >> > > > > >> > > On Thu, Mar 19, 2009 at 8:28 PM, Ernesto Reinaldo Barreiro < > > >> > > reier...@gmail.com> wrote: > > >> > > > > >> > > > I couldn't try today to build the example using servlet bridge, > to > > >> busy > > >> > > > over > > >> > > > here;-), let me see if I can find some time tomorrow to get it > > >> working. > > >> > > But > > >> > > > normally what I would do is use eclipse for development and then > > >> export > > >> > > the > > >> > > > jar to a bridge/plugins for deployment... > > >> > > > > > >> > > > Did you read this page > > >> > > > > > >> > > > http://www.eclipse.org/equinox/server/http_in_container.php > > >> > > > > > >> > > > Best, > > >> > > > > > >> > > > Ernesto > > >> > > > > > >> > > > > > >> > > > On Thu, Mar 19, 2009 at 11:08 AM, Daniel Dominik Holúbek < > > >> > > > dankodo...@gmail.com> wrote: > > >> > > > > > >> > > > > Well, > > >> > > > > now I have tried to run it in eclipse and it is running > > properly. > > >> > > > > > > >> > > > > > > >> > > > > On Wed, Mar 18, 2009 at 7:21 PM, Ernesto Reinaldo Barreiro < > > >> > > > > reier...@gmail.com> wrote: > > >> > > > > > > >> > > > > > Hi Daniel, > > >> > > > > > > > >> > > > > > Is this the output of the console? I have no idea what's > going > > >> > on... > > >> > > > I'll > > >> > > > > > try to get bridge running myself with those bundles > > >> (*wstarter*)... > > >> > > Did > > >> > > > > you > > >> > > > > > tried running them with eclipse and the starter demo > contains? > > >> > > > > > > > >> > > > > > Ernesto > > >> > > > > > > > >> > > > > > On Tue, Mar 17, 2009 at 10:58 PM, Daniel Dominik Holúbek < > > >> > > > > > dankodo...@gmail.com> wrote: > > >> > > > > > > > >> > > > > > > Ok, so I finally managed to get it working :) > > >> > > > > > > I installed the http-console bundle an it works, but when > I > > >> try > > >> > to > > >> > > > run > > >> > > > > > your > > >> > > > > > > demo application, when trying to start the demo bundle I > get >
Re: Extensible wicket application
useless thread? On Sat, Mar 21, 2009 at 4:17 PM, Brill Pappin wrote: > At the risk of starting another useless thread, this is what I do for > images and other non HTML resources that are shared: > - if the project is small, they can just sit with the HTML. > - if the project is larger then it might be useful to keep them more > separate, under an images directory and use the base page to ref them or > even create a loader to manage them. > > Ether way, you use them the same way, only prefix the resource name with > the subdir if you have separated them out. > > As for your db error, that looks like something out side the scope of > wicket. > > - Brill Pappin > Sent from my mobile. > > > > On 21-Mar-09, at 9:38 AM, Daniel Dominik Holúbek > wrote: > > Thanks a lot, it works now. >> However, two more questions. Where should I place images folder and how >> should I access it in my html files (or style.css as well)? >> And the second one: when i try to insert a record with hibernate into my >> database, i get this exception: >> >> Batch entry 0 insert into forum.anim_forum (autor, email, title, text, >> datum, ip, id) values (...) was aborted. >> >> and >> >> org.hibernate.exception.DataException: Could not execute JDBC batch update >> >> Could you (or possibly anyone else) help me with this? :) >> Thanks! >> >> On Fri, Mar 20, 2009 at 10:27 PM, Ernesto Reinaldo Barreiro < >> reier...@gmail.com> wrote: >> >> One more thing. As far as I remember the servlet bridge makes a 'work >>> copy' >>> of the plugins folder if you see you make changes, export the plugins, >>> and >>> changes do not 'propagate' to the application, try deleting >>> works/Catalina >>> folder. >>> >>> On Fri, Mar 20, 2009 at 9:58 PM, Ernesto Reinaldo Barreiro < >>> reier...@gmail.com> wrote: >>> >>> Hi Daniel, I found some time to get it working! The key to the problem was >>> http://dev.eclipse.org/newslists/news.eclipse.technology.equinox/msg04838.html >>> So, if you synchronize the projects com.antilia.wstarter com.antilia.wstarter.demo exports them to you bridge it should work. I attach copy of bridge.zip, containing a bridge folder, which is working for me. If you unzip it to >>> your >>> tomcat webapps, restart tomcat and go to http://localhost:8080/bridge/demo-app/ Then you should see the example working. Best, Ernesto On Fri, Mar 20, 2009 at 6:34 AM, Daniel Dominik Holúbek < dankodo...@gmail.com> wrote: Right click -> Export -> Plugin development -> Deployable plug-ins and > fragments > Have a nice day :) > > On Thu, Mar 19, 2009 at 9:32 PM, Ernesto Reinaldo Barreiro < > reier...@gmail.com> wrote: > > Did you exported them how? As equinox jar files or as simple jar >> > files? >>> Let > >> me see if tomorrow I find some time for trying this out myself... >> >> Best, >> >> Ernesto >> >> On Thu, Mar 19, 2009 at 9:14 PM, Daniel Dominik Holúbek < >> dankodo...@gmail.com> wrote: >> >> Yes, >>> that's exactly what I did :) >>> I checked out the bundles, then exported them from eclipse. And then >>> installed those bundles along with javax.servlet into the bridge >>> application, bud I got the error when I tried to install >>> >> wstarter-demo. > >> >>> Thanks a lot! >>> >>> On Thu, Mar 19, 2009 at 8:28 PM, Ernesto Reinaldo Barreiro < >>> reier...@gmail.com> wrote: >>> >>> I couldn't try today to build the example using servlet bridge, to >>> busy > >> over here;-), let me see if I can find some time tomorrow to get it >>> working. > >> But >>> normally what I would do is use eclipse for development and then >>> export > >> the >>> jar to a bridge/plugins for deployment... Did you read this page http://www.eclipse.org/equinox/server/http_in_container.php Best, Ernesto On Thu, Mar 19, 2009 at 11:08 AM, Daniel Dominik Holúbek < dankodo...@gmail.com> wrote: Well, > now I have tried to run it in eclipse and it is running > properly. >>> > > On Wed, Mar 18, 2009 at 7:21 PM, Ernesto Reinaldo Barreiro < > reier...@gmail.com> wrote: > > Hi Daniel, >> >> Is this the output of the console? I have no idea what's going >> > on... >> >>> I'll > try to get bridge running myself with those bundles >> > (*wstarter*)... > >> Did >>> you > >> tried running them with eclipse and the starter demo contains? >> >> Ernesto >> >> On Tue
RE: Wicketstuff Core Dependency Management...
I'm totally in favor of anyone who knows more about Maven than me to fix it. I didn't know about the transitive dependency issue. Here are two things that I would add, though: - other than wicket itself, I don't think the parent should add any required dependencies - many subprojects may not need them - you should only make the change if you're willing to fix anything that you break. That's part of the deal. Running a mvn clean install and a mvn site:deploy (it's not deploy, but I can't remember - anyway the site generation is working and should be tested) Jeremy Thomerson http://www.wickettraining.com -- sent from a wireless device -Original Message- From: James Carman Sent: Saturday, March 21, 2009 10:17 AM To: users@wicket.apache.org Subject: Re: Wicketstuff Core Dependency Management... Wicket itself doesn't declare the dependencies this way. So, why should wicketstuff-core? On Sat, Mar 21, 2009 at 11:11 AM, James Carman wrote: > But, I shouldn't *have* to do that, Brill. That's the whole point. > Breaking transitive dependency resolution is a bad thing in the maven > world. We're handing dependencies the wrong way if we're breaking > stuff. > > On Sat, Mar 21, 2009 at 11:07 AM, Brill Pappin wrote: >> Actually that might mess up the rest of us :) >> >> If you need those lobs to be includes, simply add them to you pom and change >> their scope so they are included... The build should then override the >> provided scope in the parent. >> >> - Brill Pappin >> Sent from my mobile. >> >> >> On 21-Mar-09, at 9:01 AM, James Carman wrote: >> >>> The dependencies in the main wicketstuff-core are "scoped" for stuff >>> like slf4j and jetty to be "provided". This totally screwed me up >>> when I was trying to write an example application (the log4j stuff >>> wasn't showing up because it was marked as provided by the parent >>> pom). Does anyone care if I remove the scope declarations from the >>> section in the wicketstuff-core parent pom? It >>> fixed my problem when I did. >>> >>> James >>> >>> - >>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >>> For additional commands, e-mail: users-h...@wicket.apache.org >>> >> >> - >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
GRIDVIEW refresh -- yes or no.
Been spending some time with the Gridview repeater. Im using it for the cols and rows feature, and all seems great. However, it seems the dataprovider is only called once. If you have an ajax checkbox for example in your grid, and as a result of a click you want to update the ENTIRE item list, the i seems thats not permitted unless you reload the page. is this part of the gridview operation, or should i be looking at another repeater (which has the row, cols feature) -- View this message in context: http://www.nabble.com/GRIDVIEW-refreshyes-or-no.-tp22637779p22637779.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicketstuff Core Dependency Management...
I thought you were talking about the the jetty dependencies (which I think slf4j is part of)? If they are not marked as provided, then won't everyone have to override them in order to exclude them? - Brill On 21-Mar-09, at 11:11 AM, James Carman wrote: But, I shouldn't *have* to do that, Brill. That's the whole point. Breaking transitive dependency resolution is a bad thing in the maven world. We're handing dependencies the wrong way if we're breaking stuff. On Sat, Mar 21, 2009 at 11:07 AM, Brill Pappin wrote: Actually that might mess up the rest of us :) If you need those lobs to be includes, simply add them to you pom and change their scope so they are included... The build should then override the provided scope in the parent. - Brill Pappin Sent from my mobile. On 21-Mar-09, at 9:01 AM, James Carman wrote: The dependencies in the main wicketstuff-core are "scoped" for stuff like slf4j and jetty to be "provided". This totally screwed me up when I was trying to write an example application (the log4j stuff wasn't showing up because it was marked as provided by the parent pom). Does anyone care if I remove the scope declarations from the section in the wicketstuff-core parent pom? It fixed my problem when I did. James - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Extensible wicket application
At the risk of starting another useless thread, this is what I do for images and other non HTML resources that are shared: - if the project is small, they can just sit with the HTML. - if the project is larger then it might be useful to keep them more separate, under an images directory and use the base page to ref them or even create a loader to manage them. Ether way, you use them the same way, only prefix the resource name with the subdir if you have separated them out. As for your db error, that looks like something out side the scope of wicket. - Brill Pappin Sent from my mobile. On 21-Mar-09, at 9:38 AM, Daniel Dominik Holúbek wrote: Thanks a lot, it works now. However, two more questions. Where should I place images folder and how should I access it in my html files (or style.css as well)? And the second one: when i try to insert a record with hibernate into my database, i get this exception: Batch entry 0 insert into forum.anim_forum (autor, email, title, text, datum, ip, id) values (...) was aborted. and org.hibernate.exception.DataException: Could not execute JDBC batch update Could you (or possibly anyone else) help me with this? :) Thanks! On Fri, Mar 20, 2009 at 10:27 PM, Ernesto Reinaldo Barreiro < reier...@gmail.com> wrote: One more thing. As far as I remember the servlet bridge makes a 'work copy' of the plugins folder if you see you make changes, export the plugins, and changes do not 'propagate' to the application, try deleting works/ Catalina folder. On Fri, Mar 20, 2009 at 9:58 PM, Ernesto Reinaldo Barreiro < reier...@gmail.com> wrote: Hi Daniel, I found some time to get it working! The key to the problem was http://dev.eclipse.org/newslists/news.eclipse.technology.equinox/msg04838.html So, if you synchronize the projects com.antilia.wstarter com.antilia.wstarter.demo exports them to you bridge it should work. I attach copy of bridge.zip, containing a bridge folder, which is working for me. If you unzip it to your tomcat webapps, restart tomcat and go to http://localhost:8080/bridge/demo-app/ Then you should see the example working. Best, Ernesto On Fri, Mar 20, 2009 at 6:34 AM, Daniel Dominik Holúbek < dankodo...@gmail.com> wrote: Right click -> Export -> Plugin development -> Deployable plug- ins and fragments Have a nice day :) On Thu, Mar 19, 2009 at 9:32 PM, Ernesto Reinaldo Barreiro < reier...@gmail.com> wrote: Did you exported them how? As equinox jar files or as simple jar files? Let me see if tomorrow I find some time for trying this out myself... Best, Ernesto On Thu, Mar 19, 2009 at 9:14 PM, Daniel Dominik Holúbek < dankodo...@gmail.com> wrote: Yes, that's exactly what I did :) I checked out the bundles, then exported them from eclipse. And then installed those bundles along with javax.servlet into the bridge application, bud I got the error when I tried to install wstarter-demo. Thanks a lot! On Thu, Mar 19, 2009 at 8:28 PM, Ernesto Reinaldo Barreiro < reier...@gmail.com> wrote: I couldn't try today to build the example using servlet bridge, to busy over here;-), let me see if I can find some time tomorrow to get it working. But normally what I would do is use eclipse for development and then export the jar to a bridge/plugins for deployment... Did you read this page http://www.eclipse.org/equinox/server/http_in_container.php Best, Ernesto On Thu, Mar 19, 2009 at 11:08 AM, Daniel Dominik Holúbek < dankodo...@gmail.com> wrote: Well, now I have tried to run it in eclipse and it is running properly. On Wed, Mar 18, 2009 at 7:21 PM, Ernesto Reinaldo Barreiro < reier...@gmail.com> wrote: Hi Daniel, Is this the output of the console? I have no idea what's going on... I'll try to get bridge running myself with those bundles (*wstarter*)... Did you tried running them with eclipse and the starter demo contains? Ernesto On Tue, Mar 17, 2009 at 10:58 PM, Daniel Dominik Holúbek < dankodo...@gmail.com> wrote: Ok, so I finally managed to get it working :) I installed the http-console bundle an it works, but when I try to run your demo application, when trying to start the demo bundle I get this error: java.lang.LinkageError: loader constraints violated when linking javax/servlet/Servlet class My bundles are: idState Bundle 0ACTIVE org.eclipse.osgi_3.3.0.200704022148 Fragments=12 1ACTIVE org.eclipse.equinox.common_3.3.0.200704022148 2ACTIVE org.eclipse.update.configurator_3.2.100.v20070322 3ACTIVE org.eclipse.equinox.http.servletbridge_1.0.0.200704022148 4ACTIVE org.eclipse.equinox.http.registry_1.0.0.200704022148 5ACTIVE http_console_1.0.0 6ACTIVE javax.servlet_2.4.0.200903171653 9ACTIVE org.eclipse.equinox.http.servlet_1.0.0.200704022148 11ACTIVE org.eclipse.equinox.registry_3.3.0.v20070318 12RESOLVED org.eclipse.equinox.servletbridge.extensionbundle_1.0.0
Re: Wicketstuff Core Dependency Management...
Wicket itself doesn't declare the dependencies this way. So, why should wicketstuff-core? On Sat, Mar 21, 2009 at 11:11 AM, James Carman wrote: > But, I shouldn't *have* to do that, Brill. That's the whole point. > Breaking transitive dependency resolution is a bad thing in the maven > world. We're handing dependencies the wrong way if we're breaking > stuff. > > On Sat, Mar 21, 2009 at 11:07 AM, Brill Pappin wrote: >> Actually that might mess up the rest of us :) >> >> If you need those lobs to be includes, simply add them to you pom and change >> their scope so they are included... The build should then override the >> provided scope in the parent. >> >> - Brill Pappin >> Sent from my mobile. >> >> >> On 21-Mar-09, at 9:01 AM, James Carman wrote: >> >>> The dependencies in the main wicketstuff-core are "scoped" for stuff >>> like slf4j and jetty to be "provided". This totally screwed me up >>> when I was trying to write an example application (the log4j stuff >>> wasn't showing up because it was marked as provided by the parent >>> pom). Does anyone care if I remove the scope declarations from the >>> section in the wicketstuff-core parent pom? It >>> fixed my problem when I did. >>> >>> James >>> >>> - >>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >>> For additional commands, e-mail: users-h...@wicket.apache.org >>> >> >> - >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
AutoCompleteTextField and accentuated characters
Hi, I have a problem AutoCompleteTextField and accentuated characters. When I type characters within the us-ascii set, there is no problem, but as soon as I use other characters (like 'é'), it doesn't work. The wrong character is received. With the Ajax debugger I can see that what is sent is wrong (or maybe encoded?). For a 'é', it sends is '%C3%A9'. That what is received as the parameter of the "getChoices" method. Is there something I can do about that? I am using Wicket 1.3.5 Thanks... -- View this message in context: http://www.nabble.com/AutoCompleteTextField-and-accentuated-characters-tp22637037p22637037.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicketstuff Core Dependency Management...
But, I shouldn't *have* to do that, Brill. That's the whole point. Breaking transitive dependency resolution is a bad thing in the maven world. We're handing dependencies the wrong way if we're breaking stuff. On Sat, Mar 21, 2009 at 11:07 AM, Brill Pappin wrote: > Actually that might mess up the rest of us :) > > If you need those lobs to be includes, simply add them to you pom and change > their scope so they are included... The build should then override the > provided scope in the parent. > > - Brill Pappin > Sent from my mobile. > > > On 21-Mar-09, at 9:01 AM, James Carman wrote: > >> The dependencies in the main wicketstuff-core are "scoped" for stuff >> like slf4j and jetty to be "provided". This totally screwed me up >> when I was trying to write an example application (the log4j stuff >> wasn't showing up because it was marked as provided by the parent >> pom). Does anyone care if I remove the scope declarations from the >> section in the wicketstuff-core parent pom? It >> fixed my problem when I did. >> >> James >> >> - >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicketstuff Core Dependency Management...
Actually that might mess up the rest of us :) If you need those lobs to be includes, simply add them to you pom and change their scope so they are included... The build should then override the provided scope in the parent. - Brill Pappin Sent from my mobile. On 21-Mar-09, at 9:01 AM, James Carman wrote: The dependencies in the main wicketstuff-core are "scoped" for stuff like slf4j and jetty to be "provided". This totally screwed me up when I was trying to write an example application (the log4j stuff wasn't showing up because it was marked as provided by the parent pom). Does anyone care if I remove the scope declarations from the section in the wicketstuff-core parent pom? It fixed my problem when I did. James - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: wicket-jasper UI
Oh nice! I was just contemplating how I was going to integrate jasper. Thanks for the heads up. - Brill Pappin Sent from my mobile. On 21-Mar-09, at 6:38 AM, freak182 wrote: Hello, I just wanna share this simple project called wicket-jasper. It is basically jasperreports embeded in wicket. If you wanna share your idea or added some features,please do so. Anyway, our company is already using it please see the attached files. Thanks. Cheers http://www.nabble.com/file/p22634657/wicket-jasper.tar wicket- jasper.tar -- View this message in context: http://www.nabble.com/wicket-jasper-UI-tp22634657p22634657.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: How can I share text resources with multiple web applications?
Laugh. Don't start that now! - Brill Pappin Sent from my mobile. On 21-Mar-09, at 3:23 AM, Igor Vaynberg wrote: the real question is, where do the ant folks keep their resources? :) -igor On Fri, Mar 20, 2009 at 10:58 PM, Brill Pappin wrote: Ahh... yes of course. I was hoping for a switch that would put the html there as well, and not include the extra resource config :) Oh well... its not too big a deal. - Brill On 21-Mar-09, at 1:44 AM, James Carman wrote: On Sat, Mar 21, 2009 at 1:35 AM, Brill Pappin wrote: Re: "The quickstart allows both." Does it? I missed that feature but it would be very handy! Sure! Take a look at a generated quickstart. There's a src/main/resources directory with a log4j.properties file in there (which gets copied over to the target/classes directory). So, it doesn't obliterate the "maven way" of doing things. It just augments it. and yes in that case it's an established project... I think this thread has gotten a bit emotional and mixed up with several different discussions (which is likely my doing). Heh, no worries. We all seem to get worked up when discussing how things *should* be done. :) --- -- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicketstuff Core Dependency Management...
Well, it does "break" some things and I plan on fixing those. The problem with dictating the "provided" scope in the parent is that it totally screws up the transitive dependencies. So, in my example (which was generated from a quickstart), I've got slf4j-log4j declared as a dependency. But, since the parent declares it as "provided" and I don't specifically override the scope, it stays "provided" and doesn't show up in my WEB-INF/lib. Even worse, suppose I do override the scope to "compile", the transitive dependencies (slf4j-api and log4j) still remain "provided" because the parent declared them that way. If I want to fix it in my project, I've got to specifically declare all of the transitive dependencies with "compile" scope, which kind of defeats the purpose of having transitive dependencies in maven. The thing that my "fix" breaks is that now, when a library like inmethod-grid declares slf4j-log4j as a dependency (why it does so, I have no idea), it shows up as "compile" (which is the default), meaning that any project that uses inmethod-grid will get the log4j implementation of slf4j as a transitive dependency. OUCH! So, I have to take out those dependency declarations because they're invalid. The inmethod-grid "library" should declare a dependency on the slf4j-api and the example should declare a dependency on the slf4j-log4j implementation. I don't mind fixing all of those places, but I'd rather spend my time working on my pet projects (like the webbeans integration piece I'm trying to finish). If anyone would be willing to help me by "fixing" their own projects, that would be greatly appreciated. On Sat, Mar 21, 2009 at 9:41 AM, Jeremy Thomerson wrote: > I'm no Maven expert, but I believe we ended up doing it that way because it > allowed subprojects to override those dependencies. I think if your > subproject specifically needs it, you simply add it as a dependency to your > pom and change it to required. You don't have to define a version - that > should come from the parent. > > The reason to have it in the parent was to standardize the versions, but not > define many required dependencies. > > If you do make any change, please build and test the entire tree to mae sure > it doesn't break something else. > > Jeremy Thomerson > http://www.wickettraining.com > -- sent from a wireless device > > > -Original Message- > From: James Carman > Sent: Saturday, March 21, 2009 8:01 AM > To: d...@wicket.apache.org; users@wicket.apache.org > Subject: Wicketstuff Core Dependency Management... > > The dependencies in the main wicketstuff-core are "scoped" for stuff > like slf4j and jetty to be "provided". This totally screwed me up > when I was trying to write an example application (the log4j stuff > wasn't showing up because it was marked as provided by the parent > pom). Does anyone care if I remove the scope declarations from the > section in the wicketstuff-core parent pom? It > fixed my problem when I did. > > James > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
RE: Wicketstuff Core Dependency Management...
I'm no Maven expert, but I believe we ended up doing it that way because it allowed subprojects to override those dependencies. I think if your subproject specifically needs it, you simply add it as a dependency to your pom and change it to required. You don't have to define a version - that should come from the parent. The reason to have it in the parent was to standardize the versions, but not define many required dependencies. If you do make any change, please build and test the entire tree to mae sure it doesn't break something else. Jeremy Thomerson http://www.wickettraining.com -- sent from a wireless device -Original Message- From: James Carman Sent: Saturday, March 21, 2009 8:01 AM To: d...@wicket.apache.org; users@wicket.apache.org Subject: Wicketstuff Core Dependency Management... The dependencies in the main wicketstuff-core are "scoped" for stuff like slf4j and jetty to be "provided". This totally screwed me up when I was trying to write an example application (the log4j stuff wasn't showing up because it was marked as provided by the parent pom). Does anyone care if I remove the scope declarations from the section in the wicketstuff-core parent pom? It fixed my problem when I did. James - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Extensible wicket application
Thanks a lot, it works now. However, two more questions. Where should I place images folder and how should I access it in my html files (or style.css as well)? And the second one: when i try to insert a record with hibernate into my database, i get this exception: Batch entry 0 insert into forum.anim_forum (autor, email, title, text, datum, ip, id) values (...) was aborted. and org.hibernate.exception.DataException: Could not execute JDBC batch update Could you (or possibly anyone else) help me with this? :) Thanks! On Fri, Mar 20, 2009 at 10:27 PM, Ernesto Reinaldo Barreiro < reier...@gmail.com> wrote: > One more thing. As far as I remember the servlet bridge makes a 'work copy' > of the plugins folder if you see you make changes, export the plugins, and > changes do not 'propagate' to the application, try deleting works/Catalina > folder. > > On Fri, Mar 20, 2009 at 9:58 PM, Ernesto Reinaldo Barreiro < > reier...@gmail.com> wrote: > > > Hi Daniel, > > > > I found some time to get it working! The key to the problem was > > > > > > > http://dev.eclipse.org/newslists/news.eclipse.technology.equinox/msg04838.html > > > > So, if you synchronize the projects > > > > com.antilia.wstarter > > com.antilia.wstarter.demo > > > > exports them to you bridge it should work. I attach copy of bridge.zip, > > containing a bridge folder, which is working for me. If you unzip it to > your > > tomcat webapps, restart tomcat and go to > > > > http://localhost:8080/bridge/demo-app/ > > > > Then you should see the example working. > > > > Best, > > > > Ernesto > > > > > > On Fri, Mar 20, 2009 at 6:34 AM, Daniel Dominik Holúbek < > > dankodo...@gmail.com> wrote: > > > >> Right click -> Export -> Plugin development -> Deployable plug-ins and > >> fragments > >> Have a nice day :) > >> > >> On Thu, Mar 19, 2009 at 9:32 PM, Ernesto Reinaldo Barreiro < > >> reier...@gmail.com> wrote: > >> > >> > Did you exported them how? As equinox jar files or as simple jar > files? > >> Let > >> > me see if tomorrow I find some time for trying this out myself... > >> > > >> > Best, > >> > > >> > Ernesto > >> > > >> > On Thu, Mar 19, 2009 at 9:14 PM, Daniel Dominik Holúbek < > >> > dankodo...@gmail.com> wrote: > >> > > >> > > Yes, > >> > > that's exactly what I did :) > >> > > I checked out the bundles, then exported them from eclipse. And then > >> > > installed those bundles along with javax.servlet into the bridge > >> > > application, bud I got the error when I tried to install > >> wstarter-demo. > >> > > > >> > > Thanks a lot! > >> > > > >> > > On Thu, Mar 19, 2009 at 8:28 PM, Ernesto Reinaldo Barreiro < > >> > > reier...@gmail.com> wrote: > >> > > > >> > > > I couldn't try today to build the example using servlet bridge, to > >> busy > >> > > > over > >> > > > here;-), let me see if I can find some time tomorrow to get it > >> working. > >> > > But > >> > > > normally what I would do is use eclipse for development and then > >> export > >> > > the > >> > > > jar to a bridge/plugins for deployment... > >> > > > > >> > > > Did you read this page > >> > > > > >> > > > http://www.eclipse.org/equinox/server/http_in_container.php > >> > > > > >> > > > Best, > >> > > > > >> > > > Ernesto > >> > > > > >> > > > > >> > > > On Thu, Mar 19, 2009 at 11:08 AM, Daniel Dominik Holúbek < > >> > > > dankodo...@gmail.com> wrote: > >> > > > > >> > > > > Well, > >> > > > > now I have tried to run it in eclipse and it is running > properly. > >> > > > > > >> > > > > > >> > > > > On Wed, Mar 18, 2009 at 7:21 PM, Ernesto Reinaldo Barreiro < > >> > > > > reier...@gmail.com> wrote: > >> > > > > > >> > > > > > Hi Daniel, > >> > > > > > > >> > > > > > Is this the output of the console? I have no idea what's going > >> > on... > >> > > > I'll > >> > > > > > try to get bridge running myself with those bundles > >> (*wstarter*)... > >> > > Did > >> > > > > you > >> > > > > > tried running them with eclipse and the starter demo contains? > >> > > > > > > >> > > > > > Ernesto > >> > > > > > > >> > > > > > On Tue, Mar 17, 2009 at 10:58 PM, Daniel Dominik Holúbek < > >> > > > > > dankodo...@gmail.com> wrote: > >> > > > > > > >> > > > > > > Ok, so I finally managed to get it working :) > >> > > > > > > I installed the http-console bundle an it works, but when I > >> try > >> > to > >> > > > run > >> > > > > > your > >> > > > > > > demo application, when trying to start the demo bundle I get > >> this > >> > > > > error: > >> > > > > > > java.lang.LinkageError: loader constraints violated when > >> linking > >> > > > > > > javax/servlet/Servlet class > >> > > > > > > > >> > > > > > > My bundles are: > >> > > > > > > idState Bundle > >> > > > > > > 0ACTIVE org.eclipse.osgi_3.3.0.200704022148 > >> > > > > > >Fragments=12 > >> > > > > > > 1ACTIVE > org.eclipse.equinox.common_3.3.0.200704022148 > >> > > > > > > 2ACTIVE > >> > org.eclipse.update.configurator_3.2.100.v20070322 > >> > > > > > > 3ACTIVE > >> > > > > > org.eclip
Wicketstuff Core Dependency Management...
The dependencies in the main wicketstuff-core are "scoped" for stuff like slf4j and jetty to be "provided". This totally screwed me up when I was trying to write an example application (the log4j stuff wasn't showing up because it was marked as provided by the parent pom). Does anyone care if I remove the scope declarations from the section in the wicketstuff-core parent pom? It fixed my problem when I did. James - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
wicket-jasper UI
Hello, I just wanna share this simple project called wicket-jasper. It is basically jasperreports embeded in wicket. If you wanna share your idea or added some features,please do so. Anyway, our company is already using it please see the attached files. Thanks. Cheers http://www.nabble.com/file/p22634657/wicket-jasper.tar wicket-jasper.tar -- View this message in context: http://www.nabble.com/wicket-jasper-UI-tp22634657p22634657.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Why are we top-posting...
You read text from bottom to top? I thought this was dead and buried, people can post however they like and we are not going to conform to someone's 'standard'. Think of it this way, it's a mailing list where people write and read emails. How do you read and write your email? Pretty sure you'd hit a quick 'Reply' and type your message at the top like 99% of the rest of the world? Why change it for a mailing list? It's not designed so that one final post has every piece of information in it, that is what threads are for. What if someone erases part of the email when they reply? You'd be stuffed then! On 21/03/2009, at 5:50 AM, C. Bergström wrote: A: Because it messes up the order in which people normally read text. Q: Why is it such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org smime.p7s Description: S/MIME cryptographic signature
Re: How can I share text resources with multiple web applications?
the real question is, where do the ant folks keep their resources? :) -igor On Fri, Mar 20, 2009 at 10:58 PM, Brill Pappin wrote: > Ahh... yes of course. > > I was hoping for a switch that would put the html there as well, and not > include the extra resource config :) > Oh well... its not too big a deal. > > - Brill > > On 21-Mar-09, at 1:44 AM, James Carman wrote: > >> On Sat, Mar 21, 2009 at 1:35 AM, Brill Pappin wrote: >>> >>> Re: "The quickstart allows both." >>> Does it? I missed that feature but it would be very handy! >> >> Sure! Take a look at a generated quickstart. There's a >> src/main/resources directory with a log4j.properties file in there >> (which gets copied over to the target/classes directory). So, it >> doesn't obliterate the "maven way" of doing things. It just augments >> it. >> >>> and yes in that case it's an established project... I think this thread >>> has >>> gotten a bit emotional and mixed up with several different discussions >>> (which is likely my doing). >> >> Heh, no worries. We all seem to get worked up when discussing how >> things *should* be done. :) >> >> - >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org