Re: DataTable adding one more div/span based on dynamic conditions
Thanks Martin.. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/DataTable-adding-one-more-div-span-based-on-dynamic-conditions-tp4667064p4667097.html Sent from the Users forum 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: DataTable adding one more div/span based on dynamic conditions
Hi, Use a Panel for the cell and put as many children components inside your panel as you need. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Mon, Aug 18, 2014 at 3:34 PM, dharmendra pandey < dharmendra.pan...@gmail.com> wrote: > Hi Martin, > > My question is simple. > > I have used DataTable to render data in table formats. > I want to add one more extra Label (total 2 labels)in a cell.. > > More than one label/component wicket framework DataTable is not allowing(As > I see only on div with id cell). > > Regards > Dharmendra Pandey > > > > > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/DataTable-adding-one-more-div-span-based-on-dynamic-conditions-tp4667064p4667095.html > Sent from the Users forum 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: DataTable adding one more div/span based on dynamic conditions
Hi Martin, My question is simple. I have used DataTable to render data in table formats. I want to add one more extra Label (total 2 labels)in a cell.. More than one label/component wicket framework DataTable is not allowing(As I see only on div with id cell). Regards Dharmendra Pandey -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/DataTable-adding-one-more-div-span-based-on-dynamic-conditions-tp4667064p4667095.html Sent from the Users forum 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: Demonstrate End-to-End Security Enforcement using Open Source Software & Wicket
Very interesting, thank you! Posting another security tutorial featuring an Apache Wicket Web sample application. This one provides end-to-end security coverage: http://iamfortress.org/FortressDemo2 - 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: DataTable adding one more div/span based on dynamic conditions
Hi, The question is not clear to me. I don't see how/where you want to use the fragment. And I don't understand what is the problem with it. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Sun, Aug 17, 2014 at 8:28 AM, dharmendra pandey < dharmendra.pan...@gmail.com> wrote: > > Hi, > > I am using the DataTable to render the data in tabular format and > overridden > the populateItem method to insert the span in case of particular scenario > as > mentioned below.. > > I have done the below way but think can be done in better ways.. earlier I > have used the Fragment and was unable to add a div/span > > Could you please suggest... > > > -- > @Override > public void populateItem(Item> item, String > componentId, IModel rowModel) { > > if ("colourName".equals(getPropertyExpression())) { > item.add(new Label(componentId, " " > + > rowModel.getObject().getColourName()).setEscapeModelStrings(false)); >item.add(new AttributeModifier("title", new > Model(rowModel.getObject().getColourName(; > > } else { > item.add(new Label(componentId, getDataModel(rowModel))); > } > > } > > > --- > > private class ColorPanelFragment extends Fragment { > > private static final long serialVersionUID = 1L; > > public ColorPanelFragment(String id, String markupId, > MarkupContainer markupProvider) { > super(id, markupId, markupProvider); > } > } > > --- > > > Regards > Dharmendra Pandey > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/DataTable-adding-one-more-div-span-based-on-dynamic-conditions-tp4667064.html > Sent from the Users forum 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: broken Wicket build
Hi, We are aware of such problem in ValueMap class https://issues.apache.org/jira/browse/WICKET-5647. Unfortunately we didn't find a way to make both the compiler and maven-clirr-plugin happy. Both wicket-6.x and master branches compile without any error on my machine (oracle jdk 1.6 and 1.7) and at our CI server. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Sun, Aug 17, 2014 at 1:08 AM, Pierre Goupil wrote: > Hi, > > When trying to build the latest Apache Wicket Git repository, I get this > error: > > [ERROR] Failed to execute goal org.codehaus.mojo:clirr-maven- > plugin:2.6.1:check (clirr-check) on project wicket-util: Execution > clirr-check of goal org.codehaus.mojo:clirr-maven-plugin:2.6.1:check > failed: Invalid byte tag in constant pool: 15 -> [Help 1] > > It looks that there is an API break. I use Maven 3.2.1 & 3.1.1 and OpenJDK > 1.6.32 & 1.7.55 as well as Oracle Java 8.11 on Debian Linux Wheezy. > > Any help is appreciated. > > Regards, > > Pierre > > > -- > La vie est source de joie, la mort est source de paix, seule la transition > est difficile. >
Re: broken Wicket build
WordGeneratorTest is fixed. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Sun, Aug 17, 2014 at 2:47 PM, Andrea Del Bene wrote: > Hi, > > which branch are you working on (master, wicket-6.x...)? I've found a > failing test on master for module wicket-examples > (WordGeneratorTest.testWordGenerator). > I'm working on it. > > Hi, >> >> When trying to build the latest Apache Wicket Git repository, I get this >> error: >> >> [ERROR] Failed to execute goal org.codehaus.mojo:clirr-maven- >> plugin:2.6.1:check (clirr-check) on project wicket-util: Execution >> clirr-check of goal org.codehaus.mojo:clirr-maven-plugin:2.6.1:check >> failed: Invalid byte tag in constant pool: 15 -> [Help 1] >> >> It looks that there is an API break. I use Maven 3.2.1 & 3.1.1 and OpenJDK >> 1.6.32 & 1.7.55 as well as Oracle Java 8.11 on Debian Linux Wheezy. >> >> Any help is appreciated. >> >> Regards, >> >> Pierre >> >> >> > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >