xml+wicket component
Hello Friends, i am Gerald Anto Fernando,since past 7 days i have started to learn Wicket. As I am debut to wicket,please forgive me if i ask any small questions. shall we bind the data from xml file into wicket component. If it possible please give me some models. Thanking You, Gerald Anto Fernando, Chennai
Re: xml+wicket component
Hi mark, i dont have sample code am very new to wicket. my requirement is that i think like option A i have a xml file which has first name,last name and middle name supose my wicket page is Data.java which should get first and last name from xml file now my Data.html markup file to show the first name and last name in grid view. the grid might be inside panel or form component. this is my requirement please give me urgent reply if possible give me some model code Thanks&Regards, Gerald A On Wed, Jul 8, 2009 at 12:40 PM, Martin Makundi < martin.maku...@koodaripalvelut.com> wrote: > Hi! > > Please explain in more detail if this is your situation: > > A) > 1. You have xml file. > 2. You load the xml file into Java using JAXB or similar. > 3. You want to display only some details from the xml->Java object > using Wicket (if so, please give sample code & html what you need). > > B) > 1. You have an xml file. > 2. You want to display the whole xml as HTML. > 3. You use XSLT to transform the XML into HTML. > 4. You do not need Wicket. > > ** > Martin > > 2009/7/8 Gerald Fernando : > > Hello Friends, > > i am Gerald Anto Fernando,since past 7 days i have started to learn > Wicket. > > As I am debut to wicket,please forgive me if i ask any small questions. > > > > shall we bind the data from xml file into wicket component. > > If it possible please give me some models. > > > > Thanking You, > > > > Gerald Anto Fernando, > > Chennai > > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >
Re: xml+wicket component
our database data comes as xml file. How do i display it in client side using wicket On Wed, Jul 8, 2009 at 3:18 PM, Linda van der Pal < lvd...@heritageagenturen.nl> wrote: > So is the XML replacing a database? Or is it meant more like > internationalization? > > Regards, > Linda > > Gerald Fernando wrote: > >> Hi mark, >> i dont have sample code am very new to wicket. >> my requirement is that i think like option A >> >> i have a xml file which has first name,last name and middle name >> supose my wicket page is Data.java which should get first and last name >> from >> xml file >> >> now my Data.html markup file to show the first name and last name in grid >> view. >> the grid might be inside panel or form component. >> >> this is my requirement >> please give me urgent reply if possible give me some model code >> >> Thanks&Regards, >> Gerald A >> >> >> >> >> >> On Wed, Jul 8, 2009 at 12:40 PM, Martin Makundi < >> martin.maku...@koodaripalvelut.com> wrote: >> >> >> >>> Hi! >>> >>> Please explain in more detail if this is your situation: >>> >>> A) >>> 1. You have xml file. >>> 2. You load the xml file into Java using JAXB or similar. >>> 3. You want to display only some details from the xml->Java object >>> using Wicket (if so, please give sample code & html what you need). >>> >>> B) >>> 1. You have an xml file. >>> 2. You want to display the whole xml as HTML. >>> 3. You use XSLT to transform the XML into HTML. >>> 4. You do not need Wicket. >>> >>> ** >>> Martin >>> >>> 2009/7/8 Gerald Fernando : >>> > Hello Friends, >>> >>> >>>> i am Gerald Anto Fernando,since past 7 days i have started to learn >>>> >>>> >>> Wicket. >>> >>> >>>> As I am debut to wicket,please forgive me if i ask any small questions. >>>> >>>> shall we bind the data from xml file into wicket component. >>>> If it possible please give me some models. >>>> >>>> Thanking You, >>>> >>>> Gerald Anto Fernando, >>>> Chennai >>>> >>>> >>>> >>> - >>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >>> For additional commands, e-mail: users-h...@wicket.apache.org >>> >>> >>> >>> >> >> >> >> >> No virus found in this incoming message. >> Checked by AVG - www.avg.com Version: 8.5.375 / Virus Database: >> 270.13.8/2223 - Release Date: 07/07/09 17:54:00 >> >> >> > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >
what is wicket
Hello Friends, Am Gerald, new to wicket. can anyone say about wicket and advantages over other technologies it is very useful to my next step. please help me Thanks&Regards, Gerald A
how to Get Context path
Hello Friends, how to get the context path of current class Thanks&Regards, Gerald A
How to get context path of Application
How to get context path of Application Thanks7Regards, Gerald A
Re: How to get context path of Application
Hi Linda, Actually my page need to call a XML file.I have stored that file in my web content .error shows that the system could not find the file.but i give a absolute path it is working so i need to get my tomcat path to access that file. How can i access that file?Is there any other way. am expecting your reply urgent. Thanks®ards, Gerald A On Fri, Jul 17, 2009 at 1:12 PM, Linda van der Pal < lvd...@heritageagenturen.nl> wrote: > What is it exactly you are trying to do? > > Linda > > Gerald Fernando wrote: > >> How to get context path of Application >> >> Thanks7Regards, >> Gerald A >> >> >> >> >> No virus found in this incoming message. >> Checked by AVG - www.avg.com Version: 8.5.375 / Virus Database: >> 270.13.17/2242 - Release Date: 07/16/09 18:00:00 >> >> >> > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >
Re: How to get context path of Application
if i do this webRequest cannot be resolved to a type and RequestCycle cannot be resolved what can i do Thanks&Regards, Gerald A On Fri, Jul 17, 2009 at 2:53 PM, Linda van der Pal < lvd...@heritageagenturen.nl> wrote: > Well I guess Alex already gave the answer. > > >> ((WebRequest)RequestCycle.get().getRequest()).getHttpServletRequest().getContextPath() >> > > Alex Objelean >> > > > Linda > > > Gerald Fernando wrote: > >> Hi Linda, >> Actually my page need to call a XML file.I have stored that file in my web >> content .error shows that the system could not find the file.but i give a >> absolute path it is working so i need to get my tomcat path to access that >> file. >> How can i access that file?Is there any other way. >> am expecting your reply urgent. >> >> Thanks®ards, >> Gerald A >> >> On Fri, Jul 17, 2009 at 1:12 PM, Linda van der Pal < >> lvd...@heritageagenturen.nl> wrote: >> >> >> >>> What is it exactly you are trying to do? >>> >>> Linda >>> >>> Gerald Fernando wrote: >>> >>> >>> >>>> How to get context path of Application >>>> >>>> Thanks7Regards, >>>> Gerald A >>>> >>>> >>>> >>>> >>>> >>>> No virus found in this incoming message. >>>> Checked by AVG - www.avg.com Version: 8.5.375 / Virus Database: >>>> 270.13.17/2242 - Release Date: 07/16/09 18:00:00 >>>> >>>> >>>> >>>> >>>> >>> - >>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >>> For additional commands, e-mail: users-h...@wicket.apache.org >>> >>> >>> >>> >> >> >> >> >> No virus found in this incoming message. >> Checked by AVG - www.avg.com Version: 8.5.375 / Virus Database: >> 270.13.17/2242 - Release Date: 07/16/09 18:00:00 >> >> >> > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >
Re: how to Get Context path
Yes i mean context path of current class Thanks&Regards, Gerald A On Fri, Jul 17, 2009 at 6:32 PM, Linda van der Pal < lvd...@heritageagenturen.nl> wrote: > Per, > > Look at the reply he gave me to that same question. > > Linda > > Per Newgro wrote: > >> Gerald Fernando schrieb: >> >>> Hello Friends, >>> how to get the context path of current class >>> >>> Thanks&Regards, >>> Gerald A >>> >>> >>> >> Can you please explain what you mean with "context path of current class"? >> >> Cheers >> Per >> >> - >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> >> >> No virus found in this incoming message. >> Checked by AVG - www.avg.com Version: 8.5.375 / Virus Database: >> 270.13.18/2243 - Release Date: 07/17/09 06:08:00 >> >> >> > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >
Tab panel child
Hello Friends, How can i do tab panel with child coponent. when i click first tab it should shows a Grid 2nd tab - panel 3rd tab - another componet 4th tab - Another componet how can i achieve this? if possible give me some model code -- Thanks®ards, Gerald A
Re: Tab panel child
yes i mean it.am debut to wicket.how can i achive it please help me my requirement is when i click first tab it should shows a Grid > 2nd tab - panel > 3rd tab - another componet > 4th tab - Another componet On Mon, Jul 20, 2009 at 11:35 AM, Martin Makundi < martin.maku...@koodaripalvelut.com> wrote: > You mean wicket TabbedPanel component? > > > http://wicketstuff.org/wicket13/compref/?wicket:bookmarkablePage=:org.apache.wicket.examples.compref.TabbedPanelPage > > ** > Martin > > 2009/7/20 Gerald Fernando : > > Hello Friends, > > How can i do tab panel with child coponent. > > when i click first tab it should shows a Grid > > 2nd tab - panel > > 3rd tab - another componet > > 4th tab - Another componet > > > > how can i achieve this? > > if possible give me some model code > > > > -- > > Thanks®ards, > > Gerald A > > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Thanks®ards, Gerald A
Re: Tab panel child
Hi martin, this is my code. now i have to insert separate page for each tab. these pages includes one for data grid and one page for ajax example ane page for component. shall we insert a page in to the tab?is it possible?if so tell me how to do it. i used setResponsePage();but it shows error that markup file is not found. please tell me the code. am debut to wicket how can i do this public class TabbedPanelPage extends WebPage { public TabbedPanelPage() { List tabs = new ArrayList(); tabs.add(new AbstractTab(new Model("first tab")) { public Panel getPanel(String panelId) { return new TabPanel1(panelId); } }); tabs.add(new AbstractTab(new Model("second tab")) { public Panel getPanel(String panelId) { return new TabPanel2(panelId); } }); tabs.add(new AbstractTab(new Model("third tab")) { public Panel getPanel(String panelId) { return new TabPanel3(panelId); } }); add(new TabbedPanel("tabs", tabs)); } private static class TabPanel1 extends Panel { public TabPanel1(String id) { super(id); } }; private static class TabPanel2 extends Panel { public TabPanel2(String id) { super(id); } }; private static class TabPanel3 extends Panel { public TabPanel3(String id) { super(id); } }; } On Mon, Jul 20, 2009 at 3:58 PM, Martin Makundi < martin.maku...@koodaripalvelut.com> wrote: > Copy-paste the example from the web and replace the one panel with a grid. > > ** > Martin > > 2009/7/20 Gerald Fernando : > > yes i mean it.am debut to wicket.how can i achive it > > please help me > > my requirement is > > when i click first tab it should shows a Grid > >> 2nd tab - panel > >> 3rd tab - another componet > >> 4th tab - Another componet > > > > > > On Mon, Jul 20, 2009 at 11:35 AM, Martin Makundi < > > martin.maku...@koodaripalvelut.com> wrote: > > > >> You mean wicket TabbedPanel component? > >> > >> > >> > http://wicketstuff.org/wicket13/compref/?wicket:bookmarkablePage=:org.apache.wicket.examples.compref.TabbedPanelPage > >> > >> ** > >> Martin > >> > >> 2009/7/20 Gerald Fernando : > >> > Hello Friends, > >> > How can i do tab panel with child coponent. > >> > when i click first tab it should shows a Grid > >> > 2nd tab - panel > >> > 3rd tab - another componet > >> > 4th tab - Another componet > >> > > >> > how can i achieve this? > >> > if possible give me some model code > >> > > >> > -- > >> > Thanks®ards, > >> > Gerald A > >> > > >> > >> - > >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > >> For additional commands, e-mail: users-h...@wicket.apache.org > >> > >> > > > > > > -- > > Thanks®ards, > > Gerald A > > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Thanks®ards, Gerald A
Re: Tab panel child
then how can reuse it in another page??? can you compare Adobe Flex and Apache wicket. am Expecting your reply Thanks&Regards, Gerald A On Tue, Jul 21, 2009 at 11:52 AM, Martin Makundi < martin.maku...@koodaripalvelut.com> wrote: > Hi! > > No, not page into tab. Just panel. Here TabPanel1...3 are your grid, > etc. content panels. Into the content panel you put the grid or > whatever you want. > > ** > Martin > > 2009/7/21 Gerald Fernando : > > Hi martin, > > this is my code. > > now i have to insert separate page for each tab. > > these pages includes one for data grid and one page for ajax example ane > > page for component. > > shall we insert a page in to the tab?is it possible?if so tell me how to > do > > it. > > i used setResponsePage();but it shows error that markup file is not > found. > > please tell me the code. am debut to wicket > > how can i do this > > public class TabbedPanelPage extends WebPage > > { > > public TabbedPanelPage() > > { > > List tabs = new ArrayList(); > > tabs.add(new AbstractTab(new Model("first tab")) > > { > > public Panel getPanel(String panelId) > > { > >return new TabPanel1(panelId); > > } > > }); > > > > tabs.add(new AbstractTab(new Model("second tab")) > > { > > public Panel getPanel(String panelId) > > { > >return new TabPanel2(panelId); > > } > > }); > > > > tabs.add(new AbstractTab(new Model("third tab")) > > { > > public Panel getPanel(String panelId) > > { > >return new TabPanel3(panelId); > > } > > }); > > > > add(new TabbedPanel("tabs", tabs)); > > } > > > > private static class TabPanel1 extends Panel > > { > > > > public TabPanel1(String id) > > { > > super(id); > > > > > > } > > }; > > > > private static class TabPanel2 extends Panel > > { > > public TabPanel2(String id) > > { > > super(id); > > } > > }; > > private static class TabPanel3 extends Panel > > { > > public TabPanel3(String id) > > { > > super(id); > > } > > }; > > } > > > > On Mon, Jul 20, 2009 at 3:58 PM, Martin Makundi < > > martin.maku...@koodaripalvelut.com> wrote: > > > >> Copy-paste the example from the web and replace the one panel with a > grid. > >> > >> ** > >> Martin > >> > >> 2009/7/20 Gerald Fernando : > >> > yes i mean it.am debut to wicket.how can i achive it > >> > please help me > >> > my requirement is > >> > when i click first tab it should shows a Grid > >> >> 2nd tab - panel > >> >> 3rd tab - another componet > >> >> 4th tab - Another componet > >> > > >> > > >> > On Mon, Jul 20, 2009 at 11:35 AM, Martin Makundi < > >> > martin.maku...@koodaripalvelut.com> wrote: > >> > > >> >> You mean wicket TabbedPanel component? > >> >> > >> >> > >> >> > >> > http://wicketstuff.org/wicket13/compref/?wicket:bookmarkablePage=:org.apache.wicket.examples.compref.TabbedPanelPage > >> >> > >> >> ** > >> >> Martin > >> >> > >> >> 2009/7/20 Gerald Fernando : > >> >> > Hello Friends, > >> >> > How can i do tab panel with child coponent. > >> >> > when i click first tab it should shows a Grid > >> >> > 2nd tab - panel > >> >> > 3rd tab - another componet > >> >> > 4th tab - Another componet > >> >> > > >> >> > how can i achieve this? > >> >> > if possible give me some model code > >> >> > > >> >> > -- > >> >> > Thanks®ards, > >> >> > Gerald A > >> >> > > >> >> > >> >> - > >> >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > >> >> For additional commands, e-mail: users-h...@wicket.apache.org > >> >> > >> >> > >> > > >> > > >> > -- > >> > Thanks®ards, > >> > Gerald A > >> > > >> > >> - > >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > >> For additional commands, e-mail: users-h...@wicket.apache.org > >> > >> > > > > > > -- > > Thanks®ards, > > Gerald A > > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Thanks®ards, Gerald A
Re: Tab panel child
Hi martin, sorry to say that can you please give me elobrate please Thanks&Regards, Gerald A On Tue, Jul 21, 2009 at 12:39 PM, Martin Makundi < martin.maku...@koodaripalvelut.com> wrote: > > then how can reuse it in another page??? > > Panel can be put anywhere. You can put Panel into Page or Panel into > AnotherPanel and so on. > > TabPanel1 > | > + add(new GridPanel()); > > AntoherPanel > | > + add(new GridPanel()); > > SomePage > | > + add(new GridPanel()); > > > can you compare Adobe Flex and Apache wicket. > > They have nothing in common. > > > am Expecting your reply > > Hope this helps. > > ** > Martin > > > > > On Tue, Jul 21, 2009 at 11:52 AM, Martin Makundi < > > martin.maku...@koodaripalvelut.com> wrote: > > > >> Hi! > >> > >> No, not page into tab. Just panel. Here TabPanel1...3 are your grid, > >> etc. content panels. Into the content panel you put the grid or > >> whatever you want. > >> > >> ** > >> Martin > >> > >> 2009/7/21 Gerald Fernando : > >> > Hi martin, > >> > this is my code. > >> > now i have to insert separate page for each tab. > >> > these pages includes one for data grid and one page for ajax example > ane > >> > page for component. > >> > shall we insert a page in to the tab?is it possible?if so tell me how > to > >> do > >> > it. > >> > i used setResponsePage();but it shows error that markup file is not > >> found. > >> > please tell me the code. am debut to wicket > >> > how can i do this > >> > public class TabbedPanelPage extends WebPage > >> > { > >> > public TabbedPanelPage() > >> > { > >> > List tabs = new ArrayList(); > >> > tabs.add(new AbstractTab(new Model("first tab")) > >> > { > >> > public Panel getPanel(String panelId) > >> > { > >> >return new TabPanel1(panelId); > >> > } > >> > }); > >> > > >> > tabs.add(new AbstractTab(new Model("second tab")) > >> > { > >> > public Panel getPanel(String panelId) > >> > { > >> >return new TabPanel2(panelId); > >> > } > >> > }); > >> > > >> > tabs.add(new AbstractTab(new Model("third tab")) > >> > { > >> > public Panel getPanel(String panelId) > >> > { > >> >return new TabPanel3(panelId); > >> > } > >> > }); > >> > > >> > add(new TabbedPanel("tabs", tabs)); > >> > } > >> > > >> > private static class TabPanel1 extends Panel > >> > { > >> > > >> > public TabPanel1(String id) > >> > { > >> > super(id); > >> > > >> > > >> > } > >> > }; > >> > > >> > private static class TabPanel2 extends Panel > >> > { > >> > public TabPanel2(String id) > >> > { > >> > super(id); > >> > } > >> > }; > >> > private static class TabPanel3 extends Panel > >> > { > >> > public TabPanel3(String id) > >> > { > >> > super(id); > >> > } > >> > }; > >> > } > >> > > >> > On Mon, Jul 20, 2009 at 3:58 PM, Martin Makundi < > >> > martin.maku...@koodaripalvelut.com> wrote: > >> > > >> >> Copy-paste the example from the web and replace the one panel with a > >> grid. > >> >> > >> >> ** > >> >> Martin > >> >> > >> >> 2009/7/20 Gerald Fernando : > >> >> > yes i mean it.am debut to wicket.how can i achive it > >> >> > please help me > >> >> > my requirement is > >> >> > when i click first tab it should shows a Grid > >> >> >> 2nd tab - panel > >> >> >> 3rd tab - another componet > >> >> >> 4th tab - Another componet > >> >> > > >> >> > > >> >> > On Mon, Jul 20, 2009 at 11:35 AM, Martin Makundi < > >> >> > martin.maku...@koodaripalvelut.com> wrote: > >> >> > > >> >> >> You mean wicket TabbedPanel
Re: Tab panel child
Hi marchin, in your code HashMap tabMap = new HashMap(); - this is a line which shows error there is is error such as Parameterized types are only avilable if source level is 5. what is this error how can i solve it? Thanks&Regards, Gerald A On Tue, Jul 21, 2009 at 3:30 PM, Marcin Palka wrote: > > See an example in the attached file. It should be quite easy to understand. > The example consists of two pages. First of them contains a tabbed panel > with three tabs. Each of them contains a panel (an instance of the same > panel class). The the same panel is embedded outside the tabbed panel into > a > page contents directly. Another page contains the same panel embedded once > again. > > http://www.nabble.com/file/p24584839/TabsExample.zip TabsExample.zip > > cheers, > Marcin > -- > View this message in context: > http://www.nabble.com/Tab-panel-child-tp24564353p24584839.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 > > -- Thanks®ards, Gerald A
how to show a page in a TabPanel
Hello Friends, i have a TabPanel with 3 tabs. shall we have another page for every tab? shall i use setContentPage? is it possible -- Thanks®ards, Gerald A
page content in panel
i used java 1.6 wicket 1.2.7 jar wicket-extensions 1.2.7 jar with Eclipse is it enough? Please give me quick reply -- Thanks®ards, Gerald A
What are the jar files needed
What are the jar files needed. now i have got wicket 1.4 . what are jar files those i have to add in webcontent lib folder i have included wicket 1.4rc5.jar wicket-extension 1.4rc5.jar but in my code ,it shows the error such as import org.apache.wicket cannot be resolved WebApplication cannot be resolved to a type help me what are jar files i have to include -- Thanks®ards, Gerald A
What are the jar files needed.
What are the jar files needed. now i have got wicket 1.4 . what are jar files those i have to add in webcontent lib folder i have included wicket 1.4rc5.jar wicket-extension 1.4rc5.jar but in my code ,it shows the error such as import org.apache.wicket cannot be resolved WebApplication cannot be resolved to a type help me what are jar files i have to include ?? Thanks®ards, Gerald A
Doubt please help me to clear
Hello Friends, Could you please tell me things of Wicket Flex what are the advantages of both. what are the disadvandages.(Flex) Comapre Flex and Wicket Both are used to easy web development. Flex is also has a good UI Development.(I came to know that) -- Thanks®ards, Gerald A
Re: Doubt please help me to clear
Hi Martin Which is suitable to create a financial Portal. In Flex we can easily create UI components.(I heared). shall we insert a flex graph in to wicket page? Thanks&Regards, Gerald A On Mon, Aug 3, 2009 at 10:53 AM, Martin Makundi < martin.maku...@koodaripalvelut.com> wrote: > Hi! > > Here are some fast points: > > Flex is client side FAT client. It runs on BROWSER. > > Wicket runs on SERVER. > > Flex can do graphics. You must know Flex. > > Wicket can do graphics. You must know HTML/JavaScript/CSS. > > Not all people ALLOW Flex in their browsers (minority, these days). > > In a way, SERVER side application is littlebit safer because FULL data > always remains on server. In Flex sometinmes programmer may compromise > and send critical data to CLIENT BROWSER. > > ** > Martin > > > 2009/8/3 Gerald Fernando : > > Hello Friends, > > Could you please tell me things of > > > > Wicket > > Flex > > > > what are the advantages of both. > > what are the disadvandages.(Flex) > > Comapre Flex and Wicket > > > > Both are used to easy web development. > > Flex is also has a good UI Development.(I came to know that) > > > > > > > > -- > > Thanks®ards, > > Gerald A > > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Thanks®ards, Gerald A
wicket 1.2.7 to 1.4-rc5 Error
Hello Friends, previously i used wicket 1.2.7 jar wicket extension 1.2.7 jar and servlet-api-2.5-6.0.1.jar my wicket page is worked well. now i have changed wicket 1.4-rc5. jar wicket extension 1.4-rc5. jar and servlet-api-2.5-6.0.1.jar my web.xml written like this http://www.w3.org/2001/XMLSchema-instance"; xmlns=" http://java.sun.com/xml/ns/javaee"; xmlns:web=" http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"; xsi:schemaLocation=" http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"; id="WebApp_ID" version="2.5"> Wicket Examples test.html HelloWorldApplication org.apache.wicket.protocol.http.WicketServlet applicationClassName helloworld.HelloWorldApplication HelloWorldApplication /helloworld/* When i run this page it shows the error javax.servlet.ServletException: Error instantiating servlet class org.apache.wicket.protocol.http.WicketServlet java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory. How can i solve it. please give me solution to solve this problem is there any .jar files i need to include? or i need to change my web.xml file??? -- Thanks®ards, Gerald A
Re: wicket 1.2.7 to 1.4-rc5 Error
Hi Jens, how to get these jar files and where to include it? please give me urgent solution Thanks&Regards, Gerald A 2009/8/7 Greven, Jens > Gerald, > > > You need to include slf4j.jar. As far as I understand it, slf4jar is only a > "wrapper" for a logging framework of your choice, let's assume you use log4j > for logging, you would also have to include slf4-log4j12.jar. > > I use the follwing: > slf4j-api-1.5.8.jar > slf4j-log4j12-1.5.8.jar > log4j-1.2.14.jar > > > Hope this helps, > Jens > > -Ursprüngliche Nachricht- > Von: Gerald Fernando [mailto:gerald.anto.ferna...@gmail.com] > Gesendet: Freitag, 7. August 2009 11:17 > An: users@wicket.apache.org > Betreff: wicket 1.2.7 to 1.4-rc5 Error > > Hello Friends, > previously i used wicket 1.2.7 jar wicket extension 1.2.7 jar and > servlet-api-2.5-6.0.1.jar > my wicket page is worked well. > now i have changed wicket 1.4-rc5. jar wicket extension 1.4-rc5. jar and > servlet-api-2.5-6.0.1.jar > my web.xml written like this > > > http://www.w3.org/2001/XMLSchema-instance"; xmlns=" > http://java.sun.com/xml/ns/javaee"; xmlns:web=" > http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"; xsi:schemaLocation=" > http://java.sun.com/xml/ns/javaee > http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"; id="WebApp_ID" > version="2.5"> > Wicket Examples > > test.html > > > > HelloWorldApplication > > org.apache.wicket.protocol.http.WicketServlet > > >applicationClassName >helloworld.HelloWorldApplication > > > > HelloWorldApplication > /helloworld/* > > > > > > > When i run this page it shows the error > > javax.servlet.ServletException: Error instantiating servlet class > org.apache.wicket.protocol.http.WicketServlet > java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory. > > How can i solve it. > please give me solution to solve this problem > > is there any .jar files i need to include? > or > i need to change my web.xml file??? > > > > -- > Thanks®ards, > Gerald A > > Jens Greven > Team EDV > > Telefon: 0251-70017-339 > Telefax: 0251-70017-203 > E-Mail: jgre...@pma.de > > [pma: ] Finanz-Service GmbH > Ein Unternehmen von Pramerica Financial > Münsterstr. 111 > 48155 Münster > http://www.pma.de > > Geschäftsführung: Jörg Matheis, Lambert Stegemann > Handelsregister: Amtsgericht Münster HRB 4256Diese Information ist > ausschließlich für die adressierte Person oder Organisation bestimmt und > könnte vertrauliches Material enthalten. Sollten Sie diese Nachricht > irrtümlich erhalten haben, bitten wir Sie, sich mit dem Absender in > Verbindung zu setzen und das Material von Ihrem Computer zu löschen. Das > unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht > gestattet. > > Wir weisen darauf hin, dass E-Mail-Nachrichten mit und ohne Zutun von > Dritten verloren gehen, verändert oder verfälscht werden können. > Herkömmliche E-Mails sind nicht gegen den Zugriff von Dritten geschützt und > deshalb ist auch die Vertraulichkeit unter Umständen nicht gewahrt. Wir > haften deshalb nicht für die Unversehrtheit von E-Mails nachdem sie unseren > Herrschaftsbereich verlassen haben und können Ihnen hieraus entstehende > Schäden nicht ersetzen. Sollten trotz der von uns verwendeten > Virus-Schutz-Programme durch die Zusendung von E-Mails ein Virus in Ihre > Systeme gelangen, haften wir nicht für eventuell hieraus entstehende > Schäden. Dieser Haftungsausschluss gilt nur soweit gesetzlich zulässig. > > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Thanks®ards, Gerald A
Re: wicket 1.2.7 to 1.4-rc5 Error
I am not using Maven. am just using only the apache tomcat. so according to you i have to get the following files in Google slf4j-api-1.5.8.jar slf4j-log4j12-1.5.8.jar log4j-1.2.14.jar am i correct?? shall i down load it from google?? Thanks&Regards, Gerald A 2009/8/7 Martin Makundi > Are you using Maven? > > That's the easiest solution. Otherwise you can try to google "jar finder". > > ** > Maritn > > 2009/8/7 Gerald Fernando : > > Hi Jens, > > how to get these jar files and where to include it? > > please give me urgent solution > > > > Thanks&Regards, > > Gerald A > > > > 2009/8/7 Greven, Jens > > > >> Gerald, > >> > >> > >> You need to include slf4j.jar. As far as I understand it, slf4jar is > only a > >> "wrapper" for a logging framework of your choice, let's assume you use > log4j > >> for logging, you would also have to include slf4-log4j12.jar. > >> > >> I use the follwing: > >> slf4j-api-1.5.8.jar > >> slf4j-log4j12-1.5.8.jar > >> log4j-1.2.14.jar > >> > >> > >> Hope this helps, > >> Jens > >> > >> -Ursprüngliche Nachricht- > >> Von: Gerald Fernando [mailto:gerald.anto.ferna...@gmail.com] > >> Gesendet: Freitag, 7. August 2009 11:17 > >> An: users@wicket.apache.org > >> Betreff: wicket 1.2.7 to 1.4-rc5 Error > >> > >> Hello Friends, > >> previously i used wicket 1.2.7 jar wicket extension 1.2.7 jar and > >> servlet-api-2.5-6.0.1.jar > >> my wicket page is worked well. > >> now i have changed wicket 1.4-rc5. jar wicket extension 1.4-rc5. jar and > >> servlet-api-2.5-6.0.1.jar > >> my web.xml written like this > >> > >> > >> http://www.w3.org/2001/XMLSchema-instance"; xmlns=" > >> http://java.sun.com/xml/ns/javaee"; xmlns:web=" > >> http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"; xsi:schemaLocation=" > >> http://java.sun.com/xml/ns/javaee > >> http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"; id="WebApp_ID" > >> version="2.5"> > >> Wicket Examples > >> > >> test.html > >> > >> > >> > >> HelloWorldApplication > >> > >> > org.apache.wicket.protocol.http.WicketServlet > >> > >> > >>applicationClassName > >>helloworld.HelloWorldApplication > >> > >> > >> > >> HelloWorldApplication > >> /helloworld/* > >> > >> > >> > >> > >> > >> > >> When i run this page it shows the error > >> > >> javax.servlet.ServletException: Error instantiating servlet class > >> org.apache.wicket.protocol.http.WicketServlet > >> java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory. > >> > >> How can i solve it. > >> please give me solution to solve this problem > >> > >> is there any .jar files i need to include? > >> or > >> i need to change my web.xml file??? > >> > >> > >> > >> -- > >> Thanks®ards, > >> Gerald A > >> > >> Jens Greven > >> Team EDV > >> > >> Telefon: 0251-70017-339 > >> Telefax: 0251-70017-203 > >> E-Mail: jgre...@pma.de > >> > >> [pma: ] Finanz-Service GmbH > >> Ein Unternehmen von Pramerica Financial > >> Münsterstr. 111 > >> 48155 Münster > >> http://www.pma.de > >> > >> Geschäftsführung: Jörg Matheis, Lambert Stegemann > >> Handelsregister: Amtsgericht Münster HRB 4256Diese Information ist > >> ausschließlich für die adressierte Person oder Organisation bestimmt und > >> könnte vertrauliches Material enthalten. Sollten Sie diese Nachricht > >> irrtümlich erhalten haben, bitten wir Sie, sich mit dem Absender in > >> Verbindung zu setzen und das Material von Ihrem Computer zu löschen. Das > >> unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht > >> gestattet. > >> > >> Wir weisen darauf hin, dass E-Mail-Nachrichten mit und ohne Zutun von > >> Dritten verloren gehen, verändert oder verfälscht werden können. > >> Herkömmliche E-Mails sind nicht gegen den Zugriff von Dritten geschützt > und > >> deshalb ist auch die Vertraulichkeit unter Umständen nicht gewahrt. Wir > >> haften deshalb nicht für die Unversehrtheit von E-Mails nachdem sie > unseren > >> Herrschaftsbereich verlassen haben und können Ihnen hieraus entstehende > >> Schäden nicht ersetzen. Sollten trotz der von uns verwendeten > >> Virus-Schutz-Programme durch die Zusendung von E-Mails ein Virus in Ihre > >> Systeme gelangen, haften wir nicht für eventuell hieraus entstehende > >> Schäden. Dieser Haftungsausschluss gilt nur soweit gesetzlich zulässig. > >> > >> > >> > >> - > >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > >> For additional commands, e-mail: users-h...@wicket.apache.org > >> > >> > > > > > > -- > > Thanks®ards, > > Gerald A > > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Thanks®ards, Gerald A
Re: wicket 1.2.7 to 1.4-rc5 Error
Hi Jens,Martin,Greven i have successfully run my first application in wicket 1.4 . Thanks for your kind co-operations. Finally i included the jar files mentioned by Jens i got my first Application. i need some examples to improve my wicket knowledge,so if anyone has, please give some modal code. Thanks&Regards, Gerald Anto Fernando 2009/8/7 Greven, Jens > Hi Gerald, > > > Have a look at http://logging.apache.org/log4j/1.2/download.html and > http://www.slf4j.org/download.html. > > > Rgds > Jens > > > -----Original Message- > From: Gerald Fernando [mailto:gerald.anto.ferna...@gmail.com] > Sent: Friday, August 07, 2009 1:12 PM > To: users@wicket.apache.org > Subject: Re: wicket 1.2.7 to 1.4-rc5 Error > > I am not using Maven. > am just using only the apache tomcat. > so according to you i have to get the following files in Google > > slf4j-api-1.5.8.jar > slf4j-log4j12-1.5.8.jar > log4j-1.2.14.jar > > > am i correct?? > shall i down load it from google?? > Thanks&Regards, > Gerald A > > 2009/8/7 Martin Makundi > > > Are you using Maven? > > > > That's the easiest solution. Otherwise you can try to google "jar > finder". > > > > ** > > Maritn > > > > 2009/8/7 Gerald Fernando : > > > Hi Jens, > > > how to get these jar files and where to include it? > > > please give me urgent solution > > > > > > Thanks&Regards, > > > Gerald A > > > > > > 2009/8/7 Greven, Jens > > > > > >> Gerald, > > >> > > >> > > >> You need to include slf4j.jar. As far as I understand it, slf4jar is > > only a > > >> "wrapper" for a logging framework of your choice, let's assume you use > > log4j > > >> for logging, you would also have to include slf4-log4j12.jar. > > >> > > >> I use the follwing: > > >> slf4j-api-1.5.8.jar > > >> slf4j-log4j12-1.5.8.jar > > >> log4j-1.2.14.jar > > >> > > >> > > >> Hope this helps, > > >> Jens > > >> > > >> -Ursprüngliche Nachricht- > > >> Von: Gerald Fernando [mailto:gerald.anto.ferna...@gmail.com] > > >> Gesendet: Freitag, 7. August 2009 11:17 > > >> An: users@wicket.apache.org > > >> Betreff: wicket 1.2.7 to 1.4-rc5 Error > > >> > > >> Hello Friends, > > >> previously i used wicket 1.2.7 jar wicket extension 1.2.7 jar and > > >> servlet-api-2.5-6.0.1.jar > > >> my wicket page is worked well. > > >> now i have changed wicket 1.4-rc5. jar wicket extension 1.4-rc5. jar > and > > >> servlet-api-2.5-6.0.1.jar > > >> my web.xml written like this > > >> > > >> > > >> http://www.w3.org/2001/XMLSchema-instance"; > xmlns=" > > >> http://java.sun.com/xml/ns/javaee"; xmlns:web=" > > >> http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"; > xsi:schemaLocation=" > > >> http://java.sun.com/xml/ns/javaee > > >> http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"; id="WebApp_ID" > > >> version="2.5"> > > >> Wicket Examples > > >> > > >> test.html > > >> > > >> > > >> > > >> HelloWorldApplication > > >> > > >> > > > org.apache.wicket.protocol.http.WicketServlet > > >> > > >> > > >>applicationClassName > > >>helloworld.HelloWorldApplication > > >> > > >> > > >> > > >> HelloWorldApplication > > >> /helloworld/* > > >> > > >> > > >> > > >> > > >> > > >> > > >> When i run this page it shows the error > > >> > > >> javax.servlet.ServletException: Error instantiating servlet class > > >> org.apache.wicket.protocol.http.WicketServlet > > >> java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory. > > >> > > >> How can i solve it. > > >> please give me solution to solve this problem > > >> > > >> is there any .jar files i need to include? > > >> or > > >> i need to change my web.xml file??? > > >> > > >> > > >> > > >> -- > > >> Thanks®ards, > > >> Gerald A > > >> >
Help in panel design
Hello Friends, I have created a panel(both java and html page). now i need to view a 3 panels in the home page each should same height and width or diffrent height and width. I mean how to i set height and width of that panel -- Thanks®ards, Gerald A
pannels with diffrent width and height
I have created panel.now i want to show that panel with diffrent width and height in another page(3 panels). is it possible? if so help me how to do it. am eagerly waiting for your reply -- Thanks®ards, Gerald A
Re: pannels with diffrent width and height
it will place one bye one but i need next to next.column wise Thanks&Regards, Gerald A On Mon, Aug 10, 2009 at 3:41 PM, Wilhelmsen Tor Iver wrote: > > I have created panel.now i want to show that panel with diffrent width > > and > > height in another page(3 panels). > > >Will be replaced with contents of wicket:panel element > > > Or betters, use classes in nested elements that you specify outside of the > templates. > > - Tor Iver > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Thanks®ards, Gerald A
Re: pannels with diffrent width and height
i used table but it will not be placed in the full page even i put table height and width = 100% if possible please explain little bit about div with CSS float: etc. in the page template. On Mon, Aug 10, 2009 at 5:24 PM, Wilhelmsen Tor Iver wrote: > > it will place one bye one > > but i need next to next.column wise > > Well, either use a Table with three columns to represent the panels or use > div with CSS float: etc. in the page template. > > - Tor Iver > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Thanks®ards, Gerald A
how to create a TabPanel as a separate class.
Hello Friends, This is my need what i want whenever i need this tabbedPanel i want to place in any page public class choicePanel extends TabbedPanel{ super(); } not like public class choicePanel extends webpage i have created the above one but it shows the error that he constructor TabbedPanel() is undefined please give me urgent Reply -- Thanks®ards, Gerald A
Need Wicket Book
Hello Friends, Am Gerald Fernando as well as new to Wicket. I was assigned to do a project using Wicket. So first i Need to study well Wicket(from the very basic steps) What can be Achieved and What cant be Achieved. please tell me the Books for Wicket(Free DownLoad). so that i can go ahead. from the basic i want to study throughly please Help me -- Thanks®ards, Gerald A
Re: Need Wicket Book
Thank You Friends for your ideas Thanks&Regards, Gerald Anto Fernando On Tue, Aug 18, 2009 at 1:16 PM, Greven, Jens wrote: > I liked the book "Enjoy Web Development with Wicket" by Kent Ka Iok Tong. > You can find it at http://www.agileskills2.org, the download edition is > also quite affordable at 19.95 US-$. > > This book and "Wicket in Action" kind of complement one another quite well, > imho. The edition I bought of "Pro Wicket" was based on wicket 1.2 (I have > no clue if there is a newer edition) which could mean some obstacles to deal > with if you're new to the subject. > > > Hope this helps, > Jens > > -Original Message- > From: Haulyn R. Jason [mailto:saharab...@gmail.com] > Sent: Tuesday, August 18, 2009 8:56 AM > To: users@wicket.apache.org > Subject: Re: Need Wicket Book > > I have both Pro Wicket and Wicket in Action. They are all great! > > 2009/8/18 Major Péter > > > Yes Wicket In Action is a great book, but there is an another book: Pro > > Wicket from Karthik Gurumurthy, which could be also helpful. > > > > Peter > > > > 2009-08-18 08:26 keltezéssel, Jeroen Steenbeeke írta: > > > > I realize you asked for freely available information sources, but you > >> really > >> can't go wrong with Wicket in Action: > >> http://manning.com/dashorst/ > >> It isn't that expensive at $45, and you get a PDF copy as well. You can > >> also > >> skip the dead tree version and get just the PDF for $27.50. And I'm not > >> just > >> saying this because Martijn is a co-worker, it really is an excellent > >> book. > >> - Jeroen > >> > >> 2009/8/18 Haulyn R. Jason > >> > >> you can start from wicket tutorial, live demo > >>> http://wicketstuff.org/wicket13/and the quick start is very good: > >>> http://wicket.apache.org/quickstart.html > >>> > >>> > >>> > >>> > >>> On Tue, Aug 18, 2009 at 1:26 PM, Gerald Fernando< > >>> gerald.anto.ferna...@gmail.com> wrote: > >>> > >>> Hello Friends, > >>>> > >>>> Am Gerald Fernando as well as new to Wicket. > >>>> I was assigned to do a project using Wicket. > >>>> So first i Need to study well Wicket(from the very basic steps) > >>>> What can be Achieved and What cant be Achieved. > >>>> please tell me the Books for Wicket(Free DownLoad). > >>>> so that i can go ahead. > >>>> from the basic i want to study throughly > >>>> please Help me > >>>> > >>>> > >>>> > >>>> -- > >>>> Thanks®ards, > >>>> Gerald A > >>>> > >>>> > >>> > >>> > >>> -- > >>> -- > >>> Enjoy. Thanks! > >>> > >>> Haulyn Microproduction > >>> > >>> Mobile: +086-15864011231 > >>> email: saharab...@gmail.com, > >>> hmp.hau...@foxmail.com > >>> website: http://haulynjason.net > >>> gtalk: saharab...@gmail.com > >>> yahoo: jia_hao...@yahoo.com > >>> msn: saharab...@gmail.com > >>> skype: saharabear > >>> QQ: 378606292 > >>> > >>> Haulyn Jason > >>> > >> > > - > > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > > For additional commands, e-mail: users-h...@wicket.apache.org > > > > > > > -- > -- > Enjoy. Thanks! > > Haulyn Microproduction > > Mobile: +086-15864011231 > email: saharab...@gmail.com, > hmp.hau...@foxmail.com > website: http://haulynjason.net > gtalk: saharab...@gmail.com > yahoo: jia_hao...@yahoo.com > msn: saharab...@gmail.com > skype: saharabear > QQ: 378606292 > > Haulyn Jason > > Jens Greven > Team EDV > > Telefon: 0251-70017-339 > Telefax: 0251-70017-203 > E-Mail: jgre...@pma.de > > [pma: ] Finanz-Service GmbH > Ein Unternehmen von Pramerica Financial > Münsterstr. 111 > 48155 Münster > http://www.pma.de > > Geschäftsführung: Jörg Matheis, Lambert Stegemann > Handelsregister: Amtsgericht Münster HRB 4256Diese Information ist > ausschließlich für die adressierte Person oder Organisation bestimmt und > könnte vertrauliches Material enthalten. Sollten Sie diese Nachricht > irrtümlich erhalten haben, b
Shall we have(embed) a swf in wicket component(Panel or in wicket page).
Hello Friends, Shall we have(embed) a swf in wicket component(Panel or in wicket page). I have swf that shows chart for dynamic data. i want to show my .swf file into wicket page or wicket panel if possible please give me modal code. I need urgent reply -- Thanks®ards, Gerald A
Re: Shall we have(embed) a swf in wicket component(Panel or in wicket page).
Nino sorry to say that i dont know that please tell me clear. if possible give some modal code Thanks&Regards, Gerald A On Tue, Aug 18, 2009 at 6:45 PM, nino martinez wael < nino.martinez.w...@gmail.com> wrote: > stuff the panel in to the modal window > > 2009/8/18 Gerald Fernando : > > Hello Friends, > > > > Shall we have(embed) a swf in wicket component(Panel or in wicket page). > > I have swf that shows chart for dynamic data. > > i want to show my .swf file into wicket page or wicket panel > > if possible please give me modal code. > > I need urgent reply > > > > -- > > Thanks®ards, > > Gerald A > > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Thanks®ards, Gerald A
swf into wicket page
Hello Friends, Shall we have(embed) a swf in wicket component(Panel or in wicket page). I have swf that shows chart for dynamic data. i want to show my .swf file into wicket page or wicket panel if possible please give me modal code. I need urgent reply -- Thanks®ards, Gerald A
Re: swf into wicket page
Hi martijin i have write what u gave me but it shows that Bedrijf cannot be resolved to a type Video cannot be resolved to a type create a class fo rBedrijf and Video As i new to wicket i dont know how to write it please tell me how to do it. Thanks&Regards, Gerald A On Wed, Aug 19, 2009 at 5:01 PM, Martijn Lindhout wrote: > Here's how I did it: > > Java > public class VideoPlayer extends Panel { > >public VideoPlayer(String id, final Bedrijf bedrijf, final Video > video) { >super(id); >add(new WebComponent("player"){ >@Override >protected void onComponentTagBody(MarkupStream > markupStream, > ComponentTag openTag) { >String videoFile = "/static/" + > bedrijf.getProfiel().getId() + > "/videos/" + video.getNaam(); >StringBuilder script = new StringBuilder( >"var s1 = new > SWFObject('/static/jobiq/player.swf','ply','328','200','9','#FF');" > + > > "s1.addParam('allowfullscreen','true');" + > > "s1.addParam('allowscriptaccess','always');" + >"s1.addParam('flashvars','file=" + > videoFile + > "&image=/static/player/preview.jpg');" + >"s1.write('container');" >); > >replaceComponentTagBody(markupStream, > openTag, script); >} >}); >} > > } > > > And the HTML > > > href="http://www.macromedia.com/go/getflashplayer";>Get the Flash > Player to see this player. > src="/static/player/swfobject.js"> > > > > 2009/8/19 Gerald Fernando : > > Hello Friends, > > > > Shall we have(embed) a swf in wicket component(Panel or in wicket page). > > I have swf that shows chart for dynamic data. > > i want to show my .swf file into wicket page or wicket panel > > if possible please give me modal code. > > I need urgent reply > > > > > > > > > > -- > > Thanks®ards, > > Gerald A > > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Thanks®ards, Gerald A
Re: Shall we have(embed) a swf in wicket component(Panel or in wicket page).
} > > result.deleteCharAt(result.length() - 1); > > result.append("}"); > > return result.toString(); > >} > >return "{}"; > > } > > > > @Override > > public void onComponentTag(final Component component, final ComponentTag > > tag) { > > } > > > > protected Map getParameters() { > >return parameters; > > } > > > > public void addParameter(String name, String value) { > >parameters.put(name, value); > > } > > > > protected Map getAttributes() { > >return attributes; > > } > > > > public void addAttribute(String name, String value) { > >attributes.put(name, value); > > } > > > > } > > > > > > Here is a use of it > > > > public class PanelforSwf extends Panel implements IResourceListener { > > > >private static final long serialVersionUID = 14614407827489706L; > >static final ResourceReference SWF_RESOURCE = new > > ResourceReference(PanelPartido.class, "stadistic.swf" ); > >final SWFObject swf; > >private String idInscripcion; > > > >public PanelForSwf(String id, String width, String height) { > >super(id); > >String swfURL = RequestUtils.toAbsolutePath( > > urlFor(SWF_RESOURCE).toString() ); > >add(swf = new SWFObject( swfURL, width, height, "9.0.0")); > >} > >public PanelForSwf(String id, IModel modeloInscripcion) { > >this(id,"800","500"); > >} > > @Override protected void onBeforeRender() { > >swf.addParameter("param2", someparameter); > >swf.addParameter("param1", someparameter); > >super.onBeforeRender(); > > } > > > >public void onResourceRequested() { > > > >} > > > > } > > > > > > > > On Tue, Aug 18, 2009 at 10:41 PM, Gerald Fernando < > > gerald.anto.ferna...@gmail.com> wrote: > > > >> Nino sorry to say that i dont know that > >> please tell me clear. > >> if possible give some modal code > >> > >> Thanks&Regards, > >> Gerald A > >> > >> On Tue, Aug 18, 2009 at 6:45 PM, nino martinez wael < > >> nino.martinez.w...@gmail.com> wrote: > >> > >> > stuff the panel in to the modal window > >> > > >> > 2009/8/18 Gerald Fernando : > >> > > Hello Friends, > >> > > > >> > > Shall we have(embed) a swf in wicket component(Panel or in wicket > >> page). > >> > > I have swf that shows chart for dynamic data. > >> > > i want to show my .swf file into wicket page or wicket panel > >> > > if possible please give me modal code. > >> > > I need urgent reply > >> > > > >> > > -- > >> > > Thanks®ards, > >> > > Gerald A > >> > > > >> > > >> > - > >> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > >> > For additional commands, e-mail: users-h...@wicket.apache.org > >> > > >> > > >> > >> > >> -- > >> Thanks®ards, > >> Gerald A > >> > > > > > > > > -- > > Fernando Wermus. > > > > www.linkedin.com/in/fernandowermus > > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Thanks®ards, Gerald A
what is modal window
hi friends, what is modal window what is the difference between this and Panel what are the uses Thanks&Regards, Gerald A -- Thanks®ards, Gerald A
How to use link
Hello Friends, this is my code add(new ListView("people", p.writeNews("arts")) { @Override protected void populateItem(ListItem item) { RSSReader person = (RSSReader)item.getModelObject(); item.add(new Label("title", person.title)); - title item.add(new Label("link", person.link)); corresponding web Address of title item.add(new Label("description", person.description)); description } When i click title that shows that web Page how to do it -- Thanks®ards, Gerald A
How to get Dynamic value of TextField
Hello Friends, i have a TextField and button. when i click a button i need to get value of textField and pass it to the another function. How it is possible -- Thanks®ards, Gerald A
Re: How to use link
Thankk you robin i have used external link that is working fine Thanks&Regards, Gerald A On Wed, Aug 26, 2009 at 7:52 PM, Robin Sander wrote: > > You have to add a Link instance to the item, for example > > item.add(new BookmarkablePageLink("link", TargetPage.class); > > If you want to have a label inside the link add the label to the link > instead of the item > and use a markup like: > > name > > > > > On 26.08.2009, at 12:00, Gerald Fernando wrote: > > Hello Friends, >> this is my code >> >> add(new ListView("people", p.writeNews("arts")) >> { >> @Override protected void populateItem(ListItem item) >> { >> RSSReader person = (RSSReader)item.getModelObject(); >> >>item.add(new Label("title", person.title)); - title >> >>item.add(new Label("link", person.link)); >> corresponding web Address of title >>item.add(new Label("description", person.description)); >> description >> } >> >> When i click title that shows that web Page >> >> how to do it >> >> >> -- >> Thanks®ards, >> Gerald A >> > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Thanks®ards, Gerald A
Re: How to get Dynamic value of TextField
I dont know how to attach model to form or textField. my requirement is that when i give input to text field and submit it gives some data then i want to populate the data into DataGrid or table view if possible give me some samples Thanks&Regards, Gerald A On Wed, Aug 26, 2009 at 7:20 PM, Dipu wrote: > is the text field in a form ? > do you have a model attached to the form or the text field ? > > > when you submit the form or click the button the input value will be > updated to the model and you can read it from the model. > > hope that make sense. > > regards > > > > > On Wed, Aug 26, 2009 at 2:45 PM, Gerald > Fernando wrote: > > Hello Friends, > > > > i have a TextField and button. > > when i click a button i need to get value of textField and pass it to the > > another function. > > How it is possible > > -- > > Thanks®ards, > > Gerald A > > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Thanks®ards, Gerald A
How to use session
Hello Friends, I have page in which textField and button . when submit a form (onClick ) i need to call same page and pass argument to that page. so that page will take argument from session variable.How to store and how to get that value *for loading same page*,Shall i call the page using *setResponsePage* and *shall i get the argument* for that page from session variable? how can i achieve this. -- Thanks®ards, Gerald A
Re: How to use session
hi Thomerson, Actually my page(RSSPage) this call sectorPanel class extends Panel like public class RSSPage extends WebPage { public RSSPage(){ add(new sectorGrid("sector"); } } public class sectorGrid extends Panel { private String param=null; private TextField input; private Form form; private Button button; private ListView people; public sectorGrid(String id,String arg) { super(id); param = arg; input = new TextField("inputkey",new Model("")); button = new Button("search"); Form form = new Form("form") { public void onSubmit() { String key = (String)input.getModelObject(); //System.out.println("Key : "+key); setResponsePage(RSSPage.class);-->*here Iwant to pass key to this(RSSPage) class* } }; form.add(input); form.add(button); add(form); RSSReader p = new RSSReader(); add(new ListView("people", p.writeNews(param)) { @Override protected void populateItem(ListItem item) { RSSReader person = (RSSReader)item.getModelObject(); item.add(new ExternalLink("link",person.link, person.title)); item.add(new Label("description", person.description)); } } ); } } But in your code you passed argument to the calling class but in my RSSPage class i didnt declare contructor to receive variable. So your code is suitable for this case Give me quick Reply Thanks&Regards, Gerald A On Fri, Aug 28, 2009 at 10:49 AM, Jeremy Thomerson < jer...@wickettraining.com> wrote: > Why put the variable in the session at all? Do this in your onSubmit: > > onSubmit() { > setResponsePage(new SomePage(this.someVariable)); > } > > -- > Jeremy Thomerson > http://www.wickettraining.com > > > > > On Fri, Aug 28, 2009 at 12:17 AM, Gerald > Fernando wrote: > > Hello Friends, > > I have page in which textField and button . > > when submit a form (onClick ) i need to call same page and pass argument > to > > that page. > > so that page will take argument from session variable.How to store and > how > > to get that value > > *for loading same page*,Shall i call the page using *setResponsePage* > > and *shall > > i get the argument* for that page from session variable? > > how can i achieve this. > > > > -- > > Thanks®ards, > > Gerald A > > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Thanks®ards, Gerald A
Re: How to use session
Thomerson Thank You very much. I have done successfully from your idea. Thanks&Regards, Gerald A On Fri, Aug 28, 2009 at 9:13 PM, Jeremy Thomerson wrote: > So, declare the constructor that you need to pass in the variable. > It's okay to have multiple constructors. You're going to have to have > some way of constructing the object and giving it the search term > > -- > Jeremy Thomerson > http://www.wickettraining.com > > > > > On Fri, Aug 28, 2009 at 2:58 AM, Gerald > Fernando wrote: > > hi Thomerson, > > > > Actually my page(RSSPage) > > this call sectorPanel class extends Panel like > > > > public class RSSPage extends WebPage { > > > >public RSSPage(){ > >add(new sectorGrid("sector"); > >} > > > > } > > > > public class sectorGrid extends Panel { > >private String param=null; > >private TextField input; > >private Form form; > >private Button button; > >private ListView people; > > > >public sectorGrid(String id,String arg) > > { > >super(id); > >param = arg; > > > >input = new TextField("inputkey",new Model("")); > >button = new Button("search"); > > > >Form form = new Form("form") { > >public void onSubmit() { > > String key = (String)input.getModelObject(); > > > >//System.out.println("Key : "+key); > > > >setResponsePage(RSSPage.class);-->*here Iwant > to > > pass key to this(RSSPage) class* > > > >} > > > >}; > > > >form.add(input); > >form.add(button); > >add(form); > > > > > > RSSReader p = new RSSReader(); > > add(new ListView("people", p.writeNews(param)) > >{ > >@Override protected void populateItem(ListItem item) > >{ > >RSSReader person = > (RSSReader)item.getModelObject(); > >item.add(new ExternalLink("link",person.link, > > person.title)); > >item.add(new Label("description", > > person.description)); > >} > >} > > > > ); > > > >} > > } > > > > But in your code you passed argument to the calling class but in my > RSSPage > > class i didnt > > declare contructor to receive variable. > > So your code is suitable for this case > > Give me quick Reply > > > > Thanks&Regards, > > Gerald A > > > > > > > > > > On Fri, Aug 28, 2009 at 10:49 AM, Jeremy Thomerson < > > jer...@wickettraining.com> wrote: > > > >> Why put the variable in the session at all? Do this in your onSubmit: > >> > >> onSubmit() { > >> setResponsePage(new SomePage(this.someVariable)); > >> } > >> > >> -- > >> Jeremy Thomerson > >> http://www.wickettraining.com > >> > >> > >> > >> > >> On Fri, Aug 28, 2009 at 12:17 AM, Gerald > >> Fernando wrote: > >> > Hello Friends, > >> > I have page in which textField and button . > >> > when submit a form (onClick ) i need to call same page and pass > argument > >> to > >> > that page. > >> > so that page will take argument from session variable.How to store and > >> how > >> > to get that value > >> > *for loading same page*,Shall i call the page using *setResponsePage* > >> > and *shall > >> > i get the argument* for that page from session variable? > >> > how can i achieve this. > >> > > >> > -- > >> > Thanks®ards, > >> > Gerald A > >> > > >> > >> - > >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > >> For additional commands, e-mail: users-h...@wicket.apache.org > >> > >> > > > > > > -- > > Thanks®ards, > > Gerald A > > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Thanks®ards, Gerald A
Shall we create a menu in wicket?
Shall we create a menu in wicket?if it possible , please tell me how to create menu -- Thanks®ards, Gerald A