I finally solved it ;-)
The trick was to override setHeaders in JRPdfResource
Add:
response.setHeader("Cache-Control", "private");
response.setDateHeader("Expires", -1);
lizz wrote:
>
> I am creating a (jasper) pdf file using JRPdfResource in a JasperLink.
> This works fin
On Wed, Dec 10, 2008 at 10:39 PM, shetc <[EMAIL PROTECTED]> wrote:
>
> Hi Maarten,
>
> This is slightly off-topic as it's not really a Wicket issue but more of a
> Flash problem.
> The Open Flash Chart swf works fine as long as it is not used with SSL.
> According to
> http://kb.adobe.com/selfserv
David Leangen wrote:
Hmm, I do actually have something working, which seems to be really
simple.
Ok, good for you!
Yup, I plan to push it back to wicketstuff once I've figured out the
last problems...
Using openid4java, my only problem are that I cant seem to get
any openid
Then check this approach out :
http://ninomartinez.wordpress.com/2008/12/11/wicket-never-stops-to-impress-me/
Easy and simple - The Wicket way :)
--
-Wicket for love
Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684
http://json.org/ ?
2008/12/11 Ashis <[EMAIL PROTECTED]>:
>
> Hello all,
> I have a question i need to pass list from java class to javascript.
>
> How can i do this stuff?
>
> Thanks
> --
> View this message in context:
> http://www.nabble.com/passing-list-from-java-class-to-javascript-tp20949
Thanks, this works, at least when calling this on the entire form object.
Still I think this is a bit strange since it is a new request, after
pressing the link. By that time the error message is also gone, while
the form stays with these old values.
Rutger
On 12/10/08, Igor Vaynberg <[EMAIL P
Now that you started a thread containing only a link to your blogpost, I feel
less spammy when I point out that I've written a wicket-related blogpost
too:
http://talk-on-tech.blogspot.com/2008/12/wicket-neat-url-encoding-strategy-and.html
;-)
Nino.Martinez wrote:
>
> Then check this approac
definitly json.
On Thu, Dec 11, 2008 at 10:29 AM, KAN <[EMAIL PROTECTED]> wrote:
> http://json.org/ ?
>
> 2008/12/11 Ashis <[EMAIL PROTECTED]>:
>>
>> Hello all,
>> I have a question i need to pass list from java class to javascript.
>>
>> How can i do this stuff?
>>
>> Thanks
>> --
>> View th
Hehe, I just got too lazy to fill in two medias for the knowledge (mail
and blog).. Also doing blog's about wicket is good PR to get interested
in Wicket.. And it would be a shame if someone wanted to keep track of
this and only checked the list..
Cool post btw :) I'll be watching your blog:)
Hi all,
How can/should modification of (textual) user input be implemented, so that
it runs before validation?
(e.g. prepend a URL with "http://"; if the user did not do so)
My thoughts were:
IConverter - but other threads on the list point out that it is only to be
used for type conversion, no
Well you'll get into trouble with your component IDs. if you simply call
addToRepeater, your component has already an ID which might not be suitable.
We use a callback for such situations. e.g.
interface IComponent() {
Component getComponent(String id);
}
in the base page:
private Repeating
Nice question. Consider the following use case:
You have the main application menu bar. The user chooses an item from it.
What happens is that all the following pages will be related to that choice,
for example the second level menu in the page (that is contextual to the
above choice) and I would
You can always add the components during "first render" rather than at
instantiation time. The problem is that you have to keep some state
around to know whether you've been rendered yet or not.
On Thu, Dec 11, 2008 at 2:45 AM, Nino Saturnino Martinez Vazquez Wael
<[EMAIL PROTECTED]> wrote:
> Yea
component#hasBeenRendered()
http://wicket.apache.org/docs/wicket-1.3.2/wicket/apidocs/org/apache/wicket/Component.html#hasBeenRendered()
Martijn
On Thu, Dec 11, 2008 at 12:43 PM, James Carman
<[EMAIL PROTECTED]> wrote:
> You can always add the components during "first render" rather than at
> in
Hi, I use AjaxSubmitLink as a submit link for big and long form. In onError
method I add to AjaxRequestTarget whole form and some error messages. I'd
like to go top after ajax but I don't know how.
I tried to do two folowings but it does not work.
1.
protected void onError(AjaxRequestTarge
When we discussed this before
(http://markmail.org/message/kjpunkvlvh5ofajp#query:wicket%20onbeforefirstrender%20carman+page:1+mid:cwx67dw5f5tgf4vs+state:results),
it was thought that we'd have to add a bit flag to account for whether
a component had been rendered before or not.
So, why don't we a
Huh?
protected void onBeforeRender() {
if(!hasBeenRendered()) {
}
}
On Thu, Dec 11, 2008 at 1:05 PM, James Carman
<[EMAIL PROTECTED]> wrote:
> When we discussed this before
> (http://markmail.org/message/kjpunkvlvh5ofajp#query:wicket%20onbeforefirstrender%20carman+page:1+mid:cwx67dw5f5tgf
probably the browser focuses on the submit button, causing it to
scroll down again. target.focusComponent(...) should do the trick.
Martijn
On Thu, Dec 11, 2008 at 1:03 PM, Kamil Hark <[EMAIL PROTECTED]> wrote:
>
> Hi, I use AjaxSubmitLink as a submit link for big and long form. In onError
> meth
Sure you can do that, but if there was a method in the class, we could
throw some javadocs in there that says something like "this method can
be very useful when your component/page's superclass has abstract
factory methods in it which need to be used to initialize the
component hierarchy"
On Thu,
As for me, I think it's better to make a client side javascript, which
do the prepend in "onchange" event.
But in your case, maybe just make a class like
class SiteUrl implements Serializable
{
private final String url;
public SiteUrl(final String url)
{
this.url = url;
}
public Strin
target.focusComponent(...) + "window.document.body.scrollTop = 0;
window.document.documentElement.scrollTop = 0; " work just as I need.
Thanks.
--
View this message in context:
http://www.nabble.com/go-top-after-ajax-tp20954146p20954690.html
Sent from the Wicket - User mailing list archive at N
hi,
in my tabbedpane i want include different jsps.
i use the wicket include component.
that works fine without userinteraction.
but in one jsp-page is a form, which submit the data with a submit butzton
and the http-post method. when i click this one i get a page-expired -
without any logfil
Looks like you want to process a JSP Form to a Wicket page. I hardly think this
is possible.
What you could try to do is using an IFrame to load a Wicket page containing
that form. But I rather ask you, why do you want to use JSPs within the same
application that uses Wicket?
-Original Mes
hi at all..
works:
doesn't work:
ErrorLog:
WicketMessage: Exception in rendering component: [MarkupContainer [Component
id = _link5]]
Root cause:
java.lang.NullPointerException
at
org.apache.wicket.markup.resolver.AutoLinkResolver$PathInfo.(AutoLink
On Thu, Dec 11, 2008 at 02:29:04AM -0800, Michael Sparer wrote:
>
> you could also just request a childId from the super-class, but I think the
> above way is more elegant :-)
>
More elegant, yes, but also more verbose. Pick your poison, I guess.
jk
Please, submit a JIRA issue. Looks like a simple bug while parsing the content.
PS: should now be the time to reconsider the idea of dropping wicket:link? :-)
-Original Message-
From: danielt [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 11, 2008 11:34 AM
To: users@wicket.apache.org
If you open the terracotta admin console you should be able to see your
shared roots. If you are just using terracotta for http session clustering
then you should just see 1 root, which is the servlet http session.
The admin console lets you explore the shared objects, and if you go into a
singl
Yeah, I think we might just want to separate them, the goals will start
becoming a bit different as well..
Especially since push has other options other than cometd / dojo for the
general notion of getting push to web clients...
So its better to separate those concerns and have push with its own
okay, ticket is WICKET-1976
https://issues.apache.org/jira/browse/WICKET-1976
thanks, Tee
Bruno Cesar Borges wrote:
>
> Please, submit a JIRA issue. Looks like a simple bug while parsing the
> content.
>
> PS: should now be the time to reconsider the idea of dropping wicket:link?
> :-)
>
> --
Alright, I'll keep an eye on changes of your project. Maybe we can merge some
useful stuff in the future, but for now I'm of the same opinion as you.
Let's keep them seperate for now.
greetings from ice-cold austria,
Michael
Rodolfo Hansen-2 wrote:
>
> Yeah, I think we might just want to sepa
Thanks for your ideas...
But huh... is there really no "wicket way" to achieve this?
After all I would not think that it is uncommon to fix simple things in user
input before validation, e.g. trim strings, discard empty items in comma
separated lists etc.
Your solutions would work both I th
Hi
I had the same problem. The closest thing I found was, to create my own
instance of TextField:
private static class MyTextField extends TextField {
// constructors...
protected void onComponentTag (ComponentTag tag) {
super.onComponentTag(tag);
String value
As I remember, wicket trims spaces already, so you don't need do
anything special about it.
For DB, if you use hibernate (or if not, anyway you should have data
objects for your business entities), you can have something like that:
public class MyEntity
{
// This is mapped to database, but not for
Hi,
i have an existing jsp-application which i have to includ in a
new wicket application. iframe looks fine, but i have to display this
application
in different tabs, so i need a possibility to display the Iframe in a panel
- and i think it's
not possible.
I need JSP's in the same application l
And btw, I'm using Wicket 1.3.5 if that is of any interest.
--
View this message in context:
http://www.nabble.com/Response-filters-not-being-applied-when-using-custom-subclass-of-WebResponse-tp20946421p20957977.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
or instead of pages use panels as content. that way you use the same
menu instance across multiple "pages" and the menu can keep its own
state.
-igor
On Thu, Dec 11, 2008 at 2:37 AM, Paolo Di Tommaso
wrote:
> Nice question. Consider the following use case:
>
> You have the main application menu
Hi,
I am trying to integrate a scheduler into my web application. I believe my
question is probably very trivial but I am missing some vital Java
knowledge. Please let me explain…
My web application currently allows users to choose, customise and run
reports.
I now need to add a detailed schedul
You can accomplish this somehow, but all of your wicket pages will have to deal
with PageParameters... And I really recommend you to put your wicket pages
inside an Iframe. It will be bether this way.
-Original Message-
From: alexander.elsholz [mailto:alexander.elsh...@widas.de]
Sent: Th
to know a little bit more of our great (and vast) community, i was
just wondering if you're keen on sharing where you come from and/or
where you work with wicket...
for instance, here argentinian/belgian working with wicket in antibes, france
francisco
---
American in Atlanta, Georgia, USA
On Thu, Dec 11, 2008 at 1:57 PM, francisco treacy <
francisco.tre...@gmail.com> wrote:
> to know a little bit more of our great (and vast) community, i was
> just wondering if you're keen on sharing where you come from and/or
> where you work with wicket...
>
> f
Bucharest, Romania
On Thu, Dec 11, 2008 at 3:57 PM, francisco treacy <
francisco.tre...@gmail.com> wrote:
> to know a little bit more of our great (and vast) community, i was
> just wondering if you're keen on sharing where you come from and/or
> where you work with wicket...
>
> for instance, he
Please note that these were just examples, not actual use cases of mine
(apart from the URL stuff).
Anyway, I think there are quite some use cases where fixing/optimizing user
input makes sense. I've always thought converters would be the way to go,
but just recently read that they aren't.
Havin
Switzerland, work in Basel :)
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
La Paz, Bolivia
--
Marcelo Morales
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
Check this out:
http://www.frappr.com/wicket
On Thu, Dec 11, 2008 at 1:57 PM, francisco treacy
wrote:
> to know a little bit more of our great (and vast) community, i was
> just wondering if you're keen on sharing where you come from and/or
> where you work with wicket...
>
> for instance, here
Brasilia, Brazil
On Thu, Dec 11, 2008 at 4:57 PM, francisco treacy <
francisco.tre...@gmail.com> wrote:
> to know a little bit more of our great (and vast) community, i was
> just wondering if you're keen on sharing where you come from and/or
> where you work with wicket...
>
> for instance, here
I'm from Cuba, work in Barcelona, Spain
francisco treacy wrote:
> to know a little bit more of our great (and vast) community, i was
> just wondering if you're keen on sharing where you come from and/or
> where you work with wicket...
>
> for instance, here argentinian/belgian working with wicket
Middelburg in the Netherlands
francisco treacy wrote:
to know a little bit more of our great (and vast) community, i was
just wondering if you're keen on sharing where you come from and/or
where you work with wicket...
for instance, here argentinian/belgian working with wicket in antibes, franc
Rio de Janeiro, Brazil
For those brazilians out there, check this out:
http://blog.brunoborges.com.br/search/label/Wicket
And this:
http://groups.google.com/group/wicket-ptbr
Thanks,
Bruno
-Original Message-
From: Cristiano Kliemann [mailto:cristia...@gmail.com]
Sent: Thursday, December
Hi Will,
Maybe this is more question for the quartz mailing list
Probably you would want to have only one scheduler per application, so
you should follow a singleton pattern. E.g.
public class SchedulerLocator {
private static Scheduler scheduler;
public static Scheduler getS
I am looking for some feedback any may have on this:
Let's say I've mounted a package "com.company.package" using
PackageRequestTargetUrlCodingStrategy
on "/foo." So I have several pages, /foo/Bar, /foo/Baz, etc. Now, I want my
page mounts to be case-insensitive in the case that a user has caps loc
You should setUp/tearDown Quartz's Scheduler using context listener in your web
application and attach it to your Application Context.
-Original Message-
From: Ernesto Reinaldo Barreiro [mailto:reier...@gmail.com]
Sent: Thursday, December 11, 2008 6:41 PM
To: users@wicket.apache.org
Sub
I have a simple label "hello" and I want to display it twice in the same
page, but wicket complains the wicket:id needs to be unique in my page
what do I need to do, is there an alias or something?
Thanks, Jason
--
View this message in context:
http://www.nabble.com/how-to-reuse-a-label-in
Create multiple copies.
On Thu, Dec 11, 2008 at 3:57 PM, novotny wrote:
>
>
> I have a simple label "hello" and I want to display it twice in the same
> page, but wicket complains the wicket:id needs to be unique in my page
> what do I need to do, is there an alias or something?
>
> Thanks, J
Jason,
What are you trying to achieve?
Here are some ideas that may give the desired effect, depending on what that
is ...
1 - Make a model for your data and give that to all the Label instances as
required, (but each with their unique id and separate markup).
2 - Use a repeater (like a ListVie
Hello,
Spring ships with a FactoryBean for the Scheduler
see
http://static.springframework.org/spring/docs/2.5.x/reference/scheduling.html#scheduling-quartz
I guess it depends on the persistence strategy your jobs have but it
could be as easy as injecting the spring managed scheduler bean
int
Frankfurt, Germany
Am Thursday 11 December 2008 19:57:49 schrieb francisco treacy:
> to know a little bit more of our great (and vast) community, i was
> just wondering if you're keen on sharing where you come from and/or
> where you work with wicket...
>
> for instance, here argentinian/belgian w
Basically I need two of the same links on the page, and it looks like I have
to do this which just seems kinda lame...
add(new BookmarkablePageLink("personaldetails",
PersonalDetailsPage.class));
add(new BookmarkablePageLink("personaldetails2",
PersonalDetailsPage.class));
Click Here
Pro
I meant
at the bottom...
novotny wrote:
>
>
> Basically I need two of the same links on the page, and it looks like I
> have to do this which just seems kinda lame...
>
> add(new BookmarkablePageLink("personaldetails",
> PersonalDetailsPage.class));
> add(new BookmarkablePageLink("persona
Hello,
Our Wicket app makes use of the @SpringBean annotation thorughout our code,
which is a pretty cool feature. While checking some thread stack traces
during load testing, we found lots of threads bottlenecking in the
SpringBeanLocator class:
Object blocked: 145.133 ms, Object wait: 0 ms, CP
Toronto, Canada
jk
On Thu, Dec 11, 2008 at 07:57:49PM +0100, francisco treacy wrote:
> to know a little bit more of our great (and vast) community, i was
> just wondering if you're keen on sharing where you come from and/or
> where you work with wicket...
>
> for instance, here argentinian/belgi
Rome, Italy! :)
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
Rouen, Normandy, France
On Thu, Dec 11, 2008 at 22:37, Fabio Fioretti
wrote:
> Rome, Italy! :)
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
I really wonder why converters are not the right thing to do?
Trimming crap off the input is a one-way conversion *imho*
Am 11.12.2008 um 20:45 schrieb pixologe:
Please note that these were just examples, not actual use cases of
mine
(apart from the URL stuff).
Anyway, I think there are
concerning the proper javascript client for comet... is there anything
reasonable except dojo-cometd-client to use?
The dojo stuff feels really bloated for me
Am 11.12.2008 um 15:00 schrieb Michael Sparer:
Alright, I'll keep an eye on changes of your project. Maybe we can
merge some
u
Hi all
Whenever I have a FormComponent which value was persisted in a cookie
with setPersistent(true),
the value is not restored when the component is loaded in an ajax
response. The value is restored when it's loaded during a normal page
render though.
I tried calling the CookieValuePersister
The information at this page:
http://cwiki.apache.org/WICKET/how-to-switch-to-ssl-mode.html
includes the following:
MyApplication.get().getHttpsPort()
Does anyone know where this getHttpsPort method went? Or do I simply use
the WebRequest to get the URL and use that to get the port?
--
View th
Miro,
Is this related to the CGLIB problem you were having? Did the Spring guys
find an answer on their forum? If you did solve it, what did your fix
entail?
In terms of "introducing" stuff to your pages, given that the framework will
never be aware and able to utilise any such introduction the
Well that was an embarrassing post.
I noted the following below the code at that site:
There are 2 important pieces of configuration that will change based on your
environment.
1. SSL Port: There is no way to determine the SSL port being used via the
servlet spec API, so this needs to be set man
Hello everyone,
For logout from the Application I use the following Code.
getSession().invalidate();
setResponsePage(LoginPage.class);
getRequestCycle().setRedirect(true);
When using CryptedUrlWebRequestCodingStrategy the above will not work and runs
into a RuntimeExcep
I'm pretty sure that you can just add it once in Java and multiple times in
the HTML, although I've never pondered the (potential) side-effects of
this. Give it a shot and let us know how it works for you. With something
as stateless / simple as a BookmarkablePageLink, there probably couldn't be
That of course, if you want to use Spring on your application. Why
introduce another dependency for something so simple as creating a
singleton? Besides then you will have to keep/maintain another XML file.
Ernesto
Michael O'Cleirigh wrote:
> Hello,
>
> Spring ships with a FactoryBean for the Sch
Thanks guys,
But i need to pass dynamic list which is stored in databases.I have a
method appList() which returns list of application users and i need to pass
it in javascript .Not a static list
Looking forward for your suggestions.
--
View this message in context:
http://www.nabble.co
IMHO, JSON is still applicable. You're not forced to hardcode your JSON
list. You can build it dynamically in your Java class and then provide it to
your client JS for it to parse it and generate your JS list.
Regards,
Pierre
On Fri, Dec 12, 2008 at 7:32 AM, Ashis wrote:
>
> Thanks guys,
>
Sounds like an interesting idea. Here are a few thoughts I had after seeing
it. Hopefully these are helpful.
1 - Say you had a page "CustomerAdminLoginPage" - this yields
4,194,304 combinations!
Cache the result - either the class you found or the fact that you could not
find a class. (you will
Thanks
Can you give some links,examples or clues how can i perform it.I wiil be
grateful to you
--
View this message in context:
http://www.nabble.com/passing-list-from-java-class-to-javascript-tp20949804p20970838.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
Nope, wicket:id is a 1-1 mapping at the same dom tree level. You can
reuse id's at different levels or in different branches of the dom
tree, but not as siblings.
works
but another
will fail (and rightfully so)
Martijn
On Fri, Dec 12, 2008 at 6:20 AM, Jeremy Thomerson
wrote:
> I'm pretty
IMO this is way outside the normal use pattern of Wicket. Wicket's
pages are unmanaged and untied to Spring, and we intend to keep it
that way.
What you want has an enormous impact on the way you construct wicket
pages. You'll need to extend this to the component level (Panels and
borders come to
I've found the solution of this problem in my case.
I found that resource watcher is using slf4j can't work due to this error
java.lang.NoSuchMethodError: org.apache.log4j.Logger.isTraceEnabled()Z
at
org.slf4j.impl.Log4jLoggerAdapter.isTraceEnabled(Log4jLoggerAdapter.java:81)
at org
Work in Denmark pimping wicket at every opportunity i get, lived all my
life in Denmark, so half from Denmark and half from Spain :)
francisco treacy wrote:
to know a little bit more of our great (and vast) community, i was
just wondering if you're keen on sharing where you come from and/or
whe
80 matches
Mail list logo