Re: Clicking a button should fire a 'CSS event'

2015-02-03 Thread Warren Bell
Chris, Seems like a lot of work just to get a div to blink. Write a behavior with some javascript for the blinking and do that on the client only separate from your form submission or whatever else your button is doing. Warren On Feb 3, 2015, at 1:30 PM, Chris chris...@gmx.at wrote: Hi

Re: Wicketstuff Restannotations AbortWithHttpErrorCodeException always results in 500 Internal Server Error

2015-01-28 Thread Warren Bell
meant to be used in rest-annotations. Hope this helps, Warren Bell On Jan 28, 2015, at 7:58 AM, Hans Lesmeister hans.lesmeis...@lessy-software.de wrote: Hi, We use the great rest-annotation from wicketstuff. One thing that bothers is if the AbortWithHttpErrorCodeException with a specific

Re: What is the proper way to start a secondary process in Wicket 6

2014-11-22 Thread Warren Bell
a little easier to use. I need to look more into the different types of Thread pools and such. I used: ThreadContext.detach(); instead of: ThreadContext.setApplication(null); Warren Bell On Nov 22, 2014, at 11:18 AM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: pushed a new version

Re: What is the proper way to start a secondary process in Wicket 6

2014-11-21 Thread Warren Bell
to the new thread. Injecting the service in a Service holder is the same thing, isn’t it ? I haven’t tried attaching the app to the new thread and injecting the service straight into the new task/thread itself. I think that would be cleaner. I will try that out. Warren Bell On Nov 21, 2014, at 8:19 AM

Re: What is the proper way to start a secondary process in Wicket 6

2014-11-20 Thread Warren Bell
org.apache.wicket.WicketRuntimeException: There is no application attached to current thread pool-1-thread-1 Do I need to get the application attached to my new threads somehow so I can use my injected service, and if so, how do I do that ? Warren On Nov 20, 2014, at 5:47 AM, Ernesto Reinaldo Barreiro reier

Re: What is the proper way to start a secondary process in Wicket 6

2014-11-20 Thread Warren Bell
of creating secondary processes, maybe an internal thread pool that can be set-up ? Warren Bell On Nov 20, 2014, at 10:03 AM, Warren Bell warr...@clarksnutrition.commailto:warr...@clarksnutrition.com wrote: Ernesto, great job putting all that code together so quickly. I cloned your project and cherry

Re: What is the proper way to start a secondary process in Wicket 6

2014-11-20 Thread Warren Bell
need to use an injected service in it ? Warren Bell On Nov 20, 2014, at 11:33 AM, Warren Bell warr...@clarksnutrition.com wrote: I have seen this from a 2010 post: final Application app = Application.get(); final ExecutorService service = new ScheduledThreadPoolExecutor(1

Is there a hook where I can run code after response and connection is closed

2014-11-20 Thread Warren Bell
in my “REST Annotations” implementation of IResource. Thanks, Warren Bell - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

What is the proper way to start a secondary process in Wicket 6

2014-11-19 Thread Warren Bell
request 2) Log some data (Do not wait for this to complete) 3) Process request 4) Return response Thanks, Warren Bell - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h

Re: Integrating Wicket with an Angular app

2014-10-30 Thread Warren Bell
I have an Angular app with a Wicket back end. I am using Wicket rest annotations located at https://github.com/bitstorm/Wicket-rest-annotations . Seems to be working pretty good. Warren On Oct 30, 2014, at 2:04 PM, BenjaminV bvellac...@yahoo.commailto:bvellac...@yahoo.com wrote: Hi guys

Re: how to handle null pointer exception while submit button

2014-10-05 Thread Warren Bell
OK, a little confused, AWT, Applet ? Is Wicket up to something I haven’t heard about ? Warren On Oct 5, 2014, at 7:57 PM, Taught by SM qaidjoharbarbh...@gmail.com wrote: This code will help to handle exceptions when there is a single TextField: import java.awt.*; import java.awt.event

Wicket serving AngularJS app

2013-12-23 Thread Warren Bell
an initial cookie. What would be the best way to do this ? I was thinking of just making the index.html file a wicket page with no components or should I use a WebExternalResourceRequestHandler or something similar ? Thanks, Warren -- This email was Virus checked by Clark's Nutrition's Astaro

How do I access Wicket's string resources in a non component class ?

2013-12-11 Thread Warren Bell
a Component. I am using Wicket version 6.10.0. I have a REST resource named UserResource.java and messages in UserResource.properties. Thanks Warren -- This email was Virus checked by Clark's Nutrition's Astaro Security Gateway. lt;div style='font-size:11.0pt;font-family:quot;Tahomaquot;'gt

Re: How do I access Wicket's string resources in a non component class ?

2013-12-11 Thread Warren Bell
DefaultBundleResolver(MyRestResource.class); String message = defaultBundleResolver.getMessage(test, null); Is this the correct way to use this class or is their a way for it to plug into Wicket via Application#Init() method and then get the Localizer and use it? Thanks, Warren On Dec 11, 2013, at 1:30 PM

Re: How do I access Wicket's string resources in a non component class ?

2013-12-11 Thread Warren Bell
, Warren Bell wrote: I think this is exactly what I am looking for. I had an older version of Wicket REST Annotations that did not have this class. I do have a question about its usage. I did the following in my resource class and it does work. DefaultBundleResolver

Re: Refreshing repeating view

2011-11-29 Thread Warren Bell
#modelChanged() on the component. This forces it to use the new value. I finally figured this out with some help from Cemal Bayramoglu. Hopefully you won't spend as much time as I did. Thanks, Warren Bell On 11/29/11 6:38 AM, mohan mohan wrote: Hi I am using RepeatingView to add dynamic text

Re: WiQuery vs JQWicket

2011-11-23 Thread Warren Bell
Have you tried the InMethod grid, and if you have is there a reason you are looking for something different? I am just curious. Thanks, Warren On 11/23/11 8:26 AM, Brian Mulholland wrote: As I am looking at them, I am not noticing either implementing the jQuery grid, much less the paging

RE: InMethod grid, Hidden Field in column does not get updated

2011-11-18 Thread Warren Bell
for both fields. I thought that when you add a component to the target that the component and all its children would get updated. I see the HiddenField coming back in the Ajax response, it just has the old value. Thanks, Warren -Original Message- From: Warren Bell Sent: Wednesday

InMethod grid, Hidden Field in column does not get updated

2011-11-16 Thread Warren Bell
, oldNewPriceHiddenField); return panel; } }; Also, the oldNewPrice property of the oldNewPriceHiddenField does change after SubmitCancelColumn gets clicked. What do I need to do to get the HiddenField to update correctly? Thanks, Warren Bell -- This email was Virus checked by Clark's

RE: dynamically adding validators to TextFields in a ListView

2010-08-19 Thread Warren Bell
...@gmail.com] Sent: Wednesday, August 18, 2010 10:40 PM To: users@wicket.apache.org Subject: Re: dynamically adding validators to TextFields in a ListView whatever is creating the textfield should add the appropriate validator -igor On Wed, Aug 18, 2010 at 10:01 PM, Warren Bell warr

dynamically adding validators to TextFields in a ListView

2010-08-18 Thread Warren Bell
and so on. What is the best way to do this type of validation? Warren

RE: Localizer in a new Thread

2010-07-30 Thread Warren Bell
I am not sure how to preload the the values. I am trying this, but am not getting anywhere. myApp.getResourceSettings().getPropertiesFactory().load(ScanManTask.clas s, com.scanman.cron.task) I have a properties file named ScanManTask.properties and have added it to my app like this:

Localizer in a new Thread

2010-07-29 Thread Warren Bell
about this the wrong way. What's the best way to get message localization in a new thread ? Thanks, Warren mailto:don...@prosolutionssd.com

RE: Localizer in a new Thread

2010-07-29 Thread Warren Bell
To clarify, I want to use Localizer#getString(...) in a thraed I create. I have seen other posts on this issue, but haven't been able to figure out the solution. Warren -Original Message- From: Warren Bell [mailto:warr...@clarksnutrition.com] Sent: Thursday, July 29, 2010 3:31 PM

Which form componnent had focus when form was submitted?

2010-04-21 Thread Warren Bell
problems with some of the Ajax I tried to use. Thanks, Warren

Re: Which form componnent had focus when form was submitted?

2010-04-21 Thread Warren Bell
was submited, or maybe a Form onSubmit(Component componentInFocus). Just a thought, I end up doing a lot of this. Warren Igor Vaynberg wrote: you have to keep a HiddenField component and populate its value using javascript. -igor On Wed, Apr 21, 2010 at 9:41 AM, Warren Bell warr

Adding attributes to child components in a behavior.

2010-04-15 Thread Warren Bell
components, but can't figure out how to add the attribute to the components. Warren

Re: Adding attributes to child components in a behavior.

2010-04-15 Thread Warren Bell
I have that figured out, I just don't know how to add the attribute to each component. I can't add a behavior, since Cannot modify component hierarchy after render phase has started (page version cant change then anymore) Can I even do this in a behavior? Cemal Bayramoglu wrote: Warren, See

RE: Adding attributes to child components in a behavior.

2010-04-15 Thread Warren Bell
this in a behavior? Cemal Bayramoglu wrote: Warren, See MarkupContainer#visitChildren Regards - Cemal jWeekend OO Java Technologies, Wicket Consulting, Development, Training http://jWeekend.com On 15 April 2010 18:44, Warren Bell warr...@clarksnutrition.com wrote: Is there a way

Re: Adding attributes to child components in a behavior.

2010-04-15 Thread Warren Bell
OO Java Technologies, Wicket Consulting, Development, Training http://jWeekend.com On 15 April 2010 20:17, Warren Bell warrenbe...@gmail.com wrote: I have that figured out, I just don't know how to add the attribute to each component. I can't add a behavior, since Cannot modify component

Behavior does not work when visibility is changed from false to true

2010-02-18 Thread Warren Bell
to make this behavior work after visibility is changed from false to true? -- Thanks, Warren Bell - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

InMethod grid AbstractColumn#getHeaderCssClass() problem.

2010-02-01 Thread Warren Bell
Wicket.$('id20') != null;}.bind(this));return !wcall; div class=imxt-sort-header1divTotal/div/div /a/diva class=imxt-handle href=# onclick=return false/a/div/th My css class: .centerAlign { text-align: center; } -- Thanks, Warren

Re: InMethod grid AbstractColumn#getHeaderCssClass() problem.

2010-02-01 Thread Warren Bell
Your first suggestion worked: th.centerAlign * { text-align: center !important; } Sorry about that, I just don't know my css very well. Just a suggestion, but maybe the JavaDocs should mention something about that? Also, what is the future of InMethod? Warren Matej Knopp wrote

Maven problem with wicketstuff

2010-01-26 Thread Warren Bell
... What am I doing wrong? Thanks, Warren - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: Maven problem with wicketstuff

2010-01-26 Thread Warren Bell
artifact. You have to specify the actual JAR you need, like annotation, for example: dependency groupIdorg.wicketstuff/groupId artifactIdannotation/artifactId version1.4.2-SNAPSHOT/version /dependency Warren Bell-2 wrote: I am trying to retrieve wicketstuff-core from repository and am getting

Re: Model object properties go null after RestartResponseAtInterceptPageException.

2009-12-15 Thread Warren Bell
public ValueMap getObject() { return getScanManApp().getAppProperties(); } }); Johan Compagner wrote: isnt your page not just a brand new shiny new instance? place a breakpoint in your constructor On 14/12/2009, Warren Bell warr

RE: Model object properties go null after RestartResponseAtInterceptPageException.

2009-12-14 Thread Warren Bell
a RestartResponseAtInterceptPageException. All of the keys in the ValueMap are still there. What do I need to do to fix this? Warren - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Model object properties go null after RestartResponseAtInterceptPageException.

2009-12-11 Thread Warren Bell
need to do to fix this? Warren - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

RE: Choose one

2009-08-27 Thread Warren Bell
(yourpage.dropdownchoice.defaultvalue, this) for your different languages. Warren -Original Message- From: Gatos [mailto:ega...@gmail.com] Sent: Thursday, August 27, 2009 5:46 AM To: users@wicket.apache.org Subject: Choose one After I choose something in DropDownChoice then 'Choose one' item is removed from the list

RE: AbstractAjaxTimerBehavior on Modal Window causes PageExpiredException

2009-08-27 Thread Warren Bell
/response was made from the AbstractAjaxTimerBehavior. Is there a way of finding out when the last AbstractAjaxTimerBehavior response comes back from the server before closeing the Modal Window or am I going down the wrong path here? Warren -Original Message- From: Mathias Nilsson

AbstractAjaxTimerBehavior on Modal Window causes PageExpiredException

2009-08-26 Thread Warren Bell
I am getting a PageExpiredException when I close a modal window that has an AbstractAjaxTimerBehavior on it. What do I need to do to fix this? Thanks

RE: LoadableDetachableModel#load() called twice

2009-08-21 Thread Warren Bell
I need to read you response a little better. The choice id is being submitted with the form the button is on. Now if I have the button on a different form, can I update the ListChoice by simply adding the ListChoice to the target? Warren -Original Message- From: Warren Bell [mailto:warr

RE: Model question ?

2009-08-15 Thread Warren Bell
Is there any issues you need to be concerned with when using the page itself as the model object? Warren -Original Message- From: jWeekend [mailto:jweekend_for...@cabouge.com] Sent: Friday, August 14, 2009 5:43 PM To: users@wicket.apache.org Subject: RE: Model question ? Warren

Model question ?

2009-08-14 Thread Warren Bell
? Thanks, Warren - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

RE: Model question ?

2009-08-14 Thread Warren Bell
@wicket.apache.org Subject: Re: Model question ? Warren, ... and if you prefer using a CPM for your vendorEditForms: public class HomePage extends WebPage { private ListVendor vendors = Arrays.asList(new Vendor(v1), new Vendor

AbstractAjaxTimerBehavior on Modal Window causes PageExpiredException

2009-08-04 Thread Warren Bell
manually. I think the two ajax requests are conflicting with each other, one to close the window and the other from the timer. Is there a way to prevent this PageExpiredException from happening or is there a better way to auto close a modal window? Thanks, Warren

Re: How to Hidden/Disabled Wicket tree with implementation wicket security

2009-07-17 Thread Warren Bell
}:myPanel:myForm:myWebMarkupContainer:myButton, inherit, render, enable; I seem to remember a similar problem that I had. It involved the way I used a WebMarkupContainer, a form and a panel. I messed around with how I nested the different components and I got it to work. Go figure? Warren Rizal Indra

Re: How to Hidden/Disabled Wicket tree with implementation wicket security

2009-07-16 Thread Warren Bell
Try this: Warren public class SecureWebMarkupContainer extends WebMarkupContainer implements ISecureComponent { public SecureWebMarkupContainer(String id) { super(id); setSecurityCheck(new ComponentSecurityCheck(this)); } public SecureWebMarkupContainer(String

Re: wicketstuff mini veil

2009-06-17 Thread Warren Bell
) { modelString = + new Random().nextLong(); arg0.addComponent(label); } } I have not used setDefaultModelObject(...) before. I read that you shouldn't set a model object this way. Maybe that is causing a problem? Warren Jing Ge (Besitec IT DEHAM) wrote: Hello, After doing

Re: getting started with swarm/wasp - rendering links to secure pages

2009-06-10 Thread Warren Bell
, inherit, render; permission org.apache.wicket.security.hive.authorization.permissions.ComponentPermission com.webperformance.portal.web.Page2, enable; }; Warren Luca Provenzani wrote: i don't think it is possible to do... because HomePage isn't a secure page and then it's not under swarm control

Re: ModalWindows...

2009-04-29 Thread Warren Bell
} }); Warren Vidhya Kailash wrote: 3. Can somebody please tell how to communicate between the page and the modal window? thanks - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional

Redirect to a static pdf in popup/new tab

2009-04-28 Thread Warren Bell
. Is there a better way of getting this to work? Thanks, Warren - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: Redirect to a static pdf in popup/new tab

2009-04-28 Thread Warren Bell
? cheers, Steve On 28 Apr 2009, at 17:11, Warren Bell wrote: I have a situation where a user needs to click on many links on one page and display many static pdfs each in a new tab or popup. The problem is that I need to do some processing on the original page in the Link#onClick before I

Button markup id is missing on Modal Window

2009-04-06 Thread Warren Bell
), Component#setMarkupId(String id) and Component#setOutputMarkupPlaceholderTag(true). If I start with everything visible and then remove all of them, it works fine. It looks like Component#setOutputMarkupPlaceholderTag(true) is not working. What do I need to do to make this work? Thanks, Warren

Closeing 1st Modal Window from 2nd Modal Window

2009-04-02 Thread Warren Bell
I have a situation that is like the Wicket example that opens two modal windows one from another. Everything is working correctly, but I need to close the 1st window when the 2nd window is closed. How would you do this? Thanks, Warren

Re: Correct use of RangeValidator

2009-03-17 Thread Warren Bell
-mail: users-h...@wicket.apache.org -- Thanks, Warren Bell 909-645-8864 warrenbe...@gmail.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Correct use of RangeValidator

2009-03-16 Thread Warren Bell
you type it? Warren - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: Wicket-Security security check on component on a panel

2009-03-12 Thread Warren Bell
Doing the security check in onBeforeRender() in the Panel fixed it. I did not have a Page yet. Warren I am trying to do a security check on a component that is on a panel like this: if(SecureComponentHelper.isAuthenticated(myComponent) SecureComponentHelper.isActionAuthorized

Wicket-Security security check on component on a panel

2009-03-11 Thread Warren Bell
) at org.apache.wicket.security.components.SecureComponentHelper.alias(SecureComponentHelper.java:259) ... 35 more How do you do a security check on a component that is on a panel? Thanks, Warren - To unsubscribe, e-mail

Passing a PageParameters to a RedirectRequestTarget

2009-03-07 Thread Warren Bell
Is there a way of passing a PageParameters to a RedirectRequestTarget without pulling apart PageParameters and adding them to the url? Thanks, Warren - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org

Re: How can I injecting a Springbean into a custom session.

2009-03-06 Thread Warren Bell
Do you still have to use addComponentInstantiationListener(new SpringComponentInjector(this)) in your WebApplication#init() in order to use @SpringBean in sub classes of Component or is that done automatically now? Warren Igor Vaynberg wrote: all subclasses of Component are injected

Maurice Marrink will be greatly missed.

2009-03-03 Thread Warren Bell
will be greatly missed. Thanks, Warren Bell - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: What's your take on handling markup in properties, html, wicket

2009-02-13 Thread Warren Bell
Warren Mathias P.W Nilsson wrote: Hi, Just wondering how this should be handled without DRY. In many scenarios we have multiple languages that should have the same markup but different text. This could be handled by using variation and put every language in an own html file like

Re: How to get a reference to the holding page from a panel

2009-02-13 Thread Warren Bell
I have a simmilar situation where I want to put a panel nested in a panel nested in a page. The panel that is nested in the page stays the same for many different pages, but the panel nested into the panel changes. Would you do an anonymous panel class within an anonymous panel class within

Re: inmethod grid and add/delete examples

2009-02-12 Thread Warren Bell
The books Wicket in Action and Enjoying Web Development with Wicket helped me a lot when I first started using Wicket. Warren On Wed, Feb 11, 2009 at 9:58 AM, Will Jaynes wjay...@gmail.com wrote: I have just started to look at the inmethod datagrid in wicketstuff. The one thing

Redirecting to external URL

2009-01-01 Thread Warren Bell
)); } } } Thanks, Warren - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: Redirecting to external URL

2009-01-01 Thread Warren Bell
)); Warren Bell wrote: I need to redirect to an external page. I saw this solution, but was not sure how to use it. Where does this exception get thrown? I do not want to instantiate some kind of dummy page. public class RedirectToExternalException extends AbstractRestartResponseException { private

Re: Redirecting to external URL

2009-01-01 Thread Warren Bell
resolver... Warren Bell wrote: I need to explain myself a little better. This is the situation, I have several locations that are on different subnets. They are all connected with a VPN. Each subnet has its own server running this wicket app. The app clients are running on mobile scanning PDAs

Where has InMethod.com gone?

2008-11-25 Thread Warren Bell
, Warren - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

How do you get a LoadableDetachableModel to load again

2008-08-26 Thread Warren Bell
deleted? I want the page to go back to itself after the item is deleted. I do not want to create a new page. -- Thanks, Warren - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: FeedbackPanel not displaying message

2008-05-01 Thread Warren
Here is how I submit a form from a text field when the user presses the enter key. I haven't tried this on an AjaxSubmitLink. textField.add(new AjaxFormSubmitBehavior(onkeypress) { protected void

RE: Difficulty getting QuickStart

2008-05-01 Thread Warren
I was having some problems until I went to this site: http://herebebeasties.com/2007-10-07/wicket-quickstart/ There is a screencast there that will show you everything. It was real helpful. -Original Message- From: Frank Silbermann [mailto:[EMAIL PROTECTED] Sent: Thursday, May 01,

RE: Return to Original Destination gets the ajax response and not the page

2008-04-24 Thread Warren
What wicket version are you using? I know this bug has been fixed for version 1.3.2 and above regards, Michael Warren Bell wrote: I am getting an ajax response xml instead of the page when I return to original destination page that is ajax enabled after

RE: isVisible() with surrounding Markup and LoadableDetachableModel

2008-04-22 Thread Warren
) at org.apache.wicket.markup.html.WebPage.onDetach(WebPage.java:425) was just for checking for headers that really wasnt correct. But this was already fixed in 1.3.3 if i am not mistaken johan On Tue, Apr 22, 2008 at 6:07 AM, Warren [EMAIL PROTECTED] wrote: Stack trace in load

Return to Original Destination gets the ajax response and not the page

2008-04-22 Thread Warren
::IActivePageBehaviorListener:0:-1wicket:ignoreIfNotAct ive=truerandom=0.8907246112298193 What am I doing wrong? Thanks, Warren Bell - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

isVisible() with surrounding Markup and LoadableDetachableModel

2008-04-21 Thread Warren
) { public boolean isVisible() { // How do I check value without load() being called again } }; Thanks, Warren Bell - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: isVisible() with surrounding Markup and LoadableDetachableModel

2008-04-21 Thread Warren
: isVisible() with surrounding Markup and LoadableDetachableModel loadable detachable model caches the value for the request, so even though getobject() is called multiple times, load() is only called once. -igor On Mon, Apr 21, 2008 at 6:59 PM, Warren [EMAIL PROTECTED] wrote: I

RE: isVisible() with surrounding Markup and LoadableDetachableModel

2008-04-21 Thread Warren
to see where it is being called from -igor On Mon, Apr 21, 2008 at 7:15 PM, Warren [EMAIL PROTECTED] wrote: I did this in isVisible() and load was called twice. public boolean isVisible() { return !super.getModelObjectAsString().equals(); } -Original

RE: isVisible() with surrounding Markup and LoadableDetachableModel

2008-04-21 Thread Warren
Stack trace in load() and onDetach() java.lang.Exception at load.Load$1.load(Load.java:26) at org.apache.wicket.model.LoadableDetachableModel.getObject(LoadableDetachable Model.java:114) at org.apache.wicket.model.CompoundPropertyModel.getObject(CompoundPropertyMode

RE: isVisible() with surrounding Markup and LoadableDetachableModel

2008-04-21 Thread Warren
and LoadableDetachableModel are you really sure this is all one request, because it looks like once detach is called from a page request target, and once from ajax request target, which would indicate a normal request followed by an ajax one... -igor On Mon, Apr 21, 2008 at 9:07 PM, Warren

LoadableDetachableModel and load() method question

2008-04-18 Thread Warren
it causing problems. Is there a better way to achieve what I am trying to do? Thanks, Warren Bell - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Notification on session destroyed?

2008-04-16 Thread Warren
What is wrong with extending HttpSessionStore and overiding AbstractHttpSessionStore#onBind(Request request, Session newSession) and AbstractHttpSessionStore#onUnbind(java.lang.String sessionId)? These two methods look like they are there to do exactly what you are talking about. Docs on onUnbind

LoadableDetachableModel load() question

2008-04-08 Thread Warren
... } } } Thanks, Warren Bell - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Get informed about invalidation of a session

2008-04-03 Thread Warren
()); } sessions.remove(sessionId); } } ... } Please let me know if there is a problem doing it this way. Warren -Original Message- From: Robert Novotny [mailto:[EMAIL PROTECTED] Sent: Thursday, April 03, 2008 3:37 AM To: users@wicket.apache.org Subject: RE: Get

RE: Get informed about invalidation of a session

2008-04-03 Thread Warren
invalidation of a session when a session is invalidated you cant call get or set attribute anymore on it also holding on the sessions outside of request is not something you should do On Thu, Apr 3, 2008 at 5:51 PM, Warren [EMAIL PROTECTED] wrote: I am extending HttpSessionStore

RE: Get informed about invalidation of a session

2008-04-03 Thread Warren
to rethink how I am doing things. Thanks, Warren -Original Message- From: Johan Compagner [mailto:[EMAIL PROTECTED] Sent: Thursday, April 03, 2008 1:56 PM To: users@wicket.apache.org Subject: Re: Get informed about invalidation of a session that there only can be 100 can be checked

RE: Get informed about invalidation of a session

2008-04-02 Thread Warren
I am doing kind of the same thing in HttpSessionStore#onUnbind(String sessionId), but I have to keep track of all the sessions. I have a use case that requires me to log off everyone at once. Hope this helps you. -Original Message- From: BatiB80 [mailto:[EMAIL PROTECTED] Sent:

RE: Swarm Examples

2008-04-01 Thread Warren
http://wicketstuff.org/confluence/display/STUFFWIKI/Wicket-Security+Examples -Original Message- From: Gareth Segree [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 01, 2008 8:21 PM To: users@wicket.apache.org Subject: Re: Swarm Examples Where can I download source code for the

Wicket-Security Back Button and Login more than once

2008-03-25 Thread Warren
and start the new user from the home page. I wrote something that kind of works, but I keep running into little problems with it. What would be the best way to do this? Thanks, Warren Bell - To unsubscribe, e-mail: [EMAIL PROTECTED

RE: Wicket-Security Back Button and Login more than once

2008-03-25 Thread Warren
the user input against the username and password from the loggedin user. Also you can a check on the loginpage to determine if there is already a logged in user, if there is and it is the same username you can skip logging in again. Maurice On Tue, Mar 25, 2008 at 5:41 PM, Warren [EMAIL PROTECTED

RE: Wicket-Security Back Button and Login more than once

2008-03-25 Thread Warren
, but if that is the case you could take a look at the constructors of LoginContext, they let you change the default behavior. Maurice On Tue, Mar 25, 2008 at 7:07 PM, Warren [EMAIL PROTECTED] wrote: Where would you check to see if the same user was trying to log on again, in the LoginContext? I can

RE: Wicket-Security Back Button and Login more than once

2008-03-25 Thread Warren
at 10:03 PM, Warren [EMAIL PROTECTED] wrote: Your checking in your constructor or in an onSubmit() of a form on your Login Page? I'm sorry, I am not quite following you. And are you keeping password info in your User reference or are you looking it up from db or wherever every time

RE: Wicket-Security Back Button and Login more than once

2008-03-25 Thread Warren
permission to access that page though. for that you really need a new session. Maurice On Tue, Mar 25, 2008 at 11:14 PM, Warren [EMAIL PROTECTED] wrote: Ok, that makes sense. Is there a problem logging off and then immediately logging a new user on. I am doing this in the case

Clearing Feedback Messages from the Session

2008-03-15 Thread Warren
onBeforeRender() is called. I call getFeedbackMessages().messages(null) and then immediately call cleanupFeedbackMessages(). I basically am looking to duplicate what a feedback panel does. What do I need to do to clear all the messages from the Session after I retrieve them? Thanks, Warren Bell

RE: Clearing Feedback Messages from the Session

2008-03-15 Thread Warren
15, 2008 at 12:39 PM, Warren [EMAIL PROTECTED] wrote: I am displaying feedback messages using a js alert window instead of a feedback panel. Everything works except that I end up displaying the same message twice. Once for the original request and then again for the following request

RE: Clearing Feedback Messages from the Session

2008-03-15 Thread Warren
What is cleanupFeedbackMessages() used for ? -Original Message- From: Warren [mailto:[EMAIL PROTECTED] Sent: Saturday, March 15, 2008 9:37 PM To: users@wicket.apache.org Subject: RE: Clearing Feedback Messages from the Session That's what I was looking for, Thanks -Original

RE: Different content for user

2008-03-13 Thread Warren
Take a look at Wicket-Security at Wicket Stuff site. http://wicketstuff.org/confluence/display/STUFFWIKI/Wicket-Security I am using it to do the same types of things you are talking about, and it works great. -Original Message- From: Mathias P.W Nilsson [mailto:[EMAIL PROTECTED]

RE: Default Focus Behavior?

2008-03-09 Thread Warren
WebMarkupContainer bodyTag = new WebMarkupContainer(bodyTag); bodyTag.add(new SimpleAttributeModifier(onload, form.username.focus();)); -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of James Carman Sent: Sunday, March 09, 2008 7:58 AM To:

RE: Default Focus Behavior?

2008-03-09 Thread Warren
PROTECTED] Behalf Of James Carman Sent: Sunday, March 09, 2008 8:52 AM To: users@wicket.apache.org Subject: Re: Default Focus Behavior? On 3/9/08, James Carman [EMAIL PROTECTED] wrote: On 3/9/08, Warren [EMAIL PROTECTED] wrote: WebMarkupContainer bodyTag = new WebMarkupContainer(bodyTag

RE: Default Focus Behavior?

2008-03-09 Thread Warren
=keyPressed() ... Do you have any suggestions or ideas? On 3/9/08, James Carman [EMAIL PROTECTED] wrote: On 3/9/08, Warren [EMAIL PROTECTED] wrote: WebMarkupContainer bodyTag = new WebMarkupContainer(bodyTag); bodyTag.add(new SimpleAttributeModifier(onload, form.username.focus

  1   2   >