Dynamic HTML page with Wicket?

2014-07-28 Thread eaglei22
Hello, I have an old application to re-write. It is a provisioning tool for different companies, and each company can create their own main page which tells a little about themselves, contact information etc.. This functionality is done by using a text box, and letting the user write free html,

Re: Dynamic HTML page with Wicket?

2014-07-28 Thread eaglei22
great. Thanks! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Dynamic-HTML-page-with-Wicket-tp4666769p4666778.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe,

Pom.xml errors in Wicket

2014-07-08 Thread eaglei22
Hello, I am getting an error: Missing artifact org.apache.wicket:wicket:pom:6.15.0:compile This is when I try to update to 6.15.0 from 1.5.5 .. I also get it for slf4j.. Here are the two errors together: 7/8/14 11:01:51 AM CDT: Missing artifact org.apache.wicket:wicket:pom:6.15.0:compile

Re: Pom.xml errors in Wicket

2014-07-08 Thread eaglei22
I added those, and I still get this: 7/8/14 1:01:35 PM CDT: Refreshing [/sampleproject/pom.xml] 7/8/14 1:01:35 PM CDT: [WARN] Missing POM for org.apache.wicket:wicket:pom:6.15.0 7/8/14 1:01:35 PM CDT: Downloading

Re: Pom.xml errors in Wicket

2014-07-08 Thread eaglei22
Actually I took out: dependency groupIdorg.apache.wicket/groupId artifactIdwicket/artifactId version${wicket.version}/version typepom/type /dependency Which I had left

Re: Pom.xml errors in Wicket

2014-07-08 Thread eaglei22
I don't understand why it keeps asking for it. If I take it out it's still looking for it, and when I change to slf4j.version1.6.4/slf4j.version I get more errors: 7/8/14 1:15:36 PM CDT: Missing artifact org.slf4j:slf4j-api:jar:${slf4j-api.version}:compile 7/8/14 1:15:36 PM CDT: Missing artifact

Re: Pom.xml errors in Wicket

2014-07-08 Thread eaglei22
Ah okay, sorry about that. That def makes more sense now. I wasn't 100% sure how to even read the pom but it makes a lot more sense now. I still get the error: Missing artifact org.slf4j:slf4j-api:jar:1.6.4:compile using: properties wicket.version6.15.0/wicket.version

Wicket version 6.15 referring to older Jar

2014-07-08 Thread eaglei22
I have gotten all the latest jars installed for the Wicket 6.15. I can verify this in the Maven Dependencies directory. For some reason, I feel it is still pointing to an older version of Wicket. I am getting strange errors with the add method from the MarkupContainer. Using the quick-start

DiskDataStore errors in production

2014-05-15 Thread eaglei22
Hi, my application in production often gets this error: May 14 09:12:27 ERROR DiskDataStore-/opt/ssa/tomcat/apache-tomcat-7.0.29/work/Catalina/localhost/SSA/wicket.ssa-webapp-filestore/4729/2939/909EAC3343856968BA7B1864B71CEA85/data (Too many open files) java.io.FileNotFoundException:

DiskDataStore errors in production

2014-05-15 Thread eaglei22
Hi, my application in production often gets this error: May 14 09:12:27 ERROR DiskDataStore-/opt/ssa/tomcat/apache-tomcat-7.0.29/work/Catalina/localhost/SSA/wicket.ssa-webapp-filestore/4729/2939/909EAC3343856968BA7B1864B71CEA85/data (Too many open files) java.io.FileNotFoundException:

DiskDataStore errors in production

2014-05-15 Thread eaglei22
Hi, my application in production often gets this error: May 14 09:12:27 ERROR DiskDataStore-/opt/ssa/tomcat/apache-tomcat-7.0.29/work/Catalina/localhost/SSA/wicket.ssa-webapp-filestore/4729/2939/909EAC3343856968BA7B1864B71CEA85/data (Too many open files) java.io.FileNotFoundException:

Re: calling downloadLink.onClick() directly

2014-03-26 Thread eaglei22
Thanks Martin, I guess what I am more curious in, is how come when I call the downloadLink.onClick(), or do: public void onPostProcessTarget(AjaxRequestTarget target) { final File file = excelFile; IResourceStream resourceStream = new FileResourceStream(

Re: calling downloadLink.onClick() directly

2014-03-26 Thread eaglei22
I am not familar on how to perform a redirect from AJAX. I tried: new RedirectPage(excelFile.getPath()); and, target.appendJavaScript(location.hash='excelFile.getPath()'); Can you give me a simple example? -- View this message in context:

calling downloadLink.onClick() directly

2014-03-25 Thread eaglei22
Hello, I currently am using a downloadLink to export a csv file to the user. What I am currently doing is using a worker thread to handle the creation of the csv file while an AjaxSelfUpdatingTimerBehavior updates the GUI of its progress.. Then at completion the intent is to call

DefaultExceptionMapper-Connection lost, give up responding.

2014-03-20 Thread eaglei22
I am getting this error in IE while using a modal window to perform a search of the database: Mar 20 09:50:10 ERROR DefaultExceptionMapper-Connection lost, give up responding. org.apache.wicket.protocol.http.servlet.ResponseIOException: ClientAbortException: java.net.SocketException: Broken pipe

How does Wicket know when to make a new session?

2014-03-03 Thread eaglei22
My company uses a webgate to verify the user before redirecting to the application. Wicket works fine outside of this webgate and retains one user session for each tab opened in the browser or new browser window. But when accessed through this webgate, wicket creates a new session and expires the

Re: Detecting if page is opened in another tab

2014-02-27 Thread eaglei22
Thanks Martin, This seems to be the solution, but isn't working as it should. I tried this: add(new AjaxNewWindowNotifyingBehavior() { /** * */ private static

Detecting if page is opened in another tab

2014-02-25 Thread eaglei22
Hello, I am running a thread that displays a list of results to the page. I want the user to be able to open the page only in one browser tab. If they open it in another tab then it will give an information message and not let them. I have a worker thread running, so I only want the list being

Re: Issue on multi-threaded page when opening another tab in browser

2014-02-19 Thread eaglei22
Hi Martin, I originally had the List as an instance variable for the Page but when I would open a new browser tab, the original page would crash and a nullpointerException would be given because the page reference lost reference to the object. So now I create in the page constructor in instance

Re: Issue on multi-threaded page when opening another tab in browser

2014-02-19 Thread eaglei22
I fixed this issue by making my runnable class serializable and putting a reference to the Thread inside there and also the list. This seemed to fix this issue. Thanks for your time Martin. -- View this message in context:

Re: Issue on multi-threaded page when opening another tab in browser

2014-02-19 Thread eaglei22
Nvm, it's still doing it. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Issue-on-multi-threaded-page-when-opening-another-tab-in-browser-tp4664552p4664576.html Sent from the Users forum mailing list archive at Nabble.com.

Issue on multi-threaded page when opening another tab in browser

2014-02-18 Thread eaglei22
Okay, so I have an issue that I have finally narrowed down to multi-threading issues. I have a loader page that has a worker thread to process a csv file and store the results into a list declared as: List batchLines = Collections.synchronizedList(new CopyOnWriteArrayListBatchLine()); Each

Re: Error in Modal opening two diffrent instances of Wicket applicaiton.

2014-02-17 Thread eaglei22
Thanks Paul, I am using new sessions and the problem seems to be okay locally, but not on the server. So I noticed that on the server (through the access portal we use) it forces a new session per tab. So the original issue with the modal window I thought I have found the session issue to be the

Re: Error in Modal opening two diffrent instances of Wicket applicaiton.

2014-02-13 Thread eaglei22
Okay, so I was able to try some more scenerios, and it looks like if I have one instance of the application open in one tab, and open a modal window and now do anything.. Then open another instance of the application but not even click on anything, and go back to the first intance and just hit

Error in Modal opening two diffrent instances of Wicket applicaiton.

2014-02-12 Thread eaglei22
Hello, I am having an issue when I have my application opened in two separate tabs in IE or FireFox. Here is the problem: I have a page called User, and in this page you can open a Modal window to search for a user. Once a user is found, you select it, and the Modal window closes, and that User

Re: Error in Modal opening two diffrent instances of Wicket applicaiton.

2014-02-12 Thread eaglei22
I have made a few changes to my original explanation: Here is the edited version: The problem is if I have tab open on the User page and run a search in the Modal window for another user, and while this is taking place, I open another tab and goto another instance of the application and to the

Re: Error in Modal opening two diffrent instances of Wicket applicaiton.

2014-02-12 Thread eaglei22
Here is some more information on my initializating of the modal window: add(userPageFindUserModal = new ModalWindow(findUserModalWindow)); userPageFindUserModal.setResizable(false); userPageFindUserModal.setInitialHeight(23);

Re: MultiThreading issues with Wicket.

2014-01-03 Thread eaglei22
I seem to be able to avoid this by limiting the amount of rows I print to the screen from the ListView. I turned it into a PageableListView and put a max of 200 per page, and the problem went away. -- View this message in context:

Re: MultiThreading issues with Wicket.

2014-01-03 Thread eaglei22
Here is the errors I get: Jan 03 17:04:20 WARN RequestCycleExtra- Jan 03 17:04:20 WARN RequestCycleExtra-Handling the following exception org.eclipse.jetty.io.RuntimeIOException: org.eclipse.jetty.io.EofException at

Re: MultiThreading issues with Wicket.

2014-01-02 Thread eaglei22
Following the example for multi-threading, I still randomly get: SSAID: Access6 count: 1213 SSAID: Access6 java.io.IOException: Read error at java.io.FileInputStream.readBytes(Native Method) at java.io.FileInputStream.read(FileInputStream.java:220) at

Re: MultiThreading issues with Wicket.

2014-01-02 Thread eaglei22
I have temporarily fixed it by first loading the lines into a string ArrayList and just read from that list.. I don't really see any latency issues, so maybe this can be considered a good alternative? -- View this message in context:

Re: MultiThreading issues with Wicket.

2014-01-02 Thread eaglei22
Great catch Paul. I have made the changes reccommended. However, I read the file into the arrayList using the main thread, and then use the worker thread for processing. I don't think the ArrayList is being modified during this time, but just incase something is happening beyond my knowledge under

Re: MultiThreading issues with Wicket.

2014-01-02 Thread eaglei22
Thanks Paul I really appreciate your time and efforts to assist me in this issue. I have implemented your reccommendations and I was still getting the same issues (This seems to only be with the larger file as well) and I thought it was the AjaxSelfUpdatingTimer but instead it looks like the page

Re: MultiThreading issues with Wicket.

2013-12-31 Thread eaglei22
Awesome resources to look over. Thanks Paul! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/MultiThreading-issues-with-Wicket-tp4663325p4663355.html Sent from the Users forum mailing list archive at Nabble.com.

MultiThreading issues with Wicket.

2013-12-30 Thread eaglei22
Hello, I am having an issue when using a worker thread to process a csv file. I have asked the same question here: http://stackoverflow.com/questions/20747605/requestcycle-goes-null-when-using-a-separate-thread and I wanted to post here as I feel there are not many Wicket programmers there.

How to clear autoComplete textfield in Wicket after submit?

2013-09-09 Thread eaglei22
I'm having issues clearing the input of a autoComplete Textfield.. For some reason whenever I call target.add(reference to AutoCompleteTextField); my input values are null... So basically, I can clear the referenced string the input is stored in, but everytime I call an ajaxupdate it nulls. I

Re: How to clear autoComplete textfield in Wicket after submit?

2013-09-09 Thread eaglei22
To add: The autoCompleteTextField input field clears the first time, but when I try it again. The string: autoString will be null. So if you choose your selection on first attempt (from the search list provided), hit select button, it gives you the correct string and clears. But when you do it for

updating table on main page after modal window is closed..

2013-08-22 Thread eaglei22
here userPageFindUserModal.setWindowClosedCallback(new ModalWindow.WindowClosedCallback() { public void onClose(AjaxRequestTarget target) { System.out.println(ssaIDLISTCON); userInformation = new WebMarkupContainer(userAttributeTable); userInformation.setOutputMarkupId(true);

Re: updating table on main page after modal window is closed..

2013-08-22 Thread eaglei22
Thank you. Can you show me a simple example of how to pass pagereference, and then update the webmarkupcontainer? Im not very good with javascript. -- View this message in context:

Re: updating table on main page after modal window is closed..

2013-08-22 Thread eaglei22
()); On Thu, Aug 22, 2013 at 2:43 PM, eaglei22 [hidden email]http://user/SendEmail.jtp?type=nodenode=4661014i=0 wrote: Thank you. Can you show me a simple example of how to pass pagereference, and then update the webmarkupcontainer? Im not very good with javascript. -- View