Where can I download wicket extensions?

2008-12-04 Thread jchappelle
The most logical place would be at http://www.wicketframework.org/wicket-extensions/. However the link to the sourceforge site from there gives me old code(1.2.7). I have a jar right now that is 1.3.2 and I'm not sure where it came from. I need the source code so I can customize the wizard

CheckGroupSelector not working at all in a Wizard

2008-12-05 Thread jchappelle
I have followed the example exactly(from what I can see) and when I click my Select All button nothing happens to the other buttons. Here is the code: This is in the constructor of a WizardStep: Form form = new Form(form) {

CheckGroup model only has one element

2008-12-05 Thread jchappelle
I have a CheckGroup inside of a WizardStep panel. In the constructor I am giving it a PropertyModel like this: final CheckGroup group = new CheckGroup(group, new PropertyModel(RegistrationWizard.this, contacts)); My wizard class has a setContacts and a getContacts that take a Set and return a

TinyMCE init method rendering twice

2008-12-08 Thread jchappelle
I have a TinyMCE component in one of my pages and I am trying to remove the Path: toolbar at the bottom. I have noticed that the init method renders on my page twice. I only have one textarea on my page and I am adding a custom TinyMceBehavior to it. I am trying to disable the visualaid button(i

Re: TinyMCE init method rendering twice

2008-12-09 Thread jchappelle
TinyMceSettings.setStatusbarLocation(null) (which by the way is the default). See http://wiki.moxiecode.com/index.php/TinyMCE:Configuration#Layout for a comprehensive list and documentation on all available options. On Mon, 8 Dec 2008 10:45:40 -0800 (PST), jchappelle [EMAIL PROTECTED] wrote

Re: TinyMCE init method rendering twice

2008-12-10 Thread jchappelle
: \\); buffer.append(,\n\ttheme_advanced_buttons3: \\); return buffer.toString(); } Then you can also remove most of your disableButton calls. Or use the simple theme instead. On Tue, 9 Dec 2008 14:06:54 -0800 (PST), jchappelle [EMAIL PROTECTED] wrote: I downloaded the latest

Dynamically update TreeTable model

2008-12-17 Thread jchappelle
I have a TreeTable and I have links within it. When a user clicks a link they are presented with a modal window with a FileUpload component in it. When they upload a new file and click close on the modal window, the TreeTable is not updated. I tried to use a LoadableDetachableModel that returns a

TreeTable text-align

2008-12-18 Thread jchappelle
I have a TreeTable that I would like to have some columns with a text-align: right; style. I have tried overriding the newCell method on the PropertyRenderableColumn and returning a Label with an AttributeModifier. That did not work nor did returning a custom Panel with an AttributeModifier.

TreeTable text-align

2008-12-18 Thread jchappelle
I have a TreeTable that I would like to have some columns with a text-align: right; style. I have tried overriding the newCell method on the PropertyRenderableColumn and returning a Label with an AttributeModifier. That did not work nor did returning a custom Panel with an AttributeModifier.

RadioGroup in a DataTable?

2009-02-13 Thread jchappelle
Is it possible to have a RadioGroup in a DataTable. I am trying to display a list of items from the database and I want the user to only select one of these items. There could be a lot of items so I am letting the user filter the values by using a FilterForm and a DataTable. Any ideas? Thanks,

Re: YUI menu and wicker border problem

2009-03-03 Thread jchappelle
I am having a similar problem. I have a MasterPage class that is my common page. When I hard code the menu as a page that extends Webpage everything is fine but when I extend my MasterPage class it doesn't work. Could someone please help? Josh Michal Hybler wrote: Hi all! I want to

Re: Switch tab only if user doesn't want to save changes.

2009-03-11 Thread jchappelle
Could you post how you are detecting unsaved changes? I am trying to implement something similar. Thanks, Josh Fabio Fioretti wrote: Thank you Maurice, what you suggested matched the way I was trying to solve the problem, but I had to add a bit of client-side logic to decide whether to

Timeline

2008-07-09 Thread jchappelle
I searched for a wicket timeline component and I found where someone posted the same question in 2006. I was wondering if anyone has written one yet. Thanks for your time. Josh -- View this message in context: http://www.nabble.com/Timeline-tp18363281p18363281.html Sent from the Wicket -

Images not caching in browser

2008-08-08 Thread jchappelle
Every time my pages load all the images load again. I'm not sure how to fix this. Is it a change in my filter mapping? Most of my images are loaded as a background-image style rule. My web.xml filter mapping is this: filter-mapping filter-namemyApplication/filter-name

Re: Images not caching in browser

2008-08-09 Thread jchappelle
I am using Tomcat 5 running as a mod under the apache http server. Do you think it is a configuration in tomcat? -- View this message in context: http://www.nabble.com/Images-not-caching-in-browser-tp18901385p18908064.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: Images not caching in browser

2008-08-11 Thread jchappelle
That was it. There was a no-cache header being sent to the browser from tomcat. I'll post my findings for anyone else that is having the same problem. I used a tool called fiddler to examine the headers that were being sent down. You can get it here: http://www.fiddler2.com/fiddler2/ After that

Scriptaculous with wicket 1.3.2

2008-08-12 Thread jchappelle
I would like to use the scriptaculous wicket-stuff but when I downloaded the latest code there were generics in there so it didn't compile. I have searched and searched but I cannot find where an older compatible snapshot would be. Can someone please direct me to it? Thanks for your time.

Re: Refreshing a Panel on Form onSubmit()

2008-09-23 Thread jchappelle
Instead of passing a list of items into your PageableListView, pass in a LoadableDetachable model. Inside of the onLoad method put the same code that is in your Form onSubmit. Your Form onSubmit will be empty and it will effectively only reload the page when the form gets submitted. When that

Re: Wicket sample application

2008-09-23 Thread jchappelle
I think it is important to understand that Hibernate and Wicket are two completely different frameworks that are built to solve different problems. Hibernate operates at the data access layer and wicket at the gui layer(mostly). You don't need hibernate to get your data to wicket. I don't know

GoAndClearFilter not clearing

2008-09-30 Thread jchappelle
I have looked at the other posts people have made about this problem and each says that the solution is to call setDefaultFormProcessing(true) on the clear button. I have done that and it doesn't solve my problem. I am doing this in a modal window but I don't know if that has anything to do with

wicket 1.3.4 - setDefaultFormProcessing(true) not solving the GoAndClearFilter problem

2008-10-02 Thread jchappelle
I have looked at the other posts people have made about this problem and each says that the solution is to call setDefaultFormProcessing(true) on the clear button. I have done that and it doesn't solve my problem. I started with wicket 1.3.2 but I saw where a bug fix for this was in 1.3.3 so now

form components within an AccordionPanel

2008-10-14 Thread jchappelle
I am trying to render a form inside a Panel within an AccordionPanel. I have even reduced it to trying to only render a TextArea inside a Panel within it. However, when I click on the title of one of the items it expands with nothing but white space within it. The examples for the AccordionPanel

Re: form components within an AccordionPanel

2008-10-15 Thread jchappelle
1.4, some guys talked about it on the dev list. I take it you are using the 1.3? Nino Saturnino Martinez Vazquez Wael wrote: jchappelle wrote: I am trying to render a form inside a Panel within an AccordionPanel. I have even reduced it to trying to only render a TextArea inside a Panel

Re: form components within an AccordionPanel

2008-10-15 Thread jchappelle
anything else. Let me know if you update the component to use something like YUI. I would definately be interested in using it. I could even help out if you need. Thanks, Josh Nino.Martinez wrote: Great that you have done some extensive diagnostics.. jchappelle wrote: Thanks

Re: form components within an AccordionPanel

2008-10-16 Thread jchappelle
/animation/ Did you try writing to the guy who did the js script? Nino Saturnino Martinez Vazquez Wael wrote: jchappelle wrote: Yea, if it is having the problem in the javascript then it has nothing to do with wicket. I was just hoping you might be a javascript guru. :-) I only change stuff

Re: form components within an AccordionPanel

2008-10-16 Thread jchappelle
: Looking at YUI... They do actually link directly to the js I based the accordion component on: http://developer.yahoo.com/yui/animation/ Did you try writing to the guy who did the js script? Nino Saturnino Martinez Vazquez Wael wrote: jchappelle wrote: Yea, if it is having

stopping event bubbling from link to enclosing div

2008-10-16 Thread jchappelle
I have an AjaxLink inside a div. There is an onclick event handler added at the document level in the dom. If I am clicking the div that contains my AjaxLink the event will fire. However, I don't want it to fire if I click the link. It seems that there is a way to do this in javascript. I think

Re: stopping event bubbling from link to enclosing div

2008-10-16 Thread jchappelle
(); } Thanks, Josh jchappelle wrote: I have an AjaxLink inside a div. There is an onclick event handler added at the document level in the dom. If I am clicking the div that contains my AjaxLink the event will fire. However, I don't want it to fire if I click the link. It seems

Re: tinymce ajax submit

2008-10-16 Thread jchappelle
Has that code been posted for wicketstuff-1.3? I am using the old wicket-contrib-tinymce-1.3-SNAPSHOT.jar. Where would I find an updated snapshot? Thanks, Josh sander v F wrote: For a project I also needed a AjaxSubmitLink to submit the tinyMce data, so i've searched for a solution and

Saving panel state

2008-10-29 Thread jchappelle
I have some reused panels that have a custom built CollapsiblePanelHeader component in them. I would like to save the boolean value of whether it is collapsed or not within the Session object. I had it working for a while by using a Map in the Session with the panel's classname as the key and the

QueryStringUrlCodingStrategy question

2008-11-03 Thread jchappelle
I have the following code: PageParameters parms = new PageParameters(); parms.put(answerId, Long.toString(answer.getEntityId())); add(new BookmarkablePageLink(edit, EditBlogEntryPage.class, parms)); In my Application init method I have:

WicketMockServlet-filestore question

2008-11-07 Thread jchappelle
I have started unit testing my wicket pages using the WicketTester class. For now most of my tests just consist of something like this: WicketTester tester = getWicketTester(); tester.startPage(new AdminPage());

Re: WicketMockServlet-filestore question

2008-11-07 Thread jchappelle
dummywebapplication, which the tester uses by default, uses HttpSessionStore which should not cause any directories to be created. what wicket version are you using? -igor On Fri, Nov 7, 2008 at 9:04 AM, jchappelle [EMAIL PROTECTED] wrote: I have started unit testing my wicket pages using

Re: WicketMockServlet-filestore question

2008-11-07 Thread jchappelle
to subclass your application, override newsessionstore and return httpsessionstore for your tests. -igor On Fri, Nov 7, 2008 at 10:51 AM, jchappelle [EMAIL PROTECTED] wrote: I am using version 1.3.4. I am creating my WicketTester by handing it my custom Application object in the constructor

Re: YUI menu and development mode

2011-09-18 Thread jchappelle
I am having the same issue. Has anyone found a solution to this? I am using wicket version 1.4.15. Thanks, Josh -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/YUI-menu-and-development-mode-tp1882092p3822359.html Sent from the Users forum mailing list archive at

Re: YUI menu and development mode

2011-09-18 Thread jchappelle
Thanks a lot Ernesto! That pointed me in the right direction and I found the specific setting that was causing the problem. The following code is in my Application subclass's init method and it seems to fix the problem for me. getMarkupSettings().setStripWicketTags(true); Thanks, Josh -- View

Show ModalWindow when a RuntimeException occurrs

2011-09-26 Thread jchappelle
Hi, Currently I have subclassed the RequestCycle and overridden the onRuntimeException method in it to return a custom error page for the user. It works very well but the only problem is that it takes the user away from the page they were on. I would like to be able to show a ModalWindow with a

Detect dirty text field

2011-09-29 Thread jchappelle
Hi, I have a behavior that changes the background color of a TextField if the user presses any keys. It does this by changing the className in the dom. This works fine but the problem I have is that when I have a form that submits via Ajax I need to remove the added className. Currently if I

Using Wicket.Event.add in javascript

2011-10-04 Thread jchappelle
Is the Wicket.Event.add method considered part of the public api for wicket? I have been writing more and more javascript lately and have found it useful but I can roll my own if needed. I just didn't know if these methods are subject to change without notice. Thanks, Josh -- View this message

Re: Using Wicket.Event.add in javascript

2011-10-04 Thread jchappelle
Thanks a lot! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Using-Wicket-Event-add-in-javascript-tp3870815p3870841.html Sent from the Users forum mailing list archive at Nabble.com. - To

Re: AutoCompleteTextField problems

2011-10-09 Thread jchappelle
One way to do it is to extend AutoCompleteTextField and override the getConverter() method. That will define to wicket how to convert to and from your domain object. Right now wicket is trying to convert your domain object to a String and that's why you are getting the casting problem. If you

Re: wicket + jasper reports

2011-10-18 Thread jchappelle
I believe the way I have done this in the past is by putting the report file at the root of the WEB-INF/classes folder when building the war file. I don't use maven so I can't advise you on where to place the files in your project before deployment. I hope this helps. Josh -- View this message

YUI sub menu not showing until refresh

2011-12-14 Thread jchappelle
Hi, We have been using the wicket-yui menu for some time now and I recently updated our jar file to the 1.4.15 version because of a problem we were hitting with the 1.4.2 version. Well it seems that we have traded one problem for another. The 1.4.15 version will not show the drop down icons for

Wicket 1.5.3 AutoCompleteTextField not working in ModalWindow

2012-01-20 Thread jchappelle
Hi, I'm upgrading to 1.5.3 and one of the issues that I can't figure out is why the AutoCompleteTextField has stopped working in ModalWindows. I've tested in IE9. Before upgrading this worked fine. I'm using the DefaultCssAutoCompleteTextField and I've looked at the style sheets from each version

Re: Wicket 1.5.3 AutoCompleteTextField not working in ModalWindow

2012-01-20 Thread jchappelle
I found that there is a jira bug on the issue. Here is the link: https://issues.apache.org/jira/browse/WICKET-4294 https://issues.apache.org/jira/browse/WICKET-4294 If you put the following CSS in your style sheet for your AutoCompleteTextField it will fix it. /* * FIXES rendering issue of

generateCallbackScript in Wicket 1.5.4 with CryptoMapper

2012-02-01 Thread jchappelle
I have a behavior that generates a url to a page. This behavior is attached to menu items. I have the behavior code below. After moving to Wicket 1.5.4 this is not working. I get a message in the WICKET DEBUG window like this 500 error had text: . I will say that we are using the CryptoMapper and

Re: generateCallbackScript in Wicket 1.5.4 with CryptoMapper

2012-02-01 Thread jchappelle
By the way the ajax response above is not rendering what I put in there. It has a CDATA section and contains [../../../fyBfZ9p6trO9WTR7h0OMLw/fyBce/R7h42]. Josh -- View this message in context:

Re: StalePageException with CryptoMapper

2012-02-06 Thread jchappelle
Hi Martin, The reason I don't extend the AjaxEventBehavior is because I'm using the YUI javascript library to create my menu and my behavior is not being attached to a dom element. There are two ways they allow you to create the menu. One way is by having some markup that backs up the javascript

Re: StalePageException with CryptoMapper

2012-02-10 Thread jchappelle
Martin, Here is the jira bug: https://issues.apache.org/jira/browse/WICKET-4404 I created a quickstart and the results are slightly different but it still does not work. I don't get a StalePageException but the respond method of my behavior never gets called. Thanks for the help. Josh --

Re: Adding a header contribution as the first in the head tag

2012-03-02 Thread jchappelle
Thanks! I was able to write an IResponseFilter and install it within my Application.init via the method getRequestCycleSettings().addResponseFilter(...). -- View this message in context:

Re: Streaming a zip file then going back to previous BreadCrumbPanel

2012-03-21 Thread jchappelle
When you say Can you initiate the download *after* your redirect? I'm guessing you mean this: ListIBreadCrumbParticipant participants = crumbModel.allBreadCrumbParticipants(); crumbModel.setActive(participants.get(participants.size() - 2));

Re: Streaming a zip file then going back to previous BreadCrumbPanel

2012-03-22 Thread jchappelle
Ahhh. I see what you are saying. I don't have a problem with the user seeing the previous panel and then seeing the download prompt. I think I can get the url for my IRequestHandler from the RequestCycle and then just generate the javascript that goes back to the server and initiates the download.

Re: Help I need to understand page locking

2012-04-18 Thread jchappelle
I am having this same issue. Have you figured out what the issue was? Thanks, Josh -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Help-I-need-to-understand-page-locking-tp3543950p4568549.html Sent from the Users forum mailing list archive at Nabble.com.

NonCachingImage and CryptoMapper do not work together

2012-07-06 Thread jchappelle
I have a NonCachingImage that gets loaded via ajax and I have noticed the the ajax debug window that the src attribute of the img is encrypted except for the antiCache url parameter at the end. The problem I am seeing is that the image is the browser red x instead of the image I am requesting.

Re: Image urls with CryptoMapper

2012-07-26 Thread jchappelle
markup works? I can not see any wicket Tag in it? -- Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet. jchappelle [hidden email]http://user/SendEmail.jtp?type=nodenode=4650807i=0 schrieb: I'm hitting a problem with images not being found when using CryptoMapper

Re: Image urls with CryptoMapper

2012-07-26 Thread jchappelle
Issue created. https://issues.apache.org/jira/browse/WICKET-4678 https://issues.apache.org/jira/browse/WICKET-4678 -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Image-urls-with-CryptoMapper-tp4650805p4650809.html Sent from the Users forum mailing list archive at

Re: Image urls with CryptoMapper

2012-07-26 Thread jchappelle
-node+s1842946n4650810...@n4.nabble.com wrote: I have some questions. How does the first img-tag on the second page differ from the first one? Why dont you use a wicket image component? Mm:) -- Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet. jchappelle [hidden

Re: Image urls with CryptoMapper

2012-07-26 Thread jchappelle
: That's hard to say from the snippet you've provided here, especially since a few markup tags didn't make it through. Please create an issue and attach your quickstart to it. Sven On 07/26/2012 09:31 PM, jchappelle wrote: I'm hitting a problem with images not being found when using CryptoMapper

Re: Image urls with CryptoMapper

2012-07-26 Thread jchappelle
or if you are certain that the image url is context relative then pass it first to org.apache.wicket.core.util.string.UrlUtils#rewriteToContextRelative() before setting it in the model. On Thu, Jul 26, 2012 at 11:43 PM, jchappelle [hidden email]http://user/SendEmail.jtp?type=nodenode=4650814i

MountedMapper and CryptoMapper

2012-08-06 Thread jchappelle
Currently I am using CryptoMapper for my application. It is installed in the init method of my application like this: setRootRequestMapper(new CryptoMapper(getRootRequestMapper(), this));. I need some of my pages to be bookmarkable with a url like /abc. I was able to accomplish this by doing this

Re: MountedMapper and CryptoMapper

2012-08-07 Thread jchappelle
Hi Jesse, Thanks for the response. I am using 1.5.4. And I don't have any other IRequestMappers installed. I will say that it doesn't affect other pages. So if I click a link that takes me to another page then it's fine. However, we use bread crumb pages quite a bit so if one page has

Re: MountedMapper and CryptoMapper

2012-08-07 Thread jchappelle
I think what I am going to do is have a mounted page called AbcMountedPage that throws a RestartResponseAtInterceptPageException so that it redirects to AbcPage. That way AbcPage will be handled by CryptoMapper. I've also noticed that there is a RedirectPage. I could extend that I suppose. It's

Re: Editing list in Dataview

2012-08-07 Thread jchappelle
You don't have to have Spring to do this one table, it just makes it easier to do many more like really fast in the future. It is more scalable. The Dataview and ListView components are just the UI component(the view). So your query won't have to change. The main thing that will change is how you

IExceptionMapper to notify support of errors

2012-08-15 Thread jchappelle
I have written an IExceptionMapper that notifies our support team if an unexpected exception occurs. It will redirect the user to our ErrorPage and in the ErrorPanel.onBeforeRender I send a notification via email in a new Thread. This mostly works except we are getting several false positives.

Re: IExceptionMapper to notify support of errors

2012-08-15 Thread jchappelle
Thanks for the quick response Igor. Are there any callback methods in Panel that will allow me to put my notification code and guarantee that it will be rendered to the user? Worst case I could add a timer behavior to the panel that makes a callback to the server and executes the notification,

Re: IExceptionMapper to notify support of errors

2012-08-15 Thread jchappelle
I'll do the timer then. Thanks for your help Igor. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/IExceptionMapper-to-notify-support-of-errors-tp4651251p4651256.html Sent from the Users forum mailing list archive at Nabble.com.

Parsing company id from url

2012-12-23 Thread jchappelle
I'm hoping this will be an easy question to answer for the wicket gurus out there. I'm developing an app that will have pages specific to companies. They will be able to configure styles and logos and all the pages will be branded for their company. The root url looks like http://server/app. I'm

Re: Parsing company id from url

2012-12-27 Thread jchappelle
Sebastian, That makes a lot of sense. I think I like that solution better because it seems simpler and more intuitive. I may write a ServletFilter that does the app lookup part and store it in the session. Thanks a lot! Josh -- View this message in context:

RE: Suppress Ajax ComponentNotFoundException

2013-03-21 Thread jchappelle
Did anyone ever find a solution to this? We are having the same problem with ComponentNotFoundExceptions. Thanks, Josh -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Suppress-Ajax-ComponentNotFoundException-tp4650209p4657428.html Sent from the Users forum

NullPointerException in Page constructor

2013-03-25 Thread jchappelle
We have just upgraded from wicket 1.5.4 to 1.5.10 and we are getting a NullPointerException in the constructor of all the pages. It is happening because our AuthorizationStrategy.isActionAuthorized calls a method on the on our BasePage class. A NullPointerException occurrs in that method because

Re: NullPointerException in Page constructor

2013-03-26 Thread jchappelle
Sure thing. Obviously the last two methods are getting in to my code but this will let you see how it gets there. Message: Can't instantiate page using constructor 'public com.mycompany.ui.HomePage()'. Might be it doesn't exist, may be it is not visible (public). Root cause:

Re: NullPointerException in Page constructor

2013-03-26 Thread jchappelle
Here is MasterPage and below it is it's parent class BasePage. public abstract class MasterPage extends BasePage implements Protected, ProtectedComponent { private static final String bodyId = bodyPanel; private final BaseProtectedComponent protection;

Re: NullPointerException in Page constructor

2013-03-26 Thread jchappelle
Sorry I left out HomePage. Here it is. public class HomePage extends MasterPage { @Override protected WebMarkupContainer makeBodyPanel(String id, PageParameters parms, Object[] objParms) { return new HomePanel(id); } } -- View this message in

Re: NullPointerException in Page constructor

2013-03-26 Thread jchappelle
Thanks for the answer Martin. Would you suggest I extend AbstractPageManager and apply that change for now? If so how to you install a custom page manager? -- View this message in context:

AutoCompleteTextField ajax update problem

2013-09-02 Thread jchappelle
I am in the process of migrating our app from wicket 1.5.10 to 6.10.0. I have a panel that uses an AutoCompleteTextField with an AjaxFormComponentUpdatingBehavior(onchange) behavior attached. It works fine the first time I type something and select it, but it does not fire the onchange event after

Re: AutoCompleteTextField ajax update problem

2013-09-03 Thread jchappelle
Thanks for your response Sven. The AutoCompleteTextField was part of a bigger component that was a homegrown tagging component. I ended up re-implementing it using wicket-select2 and it works now, even better I might add! However, I did have a similar problem on another panel where loading the

Setting Session timezone without using getClientInfo()

2013-11-17 Thread jchappelle
I have been googling and searching this forum and haven't found an answer to my question so I'm hoping someone can help me. I have dates stored in a database that are stored as UTC. The application that stores the data has the -Duser.timezone=UTC property set. My users have a timezone that is set

User has to log in twice(Using example from Wicket In Action)

2008-05-23 Thread jchappelle
In Chapter 12 of the book Wicket In Action that is still being written, there is some sample code on how to provide authentication pages for users. I had trouble when using this code and this post is intended to help other users that may encounter this problem. I created the SignIn page class

Re: forcing cookies to expire

2008-06-10 Thread jchappelle
I am having the same problem. On my login page there is a remember me checkbox and if the user clicks and then submits the login page then the cookie is successfully stored. However if they arive to the page and they already have that cookie(it just pre-fills the username field) then they are

Re: forcing cookies to expire

2008-06-10 Thread jchappelle
Thanks for the quick reply. I finally fixed the problem. What I found was that when I was creating my cookie I was calling setPath(/) and when I deleted it I was not calling setPath(/). So I guess the equals method saw them as two different cookies and it wasn't deleting it. There is actually a

Re: forcing cookies to expire

2008-06-11 Thread jchappelle
Johan Compagner wrote: Because we cant really just call set path... That is something that you have to do. Why do you want it on root? On 6/10/08, jchappelle [EMAIL PROTECTED] wrote: Thanks for the quick reply. I finally fixed the problem. What I found was that when I was creating my cookie I

Re: AjaxSubmitLink refreshing problem

2008-06-12 Thread jchappelle
The ListView class has a method called removeLink that returns a Link that will remove the item from the list. I have never used it but I just figured I would point it out to you. Maybe looking at the source code of that method could help. Also, make sure you are adding your WebMarkupContainer

wicket-stuff jar files

2008-06-26 Thread jchappelle
I have checked out the entire wicket-stuff project from svn. However, I have not figured out a good way to get the jar files for the individual components. Am I overlooking something? I know there is a pom file in each of the projects but I've never used maven and every time I run mvn compile or

Link to BreadCrumbPanel from javascript

2013-11-22 Thread jchappelle
I have written an integration between Google Visualization api and Wicket. I can click on a chart and receive an onSelection() event in java and it hands me information about what was clicked. This all works great. The problem is that often times I want to bread crumb to another panel instead of

Detecting when nothing is added to AjaxRequestTarget

2014-01-04 Thread jchappelle
We get a lot of ComponentNotFoundExceptions in production and I have not been able to reproduce them. I've had discussions on here before about this and I think what is happening is that the user clicks something to change the state of the page, say it removes a button. If we don't add the panel

Re: Detecting when nothing is added to AjaxRequestTarget

2014-01-05 Thread jchappelle
Thanks for the replies. Marco there is a good possibility that is what we are facing too. I have just been guessing at the causes at this point and haven't considered the double click. I wonder if there is there a more global way to set that for all Ajax links instead of creating a custom

Re: Detecting when nothing is added to AjaxRequestTarget

2014-01-05 Thread jchappelle
I have found the issue and I can finally reproduce it! The issue is similar to what you described. We have a dashboard panel that has several tabs. Those tabs are ajax tabs. If a user clicks a tab and it takes a while to load then they click on a link on the current tab while waiting then you

Re: Detecting when nothing is added to AjaxRequestTarget

2014-01-05 Thread jchappelle
That's a good point. We use those in a lot of our data tables that take a while to load. In fact I have created a base class that hides that and automatically wraps the DataTable in an AjaxLazyLoadPanel. I might make a custom TabbedPanel that wraps the panel in an AjaxLazyLoadPanel. -- View this

TinyMce disappears with CryptoMapper

2014-01-06 Thread jchappelle
I have a weird problem in wicket 6.12.0 where the TinyMce component does not display. It will in certain cases and in some of those cases a browser refresh causes it to vanish. If I remove the CryptoMapper from my Application.init method then it works fine. I tried creating a quickstart but I was

Re: TinyMce disappears with CryptoMapper

2014-01-06 Thread jchappelle
Yes. It is version 6.12.0 also. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/TinyMce-disappears-with-CryptoMapper-tp4663499p4663504.html Sent from the Users forum mailing list archive at Nabble.com.

Re: TinyMce disappears with CryptoMapper

2014-01-07 Thread jchappelle
I have a quickstart now. The setResponsePage(new TinyMcePage()) seems to cause the issue. On the HomePage I have a tinymce and it displays fine. However if you click a link that does the setResponsePage and transition to a new page it does not display. Any ideas? -- View this message in context:

Re: TinyMce disappears with CryptoMapper

2014-01-07 Thread jchappelle
Sorry I thought I posted it. Another thing I'll mention is when I turn on request logging I see these two lines logged out in the console when the problem occurs. It looks like the last couple of segments aren't being encrypted.

Re: TinyMce disappears with CryptoMapper

2014-01-08 Thread jchappelle
I have found a work around but this seems to be a bug in the wicketstuff-tinymce project. I looked in the wicket.contrib.tinymce.TinyMceInitializer class and the first line of the init method had this: application.getRootRequestMapperAsCompound().add(new TinyMceRequestMapper());

ListenerInvocationNotAllowedException and EmptyRequestHandler

2014-01-10 Thread jchappelle
We are starting to get ListenerInvocationNotAllowedExceptions intermittently in production. What are some suggestions for handling this? My first thought is return an EmptyRequestHandler in my custom IExceptionMapper implementation. Is this a bad practice? Thanks for your time. -- View this

Re: ListenerInvocationNotAllowedException and EmptyRequestHandler

2014-01-10 Thread jchappelle
Sometimes it's an AjaxLazyLoadPanel and sometimes it is an AjaxLink. This particular one is from an AjaxLazyLoadPanel. 2013-10-17 07:23:42,782 ERROR ajp-127.0.0.1-8009-6 com.redi.risk.ui.RiskExceptionMapper - Unexpected error occurred 2013-10-17 07:23:45,985 WARN ajp-127.0.0.1-8009-36

Understanding setPageExpiredErrorPage and onUnauthorizedInstantiation

2014-01-21 Thread jchappelle
I'm trying to set a custom PageExpiredErrorPage and I'm not able to do that. It appears that the framework is calling my onUnauthorizedInstantiation method in my implementation of IUnauthorizedComponentInstantiationListener instead. Here is how I am able to reproduce: 1. User logs in 2. Wait

Re: Understanding setPageExpiredErrorPage and onUnauthorizedInstantiation

2014-01-22 Thread jchappelle
Martin, Yes our Application.init method is where we register a IAuthorizationStrategy and a IUnauthorizedComponentInstantiationListener. Do those override the setPageExpiredErrorPage() somehow? I'm trying to understand the interplay so that I can give our users a meaningful message when they

Re: Understanding setPageExpiredErrorPage and onUnauthorizedInstantiation

2014-01-22 Thread jchappelle
Martin, I noticed in one of your posts you point out the difference between session expiration and page expiration. I have been thinking they are the same thing when they are obviously not. I'm looking to redirect when the session expires. Although thinking through this I'm not sure there is a

Re: Understanding setPageExpiredErrorPage and onUnauthorizedInstantiation

2014-01-22 Thread jchappelle
I think I have it working like I want now. The IExceptionMapper that I had registered was causing an issue. I'm not sure why but when I used the RequestCycleListener.onException method it seems to send me PageExpiredExceptions when the session expires. This way I can redirect to the login page

Re: tinymce textarea in a modal window not letting to type

2014-02-05 Thread jchappelle
I am having this same issue in wicket 6.13.0. Any fixes as of yet? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/tinymce-textarea-in-a-modal-window-not-letting-to-type-tp1886534p4664214.html Sent from the Users forum mailing list archive at Nabble.com.

  1   2   >