Re: Same Panel, but Formatted in 2 Different Ways (Diff. Presentation)
Thanks, Variants worked. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Same-Panel-but-Formatted-in-2-Different-Ways-Diff-Presentation-tp4656063p4656240.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: Same Panel, but Formatted in 2 Different Ways (Diff. Presentation)
I think variants are better for different platform such as a web browser on a desktop VS a mobile phone. Another way of doing it would be to use the VelocityPanel. http://wicket.apache.org/apidocs/1.5/org/apache/wicket/velocity/markup/html/VelocityPanel.html I would imagine you'd have a lot more refactoring on your hands :) ~ Thank you, Paul Bors On Mon, Feb 4, 2013 at 2:52 PM, Ernesto Reinaldo Barreiro < reier...@gmail.com> wrote: > Use style and variation? > > > https://cwiki.apache.org/WICKET/localization-and-skinning-of-applications.html > > On Mon, Feb 4, 2013 at 8:33 PM, eugenebalt wrote: > > > Is it possible to have a Panel implemented in .java which has multiple > > .html's? > > > > We have a panel with the same data but different formatting. > > > > > > > > -- > > View this message in context: > > > http://apache-wicket.1842946.n4.nabble.com/Same-Panel-but-Formatted-in-2-Different-Ways-Diff-Presentation-tp4656063.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 > > > > > > > -- > Regards - Ernesto Reinaldo Barreiro > Antilia Soft > http://antiliasoft.com/ <http://antiliasoft.com/antilia> >
Re: Same Panel, but Formatted in 2 Different Ways (Diff. Presentation)
Use style and variation? https://cwiki.apache.org/WICKET/localization-and-skinning-of-applications.html On Mon, Feb 4, 2013 at 8:33 PM, eugenebalt wrote: > Is it possible to have a Panel implemented in .java which has multiple > .html's? > > We have a panel with the same data but different formatting. > > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Same-Panel-but-Formatted-in-2-Different-Ways-Diff-Presentation-tp4656063.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 > > -- Regards - Ernesto Reinaldo Barreiro Antilia Soft http://antiliasoft.com/ <http://antiliasoft.com/antilia>
Re: Same Panel, but Formatted in 2 Different Ways (Diff. Presentation)
Hi, It is possible by using different variants - MyPanel_variantA.html and MyPanel_variantB.html See Component#getVariant() method. On Mon, Feb 4, 2013 at 8:33 PM, eugenebalt wrote: > Is it possible to have a Panel implemented in .java which has multiple > .html's? > > We have a panel with the same data but different formatting. > > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Same-Panel-but-Formatted-in-2-Different-Ways-Diff-Presentation-tp4656063.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 > > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com <http://jweekend.com/>
Same Panel, but Formatted in 2 Different Ways (Diff. Presentation)
Is it possible to have a Panel implemented in .java which has multiple .html's? We have a panel with the same data but different formatting. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Same-Panel-but-Formatted-in-2-Different-Ways-Diff-Presentation-tp4656063.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