Re: Displaying ListView After Being Hidden

2013-10-25 Thread dhongyt
Thanks you! That worked for me. What is the reason for this? Is this so that it would it would hold the placeholder with in wmc? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Displaying-ListView-After-Being-Hidden-tp4661963p4661972.html Sent from the Users forum ma

Displaying ListView After Being Hidden

2013-10-25 Thread dhongyt
I have a drop down choice that has a OnChangeAjaxBehavior on the drop down choice. When a user selects from the drop down choice and chooses an option, it will populate and show that option on a ListView below it. That ListView is surrounded by a WebMarkupContainer in order to refresh the view in

Re: How Does Checkbox Know To Store To My Data Object

2013-10-22 Thread dhongyt
I think its an object in my Model? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-Does-Checkbox-Know-To-Store-To-My-Data-Object-tp4661879p4661925.html Sent from the Users forum mailing list archive at Nabble.com.

Re: How Does Checkbox Know To Store To My Data Object

2013-10-21 Thread dhongyt
Sorry I'm using the tag Form form = new Form("dataForm") { @Override protected void onSubmit() { } }; Basically looks like this. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-Does-Checkb

How Does Checkbox Know To Store To My Data Object

2013-10-18 Thread dhongyt
I have a Data Object called DownloadBagService which works as a place to hold the checked files the a user selects. I have a page that the user are able to select files from and add it to the DownloadBagService. When the user checks on files and hits submit. The files appear in the DownloadBagSe

Re: Browser Page Refresh Not Really Refreshing

2013-10-17 Thread dhongyt
I am passing the list into the provider. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Browser-Page-Refresh-Not-Really-Refreshing-tp4661826p4661858.html Sent from the Users forum mailing list archive at Nabble.com. -

RE: Browser Page Refresh Not Really Refreshing

2013-10-17 Thread dhongyt
Thanks Paul for your guidance. After reading your link and other links on the web to understand stateful vs stateless, it has lead me to other questions: Currently my application is stateful. 1. Since I am authenticating my users, does it need to be stateful because of authentication? I have a Us

Re: Browser Page Refresh Not Really Refreshing

2013-10-17 Thread dhongyt
I use a DataView and the data comes from the ListProvider which I created a Sortable ListProvider. I provided the Sortable ListProvider with a List which I get through a hibernate database call. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Browser-Page-Refresh-Not

Re: Browser Page Refresh Not Really Refreshing

2013-10-16 Thread dhongyt
I feel like there isn't a need for Javascript? Should a CRTL+R or an F5 already refresh the page and reload new data in Wicket? Is there a setting I'm forgetting to set? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Browser-Page-Refresh-Not-Really-Refreshing-tp466

Browser Page Refresh Not Really Refreshing

2013-10-15 Thread dhongyt
I have a wicket page that contains a dataview of subscriptions. Any user that subscribes will show up on this page. If I am already on the page and someone else create a subscription and I do a browser refresh, like CTRL+R or F5 the user subscription does not show up. I would have to click on the

Display Loading When Busy Navigator and DataView

2013-08-28 Thread dhongyt
Currently I have two panels. I have one panel that is handling code that is like a PagingNavigator(custom coded) And another panel that is handling the DataView. I'm currently trying to figure out the best way to show that the DataView results are pulling data from the database when they click on

Re: Getting Lazy Loaded Panel

2013-08-02 Thread dhongyt
Is this a smart way of doing this? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Getting-Lazy-Loaded-Panel-tp4660637p4660658.html Sent from the Users forum mailing list archive at Nabble.com. - To

Getting Lazy Loaded Panel

2013-08-01 Thread dhongyt
I have a lazy load panel and was wondering how I could access the panel that is being lazy loaded. So what I want to do is be able to access the FileListDisplayPanel because in the FileListDisplayPanel I have a AjaxFallbackDefaultDataTable with checkboxes and I would like to get the checkboxes t

Re: Ajax Refreshing Issue

2013-07-30 Thread dhongyt
Sorry I forgot to add that I have fixed this issue. I think it was because I didn't apply it to the a panel. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Ajax-Refreshing-Issue-tp4660289p4660563.html Sent from the Users forum mailing list archive at Nabble.com. --

Re: Ajax Refreshing Issue

2013-07-30 Thread dhongyt
I'm using Wicket 6.4.0 -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Ajax-Refreshing-Issue-tp4660289p4660561.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-

WGET Session Invalid?

2013-07-30 Thread dhongyt
I have a wicket log in page that I would like to log in and create a session so that I can wget and download files off my wicket website. I do a: wget --no-check-certificate --keep-session-cookies --save-cookies cookies.txt --post-data='signInForm2_hf_0&username=(username)&password=(password)' htt

Ajax Refreshing Issue

2013-07-16 Thread dhongyt
I have created a panel that I would like to have refresh every 5 seconds. I have tried using AbstractAjaxTimerBehavior and AjaxSelfUpdatingTimerBehavior. I have created just a simple case to make sure a System.out.println("Update"); to make sure that line of code is being called but is not called

Re: Chrome Calling Pages Twice Issue?

2013-06-27 Thread dhongyt
Yeah I have seen that post about that issue, but I don't use any img. Most of my pictures are div and the image is called in the CSS. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Chrome-Calling-Pages-Twice-Issue-tp4659839p4659879.html Sent from the Users forum mai

Chrome Calling Pages Twice Issue?

2013-06-26 Thread dhongyt
Lately I have noticed weird things with Chrome and my local Eclipse environment. I have noticed that once I log into my WicketApplication, it would call the SessionService twice and also call my Homepage twice when it loads. When change a drop down choice, it calls it set method where I set the v

Re: Adding Class Attribute When Link Clicked

2013-06-07 Thread dhongyt
Created a fix if any one is interested. I noticed that every time I clicked on my Navbar, the base page would always reload there for the Panel would always reset and would never know which one is select. In my Base Page I was about to do this.getClass() that gives me the current page loaded and

Re: Adding Class Attribute When Link Clicked

2013-06-07 Thread dhongyt
I see that my issue is that every time I click on the link my Navigationbar is created again. Thus having the active private variable always being HomePage. That's why I the active never changes. If I created a way for MainMenu to get and set the active page in the top level Repeater creation th

Adding Class Attribute When Link Clicked

2013-06-07 Thread dhongyt
I'm trying to figure out 1. How to add class attribute to a link that is clicked. 2. Default homepage class link attribute to be active. I have look at this forum http://apache-wicket.1842946.n4.nabble.com/How-to-add-and-remove-css-classes-the-right-way-td1868408.html thinking it would help but I'

Re: Browser Back Button Question

2013-06-05 Thread dhongyt
I have such weird results too. In Chrome Subscription Page would give me the session closed issue after three clicks back, but then on a recent to the Download Page it would give me a session closed also. Page session count seems to skip by two. In Firefox Page session count is normal. Only pages

Re: Browser Back Button Question

2013-06-04 Thread dhongyt
Is it a serialized object on the page? Or is it a serialized object on the session object. I have tried everything from removing the ProductAPI out. Currently everything that is in my Session Service object should be serialized I believe. -- View this message in context: http://apache-wicket.18

Re: Browser Back Button Question

2013-06-03 Thread dhongyt
I think maybe it is because I have objects in my session service that connect to the hiberlayer, to be more specific my Product API is a class that talks with the hiberlayer. 1. Does that mean that I want to make my Product APIobject transient? 2. If an object implements serializable is that bad?

Re: Browser Back Button Question

2013-05-30 Thread dhongyt
Are you telling me I should trying and stacktrace my pages or get more details? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Browser-Back-Button-Question-tp4658397p4659172.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Browser Back Button Question

2013-05-16 Thread dhongyt
After two or three back button on the browser an error message displays session closed. The error returned is a bit confusing: I'm wondering if its because of hibernate? Its trying to get the query of the page to display but the query has been closed? It also talks about errors with wicket to so

Re: Feedback within Form Weird Issue

2013-05-14 Thread dhongyt
I solved the issue. I was invalidating my session before it could display. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Feedback-within-Form-Weird-Issue-tp4658757p4658797.html Sent from the Users forum mailing list archive at Nabble.com. -

Re: Feedback within Form Weird Issue

2013-05-14 Thread dhongyt
Thanks I will try both things. I believe my pages are stateful. Maybe its because I create an ErrorFeedback that extends the Feedback and didn't override some classes needed. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Feedback-within-Form-Weird-Issue-tp4658757p4

Re: Feedback within Form Weird Issue

2013-05-13 Thread dhongyt
Weird, it still does not show up. I do have a function that gets the session and register the error to it. Can the feedback be apart of the form? I have tried it outside the form with no luck either. I also changed my onSubmit to use session; It doesn't need to call the error function before

Feedback within Form Weird Issue

2013-05-13 Thread dhongyt
Hey guys, I had a feedback panel within a form and want to display an error onSubmit when there is a authentication issue. When I call error when they fail to log in the error does not display. However if I comment out the onSubmit code and call error, it displays. Why does it not display when

Re: Browser Back Button Question

2013-05-09 Thread dhongyt
Hey Martin, I took a look at my catalina.out file and haven't noticed any errors. I have changed my code from to It look like the back button worked but then I noticed that if I went back twice it also gave me a session closed. And nothing on the catalina.out log. Anyone have this issue?

Browser Back Button Question

2013-04-29 Thread dhongyt
Hey guys, My question today is that when I click on a page link on my wicket application and hit back on the web browser I get a results of Session Closed. I'm not understanding why that is. I understand that wicket keeps version of your page which is why you have ?# at the end of your webpage li

Re: Understanding Wicket's Session

2013-04-26 Thread dhongyt
Thanks I have fixed the issue. It was my: >From my understanding I was getting the Wicket Application's session so that's why it was shared across users. So what I did was: And removed SessionService entirely from the WicketApplication. -- View this message in context: http://apache-wicke

Understanding Wicket's Session

2013-04-25 Thread dhongyt
I may have the wrong understanding of this and I'm trying to get the correct understanding. I have created a SessionService that extends a AuthenticatedWebSession. In my wicket application I have created a SessionService via the Override function newSession I have a download bag in my SessionSer

Re: wicket:extend Not Showing in Parent

2013-04-24 Thread dhongyt
So if I want FileSubPage to show up on HomePage I have to put all the code and markup from FileSubPage on HomePage? Its confusing because the way the wicket example shows repeaters http://www.wicket-library.com/wicket-examples-6.0.x/repeater/wicket/bookmarkable/org.apache.wicket.examples.repeater.

Re: wicket:extend Not Showing in Parent

2013-04-24 Thread dhongyt
Do you mean loading it via the HomPage.java How do I load FileSubPage.java? I did a setResponsePage and ended up getting a redirection loop. Thanks! David -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-extend-Not-Showing-in-Parent-tp4658243p4658249.html Sen

Re: Datatable with Image in Cell

2013-04-24 Thread dhongyt
When I needed to add a custom data into a datatable I always created a panel and then add the panel to the column. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Datatable-with-Image-in-Cell-tp4658204p4658245.html Sent from the Users forum mailing list archive a

wicket:extend Not Showing in Parent

2013-04-24 Thread dhongyt
I've been reading up on markup inheritance and believe I understand it correctly but its not quite working for me. My HomePage.html has the tag And I have extended the FileSubPage.java to HomePage.java. Also added the to the FileSubPage What is it that when my HomePage loads, TEST does not

Re: AjaxFallbackDefaultDataTable and CheckBox Column

2013-04-19 Thread dhongyt
Right which is what I have but I'm having a tough time understanding how I need to override the navigator. I have done it many ways and none of them seem to work. I think I'm supposed to override this But SubmitLink wants the form to be in its constructor for it to work correctly right? And h

Re: AjaxFallbackDefaultDataTable and CheckBox Column

2013-04-19 Thread dhongyt
I have been playing some more with the code and I'm now thinking that maybe I should just overrite the newNavigation function. That will allow me to override the newPagingNavigationLink function. My troubles are that if I want to return a SubmitLink here, where would my form tags be in the mark u

Re: AjaxFallbackDefaultDataTable and CheckBox Column

2013-04-19 Thread dhongyt
I noticed that I was using PagingNavigator instead of the PagingNavigation. Changed my code over to use PagingNavigation results in: Last cause: The component(s) below failed to render. Possible reasons could be that: 1) you have added a component in code but forgot to reference it in the markup (

Re: AjaxFallbackDefaultDataTable and CheckBox Column

2013-04-19 Thread dhongyt
This is the markup that I have. The span "navigation" closing tag is obviously there. Am I missing something? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AjaxFallbackDefaultDataTable-and-CheckBox-Column-tp4657998p4658118.html Sent from the Users forum mailing l

Re: AjaxFallbackDefaultDataTable and CheckBox Column

2013-04-18 Thread dhongyt
I think I wrapped my head on it a bit more and starting to understand what navigation is. So now I have this. I believe I need to override the PagingNavigator populateItem function but I'm trying to get a regular population working but now I have this error: Last cause: Close tag not found for t

Re: AjaxFallbackDefaultDataTable and CheckBox Column

2013-04-18 Thread dhongyt
So I'm trying to override the PagingNavigator by creating my own custom navigator. My issue is that for some reason I can't seem to put the page numbers on pageNumber. My error is: Unable to find component with id 'navigation' in [Form [Component id = linkForm]] Not quite sure what navigation

Re: AjaxFallbackDefaultDataTable and CheckBox Column

2013-04-17 Thread dhongyt
So if I would like to store the checks on many different pages, then I would have to override the AjaxPagingNavigationBehavior function? And in that function when the page changes save the current CheckBox ArrayList into some sort of HashMap maybe? And load the page of checks depending on the page?

Re: AjaxFallbackDefaultDataTable and CheckBox Column

2013-04-16 Thread dhongyt
Could you please explain the reason why we lose the CheckGroup from the previous paging? Is it because the CheckGroup is set on the first 50 and when going to the next 50 it creates a new CheckGroup therefore losing the first CheckGroup? -- View this message in context: http://apache-wicket.18

Re: AjaxFallbackDefaultDataTable and CheckBox Column

2013-04-16 Thread dhongyt
Looks like it does save. I created an AjaxFormChoiceComponentBehavior on my CheckGroup. When I do the check on page one, go to page 2, and return the checks are still there. When I do the check on page one, go to page 2, and check off items in page 2, and return to page one check on page one are g

Re: AjaxFallbackDefaultDataTable and CheckBox Column

2013-04-16 Thread dhongyt
I have added this to my check But now I get the error "Behavior can only be added to an instance of a FormComponent" I was looking at the javadoc and seems to me that Check is not a FormComponent, do you mean for me to add this behavior to the CheckGroup? But adding it to the CheckGroup doesn't

Re: AjaxFallbackDefaultDataTable and CheckBox Column

2013-04-16 Thread dhongyt
Thanks again Sven. I was able to implement the CheckGroup/Check functionality to the DataTable but the results I am expecting isn't quite what I want. Not sure if its an issue of implementation or if it supposed to work like that. When I select the checkboxes on the first page, go to page 2, and

Re: AjaxFallbackDefaultDataTable and CheckBox Column

2013-04-15 Thread dhongyt
Thanks Sven. For the CheckGroup/Check which wicket-example are you talking about? Are you talking about the ones on this page? http://www.wicket-library.com/wicket-examples/index.html If so then which example are you talking about on that page? -- View this message in context: http://apache-w

Re: AjaxFallbackDefaultDataTable and CheckBox Column

2013-04-15 Thread dhongyt
If there are tons of files that might be listed, iterating through all those files just to see which on is select could present a time issue correct? Will CheckGroup and Check components solve this issue? Is there a way to just grab checked files instead of iterating though and seeing which one i

AjaxFallbackDefaultDataTable and CheckBox Column

2013-04-15 Thread dhongyt
I'm having a tough time understanding how I can get the objects selected. Currently I have an AjaxFallbackDefaultDataTable with a Column of CheckBox. I implemented a CheckBoxPanel so that I can add that to an AbstractColumn. The AjaxFallbackDefaultDataTable is within a form and contains a form but

Re: ExternalLink not render as link AjaxFallbackDefaultDataTable

2013-04-12 Thread dhongyt
Thanks again, that's exactly what I need. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/ExternalLink-not-render-as-link-AjaxFallbackDefaultDataTable-tp4657935p4657943.html Sent from the Users forum mailing list archive at Nabble.com. --

Re: ExternalLink not render as link AjaxFallbackDefaultDataTable

2013-04-12 Thread dhongyt
How do I know when I need to implement a markup? And when I do not need to? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/ExternalLink-not-render-as-link-AjaxFallbackDefaultDataTable-tp4657935p4657940.html Sent from the Users forum mailing list archive at Nabble.co

Re: ExternalLink not render as link AjaxFallbackDefaultDataTable

2013-04-12 Thread dhongyt
Thanks again Ernesto. I didn't know that I needed to create my own Panel in java and html. I thought I could do it all in one java class. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/ExternalLink-not-render-as-link-AjaxFallbackDefaultDataTable-tp4657935p4657939.

Re: ExternalLink not render as link AjaxFallbackDefaultDataTable

2013-04-12 Thread dhongyt
Thanks for the quick reply. I'm kind of new at this so if you could clarify a bit more. Do you mean this? Doesn't seem like Panel has a populateItem so adding a ExternalLink is giving me issues. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/ExternalLink-not-rend

ExternalLink not render as link AjaxFallbackDefaultDataTable

2013-04-12 Thread dhongyt
I have created a AjaxFallbackDefaultDataTable and created an abstract column For some reason on the website when the table is rendered it shows up as plain text but its a link and not a . I would like it to be a link so the blue underline will show up. Why is it just showing up in plain text?

Creating My Own AjaxFallbackDefaultDataTable

2013-03-07 Thread dhongyt
Hey guys, I'm new to Wicket and trying to learn everything I can. I'm looking at the AjaxFallbackDefaultDataTable and like how the top left corner displays a item counter + total items. I'm currently trying to do that to my DataView that I have created. http://wicket.apache.org";> *Searc