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 wrote: > > Hi guy

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 > 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
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 wrote: > pushed a new version including inject

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

2014-11-21 Thread Warren Bell
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

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

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

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

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

2014-11-20 Thread Warren Bell
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 mailto:warr...@clarksnutrition.com>> wrote: Ernesto, great job putting all that code together so quickly. I cloned your project and cherry picked out the code

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

2014-11-20 Thread Warren Bell
ead-1" 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 ma

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 mailto:bvellac...@yahoo.com>> wrote: Hi guys Is this thread

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 S&M 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
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

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

2013-12-11 Thread Warren Bell
3, at 2:26 PM, 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. &

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,

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

2013-12-11 Thread Warren Bell
ire 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. <div style='font-size:11.0pt;font-family:&qu

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 ad

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

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

2011-11-18 Thread Warren Bell
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
PricePanel(newPriceTextField, 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

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 wrote: > I hav

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: getResourc

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

Localizer in a new Thread

2010-07-29 Thread Warren Bell
sure I am going 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: Which form componnent had focus when form was submitted?

2010-04-21 Thread Warren Bell
m 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, Warr

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: Adding attributes to child components in a behavior.

2010-04-15 Thread Warren Bell
Regards - Cemal jWeekend OO & Java Technologies, Wicket Consulting, Development, Training http://jWeekend.com On 15 April 2010 20:17, Warren Bell wrote: > > I have that figured out, I just don't know how to add the attribute to each > > component. I can't add a beha

RE: Adding attributes to child components in a behavior.

2010-04-15 Thread Warren Bell
more)" Can I even do 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 Apri

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 Bayra

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

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

2010-02-18 Thread Warren Bell
to do 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

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:

InMethod grid AbstractColumn#getHeaderCssClass() problem.

2010-02-01 Thread Warren Bell
#x27;) != null;}.bind(this));return !wcall;"> Total My css class: .centerAlign { text-align: center; } -- 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
quot;annotation", for example: org.wicketstuff annotation 1.4.2-SNAPSHOT Warren Bell-2 wrote: I am trying to retrieve wicketstuff-core from repository and am getting the following "Missing artifact". Missing artifact org.wicketstuff:wicketstuff-core:jar:

Maven problem with wicketstuff

2010-01-26 Thread Warren Bell
true true ... org.wicketstuff wicketstuff-core 1.4.2-SNAPSHOT ... What am I doing wrong? Thanks, Warren - To unsubscribe, e-mail: users-unsubscr...@wicket.

Re: Model object properties go null after RestartResponseAtInterceptPageException.

2009-12-15 Thread Warren Bell
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 wrote: Does Any

RE: Model object properties go null after RestartResponseAtInterceptPageException.

2009-12-14 Thread Warren Bell
ter 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.apach

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: AbstractAjaxTimerBehavior on Modal Window causes PageExpiredException

2009-08-27 Thread Warren Bell
quest/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 Ni

RE: Choose one

2009-08-27 Thread Warren Bell
) 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. If I

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: LoadableDetachableModel#load() called twice

2009-08-21 Thread Warren Bell
hoice("myListChoiceSelectedObject", new LoadableDetachableModel>(){...}, new IChoiceRenderer(){...})); ... } } Thanks for your help Warren -Original Message- From: jWeekend [mailto:jweekend_for...@cabouge.com] Sent: Friday, August 21, 2009 11:37 AM To: users@wicket.apac

LoadableDetachableModel#load() called twice

2009-08-21 Thread Warren Bell
the new choice added to the ListChoice. Is there a better way of doing this? Warren

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, If

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 "vendorEditForm"s: public class HomePage extends WebPage { private List vendors = Arrays.asList(new Vendor("v1"),

Model question ?

2009-08-14 Thread Warren Bell
e model named vendor when I realy want the selected ListChoice vendor object be the model object and have the TextField access the accountNumber property of the ListChoice vendor. How should I set up my model to deal with this type of situation or is a ValueM

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
rmission} "${MyPage}: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 go

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
ed void onSubmit(AjaxRequestTarget arg0, Form arg1) { 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 prob

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

2009-06-10 Thread Warren Bell
hive.authorization.permissions.ComponentPermission "com.webperformance.portal.web.Page2", "inherit, render"; permission org.apache.wicket.security.hive.authorization.permissions.ComponentPermission "com.webperformance.portal.web.Page2", "enable"; }; Warren Luca Provenzani wrote: i

Re: Ajax Buttons and Form

2009-06-08 Thread Warren Bell
hableModel() { @Override protected Post load() { return postService.save(post); } })); Warren Luther Baker wrote: I'm saving a 'Post', like a blog post, and JPA's mer

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

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

Redirect to a static pdf in popup/new tab

2009-04-28 Thread Warren Bell
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

setOutputMarkupPlaceholderTag(true) not working on modal window

2009-04-08 Thread Warren Bell
component whose markup you are trying to update. I am calling Component#setOutputMarkupId(true), Component#setMarkupId(String id) and Component#setOutputMarkupPlaceholderTag(true). What do I need to do to make this work? Thanks, Warren

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
tional commands, e-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
tion: java.lang.Integer at java.lang.String.compareTo(String.java:90) The example app shows it coded this way, but NumberValidator has been deprecated. add(new RequiredTextField("integerInRangeProperty").add(NumberValidator.range(0, 100))); What is the correct way of using RangeV

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.isActionAu

Wicket-Security security check on component on a panel

2009-03-11 Thread Warren Bell
t.getPage(Component.java:1729) 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 ---

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 For

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
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: 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 the

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

2009-02-13 Thread Warren Bell
tle messy 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

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 wrote: I have just started to look at the inmethod datagrid in wicketstuff. The one thing tha

Re: Redirecting to external URL

2009-01-01 Thread Warren Bell
ter or DNS 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 P

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

Redirecting to external URL

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

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: 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: 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 onSubmit(AjaxRequest

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

2008-04-24 Thread Warren
> not the page > > > > 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 re

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

2008-04-23 Thread Warren
It looks like this was a problem in 1.3.1. I upgraded to version 1.3.3 and the problem has been fixed. > -Original Message- > From: Warren [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 22, 2008 4:50 PM > To: users@wicket.apache.org > Subject: Return to Original Desti

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

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

RE: isVisible() with surrounding Markup and LoadableDetachableModel

2008-04-22 Thread Warren
836) >at > org.apache.wicket.MarkupContainer.visitChildren(MarkupContainer.java:861) >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 i

RE: isVisible() with surrounding Markup and LoadableDetachableModel

2008-04-21 Thread Warren
e a normal request followed by an > ajax one... > > -igor > > > On Mon, Apr 21, 2008 at 9:07 PM, Warren > <[EMAIL PROTECTED]> wrote: > > Stack trace in load() and onDetach() > > > > > > java.lang.Exception > > at load.Load$1.load

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 l.java

RE: isVisible() with surrounding Markup and LoadableDetachableModel

2008-04-21 Thread Warren
Markup and > LoadableDetachableModel > > > are you sure it is the same request and there is no redirect in > between? do new Exception().printStackTrace() inside your isvisible to > see where it is being called from > > -igor > > > On Mon, Apr 21, 200

RE: isVisible() with surrounding Markup and LoadableDetachableModel

2008-04-21 Thread Warren
sers@wicket.apache.org > Subject: Re: 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 > >

isVisible() with surrounding Markup and LoadableDetachableModel

2008-04-21 Thread Warren
LoadableDetachableModel being called twice. Dept: Supplements Label departmentName = new Label("lineItem.item.department.departmentName") { public boolean isVisible() { // How do I check value without load() being called again } }; Thank

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 s

LoadableDetachableModel load() question

2008-04-08 Thread Warren
// Other Labels ... } } } 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
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 ther

RE: Get informed about invalidation of a session

2008-04-03 Thread Warren
t: Re: Get informed about 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

RE: Get informed about invalidation of a session

2008-04-03 Thread Warren
(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 > Subjec

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: Wedne

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

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

2008-03-25 Thread Warren
vent > the user from accessing pages the previous user visited if he also has > 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 ma

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

2008-03-25 Thread Warren
t the request. after the request we > detach it again. > > Maurice > > On Tue, Mar 25, 2008 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 qu

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

2008-03-25 Thread Warren
ogins. > I don't think multiple logins is what you want, 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]>

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

2008-03-25 Thread Warren
g in again. > > Maurice > > On Tue, Mar 25, 2008 at 5:41 PM, Warren > <[EMAIL PROTECTED]> wrote: > > How do you deal with the situation where a user uses the > browser back button > > and ends up on a login page and then trys to login again? In > other words, >

Wicket-Security Back Button and Login more than once

2008-03-25 Thread Warren
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: 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 w

RE: Clearing Feedback Messages from the Session

2008-03-15 Thread Warren
e.markrendered() ? > > -igor > > > On Sat, Mar 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 >

  1   2   >