Re: Wicket 1.5 error : cannot find component id

2012-03-18 Thread kshitiz
Hi, Thank you for ur reply. I have added the form by writing *add(registerForm);* in the* constructor*. But I have just resolved by problem by replacing *wicket:id* in html page with *wickeT:id* -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-error-cannot-f

Re: Error in dynamic form with any number of drop down ,enu

2012-03-21 Thread kshitiz
Sorry..I missed to add *registerForm.add(organizationList);* in java class. After adding that with proper getters and setters..I am getting the error: WicketMessage: No get method defined for class: class domain.UserDomain expression: organizationList Root cause: org.apache.wicket.WicketRuntimeE

Re: Error in dynamic form with any number of drop down ,enu

2012-03-21 Thread kshitiz
Hi, what is the relation between userdomain and organizationList as shown in the error...i have searched my things in internet but I am not able to understand...the problem is related to dropdownchoice declaration so where userdomain comes into picture?? Please help me... -- View this message in

Re: Error in dynamic form with any number of drop down ,enu

2012-03-22 Thread kshitiz
Thank you for the linkthe error is gone but now, drop down is not gtting displayed...what could be the reason...surely organizationList is not getting populated with dropdownchoice component but why? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Error-in-dynamic-

Re: StackOverflowError in session creation

2012-03-30 Thread kshitiz
OhI made a stupid mistakesorry for that and thanks for solving my problem... -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/StackOverflowError-in-session-creation-tp4516170p4521161.html Sent from the Users forum mailing list archive at Nabble.com. ---

Wicket cookie timeout example?

2012-03-30 Thread kshitiz
Hi, Is there any way to set cookie expiration time in Wicket? I am not able to find any example related to that...like we can set session expiration time in web.xml... -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-cookie-timeout-example-tp4521200p4521200.html

Re: Wicket cookie timeout example?

2012-04-01 Thread kshitiz
Ok...thank you for replying...I wanted to ask one more thing? I am thinking to add wicket authentication in my app. But as there would be only one type of user onlyshould I use wicket authentication? I mean this can be achieved by simple checking session existence also. Will there be any effect

Re: Wicket cookie timeout example?

2012-04-01 Thread kshitiz
Okkk.I am learning wicket authorization from http://wicket.wordpress.com/2010/01/08/template-for-building-authenticated-webapplication/ http://wicket.wordpress.com/2010/01/08/template-for-building-authenticated-webapplication/ . Here, it is using wicket own signinpanel. If I want to use mine o

Re: Wicket cookie timeout example?

2012-04-01 Thread kshitiz
How to check session's validity? If after logging out we invalidate session, how to check its validity to avoid any unknown user to access restricted pages...?? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-cookie-timeout-example-tp4521200p4523218.html Sent fr

Re: Wicket cookie timeout example?

2012-04-01 Thread kshitiz
Okk...but as given in my code...why object in not getting stored in session?? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-cookie-timeout-example-tp4521200p4523322.html Sent from the Users forum mailing list archive at Nabble.com. --

Re: Wicket cookie timeout example?

2012-04-01 Thread kshitiz
It turned out that object is getting stored in session but is not getting retrieved in other page. I have tried to use wicketsessionfilter but it is not helping...how to access session object in another page..?? The session object is being retrieved in same page. -- View this message in context:

Re: Wicket cookie timeout example?

2012-04-01 Thread kshitiz
It worked...thanks :) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-cookie-timeout-example-tp4521200p4523670.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscrib

Session existence not working

2012-04-06 Thread kshitiz
Hi, In my login page, i am trying to check whether user's session is already set or not by using... *if(Session.exists())* { System.out.println("session exists"); new RestartResponseException(Home.class); }

Re: Session existence not working

2012-04-06 Thread kshitiz
I am able to solve my problem by checking whether session object is pointing to null or not but i am not able to understand why session.exists() is not able to verify session existence if I am using session.invalidate() during logout??. -- View this message in context: http://apache-wicket.184294

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

2012-04-15 Thread kshitiz
Hi, I have two enclosure with one closing another one like this: * * * *

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 forum

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: ChoiceRenderer choiceRenderer = new ChoiceRenderer("value", "key"); SelectOption selectedOption = new SelectOption(selectOption[0].getKey(), "Selected Value"); final IModel iM

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 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: 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 ge

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 RequiredTextField postTextField = new RequiredTextField( "postTextField", Model.of(postDomain.getPost())); * But please tell me one thing...the first parameter in new Req

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: Wicket for large user base website

2012-05-06 Thread kshitiz
Okkwicket being statefull stores state of each page in a session. So, if I make some pages stateless and some statefull,will that improve its memory efficiency? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-for-large-user-base-website-tp4613283p4614133.h

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

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: StatelessForm loginForm = new StatelessForm( "loginForm", new CompoundPropertyModel(userDomain));

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. -

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 ListItem listItem, final UserDomain userDomain) { super(id); // defining container for refreshing list of posts * final WebMarkupContainer postDomai

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: 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: 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 Nabble

Refresh listItem only of listView

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

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 ref

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: http://apache-wicket.18

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: http://apache-wicket.1842946.n4.n

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. - T

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: http://apache-wicket.1842946.n4.nabble.com/A-good-example-of-numeric-ba

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. ---

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 is

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 = n

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-

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 f

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 the

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 UserSes

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: Panel not getting refreshed...

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

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 refresh

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 me

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: INFO: Response parsed. Now invoking steps... INFO: Response processed successfully. INFO: Invoking post-call handler(s)... INFO: refocus la

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(); System.out.println

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); Form searchForm = new Form("searchForm", new

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(); *Form searchForm = new Form("searchForm", new

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", *searchForm.

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 List commentDomainList, final UserDomai

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 Model(numberOfComments));* But again nothing happens..I think the above statement is right...what do

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 not

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: 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(

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. --

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 be

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

2012-06-29 Thread kshitiz
I remove parameters of the url(/http://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, kshiti

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: http://apache-wicket.184

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

2012-06-29 Thread kshitiz
Actually in that post panel, I am taking data from the database and displaying it as listview. Now, when I manually enter a new entry in the database and then refresh page, the new entry is not getting displayed. This simple means that the given panel is not picking up the data from the database at

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

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

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: http://apache-wicket.1842946.n4.nabble.com/Components-do-not-re-render-when-page-is-refreshed-tp4650290p4650

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. -

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 f

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. ---

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 Model:classnam

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 unsu

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 Nab

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:* http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";> http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en" xmlns:wicket="http://wicket.apache.org/dtds.data/wicket-xhtml1.4-strict.dtd";>

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.

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, wi

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: http://apache-wicket.1842946.n4.nabble.com/Where-to-add-javascript-in-html-pages-which-follow

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: http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";> http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en" xmlns:wicket="http://wicket.apache.org/dtds.

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 system.

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: http://apache-wicket.1842946.n4.nabble.com/Need-suggestion-on-mi

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

2012-08-02 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 (/http://apache-wicket.1842946.n4.nabble.com/statele

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 printi

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 http://apache-wicket.1842946.n4.nabbl

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 mail

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 a

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

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 CaptchaImageResource(cap

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. ---

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 /http://code.google.com/p/koodaripalvelut-wicket/source/browse/trunk/webtest/src/main/java/org/apac

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 RequiredTextField searchTextField = new RequiredTextField( "search"); searchTextField.add(new AjaxFormSubmitBehavior("onSub

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: http://apache-wicket.1842946.n4.nabble.com/AjaxFormSubmitBeha

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 Nabble.c

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 variables

  1   2   >