Likely because he already has some components, models, and overall logic
to reuse in the mails...
On 18.5.2014 19:51, Paul BorČ™ wrote:
You want wicket's page renderer to render some HTML for your email content when
you have it run inside a quartz thread?
Why can't you just simply use a
Hi,
the Wicket quickstart for WildFly, when deployed, gives a warning -
WARNING [org.jboss.seam.conversation.spi.SeamConversationContextFactory]
(ServerService Thread Pool -- 48) No matching SeamConversationContext for store
type interface javax.servlet.http.HttpServletRequest, using NOOP
Try the JBoss EAP 6.1:
http://www.jboss.org/jbossas/downloads/
I didn't have much trouble using that with Wicket 6.x.
Ondra
On 5.11.2013 18:19, Dieter Tremel wrote:
Am 12.10.2013 12:19, schrieb Dieter Tremel:
Sometimes I have the impression that a Glassfish and wicket are not a
couple in
I guess you have checked
http://careers.stackoverflow.com/jobs/tag/wicket
and also
http://www.linkedin.com/vsearch/j?keywords=wicketopenAdvancedForm=truelocationType=YsortBy=R
Ondra
On 29.10.2013 19:13, Leonid Bogdanov wrote:
Hello!
Sorry for bringing this topic, but I'm wondering are
Hello,
On 4.11.2013 17:02, Decebal Suiu wrote:
Hi
I decided to open this platform under Apache License. It will be available
on github.
Nice.
I've already converted application to wicket 6 and bootstrap 3.
In fact, my intention was to create a modular debate platform (using
plugins),
Sounds good. Opening the source is always a good idea :)
Let me know when you decide.
This looks like a forum. Is there some blog running on it?
Thanks,
Ondra
On 30.10.2013 16:16, Decebal Suiu wrote:
Hi
I have a platform for you (I created with other two friends, some time ago.)
:) I like
Hi all,
while there are plenty of components for Wicket, I can't find any
blogging platform. Doesn't need to be much pluggable, I'm happy with the
basic stuff - posts with some markup language, RSS, basic navigation by
months. But even such a basic stuff isn't around.
Is there any such? I
Hi,
I have one site which uses generic hostnames (subdomains) and shows a
page based on that.
The mapping is pretty simple, something like stringId.mysite.com would
load a page of the $stringId object.
Is that achievable with current URL mapping system?
Is there some such? FWICT, the
something it fails. notice
the top frame is inside weld not wicket nor wicket-cdi.
if you have things that can be optional you should inject
InstanceThing and query that for thing.
-igor
On Mon, Mar 4, 2013 at 1:25 PM, Ondrej Zizka ozi...@redhat.com wrote:
Hi all,
I use the CDI integration.
new
Hi all,
let's have a bookmarkable page with a form.
This form is submitted after session expiration.
The result is that Wicket ignores the input and renders the page as it
was just loaded by URL.
How can I make Wicket process the POST body and do the whole cycle -
fill the models, validate,
the page stateless, i.e. StatelessForm instead and avoid any other
stateful components.
On Mon, Mar 4, 2013 at 4:23 PM, Ondrej Zizka ozi...@redhat.com wrote:
Hi all,
let's have a bookmarkable page with a form.
This form is submitted after session expiration.
The result is that Wicket ignores
Hi all,
I use the CDI integration.
new
CdiConfiguration(bm).setPropagation(ConversationPropagation.NONE).configure(this);
When the injection fails, it happens in init. Can I configure it to
set the field to null, as a NPE during page rendering is easier to
handle than init exception?
Hi all,
I have a wicket app at /* and REST API at /rest .
When REST returns 404 (e.g. to reqest for non-existent ID), Wicket
processes this.
What's the technique to tell wicket to let some requests pass?
I was thinking I could mount a page to /rest which would just copy the
response
/more-wicket-filter-options.html
On 03/03/2013 10:35 AM, Ondrej Zizka wrote:
Hi all,
I have a wicket app at /* and REST API at /rest .
When REST returns 404 (e.g. to reqest for non-existent ID), Wicket
processes this.
What's the technique to tell wicket to let some requests pass?
I
Hi all,
I have a Form, with .setOutputMarkupId(true); and with:
a FeedbackPanel added to it.
a RequiredTextField()
an AjaxButton with onSubmit().
Now when I click the AjaxButton, this goes to the log:
12:18:23,569 WARN [org.apache.wicket.protocol.http.WebSession]
Hi,
actually, sorry for the confusion, it's a community effort. Richfaces
might pick it up later.
The people behind this effort are looking around for input and experts
on frameworks to decide what would be the best shape of the common layer.
I'll update on this when I know more.
Regards,
My IDE of choice is NetBeans. Tried all three. Not sure about current
IDEA, but when I tried, it sucked about the same as Eclipse.
my2c
On 02/19/2013 10:17 PM, Stephen Walsh wrote:
Who uses what and why?
I've only ever used Eclipse, but I discovered IntelliJ earlier this week
and it's so
How about wrapping it to a RuntimeException, or preferably, your own
subclass of it?
Ondra
On 02/20/2013 04:51 PM, Jayakrishnan R wrote:
In my project, I am using LoadableDetachableModel as given below.
public ReportPage(final Objectm, final PageReference pr) throws
wrote:
i have already done that as a back up plan. Do you think wicket is a
bit wierd in handling exceptions.
On 20 Feb 2013 16:22, Ondrej Zizka ozi...@redhat.com
mailto:ozi...@redhat.com wrote:
How about wrapping it to a RuntimeException, or preferably, your
own subclass
Hi all,
I have:
public FooPage( ... ) {
this.setDefaultModel( new CompoundPropertyModel(new
GenericIdLDM( Foo.class, 1)) );
add(new Label(title));
I'd like to have $subj.
I've found this solution from 2007 (point below) :
Hi Mike,
These problems are not wicket specific.
I'd suggest to make your life easier and switch to Maven.
Then, Maven and IDE would handle most of the dependencies for you - e.g.
NetBeans searches all Maven repo for classes of given name, and adds it
to dependencies.
Otherwise, the process
Hi everyone,
RichFaces team has started an effort to make their components available
for multiple frameworks.
Currently, the targetted are JSF, GWT/Errai and one I don't remember.
It would be cool to have Wicket amongst those: Wicket community would
get a set of highly tested and maintained
IIRC, bookmarkable pages need PageParameters, which also makes sense -
it must be able to reconstruct the page just from URL. IModel is just
stored in PageStore (or PageMap or how is it called) during a session.
What bothers me more is that various back and forth moves always give
some nulls
Hi all,
With Wicket 1.5.9,
I have a form with
form action=# ...
input type=button ...
Form form = new Form(form);
add(form);
// Logging tests
form.add( new AjaxButton(log1){
@Override public void onEvent(IEvent? event) {
log.info(1);
with
AjaxrequestTarget as payload.
See http://www.wicket-library.com/wicket-examples-6.0.x/events/ for a
simple demo and code. Soon there will be oficial docu about this
On Wed, Feb 6, 2013 at 12:28 PM, Ondrej Zizka ozi...@redhat.com wrote:
Hi all,
With Wicket 1.5.9,
I have a form
Hi,
wouldn't it be nice if Panel had type param - PanelT - which would be
used for:
IModelT getDefaultModel()
T getDefaultModelObject()
Or why is it not so?
Thanks,
Ondra
-
To unsubscribe, e-mail:
Hi Phillipe,
you're right, the documentation deserves improvements.
I would recommend you to start with the Wicket in Action book. That will
give you the basic concepts of Wicket.
Then continue with the examples from
http://www.wicket-library.com/wicket-examples/index.html . That will
://www.playframework.org/documentation/2.0.4/Home
http://tapestry.apache.org/documentation.html
https://developers.google.com/web-toolkit/doc/latest/DevGuide
http://www.springsource.org/spring-framework#documentation
Don't you ?
Philippe
2013/1/22 Ondrej Zizka ozi...@redhat.com mailto:ozi
will be refreshed on each render with the values
from the databse.
Btw, why exactly are you using a map for?
Did you develop your own compound form componet in order to implement and
work with FormComponent#**updateModel?
~ Thank you,
Paul Bors
On Mon, Jan 21, 2013 at 11:54 PM, Ondrej Zizka ozi
Hi all,
I have a component containing a form with many TextFields.
The way it should work is that when changed, the value should be
persisted immediately (no Save button, all through AJAX).
The AJAX calls work fine, the value gets to the model.
The code to save the model (and the entity
Hi all,
guessing from a name, I would expect these two to do the same:
link.add( new OnChangeAjaxBehavior() {
@Override protected void onUpdate( AjaxRequestTarget target ) {
ReleaseTraitRowPanel.this.onUpdate( target );
}
});
,
Ondra
On 01/21/2013 06:30 PM, Ondrej Zizka wrote:
Hi all,
I have a component containing a form with many TextFields.
The way it should work is that when changed, the value should be
persisted immediately (no Save button, all through AJAX).
The AJAX calls work fine, the value gets to the model
Speaking of this, I had the same issue recently.
I wished for stateless pages but as I didn't know, I opted for
keep-alive ajax requests.
Is there some article, blog, tutorial or whatever on how to keep pages
stateless?
I know that if a page is bookmarkable and doesn't contain any
?
Or is updateModel() the way to go here?
Thanks,
Ondra
CompoundPropertyModel is meant for components which have children. Such
component may have a compound model and all its children can update the
value in the respective branch of this model.
On Mon, Jan 21, 2013 at 7:30 PM, Ondrej Zizka ozi
Forgot to write: My problem is that the Map item is deleted, but Wicket
renders the given sub-component with the old Map for some reason.
But on next Ajax request, it already uses the new one.
I'm a bit puzzled.
On 01/22/2013 05:49 AM, Ondrej Zizka wrote:
On 01/21/2013 10:52 PM, Martin
() );
}
}
});
}
});
On 01/22/2013 05:54 AM, Ondrej Zizka wrote:
Forgot to write: My problem is that the Map item is deleted, but
Wicket renders the given sub-component with the old Map for some reason.
But on next Ajax request, it already uses the new one.
I'm a bit puzzled.
On 01/22/2013 05:49 AM, Ondrej Zizka
Hi all,
I'm wondering if I can refer to static files just from HTML, while
keeping it aware of the context.
Example:
.jar contains /favicon.ico .
I'd like to refer to it by link rel=... href=/favicon.ico.
But when the app is at non-root context, this breaks as it still points
to
Hi all,
A need to serve static files alongside the app, often from a root
context, is quite common.
What if a simple serving servlet was added to wicket-core, so people
wouldn't need to add it extra to their app?
E.g. this one is quite good:
in AjaxFallbackLink?
Thanks,
Ondra
On 01/09/2013 06:56 AM, Ondrej Zizka wrote:
Ok, I stared at the code for a little longer and realized that I can
use the same principle - simply send the value to server, and return
back the new model value (most likely the same value).
Still, any comments
Hi,
if I have an input wrapped in a div (together with other stuff),
how can I pass to that input whatever beavior is added to the wrapper?
Example:
Component HTML goes like div img input ...
Then user it's added like add( new MyComponent(foo, model).add(
new AjaxEventBehavior(onupdate){
at
https://github.com/wicketstuff/core/blob/master/jdk-1.6-parent/autocomplete-tagit-parent/autocomplete-tagit/src/main/java/org/wicketstuff/tagit/TagItAjaxBehavior.java.
It does something similar.
On Fri, Jan 4, 2013 at 6:34 PM, Ondrej Zizka ozi...@redhat.com wrote:
Hi all,
I am creating
far, I
the only difference I see is manual addition of jQuery and slightly
different response.render* calls.
Thanks,
Ondra
On 01/09/2013 06:23 AM, Ondrej Zizka wrote:
I've looked at it, and the communication there revolves around JSON
sent for the component to show tags.
I haven't found how
Hi all,
I am creating an editable label and link which better suits my needs
than existing EditableLabel.
Anyone willing toguide me a bit?
Basically, what I needto know, is how to properly ajaxify it.Precisely,
to allow events to be sent to the server, and to re-renderusing the new
model
You were right, like usually :)
What's the preffered way for CDI fields - making them transient, or the
class serializable?
Thanks,
Ondra
On Tue, 2012-10-09 at 15:52 +0200, Ondrej Zizka wrote:
I was thinking about that, but saw no errors in the log. Maybe hidden?
What would be the logging
at 5:07 AM, Ondrej Zizka ozi...@redhat.com wrote:
Hi all,
for repeaters, I didn't like adding a new validators, attribute
modifiers etc for each single row.
So I create just one and pass the reference.
1) Is it ok to have just one at component instance level?
2) Is it ok to make
Hi all,
I'd like to toggle AjaxEditableLabel into edit mode and back based on
user's interaction with other components.
How can I do that?
Also, it seems that AEL switches the representing element between span
and input.
I would rather have it an input which only changes styles and gets
Hi all,
for repeaters, I didn't like adding a new validators, attribute
modifiers etc for each single row.
So I create just one and pass the reference.
1) Is it ok to have just one at component instance level?
2) Is it ok to make it a static final instance at app level?
And about thread safety
then next attempts to find it
will fail with PageExpiredException.
On Tue, Oct 9, 2012 at 4:37 AM, Ondrej Zizka ozi...@redhat.com wrote:
Hi,
I have an AjaxEditableLabel wrapped in a component.
After some changes (I'm still finding which), it's behavior gone totally
astray
by looking for a JS onClick event/behavior through your recent
changes :)
Or add some code for us to view...
~ Thank you,
Paul Bors
-Original Message-
From: Ondrej Zizka [mailto:ozi...@redhat.com]
Sent: Monday, October 08, 2012 9:37 PM
To: wicket-users
Subject: Page
Hi,
I have an AjaxEditableLabel wrapped in a component.
After some changes (I'm still finding which), it's behavior gone totally
astray:
On click, it gave me Page Expired every time.
That was happening with
this.getPageSettings().setRecreateMountedPagesAfterExpiry(false);
When this is
;
import org.apache.wicket.ajax.markup.html.AjaxLink;
import org.apache.wicket.markup.html.panel.Panel;
import org.apache.wicket.request.http.WebRequest;
import org.apache.wicket.request.http.WebResponse;
/**
* About box for the HomePage.
*
* @author Ondrej Zizka
*/
public class AboutSmallBox
components are probably holding references to different User
objects. Cleaning up your code using models might help.
Sven
On 09/29/2012 05:26 AM, Ondrej Zizka wrote:
Hi,
I have observed that if I simply refer to Page object's (say, User)
member field everywhere, sometimes I get a strange
Hi,
http://ci.apache.org/projects/wicket/apidocs/1.5.x/org/apache/wicket/markup/resolver/WicketMessageResolver.html
says:
If no message is found, the default body text will remain.
However, if the message is not found, I get:
Last cause: Property 'noItemsFound_itemName' not found in property
=
vfs:/content/essc-portal.war/WEB-INF/classes/org/jboss/essc/web/_cp/pageBoxes/NoItemsFoundBox.html
wicket:message key=noItemsFound_itemNamereleases/wicket:message, index =
1, current = [Raw markup]]
Thanks,
Ondra
On Sat, 2012-09-29 at 17:47 +0200, Ondrej Zizka wrote:
Hi,
http
According to what's written, the lookup should end up at
ProductPage.properties.
Why it doesn't?
Ok, striking this second question, it got fixed after `mvn clean package
jboss-as:deploy`. Probably some class leftovers from the previous
structure.
Hi,
I have observed that if I simply refer to Page object's (say, User)
member field everywhere, sometimes I get a strange behavior:
Ajax requests update the User object properly. But then I have non-ajax
save (submit) button, and this one actually saves the old state of the
object, before
On Thu, 2012-09-27 at 09:58 +0300, Martin Grigorov wrote:
But still:
I only get the exception. Ok, it has a stacktrace. But for convenience,
is it possible that I could get the component it came from?
No
But what would you do if you know that SomePanel did it ?
I would redirect to
To add my 2 cents:
Confirmatory modal dialogs suck.
I rather put a hidden bright red button next to the one which deletes,
and on click, I show this red button which actually deletes.
So the user
1) doesn't have to travel the mouse around the page too far
2) can't accidentally press space or
On Fri, 2012-09-28 at 13:37 +0530, vineet semwal wrote:
sorry somehow i didn't type last message correctly :)
use a repeater and you can add your formcoponents to its items ,see
listview/dataview
FYC,
http://wicket.apache.org/apidocs/1.5/org/apache/wicket/markup/repeater/RepeatingView.html
Hi,
I don't like switching a span and input... so I take (IMO) better
approach:
Style the input type=text or a textarea so it looks like a label
- i.e. no border, transparent background, inherited font.
And disable/re-enable this the style on focus/blur.
Very easy and works.
Ondra
On Fri,
Hi,
i am trying to implement a simple authentization.
I've basically copied what's in the auth example #2 in wicket examples,
and have a Logout button:
add( new Link(logoutLink) {
@Override public void onClick() {
sess.invalidateNow();
http session and
right after this your app creates a new Session because it needs to
finish the request cycle and the new one is what you see later. You
can print the hashcodes to see whether I'm right.
On Thu, Sep 27, 2012 at 9:04 AM, Ondrej Zizka ozi...@redhat.com wrote:
Hi,
i am
Hi,
I am not really sure why would one serve REST through Wicket, is there
any advantage? Maybe to adjust it according to the state of
page/session?
But if it's a service without no such req, I am using RestEasy, which
works like a charm.
https://www.jboss.org/resteasy/
All I need to make it
Hi all,
pls is there a way to react to certain type of exceptions and redirect
the request to a page?
I think I saw somathing, but I can't find it.
I can't wrap it in RestartResponseAtInterceptPageException as in my
case it's thrown from within Wicket's code.
So, I'm looking for something like
Sorry, adding a subject...
On Thu, 2012-09-27 at 02:40 +0200, Ondrej Zizka wrote:
Hi all,
pls is there a way to react to certain type of exceptions and redirect
the request to a page?
I think I saw somathing, but I can't find it.
I can't wrap
, it has a stacktrace. But for convenience,
is it possible that I could get the component it came from?
On Thu, 2012-09-27 at 02:42 +0200, Ondrej Zizka wrote:
Sorry, adding a subject...
On Thu, 2012-09-27 at 02:40 +0200, Ondrej Zizka wrote:
Hi all,
pls is there a way to react
org.apache.wicket.settings.IApplicationSettings#getPageExpiredErrorPage()
instead of a new instance of your page.
On Mon, Sep 17, 2012 at 5:23 AM, Ondrej Zizka ozi...@redhat.com wrote:
Hi,
I use a AjaxEditableLabel with a PropertyModel which points to an object
of the Page.
But after the session expires, clicking
Is there a mechanism to let the page be re-created with the original
PageParameters?
Maybe they could be kept within JS of the page and sent with the AJAX
request? That would probably need a change in Wicket's AJAX code.
(Wicket 1.5)
That was the case until recently but there was
Hi,
I found myself repeatedly creating a PageParameters object from some
domain object for BookmarkablePageLink just to have it then parsed
back to that same domain object.
Example:
Release rel { product: AS; version: 7.1.2 }
=
add( new BookmarkablePageLink ( link, ReleasePage.class,
Hi,
is there something what prevents Wicket use component constructor with
an interface param instead of concrete object?
I have two entities which share the same properties (leveraging
Hibernate's @Embeddable) :
public class ProductRelease implements Serializable, IHasTraits
{ ... }
Hi,
I use a AjaxEditableLabel with a PropertyModel which points to an object
of the Page.
But after the session expires, clicking on the label to edit it causes
exception because the object of the page is empty (in my case, it
results into HBN's NoResultException).
What's the way to handle this?
71 matches
Mail list logo