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 dele
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.*;
> import java.applet.*;
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 still a
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
ch article.
Martin 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
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
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) {
>
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
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
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
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
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 guys,
>
> I wo
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 automa
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 additional
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() &&
!myCompo
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(my
I am getting a ClassCastException when using RangeValidator like this:
RequiredTextField intField = new
RequiredTextField("intField");
intField.add(new RangeValidator(0, 100));
or like this:
RequiredTextField intField = new
RequiredTextField("intField");
intField.add(new RangeValidator(0, 1
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
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
--
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 butto
I have a button on a modal window. The button starts with isVisible set
to false. I get the following ajax error when I set it to true:
ERROR: Component with id [[okButton]] a was not found while trying to
perform markup update. Make sure you called
component.setOutputMarkupId(true) on the compon
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 add
?
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 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
o use the Form fields to help discern between updates
and inserts - or is there a more appropriate way to manage this within
Wicket that I'm missing. My next step is to HIDE the id on the screen - but
wanted to make sure that it wa
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
perm
am
wrong.
Has anyone ever used the mini veil? Could anyone give me hand? Thanks.
Best regards!
Jing Ge
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
--
Try this:
Warren
public class SecureWebMarkupContainer extends WebMarkupContainer implements
ISecureComponent {
public SecureWebMarkupContainer(String id)
{
super(id);
setSecurityCheck(new ComponentSecurityCheck(this));
}
public SecureWebMarkupContainer(String id
g but i dont know how to solve it.
Can anyone help me? thanks
--- Pada Kam, 16/7/09, Warren Bell menulis:
Dari: Warren Bell
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,
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 manuall
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 i
g name) {this.name = name;}
public String toString(){return name;}
// 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 wro
String toString() {return name;}
}
}
I haven't worked out how to properly paste html into nabble, so drop me
a line at the jWeekend site if you want the template code to go with
this, or a QuickStart.
Any comments on the type-parameters used above anybody?!
Regards - Cemal
jWeekend
O
I have a ListChoice that I add a choice to. I do this in an
AjaxButton#onSubmit(...). The problem is that load() has been called
before onSubmit() and I have to call LoadableDetachableMode#detach()
and have load() called again. This seems like a waste to have load()
called twice in order to get the
nly be called during any rendering,
which is probably what you want.
Does that do it?
Regards - Cemal
jWeekend
OO & Java Technologies, Wicket Training and Development
http://jWeekend.com
Warren Bell-3 wrote:
>
> I have a ListChoice that I add a choice to. I do this in an
> AjaxBut
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
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 needed to do the same thing. I saw this on another post and it works
fine. Override getDefaultChoice:
protected CharSequence getDefaultChoice(Object selected)
{
return "Choose One";
}
You can use
getLocalizer().getString("yourpage.dropdownchoice.defaultvalue", this)
for your different langua
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 Win
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 ne
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
RestartResponseAtInterceptPageException
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
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
...
wicket-snaps
http://wicketstuff.org/maven/repository
true
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:
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
esn't work, 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, War
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
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 compo
moglu 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 wrote:
Is there a way to add attributes to child components in a behavior that
is ad
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
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
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 probl
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
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,
W
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 final
));
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
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
ich makes it hard to help me, but I'd appreciate
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
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
War
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
greatly missed.
Thanks,
Warren Bell
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
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
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
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 scr
#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
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
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
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
...@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
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 C
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
DefaultBundleResolv
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.
&
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 in
74 matches
Mail list logo