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,
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,
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
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
Actually I took out:
dependency
groupIdorg.apache.wicket/groupId
artifactIdwicket/artifactId
version${wicket.version}/version
typepom/type
/dependency
Which I had left
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
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
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
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:
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:
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:
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(
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:
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
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
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
Thanks Martin,
This seems to be the solution, but isn't working as it should.
I tried this:
add(new AjaxNewWindowNotifyingBehavior()
{
/**
*
*/
private static
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
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
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:
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.
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
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
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
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
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
Here is some more information on my initializating of the modal window:
add(userPageFindUserModal = new
ModalWindow(findUserModalWindow));
userPageFindUserModal.setResizable(false);
userPageFindUserModal.setInitialHeight(23);
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:
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
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
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:
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
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
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.
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.
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
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
here
userPageFindUserModal.setWindowClosedCallback(new
ModalWindow.WindowClosedCallback()
{
public void onClose(AjaxRequestTarget target)
{
System.out.println(ssaIDLISTCON);
userInformation = new WebMarkupContainer(userAttributeTable);
userInformation.setOutputMarkupId(true);
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:
());
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
40 matches
Mail list logo