Bonjour Gervais,
To help you understand the fundamentals of Wicket, I would strongly
recommend reading the first few chapters of Wicket in Action. It's
available for the Manning Early Access Program.
To answer your third qestion on how to bind more then one domain model
to a form, I would
Hello fellow Wicket users,
If I have a FooDataProvider going to a DataView which provides a ListFoo.
How do I get the DataView to display default markup, for example: trtd
colspan=2There are no Foos fool!/td/tr, if this list is empty. At the
moment, my table is empty and I want to give indication
Hi *,
i would like to present my order in a pdf. This is possible to achieve by
using jasperreports. There i have a template and can provide some parameters
and fields for content. The processing is clear.
But where do i have to place my template file. I would like to load it on
a button click.
Simplest way might be to just have two components in the markup, and
to just set one visible the other visible depending on the data.
/Gwyn
On 23/11/2007, James Perry [EMAIL PROTECTED] wrote:
Hello fellow Wicket users,
If I have a FooDataProvider going to a DataView which provides a ListFoo.
Hi All
Is it possible to have a different validation behavior for each button
on the form.
For example
form
// first part
Firstname
Lastname
Address
buttonSubmit Order/button
// second part
Username
Password
buttonCreate user and Submit Order/button
/form
The first button should only
On Fri, Nov 23, 2007 at 04:24:21PM +0100, Edvin Syse wrote:
The body tag from your subpage is discarded. The body tag that is
rendered comes from some parent page. One way to do this would be to
attach a WebMarkupContainer to the body tag in the parent page and
expose it via a getter:
I
Thanks but, It seams I need a bit more help.
This was the original mail:
--
Hi
I have a forms that performs a calculation and shows
The body tag from your subpage is discarded. The body tag that is
rendered comes from some parent page. One way to do this would be to
attach a WebMarkupContainer to the body tag in the parent page and
expose it via a getter:
I really want to avoid this, as it seems messy having to add all
feel free to add it, it is a wiki after all...
-igor
On Nov 23, 2007 3:50 AM, Niels van Kampenhout [EMAIL PROTECTED] wrote:
Igor Vaynberg wrote:
variants and styles work on component level...pages inherit that
functionality from components
Right, I think I understand how this works now
How about org.apache.wicket.markup.html.body.BodyTagAttributeModifier?
hth,
Gerolf
Already tried it, the name sounds right, but it seems to be a helper for
Panels in some way, I don't fully understand the javadoc:
org.apache.wicket.markup.html.body.BodyTagAttributeModifier
the window.location=downloadurl would indicate a previously existing file.
but I don't have the file.
I can call calculate() (returns a map) and/or calculatePdf() (returns a
base64 encoded pdf).
It would be nice not to write the file on the server.
Also, wouldn't window.location change the
refresh the components like you usually would and then add javascript
that does window.location=downloadurl
-igor
On Nov 23, 2007 7:28 AM, Francisco Diaz Trepat - gmail
[EMAIL PROTECTED] wrote:
Thanks but, It seams I need a bit more help.
This was the original mail:
On Nov 23, 2007 1:43 PM, Johan Compagner [EMAIL PROTECTED] wrote:
somehow you hold reference to:
com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate
in your page. That seems to be not serializeable so i guess that one needs
to be transient
and needs to be re lookuped
Error
But the question here is... what is the real use of the ICryptFactory today
(1.3.0-rc1) in wicket? Is it only encrypting URLs? (I see
PasswordTextFields are not encrypted anymore)
Yep, I think we removed the other uses. I don't know exactly from the
top of my head, but it is in the (recent)
Johan Compagner skrev:
BodyOnLoadContainer is dropped because you shouldn't try to generate body
onload=xxx
What you should do is have a header contributor and add call
IHeaderResponse.renderOnLoadJavascript(String javascript);
OK. Maybe one of you guys could remove the reference from the
Hi,
is there a way to determine the complete, absolute URL to a mounted page
(including protocol, host, port, application, filter and destination page)?
I need this to be able to send a link to a Registration-Confirmation page to
a user via email.
I searched the forum already, but didn't find
If I understand correctly it looks to me that this isn't Wicket-related at
all :)
Sure that's why i added an [OT] :-)
Just put the files under /any/path/for/templates and use new
File(/any/path/for/templates/templatename.jrxml)
to pass them to JasperReports..
But is this realy the
Hi *,
i googled a bit and tried the forum, but could see any posts on this. I would
like to provide access to my web-application. It requires tomcat / jetty and
jboss. I found many descriptions and advertisments (virtual server,
webhosting, dedicated server etc.) Im a bit confused.
What
About the Any component can implement it.
Variation really makes only sense for pages and panels, So components that
do have there own markup..
johan
On Nov 23, 2007 12:50 PM, Niels van Kampenhout [EMAIL PROTECTED]
wrote:
Igor Vaynberg wrote:
variants and styles work on component
if (pilot == null) pilot = new Pilot();
//get bean interface
final PilotLocal bean = BeanLookup.get(PilotBean);
Pilot and PilotLocal should be serializable. You didn't provide the source
code for that so I assume it is one of them, or one of their
Hello,
I have just released Jasypt (Java Simplified Encryption) version 1.4
[http://www.jasypt.org], which includes Wicket integration features for
more powerful and robust URL encryption in secure applications where URL
encryption may a requirement.
You can read more about Jasypt + Wicket
I'm upgrading from Wicket 1.2.4 to 1.2.6 and there's obviously a change I'm
not able to find concerning the session (or...who knows?)
I've got a simple pair of pages, one for viewing a list of entity beans
(EJB3) and one for editing a chosen entity from the list page. I'm
comparing it to dozens
How about org.apache.wicket.markup.html.body.BodyTagAttributeModifier?
hth,
Gerolf
On Nov 23, 2007 7:05 PM, Edvin Syse [EMAIL PROTECTED] wrote:
John Krasnay skrev:
On Fri, Nov 23, 2007 at 05:05:51PM +0100, Edvin Syse wrote:
John Krasnay wrote:
Perhaps there's another way to solve
John Krasnay wrote:
On Fri, Nov 23, 2007 at 04:24:21PM +0100, Edvin Syse wrote:
The body tag from your subpage is discarded. The body tag that is
rendered comes from some parent page. One way to do this would be to
attach a WebMarkupContainer to the body tag in the parent page and
expose it
On Fri, 23 Nov 2007 05:06:29 -0800 (PST)
Newgro [EMAIL PROTECTED] wrote:
So i'm looking for a solution like - load the template for fix-location.
And if a new template arrives i can simply put it to the fix-location.
But how can i do this - espacially with the wicket framework.
If I
Hi Florian,
thank you very much, now it works properly!
I'm sorry but I didn't think to use target, thanks again
Regards
Rik
Date: Fri, 23 Nov 2007 15:01:24 +0100 From: [EMAIL PROTECTED] To:
users@wicket.apache.org Subject: Re: how to update a label on tree node
selection Hi Rik,
Hi Rik,
labelNode.setOutputMarkupId(true);
...
public void onNodeLinkClicked(javax.swing.tree.TreeNode node,
BaseTree tree, AjaxRequestTarget target) {
// do something with the content of your label
// eg. labelNode.replaceWith(new label);
// labelNode =
Hello,
Is there any simple way to generate javascripts to validate forms
against validation rules provided by Wicket Validators e.g.
RequiredValidator? I have on mind client side validators to check is
fields not empty, or provided passwords match. For now I see that Ajax
support is great, but
Hi to all!
I'm starting to use wicket and I'm happy using it :-)
But I'm not able to update a label on a tree node selection, my code is this
Label labelNode=new Label(labelNode,label value);
LinkTree tree=new LinkTree(tree,dtm) {
@Overridepublic void
Igor Vaynberg wrote:
variants and styles work on component level...pages inherit that
functionality from components
Right, I think I understand how this works now (simpler than I thought!).
I find the Wiki page a bit short on info. I suggest to add some
explanatory introduction like:
issue created: https://issues.apache.org/jira/browse/WICKET-1184
On 11/22/07, Francis De Brabandere [EMAIL PROTECTED] wrote:
Deploying the phonbook example application does not cause this
PageSavingThread to be started, is there some other application I can
try to reproduce this problem?
On Thu, 22 Nov 2007 18:52:28 +0100
Federico Fanton [EMAIL PROTECTED] wrote:
I have a Wicket page with an InlineFrame pointing to another Wicket page on
the same servlet.. In the inner one I have a button that calls
setResponsePage, thus changing the inner page.. Is there a way for the
Hi everyone!
I'm sorry, I'm triying to implement this workflow:
- user presses on Ajax button
- if server-side check returns false, refresh component X
- if server-side check returns true, ask confirmation to user via JS confirm(),
and eventually refresh component X
I tried using something like
if you dont want redirect call: setRedirect(false)
johan
On Nov 22, 2007 6:57 PM, Stefan Simik [EMAIL PROTECTED] wrote:
Hello Wicketeers,
I prepare report about rendering strategies (for studying community in our
company) and conceptually I understand all the things, but I have one
Dear Eelco and Jonathan,
Thanks for all your effort put into clarifying this issue.
I will have a look at the caching approach, and for sure see how I can reuse
the panel data. And YourKit really looks like a great profiling tool, thanks
for the tip, didn't know it before! :)
I have an idea
As far as I know, there is no way to generate js validation script against
wicket validation rules. If you want to add client side validation, it is
up to you how to do it. There are a dozen of js validation frameworks, so
you can easily integrate them in your web application.
Alex
Java
see how Link generates a callback url back to itself...
-igor
On Nov 23, 2007 12:44 PM, Francisco Diaz Trepat - gmail
[EMAIL PROTECTED] wrote:
more please?
On Nov 23, 2007 5:38 PM, Igor Vaynberg [EMAIL PROTECTED] wrote:
it can be a callback url, just like how Link works...
-igor
On Fri, Nov 23, 2007 at 06:05:34PM +0100, Murat Yücel wrote:
Ok I didnt know that :)... I dont think it is standard html to have a
form in a form.
But as long as it work with wicket then i am happy :).
/Murat
AFAIK Wicket replaces any nested forms with spans to preserve HTML
correctness.
Hi,
I have a page that extends another page, and concequently the parent
page template contains the body element that is beeing rendered. The
subpage template contains:
body
wicket:extend
content...
/wicket:extend
/body
In some pages I would like to add
Hi,
the problem is that the templates will be designed by a designer. I only get
the templates and have to deploy them. If i have to deploy the whole
application it's a hugh effort for that little task.
So i'm looking for a solution like - load the template for fix-location.
And if a new
Hello Frederico,
thanks for the reply. Sure that is a way. But i look for a solution where i
can exchange the template without redeploying the whole application.
Cheers
Per
--
View this message in context:
Gerolf Seitz wrote:
i found the problem:
what i mentioned before with onBeforeRender didn't make it into rc1. sorry
for messing that up.
but now there are two checks for enabled/disabled.
i actually prefer the one with dis-/enabling the label in onBeforeRender,
because this way the onClick
Igor Vaynberg wrote:
variants and styles work on component level...pages inherit that
functionality from components
Ah, I see. Stupid question eh? ;-)
I'll give it a try.
Thanks
Niels
-igor
On Nov 22, 2007 7:40 AM, Niels van Kampenhout [EMAIL PROTECTED] wrote:
Hello Wicketeers,
I
Al Maw wrote:
godin wrote:
Hi,
as a stupid newbie,
i encounters a problem with refreshing list view with ajax
i edit an object which relate to a list view in a modal dialog , and
i can't manage to refresh the listview after the submit
all the object in the list are detachable , (i override
On Fri, 23 Nov 2007 03:55:32 -0800 (PST)
Newgro [EMAIL PROTECTED] wrote:
But i look for a solution where i
can exchange the template without redeploying the whole application.
I see.. When testing inside Eclipse I just use
new File(/path/to/template.jasper)
Maybe something like that would do
On Fri, 23 Nov 2007 11:04:26 +0100
Federico Fanton [EMAIL PROTECTED] wrote:
but in Ajax Debug Window i get SyntaxError: invalid return.. Is there a way
to abort ajax component replacing from prependJavascript?
Mmh.. This
r579593 | knopp | 2007-09-26 13:16:51 +0200 (Wed, 26 Sep 2007) | 1
Eelco Hillenius wrote:
You should always be able to use setResponsePage with Wicket 1.3 (in
1.2, this is not entirely supported). If you found a bug, please see
if you can create a reproducible test case for it.
I tried trimming down my app to reproduce it with code that developers could
On Fri, Nov 23, 2007 at 03:25:08PM +0100, Murat Yücel wrote:
Hi All
Is it possible to have a different validation behavior for each button
on the form.
For example
form
// first part
Firstname
Lastname
Address
buttonSubmit Order/button
// second part
Username
Password
On Fri, Nov 23, 2007 at 02:17:28PM +0100, Edvin Syse wrote:
Hi,
I have a page that extends another page, and concequently the parent
page template contains the body element that is beeing rendered. The
subpage template contains:
body
wicket:extend
content...
Ok I didnt know that :)... I dont think it is standard html to have a
form in a form.
But as long as it work with wicket then i am happy :).
/Murat
2007/11/23, John Krasnay [EMAIL PROTECTED]:
On Fri, Nov 23, 2007 at 03:25:08PM +0100, Murat Yücel wrote:
Hi All
Is it possible to have a
John Krasnay skrev:
On Fri, Nov 23, 2007 at 05:05:51PM +0100, Edvin Syse wrote:
John Krasnay wrote:
Perhaps there's another way to solve your problem. Why are you modifying
the class of body? To change it's styling? Why not instead split your
styles into different stylesheets and
Hi John
Thanks for the help it works like a dream. I just have one more question.
I have some problem with the feedback filtering. Is it possible to have 2
feedback messages on the page. Well it is possible :). Found this:
it can be a callback url, just like how Link works...
-igor
On Nov 23, 2007 12:36 PM, Francisco Diaz Trepat - gmail
[EMAIL PROTECTED] wrote:
the window.location=downloadurl would indicate a previously existing file.
but I don't have the file.
I can call calculate() (returns a map) and/or
more please?
On Nov 23, 2007 5:38 PM, Igor Vaynberg [EMAIL PROTECTED] wrote:
it can be a callback url, just like how Link works...
-igor
On Nov 23, 2007 12:36 PM, Francisco Diaz Trepat - gmail
[EMAIL PROTECTED] wrote:
the window.location=downloadurl would indicate a previously existing
On Fri, Nov 23, 2007 at 08:20:27PM +0100, Murat Yücel wrote:
Hi John
Thanks for the help it works like a dream. I just have one more question.
I have some problem with the feedback filtering. Is it possible to have 2
feedback messages on the page. Well it is possible :). Found this:
Hi John
Thanks again. I needed (a) and have implemented it using isVisible.
/Murat
Do you want (a) to display one or the other feedback panel depending on
whether the parent or child form was submitted? Or (b) should all messages
from the child form always go to one feedback panel, and the
Al Maw wrote:
I really want to avoid this, as it seems messy having to add all
components to the body markupcontainer. I can't believe this is the
Wicket way to solve this problem :)
See MarkupContainer#isTransparentResolver().
Sweet! Thank you, that made by day :) It seems Wicket has
somehow you hold reference to:
com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate
in your page. That seems to be not serializeable so i guess that one needs
to be transient
and needs to be re lookuped
johan
On Nov 23, 2007 9:38 PM, V. Jenks [EMAIL PROTECTED] wrote:
I'm
BodyOnLoadContainer is dropped because you shouldn't try to generate body
onload=xxx
What you should do is have a header contributor and add call
IHeaderResponse.renderOnLoadJavascript(String javascript);
johan
On Nov 23, 2007 10:09 PM, Edvin Syse [EMAIL PROTECTED] wrote:
Al Maw wrote:
What's wrong with putting this in a configuration file or just a
constant. Because in general this does not really work.
For example, your web server may be behind a proxy or firewall, it may
be clustered (and thus you have many machines instead of just one and
they can't all have the same
Hi Sebastiaan,
thanks for your answer. Excellent point on potential problems when using
clusters, firewalls and proxies (I run into those already).
I also thought on providing the URLs in a configuration file/spring config,
but feared there might be a simple and preferred Wicket way to
i googled a bit and tried the forum, but could see any posts on this. I would
like to provide access to my web-application. It requires tomcat / jetty and
jboss. I found many descriptions and advertisments (virtual server,
webhosting, dedicated server etc.) Im a bit confused.
What server do
And you need a framework for this? Come on!
An extremely lightweight framework that gives me dependency injection
and helps manage the myriad of repository and service classes I end up
with in large enterprise systems? All without the need for heavyweight
Swing and the XML hell and runtime
Greetings,
I want to know how to handle the Jquery, JSon data in the wicket. What is
the best way to do it.
I have created simple form which sends the json data across to server and
replies back to the form.
I am not sure how to handle the request and response in wicket. I am using
Json-lib 2.1
64 matches
Mail list logo