ExternalLink works great with relative path (/DownloadedFiles/file1)
and I was able to access the context path
using getServletContext().getRealPath(/) in Application.init
Thanks
Pierre
Nino.Martinez wrote:
folder.getFiles()[1].toURL() should give the direct url for the file, now
great:) and np..
Pierre G wrote:
ExternalLink works great with relative path (/DownloadedFiles/file1)
and I was able to access the context path
using getServletContext().getRealPath(/) in Application.init
Thanks
Pierre
Nino.Martinez wrote:
folder.getFiles()[1].toURL() should give
Hi,
I recently tried the following in a panel's markup:
div wicket:id=menu/div
add(new MenuPanel(menu));
and in MenuPanel.html:
wicket:panel class=menuBar ... /wicket:panel
Unfortunately the class attribute was not put in the result. It was
even silently ignored!
WDYT, is
Well, I did it, and it worked fine ;) Thank you!
Could you give me a short explaination?
Igor Vaynberg a écrit :
can you try not casting to DiskFileItem and just use FileItem.getinputstrema()?
-igor
-
To unsubscribe,
Hi all,
Here's a little reminder.. Don't forget to sign up for our private little party
@ ApacheCon!
More info below...
Arje
It is meetup time again! Our last Amsterdam Meetup was a big
success and we want to continue that tradition. Over 80
Wicket developers attended the previous
Hi,
I have one form with multiple fields where I can edit a object. I want to
attach a document or image (of class Document) to the form/object using a
second upload form. This works fine if I first execute the upload, then edit
other fields and finally submit the form.
The problem occurs if I
most of the time at least as far as i know
you work the other way around.
First the webdeveloper then the programmer
And maybe after that the webdeveloper only tweaks. But he can do that just
fine he just should leave the wicket tags alone
johan
On Thu, Mar 6, 2008 at 2:10 AM, Alex Jacoby
Yeah thats the usual way.. But still if you panalize a lot, tweaking for
them could become a little hard. But I guess if you spend a little hour
with them they should not have those trouble..
Johan Compagner wrote:
most of the time at least as far as i know
you work the other way around.
Hi Erik,
The wicket:panel construct will be stripped entirely of course. Where
would you expect the class applied to a wicket:panel to appear - are
you suggesting it should be added to the containing div?
So:
div wicket:id=menu[menu]/div
And:
wicket:panel class=menuBarContents of
the wicket way would be to sort it in java. use Arrays.sort and a comparator
johan
On Thu, Mar 6, 2008 at 12:00 AM, jeredm [EMAIL PROTECTED]
wrote:
I am looking for an easy way to sort single items within a
list...basically I
need to re-order a list. For example, I have 30 table rows and
[EMAIL PROTECTED] wrote:
a fancy solution would be to upload the file by means of an ajax
request - then the values would stay the same as the page doesn't
perform a full reload, that ain't as easy as it sounds, take a look a
this:
The logic thing would be to add the class to the div:
div wicket:id=menu class=menuBar/div
However i can see your point of adding it to wicket:panel if you
want to enforce it on all menu's. Sure would be nice if wicket could
automatically transfer anything extra it finds there to the actual
a fancy solution would be to upload the file by means of an ajax request -
then the values would stay the same as the page doesn't perform a full
reload, that ain't as easy as it sounds, take a look a this:
unfortunately i haven't had the time to try it so far. but i'd be interested
if it works too ;-)
regards,
Michael
Kai Mütz wrote:
[EMAIL PROTECTED] wrote:
a fancy solution would be to upload the file by means of an ajax
request - then the values would stay the same as the page doesn't
Hi Igor,
The picker works fine - its the implementation I'm concerned about.
If you have 2 instances, then all the javascript exists twice. All the
translations exist twice.
The demo does not show 2 date pickers and you can clearly see the dependance
on initdateTextField2 being pasted into
in FirstLogin.java ---
PageParameters params = new PageParameters();
System.out.print(pid= + params.getKey(pid));--the output is
null;how to get the parameter?
What are you doing here exactly?
Are you creating the PageParameters yourself?? in the FirstLogin page?
That is
Hi all,
This is causing me some issues as well. I have a page which contains
21 datepickers... These add 59KB of JavaScript to the head and I now
believe might be the cause of a ~three second browser pause I'm seeing
when the entering the page.
The 1.2.6 datepicker component kept its
Thanks for all the advice -- guess I'll see how it goes, possibly post
something to the wiki if it seems to be useful.
Alex
On Mar 6, 2008, at 4:58 AM, Nino Saturnino Martinez Vazquez Wael wrote:
Yeah thats the usual way.. But still if you panalize a lot, tweaking
for them could become a
Thank you Erik,
You should use Buttons instead of links. Button (or AjaxFallbackButton)
does submit the form.
Why, should I submit using links? we've just done it using a nested
form and attaching a AjaxSubmitLink to it.
The only thing you need to do is disable
validation on the button
Hey
It looks like a bug but it's so obvious I suspect it's a feature not a
bug, a feature I yet have learn to appreciate.
When I assert a value on a component and the path is invalid (either
the component is not there or I misspelled the path) the assertion
fails. This is fine.
When I try to
Hello Maurice,
We just (almost) implemented this component (as I wrote in response to
Erik's post), but we're are now struggling with not processing the
form and retaining user input
other than that I have the same wondering, if I submit only the inner
form, will the browser send the whole form,
Side note: the demo doesn't seem to be working in Safari (3.0.4).
Clicking the calendar icon doesn't do anything. I don't see any JS
errors in the console.
Anyone else seen this?
Alex
On Mar 6, 2008, at 1:20 AM, Igor Vaynberg wrote:
it seems to be working just fine here
If you don't have licence matter you can download the old 1.2.x datepicker
available here
http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-contrib-datepicker
and refactor to make it use the Wicket 1.3.x core classes.
That's all .
/ Paolo
On Thu, Mar 6, 2008 at 11:23 AM, Charlie
Hi!
I am tring to migrate a wicket 1.2 app to wicket 1.3 (because we hit a
blocking issue with ajax calls on dataviews in 1.2.
The problem is that the way wicket calculates path information seems to have
changed. Our architecture that uses wicket as one of several possible
rendering technologies
So as some of you may know I've been updating the Grails Wicket plug-in.
There is quite a few users on the Grails list who have shown interest in it
and the ability to use a component framework backed onto the rest of the
Grails stack (GORM, transactional services, plugin system etc.)
However,
Hi Maurice,
Nice, I did not think of the setRenderBody option.
Thanks!
Erik.
--
Erik van Oosten
http://day-to-day-stuff.blogspot.com/
Maurice Marrink wrote:
The logic thing would be to add the class to the div:
div wicket:id=menu class=menuBar/div
However i can see your point of
This isnt going to work for me. At least I do not think it will. Lets start
with the first issue and then move from there.
The link calls the popup which has a form. when the link is submitted I want
to add the customer info to the parent page.
You suggest storing the info in a database but
Hi Wojciech,
I am sorry, it appeared I wrote too quickly. This morning I found out
that what I wrote mostly does not work.
You /can/ call processInput() on any form component (if not all). This
will make that particular form component puts its value in the model.
But any way, the nested forms
when is the date going to be drilled down?
I think this looks really great. I'm pretty sure the current wicket
builder project has been abandoned, so this would be a welcome
replacement.
I've been dying to dive into grails now that it supports a *real* view
layer! =)
On Thu, Mar 6, 2008 at 8:59 AM, graemer [EMAIL PROTECTED] wrote:
you need to use the same form for both upload and other fields. that
is just how html works.
-igor
On Thu, Mar 6, 2008 at 1:30 AM, Kai Mütz [EMAIL PROTECTED] wrote:
Hi,
I have one form with multiple fields where I can edit a object. I want to
attach a document or image (of class Document)
i have no idea how much of that javascript can be factored out and how
much of it is requried to init each instance of the yui calendar.
(didnt write that one). perhaps gerolf or eelco wouldnt mind pipinig
in... i didnt see any license headers being dumped into html though.
personally ive used
right, in your menu panel call setrenderbodyonly(true) and then inside
itis markup have the diiv wth the class attr.
-igor
On Thu, Mar 6, 2008 at 8:09 AM, Erik van Oosten [EMAIL PROTECTED] wrote:
Hi Maurice,
Nice, I did not think of the setRenderBody option.
Thanks!
Erik.
--
to contribute a Wicket page explaining this dilemma and how to get
around it, as I'm sure people run into this problem regularily.
Sorry, I meant wiki page ofcourse :)
-- Edvin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
it is called that way for security reasons, eg so you cannot click a
link that is not visible just because you know its url...
what he should do is follow the delete call with a listview.detach() call
-igor
On Thu, Mar 6, 2008 at 10:56 AM, Edvin Syse [EMAIL PROTECTED] wrote:
Hi,
I've run
it is called that way for security reasons, eg so you cannot click a
link that is not visible just because you know its url...
what he should do is follow the delete call with a listview.detach() call
Allright, thanks. Is it worth making a wiki page for this? I'll do it if you
think there is
Hi everyone,
I am having problems with finding resource keys for formComponents in a
form which has two panels of the same kind. My formcomponents are inside
couple levels of panels from the form and I am having hard time to figure
out the resource key for those formComponents. Is there an
not really sure, maybe add it into the gotchas wiki page
-igor
On Thu, Mar 6, 2008 at 11:08 AM, Edvin Syse [EMAIL PROTECTED] wrote:
it is called that way for security reasons, eg so you cannot click a
link that is not visible just because you know its url...
what he should do is
not really sure, maybe add it into the gotchas wiki page
OK :)
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi folks,
Building on the success of the previous Apache Wicket User Group meet last
month, Google UK has generously decided to host the next one.
This time, the fun and games will happen on *April 2nd*, starting at *6:30pm
*.
To sign up and for more details (links to a map, etc.) please go to:
The URL to the Wiki on the mentioned url is wrong, it seems like there is some variable substitution not taking place. It links to
http://cwiki.apache.org/SPACE_NAME instead of http://cwiki.apache.org/WICKET/.
-- Edvin
-
To
The URL to the Wiki on the mentioned url is wrong, it seems like there
is some variable substitution not taking place. It links to
http://cwiki.apache.org/SPACE_NAME instead of
http://cwiki.apache.org/WICKET/.
Sorry, think I screwed up. I guess it's supposed to be that way :) *taking a
see FormComponent.MessageSource for resource resolution.
FormComponent.error(ivalidationerror) already has a todo in there to
make the error show tried keys, just havent gotten to it yet. perhaps
if you file a jira issue the priority of that todo will move up..
-igor
On Thu, Mar 6, 2008 at
We have a site developed using Wicket 1.2. One of the use cases we
have is to pass in a parameter on the home page, and based on that we
perform some actions. e.g
http://localhost/helloworld?name=John
This functionality seem to be broken in 1.3. When passing in
parameters on the home page URL
Al,
Good news, thanks to you and your colleagues at Google - I hope some of them
will be able to join us again as well.
The http://jweekend.co.uk/dev/LWUGReg/ registration page is now ready for
those of you who would like to come along. Please remember to click on the
link in the automated
Hi Nino,
we're using cookie sso. works like a charm.
when the user logs in (in our app) we generate a temporary forum password,
store it in the Account table, and return it (hashed with a salt) in a
cookie, along withthe username.
the cookie gets passed to the forum,
which looks up the username,
I've been using wicket for quite some time now and I just have a
question regarding the reason why wicket parameters are sent as a
sequence of
/param-name/param-value/
pairs instead of the traditional ?param-name=param-value etc., query
strings.
Was the reason that it was believed that /p/v
On Thu, Mar 6, 2008 at 2:33 PM, Chris Colman
[EMAIL PROTECTED] wrote:
I've been using wicket for quite some time now and I just have a
question regarding the reason why wicket parameters are sent as a
sequence of
/param-name/param-value/
pairs instead of the traditional
So you want option 2,
The popup panel has a model to store the customer entity.
the popup panel probably has a form.
because you only want to refresh part of the parent page the form has
to have an ajax submit
in the submit you add the customer entity or its model to the panel on
the parent page.
off the top of my head, i'd say we could skip the localization part for
Locale.ENGLISH (and the like), as it's the default language in YUI.
couple of YUI releases, we switched to using the YUILoader to
dynamically load the needed .js files. and now that you've mentioned it,
it may not be an ideal
I've already filed an issue and submitted a patch for this:
https://issues.apache.org/jira/browse/WICKET-1385
Cheers,
Dave
-Original Message-
From: Rajiv Jivan [mailto:[EMAIL PROTECTED]
Sent: 7 March 2008 05:47
To: users@wicket.apache.org
Subject: Problem when MIgrating from
I'd like to get some thoughts around adding the following to the base
Component class.
I may have missed something and it's already available via some other
elegant means :)
add(new Label(testLabel, getString(dashboardModel.getNameKey(),
DashboardTestModel.class, default val)));
It's sort of a
On 3/6/08, Ned Collyer [EMAIL PROTECTED] wrote:
I'd like to get some thoughts around adding the following to the base
Component class.
I may have missed something and it's already available via some other
elegant means :)
add(new Label(testLabel, getString(dashboardModel.getNameKey(),
done, wicketstuff-jmx-panel is in the wicketstuff.org maven repository
dependency
groudIdorg.wicketstuff/groupId
artifactIdwicketstuff-jmx-panel/artifactId
version1.3-SNAPSHOT/version
/dependency
cheers,
Gerolf
On Wed, Mar 5, 2008 at 12:13 PM, Rommert de Bruijn [EMAIL PROTECTED]
wrote:
Thanks for the calendar info - i'll check it out.
nb, they both share the same bug in StyleDateConverter.java where the
formatter does not take the component locale.
I've created a Jira item for this for the wicket-datetime component.
https://issues.apache.org/jira/browse/WICKET-1401
Rgds
Ned
Thanks for the reply.
Core to my requirement is internationalisation, and per locale date formats
(both client and server side).
The wicket-datetime one is close to ideal, just has some implementation
issues which I believe could be cleaned up in a manner similar to *.js
convenience methods.
Hello taygolf,
well, In the wicket Example, there is a velocity example.
the source file is 'DynamicPage.java'.
It may meet your need.
I think the jsp and servlet may simpleness than wicket
Best regards,
=== At 2008-02-20, 05:11:23 you wrote: ===
Hey guys,
I am very new to wicket
If I have something like
my.example.City.java
my.example.City.properties
And its a non wicket class, possibly coming from another library managing
its own internationalisation.
How can I use this in my panels, and have the same override behaviour as
with Panels and Pages.
I think I would want
Hi All
I have a form in my html page . I am trying to simulate form submit from
tag using onclick=document.myForm.submit();. The onSubmit() method my
wicket class doesnt get called when i do this. Do i have to use input
type=submit/ to achieve this. i am using tag so that i can style the
databinder has MoveUpButton and MoveDownButton, which do the job in
ListViews. If you don't use databinder, you can still have a look at
the source.
databinder.net
Cheers,
Thomas
On Thu, Mar 6, 2008 at 6:35 PM, jeredm [EMAIL PROTECTED] wrote:
I should have been more clear that I need to
well, a Panel Component could not get spring context beans, it got
java.lang.NullPointerException, but a WebPage Component is ok.
I use
'applicationFactoryClassName=org.apache.wicket.spring.SpringWebApplicationFactory'
to config in the web.xml
61 matches
Mail list logo