Hi,
At http://www.wicket-library.com/wicket-examples-6.0.x/mailtemplate/?0 you
can see an example of rendering the markup for a page, a panel and a
resource.
At http://markmail.org/message/em4wqtsxhetu4skj you can see how to create
PDF out of the produced HTML.
On Tue, Jun 11, 2013 at 9:39 AM, P
Cursor depends on element you are placed at... It might be better to show
some "spinning wheel" or busy indicator. See e.g.
1-
https://cwiki.apache.org/WICKET/generic-busy-indicator-for-both-ajax-and-non-ajax-submits.html
2-
http://wicketinaction.com/2008/12/preventing-double-ajax-requests-in-3-li
Hi,
The simplest solution is to use IndicatingAjaxButton.
Every Ajax component/behavior can have IAjaxCallListener. You can use it to
show an indicator in 'beforeSend' and hide it in 'complete' handler.
There are also global Ajax listeners which you can use if you want to do
something on every Aja
Does anybody know some example example code to start with
concerning email and pdf
Thanks in advance
Heiner Braun
Am 10.06.2013 10:34, schrieb Martin Grigorov:
Hi,
If you use Wicket 6.7.0+ then you can use ComponentRenderer class to get
the markup of any Wicket Page/Panel/Component.
Then you ca
Hello,
there is an AjaxButton in my application. This button starts a sql-statement. I
want to change the cursor while this statement is executed. How can I do this
with wicket?
Mit freundlichen Grüßen
Christoph Manig
Systems Engineer
T-Systems International GmbH
Systems Integration - SC Trav
Maybe I just don't understand your requirements. I thought you want two
rows for each Profile. So:
add(new PageableListView("profile", profiles) {
populateItem(item) {
item.add(new Label("row1column1"));
item.add(new Label("row2column1"));
item.setRenderBodyOnly(true);
}
});
I'm sorry, but I don't understand what you mean. I've tried this:
final PageableListView columnListView = new
PageableListView(
Hi Pierre,
Associate your PageableListView with a that wraps your two s.
Use item.setRenderBodyOnly(true) to prevent the from being rendered
so your table markup is still valid.
Dan
On Mon, Jun 10, 2013 at 12:49 PM, Pierre Goupil wrote:
> Good evening,
>
> Is there a way to have a PageableLi
Good evening,
Is there a way to have a PageableListView with two rows?
Here is my code:
final PageableListView columnListView = new
PageableListView(
"columnListView", secondLine, SearchPage.RESULTS / 2)
{
private static final long serialVersionUID = 1L;
As far as I see the problem is caused by IComponentInstantiationListener
provided by wicket-cdi:
> org.apache.wicket.cdi.NonContextualManager.inject(
NonContextualManager.java:54)
> ~[wicket-cdi-6.9.0-SNAPSHOT.jar:6.9.0-SNAPSHOT]
> at
> org.apache.wicket.cdi.AbstractInjector.inject(Abstra
I'm not injecting anything yet, it seems to be triggered by the
inclusion of the DebugBar on my page. If I remove the DebugBar it works
fine.
Caused by: org.jboss.weld.exceptions.DefinitionException: WELD-70
Simple bean [EnhancedAnnotatedTypeImpl] class
org.apache.wicket.devutils.debugba
you cannot inject non-static classes...
class org.apache.wicket.markup.html.pages.ExceptionErrorPage$1 cannot
be a non-static inner class
-igor
On Mon, Jun 10, 2013 at 8:32 AM, Phill wrote:
> I'm trying to use wicket-cdi with Glassfish 4.0 and get the following
> exceptions.
> Should wicket-cdi
I'm trying to use wicket-cdi with Glassfish 4.0 and get the following
exceptions.
Should wicket-cdi work with soon-to-be-released Java EE 7 / CDI 1.1 ?
2013-06-10 17:12:34,351 [http-listener-2(2)] DEBUG
o.apache.wicket.MarkupContainer - Add markupHighlight to [Page class =
org.apache.wicket.ma
Thanks a lot Martin,
I had an earlier version of wicket-extensions indeed. That solved it,
Thanks again.
Let me debug and I will feedback on the original error.
Regards,
On Mon, Jun 10, 2013 at 4:33 PM, Joseph Mokenela wrote:
> The line at com.mmjmicrosystems.radarmarketing.Start.main(Star
Hi,
On Mon, Jun 10, 2013 at 5:26 PM, Joseph Mokenela wrote:
> Thanks for the quick response Martin,
>
> I have tried to debug the application but without success, I am using jetty
> server and i keep getting the following stacktrace on jetty. I am using
> Wicket 6.8.0
>
> INFO - RequestListene
The line at com.mmjmicrosystems.radarmarketing.Start.main(Start.java:66)
is simply the call to server.start();
on the jetty server instance.
On Mon, Jun 10, 2013 at 4:26 PM, Joseph Mokenela wrote:
> Thanks for the quick response Martin,
>
> I have tried to debug the application but without su
Thanks for the quick response Martin,
I have tried to debug the application but without success, I am using jetty
server and i keep getting the following stacktrace on jetty. I am using
Wicket 6.8.0
INFO - RequestListenerInterface - registered listener interface
[RequestListenerInterface name=
On Mon, Jun 10, 2013 at 4:30 PM, harmoniaa <
edvard.fons...@nitorcreations.com> wrote:
> Good point. Anyway, that still leaves me the issue with ListView...
>
Please create a ticket with a quickstart for this.
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.c
Good point. Anyway, that still leaves me the issue with ListView...
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Can-i-display-a-WepPage-in-a-PDF-How-to-get-the-rendered-markup-tp4659290p4659354.html
Sent from the Users forum mailing list archive at Nabble.com.
-
Hi Edvard,
Thank you for the feedback.
ComponentRenderer (CR) just asks Wicket to render a component. The
rendering process uses all the application settings so if the wicket
tags/attributes cause any problems then the application can turn them off
before using CR and turn on after.
So I think CR
FYI:
I had a problem using ComponentRenderer with ListView (it was complaining
the there was no markup for wicket-id "my-wicket-id").
Additionally, ITextRenderer (or xerces actually) was not able to parse XML
from the markup with Wicket tags ("The prefix "wicket" for element
"wicket:container" is
On 06/10/2013 02:17 PM, Martin Grigorov wrote:
On Mon, Jun 10, 2013 at 3:11 PM, Andrea Del Bene wrote:
The code is quite simple as it's basically a prototype. Java code:
@Override
public void respond(Attributes attributes) {
StringValue action = attributes.getParameters().**get(S
Hi,
You should read about JavaScript event propagation and
event.stopPropagation()
On Mon, Jun 10, 2013 at 3:25 PM, heikki wrote:
> hello,
>
> I have a Link, used in a menu to go to a different page. When a content
> editor is logged in, the link's text is rendered by an
> AjaxEditableMultiLin
Hi,
I think what is missing you is the AjaxBehavior / Event / jQuery event
binding.
Basically, your ContextMenuBehavior (CMB) should embed an ajax behavior
(JQueryAjaxBehavior, let's say AB). A common Event object (E) should be
shared between CMB & AB. Note that CMB should implement IJQueryAjaxAw
hello,
I have a Link, used in a menu to go to a different page. When a content
editor is logged in, the link's text is rendered by an
AjaxEditableMultiLineLabel.
In that case, when you click on the link, the AjaxEditableMultiLineLabel
opens an input textarea with the current value selected. Updat
Hi Martin,
Thanks for the tips!
Actually, the way how the wicket-jquery-ui Menu works can a little bit be
compared to the Tree implementation in wicket-extensions.
In my case, I think the markup is easier to use, considering there is a
recursive loop for sub-menus...
Thanks again & best regards,
On Mon, Jun 10, 2013 at 3:11 PM, Andrea Del Bene wrote:
> The code is quite simple as it's basically a prototype. Java code:
>
> @Override
> public void respond(Attributes attributes) {
> StringValue action = attributes.getParameters().**get(SEGMENT);
> attributes.getResponse()
The code is quite simple as it's basically a prototype. Java code:
@Override
public void respond(Attributes attributes) {
StringValue action = attributes.getParameters().get(SEGMENT);
attributes.getResponse().write(calculateResponse(action,
attributes));
}
private S
Hi,
You can reuse instances of simple behaviors.
You cannot reuse behaviors which can work with only one component like Ajax
behaviors because they need the component to create the callback url.
On Mon, Jun 10, 2013 at 2:25 PM, Marios Skounakis wrote:
> Hi all,
>
> Is there any obvious reason
Hi all,
Is there any obvious reason why adding the same behavior instance that
implements onBeforeRender and onAfterRender cannot be used on multiple
components on the same form?
Thanks
Marios
Hi Andrea,
I guess your problem is related to jQuery's validation of the response.
To parse the text response to JSON jQuery needs
1) correct response content-type header
2) valid JSON - make sure the keys are in double quotes
Show us your code and the produced response for more help.
On Mon, J
Hi,
can anybody point me to some code that illustrates how to produce a JSON
valid text with a mounted resource? My goal is to load it via AJAX in a
page with JQuery function getJSON.
I've tried to directly write JSON into the response object without any
success.
Hi,
Yes I checked it. I also was reading this:
http://code.google.com/p/wicket-jquery-ui/wiki/HowToCreatePlugin2. However
context menu plug in was not standard here is jquery example:
$(function(){
$.contextMenu({
selector: '.context-menu-one',
callback: function(key, options)
Hi Martin
Thanks for your help, I'll check it out!
On Mon, Jun 10, 2013 at 4:26 PM, Martin Grigorov wrote:
> Hi,
>
>
> On Mon, Jun 10, 2013 at 10:45 AM, Shengche Hsiao >wrote:
>
> > Hello Martin
> >
> > My project wants to implement java code editor on web, so I need an
> > "lined-textarea" to
Hi Sven,
On Fri, Jun 7, 2013 at 10:36 PM, Sven Meier wrote:
> Yes please. And don't forget to add the collected information to it.
Done: https://issues.apache.org/jira/browse/WICKET-5222
Quickstart and patch attached: it fixes the problem for us.
Thanks.
--
Guillaume
---
Hi,
On Mon, Jun 3, 2013 at 10:35 PM, Andun Sameera wrote:
> Hi All,
>
> I have tried further with AjaxEditableLabel in following way to get the
> cotent of div tag.
>
> String value="Type.";
> AjaxEditableLabel ajaxEditableLabel=new
> AjaxEditableLabel("editorArea",new Model
Hi,
If you use Wicket 6.7.0+ then you can use ComponentRenderer class to get
the markup of any Wicket Page/Panel/Component.
Then you can use the generated markup for mails and PDF creation.
For PDF creation you can check
https://github.com/flyingsaucerproject/flyingsaucer. There is a mail in the
u
Hi,
I think your setup should be enough.
You can put a breakpoint in
org.apache.wicket.core.util.file.WebApplicationPath#find() method and see
what happens.
On Mon, Jun 10, 2013 at 11:23 AM, Joseph Mokenela <
matooanemoken...@gmail.com> wrote:
> Hi,
>
> I need help with Wicket.
>
>
> I am worki
Hi,
On Mon, Jun 10, 2013 at 10:45 AM, Shengche Hsiao wrote:
> Hello Martin
>
> My project wants to implement java code editor on web, so I need an
> "lined-textarea" to show line number. First , I used Edit-Area
> (http://www.cdolivet.com/editarea/) (Demo -> http://140.122.76.89), but
> It just
Hi,
I need help with Wicket.
I am working on an application of which I am using Wicket framework for my
front end.
I have a folder named "*markup*" inside the root of webapp which i want to
put all the markup files in, the problem is that, when I call the following
line,
*getResourceSettings()
Hi Sebastien,
On Mon, Jun 10, 2013 at 11:04 AM, Sebastien wrote:
> Hi,
>
> Did you looked at the Menu implementation? I think it should be close to
> what you want to achieve:
>
> https://github.com/sebfz1/wicket-jquery-ui/blob/master/wicket-jquery-ui/src/main/java/com/googlecode/wicket/jquery/
Hi,
Did you looked at the Menu implementation? I think it should be close to
what you want to achieve:
https://github.com/sebfz1/wicket-jquery-ui/blob/master/wicket-jquery-ui/src/main/java/com/googlecode/wicket/jquery/ui/widget/menu/MenuBehavior.java
Here, the way to retrieve the menu-item id is
Hello Martin
My project wants to implement java code editor on web, so I need an
"lined-textarea" to show line number. First , I used Edit-Area
(http://www.cdolivet.com/editarea/) (Demo -> http://140.122.76.89), but
It just enable at first time, when I submit the form code-area
dissappeard. An
Hi,
To be able to do this you have to know Guice internals.
HttpServletRequest is @Request scoped and since there is no http request in
unit/wicketTester tests Guice cannot provide it for you.
I guess that you can bind it manually in your TestModule so it will have a
global scope as workaround.
Hi,
The image is not loadable and we cannot see what you need.
Can you upload it somewhere ?
On Wed, Jun 5, 2013 at 9:33 PM, Noven wrote:
> Hi all,
>
> I wonder how to use wicket to repeat things like cross tab (like the one
> that have on jasper report palette).
>
> Example of what I want ach
Hi,
There is JavaScript event named "beforeunload" that is fired when the user
leaves a page.
On Fri, Jun 7, 2013 at 8:27 PM, lc991 wrote:
> how I capture close windows event from user(from x in the upper right)
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabb
Hi,
Since Wicket 6.7.0 there is ComponentRenderer class which does exactly the
same.
On Sat, Jun 8, 2013 at 12:01 AM, Per Newgro wrote:
> Found the solution already. I did it that way:
>
> public class FlyingSaucerPdfResource extends ByteArrayResource {
>
> public FlyingSaucerPdfResource()
Hi,
You should (re-)use your panel in the wizard:
step.add(new MyFormPanel("someId"));
On Sun, Jun 9, 2013 at 4:14 AM, always_rick wrote:
> The problem is wicket:idfor example: Formjavanew RequiredTextField(
> "companyName" );WizardStepjavanew RequiredTextField( "company.companyName"
> );
>
>
Hi,
What kind of problems you faced ?
On Mon, Jun 10, 2013 at 8:51 AM, Shengche Hsiao wrote:
> Hello everyone
>
> I want to integrate ace editor into my wicket project, but after gooogled I
> failed to do it.
> Is anyone give my some advise?
>
>
>
> -
> We do this not because it is easy. W
Fixed.
Thanks!
On Mon, Jun 10, 2013 at 9:35 AM, lucast wrote:
> Dear forum,
> I am sure someone has already noticed this but I thought of pointing it
> out.
> I'm trying to get to the latest wicket examples page. My first port of call
> was to go to http://wicket.apache.org/learn/examples/ and
50 matches
Mail list logo