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
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
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
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
Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Thu, Nov 20, 2014 at 7:26 AM, Ernesto Reinaldo Barreiro
reier...@gmail.com wrote:
Hi Warren,
On Thu, Nov 20, 2014 at 12:46 AM, Warren Bell
warrenbe...@gmail.com
wrote:
I am using Wicket 6 REST annotations and want
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
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
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
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
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
Is
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.*;
I am using Wicket 6 to manage an AngularJS app. Currently I am just letting
Tomcat serve the AngularJS client i.e. index.html and using Wicket for
authentication, authorization and REST. But I would like to use Wicket to serve
up the client so that I can manage css and js resources and set an
I want to access Wicket's string resources in a non component class. I am aware
of getLocalizer().getString(...) for a component, but how do you do this in a
non Component based class and how do you make Wicket aware of the message
bundle ? All of the Localizer#getString(...) methods require a
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 defaultBundleResolver = new
, 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
#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
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
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
,
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
...@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
I have a ListView that adds one TextField to each ListItem. These
TextFields need to have different types of validators added to them
depending on a condition. One TextField in the first ListItem may need
an email validator while the TextField in the next ListItem may need a
number range validator
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:
I want to take advantage of Wicket's message localization in a new
thread I have created. I am trying to pass the localizer to a thread
that runs background tasks. I am geting an
org.apache.wicket.WicketRuntimeException: There is no application
attached to current thread I am sure I am going
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
Is there a way to figure out in a forms onSubmit which text field or
button had focus when the form is submitted. I have done something in js
to achieve this, but wanted to see if there was something already built
in Wicket. I am limited to using form submit only no Ajax. Windows CE is
having
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
Is there a way to add attributes to child components in a behavior that
is added to a page? I want to create a behavior that is added to a page
that adds some js to the header and then adds some js in an onfocus
attribute of each child form component on the page. I have the list of
child form
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 to add attributes to child components in a behavior that
is added
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
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
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
I am having a problem with AbstractColumn#getHeaderCssClass() in an
inmethod datagrid. It is writing my css class to the th tag but my css
class is not working. I think it is something to do with IE8.
Unfortunately the company that uses this app uses IE8 and the app is
written for IE8. Digging
, this should
div.imxt-vista table.imxt-head th.centerAlign div.imxt-a {
text-align:center !important;
}
You should use firebug (or something similar) to inspect the elements
to see which CSS ruels get applied and how to override them.
-Matej
On Mon, Feb 1, 2010 at 4:45 PM, Warren Bell warrenbe
I am trying to retrieve wicketstuff-core from repository and am getting
the following Missing artifact.
Missing artifact org.wicketstuff:wicketstuff-core:jar:1.4.2-SNAPSHOT:compile
my pom
...
repository
idwicket-snaps/id
urlhttp://wicketstuff.org/maven/repository/url
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
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
Does Any body have any ideas, I am stuck and can't figure this out.
I have a page with about 10 text fields. The model for the page is a
ValueMap. All of the values in the ValueMap get set to null when a user
gets redirected back to the original page after a
I have a page with about 10 text fields. The model for the page is a
ValueMap. All of the values in the ValueMap get set to null when a user
gets redirected back to the original page after a
RestartResponseAtInterceptPageException. All of the keys in the ValueMap
are still there.
What do I
I needed to do the same thing. I saw this on another post and it works
fine. Override getDefaultChoice:
protected CharSequence getDefaultChoice(Object selected)
{
return option selected=\selected\ value=\\Choose One/option;
}
You can use
Yes all my objects that need to be serialized are being serialized.
I put together a workaround. In the onClick() that closes the Modal
Window. I called AbstractAjaxTimerBehavior#stop() then waited for a
period longer than the Duration of the AbstractAjaxTimerBehavior and
then closed the Modal
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
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
://jWeekend.com
Warren Bell-3 wrote:
In your second example the Vendor in the vendorModel becomes the
selected Vendor from the ListChoice and that Vendor name property
becomes the value of the TextField?
-Original Message-
From: jWeekend [mailto:jweekend_for...@cabouge.com]
Sent
How should I set up my model for the following situation. I have a form
with a ListChoice and a TextField. The TextField needs to access a
property of the object selected of the ListChoice. I have it all working
using a ValueMap, but that seems like overkill to use a ValueMap for one
object. Here
;}
// safer to have accessors mutators
}
// safer to have accessors mutators }
Regards - Cemal
jWeekend
OO Java Technologies, Wicket Training and Development
http://jWeekend.com
Warren Bell-3 wrote:
How should I set up my model for the following situation. I have a
form
I am getting a PageExpiredException when I close a modal window with an
AbstractAjaxTimerBehavior on it. It does not seem to cause a problem,
but I would rather it not happen. I use the AbstractAjaxTimerBehavior to
auto close a modal window after a certain period of time if it is not
closed
me? thanks
--- Pada Kam, 16/7/09, Warren Bell warrenbe...@gmail.com menulis:
Dari: Warren Bell warrenbe...@gmail.com
Judul: Re: How to Hidden/Disabled Wicket tree with implementation wicket
security
Kepada: users@wicket.apache.org, bujang_kuan...@yahoo.com
Tanggal: Kamis, 16 Juli, 2009
Try this:
Warren
public class SecureWebMarkupContainer extends WebMarkupContainer implements
ISecureComponent {
public SecureWebMarkupContainer(String id)
{
super(id);
setSecurityCheck(new ComponentSecurityCheck(this));
}
public SecureWebMarkupContainer(String
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
--
Thanks,
Warren Bell
909-645-8864
warrenbe...@gmail.com
Try securing the link on your HomePage and do not secure the HomePage
itself. The link has to implement ISecureComponent.
Add the permission for the link to your basic principal.
org.apache.wicket.security.hive.authorization.SimplePrincipal basic
{
//Permission for link on HomePage
I am not sure this is what you are looking for. Check
setWindowClosedCallback
yourModalWindow.setWindowClosedCallback(new
ModalWindow.WindowClosedCallback()
{
public void onClose(AjaxRequestTarget target)
{
// do what you need to do
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 open up the pdf in a new tab or popup. I do not
want the pdfs
?
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
I have a Modal Window that acts like a progress indicator. It has an
AbstractAjaxTimerBehavior that checks to see if a condition is met. When
it is met an image on the Modal Window is removed and a form with an
AjaxButton is added. The image starts with isVisible() = true and the
form and
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
-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
I am getting a ClassCastException when using RangeValidator like this:
RequiredTextFieldInteger intField = new
RequiredTextFieldInteger(intField);
intField.add(new RangeValidator(0, 100));
or like this:
RequiredTextFieldInteger intField = new
RequiredTextFieldInteger(intField);
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)
I am trying to do a security check on a component that is on a panel
like this:
if(SecureComponentHelper.isAuthenticated(myComponent)
SecureComponentHelper.isActionAuthorized(myComponent, enable))
{
// Do Something
}
I have also tried this:
if(myComponent.isAuthenticated()
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
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
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
Create a panel with just the markup you need and switch them out with
the isvisible based on the current language needed? Similar to the post
for Re: Adding/Replacing links in Panels by Michael Sparer below. I
use WebMarkupContainer, but I only have two states. 14 may get a little
messy
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
any info or pointers.
Will
--
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
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 static
));
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
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
I am looking for an advance datagrid component. I see that inMethod is
mentioned as having one. When I go to their sight, it talks about WiFi
Video for iPhone. Where do I go to find info on their datagrid? And if
they are gone, Does anyone else have some sort of advance datagrid?
--
Thanks,
I have a page that displays a list of items backed by a
LoadableDetachableModel. The page allows you to delete one item from the
list and then shows the list less the item you just deleted. How do I
get the LoadableDetachableModel to load the list of items again after
the one item has been
70 matches
Mail list logo