Re: fragment markup resolution
The fragments should be able to be found in the parent class' markup file. You don't need to duplicate the fragment definitions if you're using markup inheritance. On Fri, May 22, 2009 at 12:38 AM, Joe Fawzy joewic...@gmail.com wrote: hiactually i am making a framework over wicket in which i am providing a default ui in the base class , which can be customized by overriding in subclass in this case , when i subclass , i have to duplicate all the fragments markup ,instead of only what i need thanks joe On Thu, May 21, 2009 at 5:48 PM, Mathias Nilsson wicket.program...@gmail.com wrote: Sounds like you should use panels instead of Fragments if they are used more then one time. -- View this message in context: http://www.nabble.com/fragment-markup-resolution-tp23645152p23654434.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: fragment markup resolution
hi dearthanks for ur reply actually i donot often use the wicket:child and wicket:extend as i prefer borders for common layout is this the only way to get the fragment markup in subclass thanks again Joe On Fri, May 22, 2009 at 1:57 PM, James Carman jcar...@carmanconsulting.comwrote: The fragments should be able to be found in the parent class' markup file. You don't need to duplicate the fragment definitions if you're using markup inheritance. On Fri, May 22, 2009 at 12:38 AM, Joe Fawzy joewic...@gmail.com wrote: hiactually i am making a framework over wicket in which i am providing a default ui in the base class , which can be customized by overriding in subclass in this case , when i subclass , i have to duplicate all the fragments markup ,instead of only what i need thanks joe On Thu, May 21, 2009 at 5:48 PM, Mathias Nilsson wicket.program...@gmail.com wrote: Sounds like you should use panels instead of Fragments if they are used more then one time. -- View this message in context: http://www.nabble.com/fragment-markup-resolution-tp23645152p23654434.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: fragment markup resolution
You could try something like this: https://wicketopia.svn.sourceforge.net/svnroot/wicketopia/trunk/wicketopia/src/main/java/org/wicketopia/component/editor/FormComponentEditorPanel.java On Fri, May 22, 2009 at 7:07 AM, Joe Fawzy joewic...@gmail.com wrote: hi dearthanks for ur reply actually i donot often use the wicket:child and wicket:extend as i prefer borders for common layout is this the only way to get the fragment markup in subclass thanks again Joe On Fri, May 22, 2009 at 1:57 PM, James Carman jcar...@carmanconsulting.comwrote: The fragments should be able to be found in the parent class' markup file. You don't need to duplicate the fragment definitions if you're using markup inheritance. On Fri, May 22, 2009 at 12:38 AM, Joe Fawzy joewic...@gmail.com wrote: hiactually i am making a framework over wicket in which i am providing a default ui in the base class , which can be customized by overriding in subclass in this case , when i subclass , i have to duplicate all the fragments markup ,instead of only what i need thanks joe On Thu, May 21, 2009 at 5:48 PM, Mathias Nilsson wicket.program...@gmail.com wrote: Sounds like you should use panels instead of Fragments if they are used more then one time. -- View this message in context: http://www.nabble.com/fragment-markup-resolution-tp23645152p23654434.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 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: fragment markup resolution
Hi Jamesthanks for sharing this i wanna ask , why there is not a unified effort for rapid application dev , why not combine wicket RAD , and wicket web beans and wicketopia thanks Joe On Fri, May 22, 2009 at 3:15 PM, James Carman jcar...@carmanconsulting.comwrote: You could try something like this: https://wicketopia.svn.sourceforge.net/svnroot/wicketopia/trunk/wicketopia/src/main/java/org/wicketopia/component/editor/FormComponentEditorPanel.java On Fri, May 22, 2009 at 7:07 AM, Joe Fawzy joewic...@gmail.com wrote: hi dearthanks for ur reply actually i donot often use the wicket:child and wicket:extend as i prefer borders for common layout is this the only way to get the fragment markup in subclass thanks again Joe On Fri, May 22, 2009 at 1:57 PM, James Carman jcar...@carmanconsulting.comwrote: The fragments should be able to be found in the parent class' markup file. You don't need to duplicate the fragment definitions if you're using markup inheritance. On Fri, May 22, 2009 at 12:38 AM, Joe Fawzy joewic...@gmail.com wrote: hiactually i am making a framework over wicket in which i am providing a default ui in the base class , which can be customized by overriding in subclass in this case , when i subclass , i have to duplicate all the fragments markup ,instead of only what i need thanks joe On Thu, May 21, 2009 at 5:48 PM, Mathias Nilsson wicket.program...@gmail.com wrote: Sounds like you should use panels instead of Fragments if they are used more then one time. -- View this message in context: http://www.nabble.com/fragment-markup-resolution-tp23645152p23654434.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 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: fragment markup resolution
Because I'm stubborn and I want to do things my own way (and I like my name better)! ;) Actually, I would really like to come up with a nice, unified way of doing RAD with wicket. The thing about Wicketopia is that it takes a very domain-oriented approach to RAD (similar to the Tapestry-based project Trails which I was somewhat affiliated with). However, there may be a way to make a domain-oriented wrapper over one of the other projects, perhaps. On Fri, May 22, 2009 at 9:11 AM, Joe Fawzy joewic...@gmail.com wrote: Hi Jamesthanks for sharing this i wanna ask , why there is not a unified effort for rapid application dev , why not combine wicket RAD , and wicket web beans and wicketopia thanks Joe On Fri, May 22, 2009 at 3:15 PM, James Carman jcar...@carmanconsulting.comwrote: You could try something like this: https://wicketopia.svn.sourceforge.net/svnroot/wicketopia/trunk/wicketopia/src/main/java/org/wicketopia/component/editor/FormComponentEditorPanel.java On Fri, May 22, 2009 at 7:07 AM, Joe Fawzy joewic...@gmail.com wrote: hi dearthanks for ur reply actually i donot often use the wicket:child and wicket:extend as i prefer borders for common layout is this the only way to get the fragment markup in subclass thanks again Joe On Fri, May 22, 2009 at 1:57 PM, James Carman jcar...@carmanconsulting.comwrote: The fragments should be able to be found in the parent class' markup file. You don't need to duplicate the fragment definitions if you're using markup inheritance. On Fri, May 22, 2009 at 12:38 AM, Joe Fawzy joewic...@gmail.com wrote: hiactually i am making a framework over wicket in which i am providing a default ui in the base class , which can be customized by overriding in subclass in this case , when i subclass , i have to duplicate all the fragments markup ,instead of only what i need thanks joe On Thu, May 21, 2009 at 5:48 PM, Mathias Nilsson wicket.program...@gmail.com wrote: Sounds like you should use panels instead of Fragments if they are used more then one time. -- View this message in context: http://www.nabble.com/fragment-markup-resolution-tp23645152p23654434.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 - 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: fragment markup resolution
Sounds like you should use panels instead of Fragments if they are used more then one time. -- View this message in context: http://www.nabble.com/fragment-markup-resolution-tp23645152p23654434.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: fragment markup resolution
hiactually i am making a framework over wicket in which i am providing a default ui in the base class , which can be customized by overriding in subclass in this case , when i subclass , i have to duplicate all the fragments markup ,instead of only what i need thanks joe On Thu, May 21, 2009 at 5:48 PM, Mathias Nilsson wicket.program...@gmail.com wrote: Sounds like you should use panels instead of Fragments if they are used more then one time. -- View this message in context: http://www.nabble.com/fragment-markup-resolution-tp23645152p23654434.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
fragment markup resolution
hi alli have several pages which have a lot of fragments , this works fine when i subclassed this page class , i may change only one fragment or even no one at all but override a method, yet i have to duplicate all the markup for all the fragments even if they are just a clones of those in the bse class so , is there any way to make wicket lookup the fragments markup in the base page if it is not found in the page or what do i have to inplement custom markup resolver? any key or pointer on how this can b achieved? thanks in advance.. Joe