Re: Regarding Facebook login API in wicket 1.5

2013-02-23 Thread kshitiz
I was looking for more approaches for Facebook login and someone told me about this https://github.com/wicketstuff/core/wiki/Facebook. Has anyone tried out that API? I am really looking for a good solution for integrating wicket app with Facebook. Please tell me the available approaches. --

Re: Regarding Facebook login API in wicket 1.5

2013-02-23 Thread kshitiz
Yes...actually there is something that I found...https://cwiki.apache.org/WICKET/adding-facebook-connect-via-javascript-sdk.html. It is using restFB. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Regarding-Facebook-login-API-in-wicket-1-5-tp4656656p4656718.html

Re: Regarding Facebook login API in wicket 1.5

2013-02-23 Thread kshitiz
Thank you very much for the approach. With your suggestions and http://javajing.com/2012/12/12/scribe-facebook-oauth.html, I am able to make out facebook login :) -- View this message in context:

Re: Regarding Facebook login API in wicket 1.5

2013-02-23 Thread kshitiz
No..actually that was causing some issues. So I followed your suggestions like I posted. One thing I would like to ask is in Scribe, how to get specific Facebook information like name or first name. getBody gives entire information. Do I need to parse that or there is any shortcut? -- View this

Regarding Facebook login API in wicket 1.5

2013-02-21 Thread kshitiz
Hi, I am trying to implement Facebook connect in my application as given in https://cwiki.apache.org/WICKET/adding-facebook-connect.html. I have copied the same code in my application but when hosted, I am not able to see facebook login UI in the application. I have not registered the application

Problem in running wicket app using mvn jetty:run

2013-02-12 Thread kshitiz
Hi, I am trying to run wicket app using the command mvn jetty:run but I am getting the error *java.lang.NoClassDefFoundError: org/apache/wicket/extensions/ajax/markup/html/modal/ModalWindow$WindowClosedCallback* Now I this may be because it is not able to find all dependencies present in lib

Regarding using jetty 6 in wicket

2013-02-12 Thread kshitiz
Hi, I am trying to use Jetty 6 in wicket application as it is the requirement as per jelastic hosting. They supports jetty 6. So, I was going through the link https://cwiki.apache.org/WICKET/jetty6-testing.html https://cwiki.apache.org/WICKET/jetty6-testing.html . I downloaded jetty 6.1.23 jar

Using tomcat server in wicket application

2013-02-11 Thread kshitiz
Hi, I have a wicket application running fine using Jetty server. But I need to deploy the application in tomcat server. As tomcat is not able to find appropiate resources, how to configure my application to make it compatible for tomcat? -- View this message in context:

Multiple select drop down in Wicket

2013-01-14 Thread kshitiz
Hi, I am trying to implement multiple select drop down in Wicket. I am able to create multi select drop down view using bootstrap but I am not able to get how to relate selected options with IModel of drop down component? Is there any possibility in Wicket? -- View this message in context:

Need help in refreshing panel..

2012-09-16 Thread kshitiz
Hi, I am facing a problem in refreshing a panel. The requirement is I have a panel A which has Panel B. Panel A carries list of LDM which is being passed to Panel B. public class PanelA { private LoadableDetachableModelListlt;PostDomain *detachablePostDomainList *= new

Re: Need help in refreshing panel..

2012-09-16 Thread kshitiz
The problem is now even more complicated as PanelA is not getting refreshed from PanelB at once. But when I do some operation in PanelB again, PanelA is then refreshed... Here is PanelB: Public class PanelB{ public PanelB(PanelA panelA) { PostDeleteButtonPanel postDeleteButtonPanel = new

Re: Need help in refreshing panel..

2012-09-16 Thread kshitiz
Hey...that workedbut still I didn't understand how it worked. I am not calling detach method in ajaxPostSubmitButton of PanelA. So how come it is getting refreshed. I am just trying to understand the concept -- View this message in context:

Open link in new tab which are part of a label..

2012-09-13 Thread kshitiz
Hi Can anyone tell me how to make a link open in new tab which is part of a label like a paragraph? I cant usetags so how would I make sure that links which are part of that label open in new tab? -- View this message in context:

Re: Open link in new tab which are part of a label..

2012-09-13 Thread kshitiz
Hi, Thanks for the reply. I knew about target attribute abut was not able to figure out how to use it for links which are part of a paragraph. But it just clicked my mind to add it after reading your response...:) : text.replaceAll((\\A|\\s)((http|https|ftp|mailto):\\S+)(\\s|\\z), $1 \$2\

Re: size method is being called multiple times in dataview

2012-08-31 Thread kshitiz
Hi, Sorry for replying late ..:(...I am using wicket 1.5. I dont know what causing this issue...but I am looking for other way around to solve my purpose... -- View this message in context:

size method is being called multiple times in dataview

2012-08-30 Thread kshitiz
Hi, I am trying to implement dataview: final IDataProviderPostDomain postDomainDataProvider = new IDataProviderPostDomain() { /** * */ private static final long

What sort of page variables are stored in page map?

2012-08-23 Thread kshitiz
Hi, For a web page, what sort of variables are stored in page map to hold its state when user moved from that page to another? Like class variables, final variables would be getting saved. Other than those, if we define a variable or any component in its constructor, what happens to such

Re: What sort of page variables are stored in page map?

2012-08-23 Thread kshitiz
Hi, Thanks for the quick reply. So that means whatever we define for a page will get serialized and stored in page map. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/What-sort-of-page-variables-are-stored-in-page-map-tp4651460p4651462.html Sent from the Users

Should I really go for LoadableDetachableModel ?

2012-08-19 Thread kshitiz
Hi, Please help me out here. In my web app, I have to show a list of data. Previously I was using simple arraylist in listview. To deal with any memory concern in future, I moved from arraylist to loadabledetachablemodal list. But now, in any operation like delete, update etc, whole list is being

Re: Should I really go for LoadableDetachableModel ?

2012-08-19 Thread kshitiz
Hi, Thanks for the reply. I am trying t achieve what you suggested me. But one thing I want to ask. In listDataProvider, you will anyway provide list of data to get rendered. You may render it in any manner but that list will be stored as final or class variable. Wont that take up the session ? I

Re: Should I really go for LoadableDetachableModel ?

2012-08-19 Thread kshitiz
Hi, Thank you for clarifying me. Removing the reference can help me out. Let me try it :) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Should-I-really-go-for-LoadableDetachableModel-tp4651353p4651359.html Sent from the Users forum mailing list archive at

Re: AjaxFormSubmitBehavior causing page refresh in IE

2012-08-16 Thread kshitiz
Solved...actually IE cannot read onSubmit action. So, I used onkeydown as stated in http://apache-wicket.1842946.n4.nabble.com/TextField-submit-via-Ajax-td3002094.html That will solve the problem..:) -- View this message in context:

Need clarification for modifying usage of modal.js

2012-08-15 Thread kshitiz
Hi, I want to position a modal window in the center of the current viewable window rather than whole one. For that I need to use customized modal.js as I have read in wicket forum. Now, in modal.js

AjaxFormSubmitBehavior causing page refresh in IE

2012-08-15 Thread kshitiz
Hi, I have a simple code which is running fine in chrome... // defining text field for user to search * final RequiredTextFieldString searchTextField = new RequiredTextFieldString( search); searchTextField.add(new

Image is not getting ajax refreshed in wicket 1.5

2012-08-08 Thread kshitiz
Hi, I am simply displaying a captcha image which is suppose to refresh on hitting a button: * final String captchaValue = generateRandomString(30); final NonCachingImage image = new NonCachingImage(image, new

Re: Image is not getting ajax refreshed in wicket 1.5

2012-08-08 Thread kshitiz
Solved...actually my mistake...I was refreshing the image in onError section... -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Image-is-not-getting-ajax-refreshed-in-wicket-1-5-tp4651053p4651056.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Need suggestion on minimizing session usage in wicket web application

2012-08-03 Thread kshitiz
OkkI think for large user base, I should go for stateless pages. But the problem is that my app is entirely ajax based. So, how would I use ajax behavior for stateless components. As far as I have read, ajax requires components to be stateful

Re: Need suggestion on minimizing session usage in wicket web application

2012-08-03 Thread kshitiz
Actually I am planning to host the app in Google application engine. One thing I am not able to understand, getStatelessHint() if applied in the constructor of a page should return whether that page is stateless or not. So, in my page which is full of ajax and statefull components, why it is

Re: Need suggestion on minimizing session usage in wicket web application

2012-08-03 Thread kshitiz
Ya..that worked...and for each component...I think statelessChecker is there. But I am not able to figure out how to use it for a component? I read you post http://apache-wicket.1842946.n4.nabble.com/Why-is-stateless-from-making-my-page-stateful-td3662059.html

Stateless ajaxPagingNavigator...

2012-08-03 Thread kshitiz
hi, Is there any stateless ajax paging navigator like staeless ajax form or links? I am not able to find any related component in internet... -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Stateless-ajaxPagingNavigator-tp4650994.html Sent from the Users forum

Re: Editing list in Dataview

2012-08-03 Thread kshitiz
Thanks Paul...I was wondering though..is there any way to do without Spring? I mean why to go for Spring just for one component... -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Editing-list-in-Dataview-tp4650885p4650995.html Sent from the Users forum mailing list

Alternative way to deal with session minimizing issue

2012-08-03 Thread kshitiz
Hi, As we all know that wicket provides great component to develop complex web applications. But being stateful, one may have to think about session consumption. So, what I was thinking if states of different pages are stored in session, can we clear our page maps for every new page request? Will

Need suggestion on minimizing session usage in wicket web application

2012-08-02 Thread kshitiz
Hi, I need some suggestions. In my wicket application (in development phase), I have used normal forms and links. While going through the concept of stateless pages and forms, I am confused about converting the forms and components to stateless. Will it really minimize session usage in the

Re: Need suggestion on minimizing session usage in wicket web application

2012-08-02 Thread kshitiz
Thanks for the links. One thing that I want to ask that do yo think we should use LoadableDetachable models to minimize session usage? Like for every thing examples labels, links, dropdowns, etc. -- View this message in context:

RE: Where to add javascript in html pages which follow inheritance relationship.

2012-08-01 Thread kshitiz
Hi, Actually the scene is different here. Page2 is child of Page3. The hierarchy is: Page3 Page2 Page1 So, I have modified Page2 as: !DOCTYPE html PUBLIC quot;-//W3C//DTD XHTML 1.0 Strict//ENquot;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtdquot; html

Editing list in Dataview

2012-07-31 Thread kshitiz
Hi, Right now I am using listview but I am considering to look after dataview where data is fetched from database everytime you change page. So, do we have to modify our query to get the required data to be displayed in the page? I mean right now I am retrieving all data from database. Also,

Re: Where to add javascript in html pages which follow inheritance relationship.

2012-07-31 Thread kshitiz
Please help me out here...for a child page..how would I add javascript in its head. I have tried out wicket:head with head tag in base page but it is not working out... -- View this message in context:

Re: Where to add javascript in html pages which follow inheritance relationship.

2012-07-30 Thread kshitiz
So, if put JS in page3, why it is not working? After all, it is the root one... -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Where-to-add-javascript-in-html-pages-which-follow-inheritance-relationship-tp4650855p4650866.html Sent from the Users forum mailing list

Re: Where to add javascript in html pages which follow inheritance relationship.

2012-07-30 Thread kshitiz
OkkI was thinking this as a possibility..thanks for clarifying my doubt...:) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Where-to-add-javascript-in-html-pages-which-follow-inheritance-relationship-tp4650855p4650869.html Sent from the Users forum mailing list

Re: Where to add javascript in html pages which follow inheritance relationship.

2012-07-30 Thread kshitiz
hi, Sorry to disturb you again but I am trying out this code but it is not working: *Page1:* !DOCTYPE html PUBLIC quot;-//W3C//DTD XHTML 1.0 Strict//ENquot;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtdquot; html xmlns=http://www.w3.org/1999/xhtml; xml:lang=en lang=en

Re: Where to add javascript in html pages which follow inheritance relationship.

2012-07-30 Thread kshitiz
Nothat appeared as a replacement of in the forum... -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Where-to-add-javascript-in-html-pages-which-follow-inheritance-relationship-tp4650855p4650873.html Sent from the Users forum mailing list archive at Nabble.com.

Cookies not getting deleted

2012-07-30 Thread kshitiz
Hi, I am trying to delete 2 cookies by using the code: *Cookie emailIdCookie = ((WebRequest) getRequestCycle() .getRequest()).getCookie(emailId); Cookie passwordCookie =

Re: Cookies not getting deleted

2012-07-30 Thread kshitiz
Thnx..:) It is working now...we need to set path then... -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Cookies-not-getting-deleted-tp4650876p4650880.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Which is the best way to manage the visibility of a component?

2012-07-29 Thread kshitiz
You can write the code in a separate method and call that method from A and B... -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Which-is-the-best-way-to-manage-the-visibility-of-a-component-tp4650853p4650854.html Sent from the Users forum mailing list archive at

Wicket captcha example

2012-07-15 Thread kshitiz
Hi, Can anyone recommend me a good captcha example for wicket. I have tried out the one given in library http://www.wicket-library.com/wicket-examples/captcha/?0 http://www.wicket-library.com/wicket-examples/captcha/?0 but it is throwing the error: *Couldn't resolve model type of

Re: Wicket captcha example

2012-07-15 Thread kshitiz
Thank you...I will try that out... -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-captcha-example-tp4650531p4650533.html Sent from the Users forum mailing list archive at Nabble.com. - To

Re: setOutputMarkupPlaceholderTag not working to render panel with setvisible false...

2012-07-02 Thread kshitiz
Thanks a lot...that worked...:) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/setOutputMarkupPlaceholderTag-not-working-to-render-panel-with-setvisible-false-tp4650313p4650319.html Sent from the Users forum mailing list archive at Nabble.com.

setOutputMarkupPlaceholderTag not working to render panel with setvisible false...

2012-07-01 Thread kshitiz
Hi, I am using a panel with setVisible false on a condition. But it is not getting rendered when its visibility becomes true. Here is the code : *final ShowCommentPanel showCommentPanel = new ShowCommentPanel( showCommentPanel, postDomain, userDomain, 3);

Re: setOutputMarkupPlaceholderTag not working to render panel with setvisible false...

2012-07-01 Thread kshitiz
Hi, I have already tried that out...its in the code..: *owCommentPanel.setOutputMarkupPlaceholderTag(true); * -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/setOutputMarkupPlaceholderTag-not-working-to-render-panel-with-setvisible-false-tp4650313p4650315.html Sent

Re: Components do not re-render when page is refreshed...

2012-06-30 Thread kshitiz
Actually I am using listview because I do want to query database every time I change page of pageable listview. How would I use IModel in pageableListview? -- View this message in context:

Re: Components do not re-render when page is refreshed...

2012-06-30 Thread kshitiz
Ok..thanks for helping me out Dan...:) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Components-do-not-re-render-when-page-is-refreshed-tp4650290p4650311.html Sent from the Users forum mailing list archive at Nabble.com.

Components do not re-render when page is refreshed...

2012-06-29 Thread kshitiz
Hi, In my wicket application, each page carries many panels. *Now every panel is rendered when the page is loaded but when it is refreshed, nothing happens. * No panel is getting rendered again, not even sysouts are printing anything. *Now this is a good thing for performance but I want them to

Re: Components do not re-render when page is refreshed...

2012-06-29 Thread kshitiz
://localhost:8080/Page/, rendering happens again. Why is this happening? scott.swank wrote How do you construct your panels? This sounds like a model issue... Scott On Fri, Jun 29, 2012 at 9:02 AM, kshitiz lt;k.agarwal4@gt; wrote: Hi, In my wicket application, each

Re: Components do not re-render when page is refreshed...

2012-06-29 Thread kshitiz
Hi, Thanks for the reply. Just to clarify, like if I am adding a panel: *add(new PostPanel(postPanel, pageParameters, userTypeDomain, userDomain));* So, how do I make it render at every page refresh...? -- View this message in context:

Re: Components do not re-render when page is refreshed...

2012-06-29 Thread kshitiz
I am using list only like this: PageableListViewPostDomain postDomainListView = new PageableListViewPostDomain( postList, *postDomainList*, postsPerPage) { // . } How am I suppose to use IModel for list? It is giving errors over here... -- View this

Re: Ajax refresh component with initial setVisible(false)

2012-06-23 Thread kshitiz
Please help me out hereis there any silly mistake that I am making? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Ajax-refresh-component-with-initial-setVisible-false-tp4650171p4650205.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Ajax refresh component with initial setVisible(false)

2012-06-22 Thread kshitiz
This is my submitCommentPanel: public SubmitCommentPanel(String id, final PostDomain postDomain, final UserDomain userDomain) { super(id); this.setOutputMarkupId(true); AjaxFallbackButton ajaxCommentSubmitButton = new AjaxFallbackButton(

Wicket panel not getting refreshed completely

2012-06-21 Thread kshitiz
Hi, I have a panel with ajax button (i.e. form) inside it. When I submit the form, not all of the components of that panel are being refreshed. Here is the code: public ShowCommentPanel(final String id, final ListCommentDomain commentDomainList,

Re: Wicket panel not getting refreshed completely

2012-06-21 Thread kshitiz
Hi, I have tried out this: *Integer numberOfComments = commentDomainList.size(); Label numberOfCommentLabel = new Label(numberOfCommentLabel, new ModelInteger(numberOfComments));* But again nothing happens..I think the above statement is

Re: Wicket panel not getting refreshed completely

2012-06-21 Thread kshitiz
Solved itactually I have to use property model and in that I have to use a domain model carrying a property for showing number of comments... *Label numberOfCommentLabel = new Label(numberOfCommentLabel, new PropertyModel(postDomain, numberOfComments));*

Ajax refresh component with initial setVisible(false)

2012-06-21 Thread kshitiz
Hi, How to ajax refresh components which are initially setvisible to false but later set to true. I know when it is false, then its mark up is not created in DOM. I have tried like **ajaxPagingNavigator.setOutputMarkupPlaceholderTag(true);** here, ajaxPagingNavigator is component. *But it is

Re: Ajax refresh component with initial setVisible(false)

2012-06-21 Thread kshitiz
Hi, I have added the whole panel in which that navigator is present. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Ajax-refresh-component-with-initial-setVisible-false-tp4650171p4650180.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Panel not getting refreshed...

2012-06-12 Thread kshitiz
It is working Thank you very much for your continuous help As I compared mine with urs...what I was doing wrong in initializing resultPanel...Instead of : final SearchResultPanel searchResultPanel = new SearchResultPanel( searchResultPanel,

Re: Panel not getting refreshed...

2012-06-11 Thread kshitiz
Please help me I am really not able to understand why it is happeningThe form is really simple now: public Search(final PageParameters pageParameters) { super(pageParameters); FormSearchDomain searchForm = new FormSearchDomain(searchForm,

Re: Panel not getting refreshed...

2012-06-11 Thread kshitiz
This is the new code now: public class Search extends WebPage { public Search(final PageParameters pageParameters) { super(pageParameters); final SearchDomain searchDomain = new SearchDomain(); *FormSearchDomain searchForm = new FormSearchDomain(searchForm,

Re: Panel not getting refreshed...

2012-06-10 Thread kshitiz
Did u mean this: final SearchResultPanel searchResultPanel = new SearchResultPanel(searchResultPanel, searchDomain, error, searchContainer); * searchResultPanel.setOutputMarkupId(true);* AjaxFallbackButton ajaxSearchButton = new

Re: Panel not getting refreshed...

2012-06-10 Thread kshitiz
I have tried that out...*no luck till now...:(* Just for the info..what I am doing is that a search form is there which is populating result in domain object. I am passing that object in searchResultPanel to get displayed. Now, *form and panel...both are part of a container.* I want to

Re: Building wicket-stuff

2012-06-10 Thread kshitiz
Do you mean creating wicket maven project ? If that is the case, please refer to this link: https://cwiki.apache.org/WICKET/windows-guide-to-installing-wicket-on-eclipse-with-maven.html https://cwiki.apache.org/WICKET/windows-guide-to-installing-wicket-on-eclipse-with-maven.html -- View this

Re: Panel not getting refreshed...

2012-06-10 Thread kshitiz
*u are right...it is entering onBeforeRender method but it is not going in the panel portion. As far as debug part is concern...I dont see any error:* INFO: ?xml version=1.0 encoding=UTF-8?ajax-responseheader-contribution encoding=wicket1 /header-contributioncomponent id=id9c /componentcomponent

Re: Panel not getting refreshed...

2012-06-10 Thread kshitiz
Hi, I have removed almost everything...resultPanel contains only sysout: public class SearchResultPanel extends BasePanel { private static int temp = 0; @Override protected void onBeforeRender() { super.onBeforeRender();

Back button is troubling session management...

2012-06-09 Thread kshitiz
Hi, After I log in that application, I am not suppose to see login page of the app when I press back button. Though I am not able to go to login url as I am checking user session in login page and redirects him to home page if the session is present. But, when back button is pressed, that logic

Ajax refresh not working in a case .... while working in similar other cases!!!

2012-06-09 Thread kshitiz
Hi, I am trying to refresh ajax container after firing an event. The code is: *final WebMarkupContainer searchContainer = new WebMarkupContainer( searchContainer); searchContainer.setOutputMarkupId(true);* AjaxFallbackButton ajaxSearchButton =

setHeaders not working in 1.5

2012-06-09 Thread kshitiz
Hi, I want to remove login page from browser cache after user logs in. I am using the code : protected void setHeaders(WebResponse response) { *response.setHeader(Pragma, no-cache); response.setHeader(Expires, 0); response.setHeader(Cache-Control,

Re: Ajax refresh not working in a case .... while working in similar other cases!!!

2012-06-09 Thread kshitiz
I have never tried out that beforeI have enabled debug mode but I to debug the ajax part? Can you please tell me ?? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Ajax-refresh-not-working-in-a-case-while-working-in-similar-other-cases-tp4649794p4649797.html Sent

Re: Ajax refresh not working in a case .... while working in similar other cases!!!

2012-06-09 Thread kshitiz
I got the problem atleast...what is happening that it is using the same search object (where results are being stored and then displayed in container) and not creating the new one for new searches. Actually what I want is when user searches anything, the results are refreshed only. I am storing

Re: Ajax refresh not working in a case .... while working in similar other cases!!!

2012-06-09 Thread kshitiz
Okk...actually when I analysed more, what I found is that when I enter new value in text field, the event takes the old value only. Even I am now refreshing the form too. Then I found that the field sets its value to old one after getting refreshed. My field is of final type. But that should not

Re: Back button is troubling session management...

2012-06-09 Thread kshitiz
Hi, My code to check user session is: if (UserSession.get().checkUserSession()) { // redirecting user to home page setResponsePage(Home.class, new PageParameters()); } * UserSession is* public class

Re: Back button is troubling session management...

2012-06-09 Thread kshitiz
I used the same logic in onBeforeRender and it is working... -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Re-Back-button-is-troubling-session-management-tp4649801p4649805.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Ajax refresh not working in a case .... while working in similar other cases!!!

2012-06-09 Thread kshitiz
I am able to solve this field related problem...just container is not getting refreshed... here is the code, I have modified a bit as per requirement: public Search(String id) { searchContainer.add(searchForm); searchContainer.add(new SearchResultPanel(searchResultPanel,

Re: Refresh listItem only of listView

2012-06-03 Thread kshitiz
okk..so if ajaxbutton is part of every item of a listview, how can I refresh that view by pressing that button.I am asking because you will not able to add that listview as target in the button as it would not be completely defined by then. -- View this message in context:

any way to refresh listview from inside?

2012-06-03 Thread kshitiz
Hi, Is there any way to refresh listview from inside? Like if every of its item has ajaxlink or ajaxbutton, can the whole view be refreshed from that ajax button? I am not able to find any way in internet regarding this issue... -- View this message in context:

Re: any way to refresh listview from inside?

2012-06-03 Thread kshitiz
Thnx...that did it...:) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/any-way-to-refresh-listview-from-inside-tp4649684p4649687.html Sent from the Users forum mailing list archive at Nabble.com. -

A good example of numeric based page navigation...

2012-06-03 Thread kshitiz
Hi, Can anyone give me a a link for learning google like pagination in wicket. I am not able to find one. All I see is to add PageNavigator in java class. But how to modify html markup page? -- View this message in context:

Re: Refresh listItem only of listView

2012-06-03 Thread kshitiz
Yes...u r rightit is working in the same manner only...:) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Refresh-listItem-only-of-listView-tp4649676p4649694.html Sent from the Users forum mailing list archive at Nabble.com.

Refresh listItem only of listView

2012-06-02 Thread kshitiz
Hi, I have a scenario like this: ListViewUserTypeDomain userTypeDomainListView = new ListViewUserTypeDomain( userType, userTypeDomainList) { protected void populateItem(final ListItemUserTypeDomain listItem) {

Re: Refresh listItem only of listView

2012-06-02 Thread kshitiz
Hi, Yes...actually userTypeDomainList is a list of domain objects. I am creating view from this list, where each item of the view has saveral components. Now, on updating a component, i want to update its respective item, rather than whole listview. Do I need to put that item in a container to

Re: Problem in adding user confirmation feature by wicket way...

2012-05-28 Thread kshitiz
Please help me out here...I dont want to use javascript to get user confirmation... -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Problem-in-adding-user-confirmation-feature-by-wicket-way-tp4649510p4649523.html Sent from the Users forum mailing list archive at

Re: Problem in adding user confirmation feature by wicket way...

2012-05-27 Thread kshitiz
I removed the error by modifying the code: protected void onConfirm() { PostService postService = new PostService();

Re: wicket not able to find component after adding container componenent

2012-05-20 Thread kshitiz
I did...actually this is the code: public SubmitCommentPanel(String id, final ListItemPostDomain listItem, final UserDomain userDomain) { super(id); // defining container for refreshing list of posts * final

Re: wicket not able to find component after adding container componenent

2012-05-20 Thread kshitiz
I solved my problem...found other way around to get my purpose... -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-not-able-to-find-component-after-adding-container-componenent-tp4646756p4647093.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Need help in implementing Ajax form

2012-05-16 Thread kshitiz
Thank you very much for the reply...you have solved it... -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Need-help-in-implementing-Ajax-form-tp4632760p4642518.html Sent from the Users forum mailing list archive at Nabble.com.

Need help in implementing Ajax form

2012-05-14 Thread kshitiz
Hi, I am trying to learn Ajax in Wicket and implement it in my project. I am trying to use AjaxFallbackButton but there is something I am missing. Here is my code: StatelessFormUserDomain loginForm = new StatelessFormUserDomain( loginForm, new

Re: Wicket for large user base website

2012-05-07 Thread kshitiz
Thanks all for the reply...actually I haven't looked into the hardware as I am in middle of application development. Just going through various forums, people were recommending Wicket for dekstop apps as it is statefull framework. But as I can see various Wicket websites with high traffic, I think

Re: Unusual problem is coming in rendering component

2012-05-03 Thread kshitiz
I read that out...sorry I missed that while coding. Thanks for the help..:) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Unusual-problem-is-coming-in-rendering-component-tp4604163p4607651.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Unusual problem is coming in rendering component

2012-05-02 Thread kshitiz
Thank you very much for the repliesI got the problem and solved it using the code: *final RequiredTextFieldString postTextField = new RequiredTextFieldString( postTextField, Model.of(postDomain.getPost())); * But please tell me one thing...the first parameter

Re: Passing parameter to a portion of a page

2012-04-30 Thread kshitiz
Thanks for the reply Dan...now consider a situation: You have 5 drop downs, each with onselectionchange enabled. When you change the choice of any one drop down, the chosen value should be passed as parameter to that drop down only, so that it will display new value. Rest drop downs should not

Re: Wicket dropdownchoice onselectionchanged must override or implement a supertype method

2012-04-26 Thread kshitiz
Thanks all for the reply, You were right...I did the change and it worked. And also, SelectOption is not wicket one but a class created by me only: package WalknShine; import java.io.Serializable; public class SelectOption implements Serializable{ /** * */

RE: Wicket cannot find id in inner enclosure...but has no problem in outer one!!!

2012-04-18 Thread kshitiz
Your guess is rightthank you for the help -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-cannot-find-id-in-inner-enclosure-but-has-no-problem-in-outer-one-tp4559666p4568555.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Wicket cannot find id in inner enclosure...but has no problem in outer one!!!

2012-04-17 Thread kshitiz
I have removed inner enclosure and its working fine. I am facing another problem. This is my code: ChoiceRendererSelectOption choiceRenderer = new ChoiceRendererSelectOption(value, key); SelectOption selectedOption = new SelectOption(selectOption[0].getKey(), Selected Value);

Re: Wicket cannot find id in inner enclosure...but has no problem in outer one!!!

2012-04-16 Thread kshitiz
Hi, can anyone tell me any other alternative of enclosure if the above problem cant be bugged out?? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-cannot-find-id-in-inner-enclosure-but-has-no-problem-in-outer-one-tp4559666p4562050.html Sent from the Users

  1   2   >