Hello,
I'm trying to figure out how to get a file uploaded using wicket without a
form. That is, a flash piece is sending my wicket piece a file using the
HTTP POST method. The post will have Content-Type of multipart/form-data,
Content-Disposition set to 'Filedata', a filename attribute, and
setup a servlet to receive the post
-igor
On Wed, Oct 15, 2008 at 11:25 PM, John Fehr [EMAIL PROTECTED] wrote:
Hello,
I'm trying to figure out how to get a file uploaded using wicket without a
form. That is, a flash piece is sending my wicket piece a file using the
HTTP POST method. The
It is statefull then because it has a callback to that page instance
and component. What do you want do do in the onchange method?
On 10/15/08, Ritesh Trivedi [EMAIL PROTECTED] wrote:
Hi,
Is there a way to get stateless DDC with onchange notifications? Also would
be helpful if someone could
And clustering is a problem. Its not a really good idea to hold on to
session objects outside the request. Even with no clustering but if
the container just flushes you session to disk then after another
request or the timeout you are not working with the same object
anymore
On 10/15/08, Nino
Looking at YUI... They do actually link directly to the js I based the
accordion component on:
http://developer.yahoo.com/yui/animation/
Did you try writing to the guy who did the js script?
Nino Saturnino Martinez Vazquez Wael wrote:
jchappelle wrote:
Yea, if it is having the problem in
I am trying to run the brix demo.
i have configured alfresco in my local system(which will me moved to
some central repository later).
I have also installed RMI extension to it. So that i can access via rmi.
I am facing problems configuring it with alfresco in the
application.properties.
Hi
Im trying to use shared resources. I load them in
wicketapplication.init, a similar approach works for me in 1.3, however
in 1.4m3 I get null resources when I grab them from shared resources.
I can see that the resource are actually bound when I call bind..
The code:
public static
Nope I know and agree. But it's the only solution I could think of, and
in my case it's just exploration.
Johan Compagner wrote:
And clustering is a problem. Its not a really good idea to hold on to
session objects outside the request. Even with no clustering but if
the container just flushes
Hi Erik,
You are right, the src AttributeModifier overwrites params values. If I am
not using the src AttributeModifier then the params has values and if I use
it then the params are empty.
But it seem that I must use the src AttributeModifier since I am using
sitemesh decorators to decorate my
Hi,
I'm not sure I understand exactly what is your problem but wouldn't
something like this:
Db4oImpl / JpaImpl / WhateverImpl ---extends---
AbstractBaseClassWithYourBusinessLogic ---implements--- YourInterface
Where needed you would delegate to the base class (just adding the
impl
Do not hesitate, Mac is great! I use it all the time.
They waited a bit too long with bringing Java 6 to Mac, but besides
that, it all works great.
We also use Mac OS X Server with Tomcat to deploy our software.
By the way, you know you have to change your nickname?
Something like
Java on OS X is lagging behind unfortunately. Java 6 is only available
for 64bit intel CPUs, but that won't be a problem for you (as long as
you don't buy a first gen CoreDuo macbook pro, all intel cpu's are
currently 64bit).
Apple is very secretive about their future plans, especially so about
Hi
We use Mac's here at our office too, namely the Apple MacBook Pro. As
Martijn mentioned apple are a bit slow on the java side, and pretty
elusive about information..
We have no problems using mac's. And I never shutdown my mac, always
hibernate once every 3 or 4 weeks it crashes(but it's
Buying a mac doesn't force you to use macos, I just love their
hardware but stick to linux as dev environment. My mac mini has a
ubuntu/macos dual boot.
If you are going to stick with ubuntu better check if there are any
issues with the new macbooks. I've read about thermal and suspend
problems
hello daniel,
well yeah, maybe that can work, but still I'll have to override
every method in the base class in order to add annotations:
...
@Id
@GeneratedStrategy(..)
public Integer getId() {
return super.getId();
}
...
same thing for every getter/setter methods of the entity. I
it seems like you're talking about the DnD version of the Palette component
in wicket extensions.. See its source code, maybe it will give you some
idea..
Neil McT wrote:
Hi,
I'm wondering what would be the best way to enable dhtml drag n drop in
Wicket.
Its a fairly typical
Hello once again,
wicket-guice integration has been working good for me, but I needed
to get some injected services in classes that were not Components, so I did:
Injector injector = ( (GuiceInjectorHolder)
I have a modal window for uploading a picture. After uploading the image the
user is taken to a preview page inside a modal window itself and if the user
clicks on the button window.close(target) is called and i get a message
page expired. Please help!
--
View this message in context:
Hi all,
Is there any way I can control the page expire url? I am using ajax self
updating and when the page expire for some reason it turns into
host:port/myapp/;jsessionid=9A04D7E548899E5E36381E6AEBCAD1AE?wicket:bookmarkablePage=:org.apache.wicket.markup.html.pages.PageExpiredErrorPage
I need
I've the same requirement, and til now I didn't find any solution.
PageExpired means the session is dead, so you have lost any information
of the user.
Maybe some core developpers may have a solution?
itayh a écrit :
Hi all,
Is there any way I can control the page expire url? I am using
Francis De Brabandere wrote:
Buying a mac doesn't force you to use macos, I just love their
hardware but stick to linux as dev environment. My mac mini has a
ubuntu/macos dual boot.
Yup I know. It should be listed as a pro:)
If you are going to stick with ubuntu better check if there are
Sorry, should have been more specific. I still need the wicket session
information, so I can process the file uploaded depending on which user is
logged in.
Wicket generates the html for the page (based on the user logged in) that
includes the flash that uploads the file. The wicket part that
getApplicationSettings().setPageExpiredErrorPage(Page.class);
On Thu, Oct 16, 2008 at 3:33 PM, Piller Sébastien [EMAIL PROTECTED] wrote:
I've the same requirement, and til now I didn't find any solution.
PageExpired means the session is dead, so you have lost any information of
the user.
yep, but it isn't dynamic...
Francis De Brabandere a écrit :
getApplicationSettings().setPageExpiredErrorPage(Page.class);
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hello wicket users,
I have to bye a new notebook and I am thinking about the new
Apple MacBook Pro.
I am using Ubuntu for my development, Java/Wicket with maven, Eclipse/Idea,
Tomcat.
Are here any Mac OS X users and developers with pros and cons? I want to
know
if Mac OS X will be a good dev
Hi,
I have a follow problem. I would like to use jCIFS authetication with
wicket.
I have all necessary configuration in web.xml.
filter-mapping
filter-nameWicketApplication/filter-name
url-pattern/*/url-pattern
/filter-mapping
filter
Hi all
Here's just newbie's quesion on using PageableListView.
I'm trying to use PageableLiveView in my project. But it doesnt work. The
following is the error I got. As I can see, I do have that room_type
component in the html file. It just doesnt work.
Since I dont understand how
there's yui menu in wicket-stuff - I am using it :) wicket-contrib-yui /
examples
2008/10/9 Newgro [EMAIL PROTECTED]
Hi *,
i would like to integrate the yui splitbutton into my application. I tried
to integrate it myself, but it's a hopeless with my small experience in
building
By the way, I just added a DB4O implementation to Domdrides. The only
catch is that you have to download DB4O yourself and install into your
local maven repository to get the build to work. Good luck! Hope
that helps.
On Thu, Oct 16, 2008 at 6:27 AM, James Carman
[EMAIL PROTECTED] wrote:
Are
It looks like the files they are using are
http://yui.yahooapis.com/2.6.0/build/animation/animation-min.js
http://yui.yahooapis.com/2.6.0/build/yahoo-dom-event/yahoo-dom-event.js
and the files that our accordion uses are
Are you using interfaces for your entities or your repositories
(DAOs)? If you'd like a library to start from, check out Domdrides (a
DOMain-DRIven DESign library):
http://domdrides.sourceforge.net
Basically, it provides a common API for doing domain-driven design and
also provides some useful
Hello guys,
thank you for the feedback.
best regards
greeklinux wrote:
Hello wicket users,
I have to bye a new notebook and I am thinking about the new
Apple MacBook Pro.
I am using Ubuntu for my development, Java/Wicket with maven,
Eclipse/Idea, Tomcat.
Are here any Mac OS X
Hello,
I am testing Wicket possibilities in order to launch the development of a
new application.
I wanted to display a sortable datatable, so I read this:
http://cwiki.apache.org/WICKET/simple-sortable-datatable-example.html
It works fine but I have few questions:
-1. This example is up to
Hi,
filters are applied in order of their appearence in the web.xml - so when your
wicket-filter is applied, there hasn't any authentication been performed...
Best regards, --- Jan.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Hi,
I'm wondering what would be the best way to enable dhtml drag n drop in
Wicket.
Its a fairly typical use-case I have 2 divs, one is a container of
draggables, the other is a container of droppables - i.e. where the
draggables will be dragged to. This is not an ajax question as there is
So have you tried it with wicket?
http://incubator.apache.org/empire-db/
--
-Wicket for love
Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Ahh I could update it.. And I think i will..
jchappelle wrote:
It looks like the files they are using are
http://yui.yahooapis.com/2.6.0/build/animation/animation-min.js
http://yui.yahooapis.com/2.6.0/build/yahoo-dom-event/yahoo-dom-event.js
and the files that our accordion uses are
Hi,
Is it possible to get hold of the value of a palette's selected item, when
it is clicked (not double clicked)?
The purpose is to view a description of each selected item in the palette:
When a user clicks whatever item in the palette, I want to get hold of this
item's value, then use it to
I copied you on the email I sent to the javascript developer but I want to
post the solution that I found here so that it might help others.
In the accordion-menu-v2.css file I commented out one line of code. Here is
the snippet:
html.accordion-menu-js dd.a-m-d-before-expand {
currently brix only runs with jackrabbit, some extra work will be needed to
get it to work with alfresco. brix uses jcr workspaces extensively and until
jcr2.0 there is no standard method for doing this. so brix uses
jackrabbit-specific code to accomplish this. if you want to use it with
alfresco
salve removes fields and performs just in time lookup of the dependency. so
no serialization errors and your instances take up less ram.
as far as wicket's guice support goes you should really do this
InjectorHolder.getInjector().inject(this) - this will inject proxies instead
of actual
inside your tr wicket:id=rooms you are missing something like tdspan
wicket:id=description for the components you add to the listitem
-igor
On Thu, Oct 16, 2008 at 4:38 AM, overseastars [EMAIL PROTECTED] wrote:
Hi all
Here's just newbie's quesion on using PageableListView.
I'm trying to
Hi Jan,
thank you a lot, not just it's working but I understand to filters a bit
more =)
kind regards,
lenka
Jan Kriesten wrote:
Hi,
filters are applied in order of their appearence in the web.xml - so when
your
wicket-filter is applied, there hasn't any authentication been
Hi there,
I've a problem with appending a part of a javascript code to the head once
for all my concrete behavior classes.
Below what I do at this moment:
JQueryBehavior class
public abstract class JQueryBehavior extends AbstractBehavior {
private static final String JQUERY_1_2_6 =
put WicketSessionFilter over the servlet receiving the upload.
-igor
On Thu, Oct 16, 2008 at 7:06 AM, John Fehr [EMAIL PROTECTED] wrote:
Sorry, should have been more specific. I still need the wicket session
information, so I can process the file uploaded depending on which user is
logged
we do not know the page you came from since the instance is gone. the
container doesnt tell you the session is about to expire, it tells you it
has - at which point you can no longer access it.
-igor
On Thu, Oct 16, 2008 at 5:27 AM, itayh [EMAIL PROTECTED] wrote:
Hi all,
Is there any way I
Hi Josh
I've comitted the change.. I do not think we should upgrade the
javascript dependencies..
jchappelle wrote:
I copied you on the email I sent to the javascript developer but I want to
post the solution that I found here so that it might help others.
In the accordion-menu-v2.css
I think it's the order they are mapped in the web.xml file. The
declaration order doesn't decide what goes first/last. Basically, the
filter-mapping elements decide the order.
On Thu, Oct 16, 2008 at 10:55 AM, Jan Kriesten
[EMAIL PROTECTED] wrote:
Hi,
filters are applied in order of their
I run into a concurrency issue: My pages load fine when I visit
them slowly, one after the other with a pause between clicks.
However, if I click on two links on my page very, very fast, an
exception gets thrown.
My session factory outputs the number of the thread and the hash
code of the
you have to write code that will add your own onchange/onclick javascript
handler
-igor
On Thu, Oct 16, 2008 at 8:32 AM, Asgaut Mjølne [EMAIL PROTECTED]wrote:
Hi,
Is it possible to get hold of the value of a palette's selected item, when
it is clicked (not double clicked)?
The purpose is
requests from a single session are serialized. but what if your page is
stateless and you click the two links fast?
each click spins off a request that now needs a session and because they run
concurrently two sessions are created because this is the first request that
needs a session.
try doing
Well if I understand it correctly, a component embedded inside (otherwise
stateless) bookmarkable page checks if the page instance exists if not the
page is to be newly created from the params or default constructor. So the
page and the DDC doesnt necessarily have to be statefull.
As about what
Looks like it has a lot in common with JPersist. That is what I have been
using. No XML, all POJO.
-Original Message-
From: Nino Saturnino Martinez Vazquez Wael [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 16, 2008 11:28 AM
To: users@wicket.apache.org
Subject: have anyone tried
On Thu, Oct 16, 2008 at 6:16 PM, Ritesh Trivedi [EMAIL PROTECTED]wrote:
Well if I understand it correctly, a component embedded inside (otherwise
stateless) bookmarkable page checks if the page instance exists if not the
page is to be newly created from the params or default constructor. So
Hi all, I wanted to know if it is possible to redirect an AjaxLink call to a
file.
Kind of like an expiration redirection but with a file...
f(t)
Hi, to easy up on my previous Q I need to do the following:
I have a modal dialog with three buttons (actually AjaxLinks).
One to Cancel and call modalDIalog.close(ajaxRequestTarget);
And two buttons that need to close the modalWindow and download (open the
Save File window) a file. One button
Thanks. Will try this.
Steve
jwcarman wrote:
Sorry, I mean addBottomToolbar()
On Tue, Oct 14, 2008 at 1:25 PM, James Carman
[EMAIL PROTECTED] wrote:
Have you tried creating a toolbar? You could call
setBottomToolbar() on your DataTable.
On Tue, Oct 14, 2008 at 1:21 PM,
Yeah seems to be nice...
At WUG DK we discussed. That if using stuff like hibernate, for simple
cruds it's nice but if you have a complex object graph it becomes very
troublesome to use (if you use cascade all etc.)..
Ames, Tim wrote:
Looks like it has a lot in common with JPersist. That
Hi James,
I think it's the order they are mapped in the web.xml file. The
declaration order doesn't decide what goes first/last. Basically, the
filter-mapping elements decide the order.
right, but I used the word 'filter' not as a synonym for the xml-tags but the
application of the filter
Hi,
Is there a way to get the page # and row count from the AbstractColumn? Need
that to display continuous index of items.
--
View this message in context:
http://www.nabble.com/Way-to-get-page--and-or-row-count-in-the-AbstractColumn--tp20016163p20016163.html
Sent from the Wicket - User
you can pass the datatable reference into it.
-igor
On Thu, Oct 16, 2008 at 11:18 AM, Ritesh Trivedi
[EMAIL PROTECTED]wrote:
Hi,
Is there a way to get the page # and row count from the AbstractColumn?
Need
that to display continuous index of items.
--
View this message in context:
I don't understand. Reading the javadoc InlineFrame should set the src
attribute. If that is not the case, try setting the src attribute with
something like:
myFrame.add(new AttributeModifier(src, new Model(urlFor(MyFrame.class,
pageParameters;
Regards,
Erik.
itayh wrote:
Hi
You could simply extend DropDownChoice, overriding
wantOnSelectionChangedNotifications to return true.
Override onSelectionChanged also, and in there you can call
setResponsePage(...) to redirect to your other pages.
Works fine for me.
Hope this helps...
Ritesh Trivedi wrote:
Well if I
Thanks all. The first tests work fine now, still need to handle the
ignore-case searching...
Is there anybody else interested in this feature? Then I will try to prepare
the IResponseFilter implementation for public viewing/integration in Wicket.
as far as i know the response filter runs
Hello,
We have stateful, desktop-like Web applications based on Struts 1.x. We want
to migrate them to a modern Java Web framework so we are trying to choose
what framework to use. The decision will be left up to myself and another
colleague with buy-in from other key people.
The other colleague
Point is, I want to make DDC with wantonselectionchange to true, stateless -
what you did, unless I am missing something, is working for me too but its
statefull and causes the otherwise stateless bookmarkable page to be stored
in session and makes it statefull.
pixologe wrote:
You could
here is really what it comes down to:
springmvc/struts/etc are geared towards building stateless applications.
building something statefull is hard in these frameworks because the burden
of having to juggle state is on you and it is hard/impossible to get right
when doing manually.
wicket is
Hi Guys,
I was wondering if there's a way that wicket can generate the html in with
indentation? Right now, when we view-source our wicket page in the browser, it
generates the html without tabs. All lines are left-aligned.
Thanks in advance.
Wen Tong
--
The only constant in life is
get an editor that can format it for you
-igor
On Thu, Oct 16, 2008 at 1:35 PM, Beyonder Unknown [EMAIL PROTECTED]wrote:
Hi Guys,
I was wondering if there's a way that wicket can generate the html in with
indentation? Right now, when we view-source our wicket page in the browser,
it
get an editor that can format it for you
-igor
On Thu, Oct 16, 2008 at 1:35 PM, Beyonder Unknown [EMAIL PROTECTED]wrote:
Hi Guys,
I was wondering if there's a way that wicket can generate the html in with
indentation? Right now, when we view-source our wicket page in the browser,
it
thanks.
--
The only constant in life is change.
- Original Message
From: Igor Vaynberg [EMAIL PROTECTED]
To: users@wicket.apache.org
Sent: Thursday, October 16, 2008 1:44:52 PM
Subject: Re: format in wicket generated html?
get an editor that can format it for you
-igor
On Thu, Oct
The system I'm building at the moment has almost everything pushed down into
components. Most of the functionality is achieved by a single base page
which takes a component in its constructor.
For Bookmarkable pages, I extend this base page, and pass a component to the
super.
How do _you_
Hmm... I can only find the non-DnD version of the palette. Any idea where the
DnD version lives?
Serkan Camurcuoglu wrote:
it seems like you're talking about the DnD version of the Palette
component in wicket extensions.. See its source code, maybe it will give
you some idea..
--
sorry for the misunderstanding, I meant to say you're trying to build a DnD
version of the palette (which doesn't exist yet :)..
Neil McT wrote:
Hmm... I can only find the non-DnD version of the palette. Any idea where
the DnD version lives?
Serkan Camurcuoglu wrote:
it seems
lol... fair enough. Thought it sounded too good to be true :)
Serkan Camurcuoglu wrote:
sorry for the misunderstanding, I meant to say you're trying to build a
DnD version of the palette (which doesn't exist yet :)..
--
View this message in context:
Have you tried using the renderJavascript(script, id) method? Something
like:
@Override
*public* *void* renderHead(IHeaderResponse response) {
*super*.renderHead(response);
response.renderJavascript(script,
some-id-unique-to-this-behavior-perhaps-getClass().getSimpleName());
}
--
I have an AjaxLink inside a div. There is an onclick event handler added at
the document level in the dom. If I am clicking the div that contains my
AjaxLink the event will fire. However, I don't want it to fire if I click
the link.
It seems that there is a way to do this in javascript. I think
I found the solution. I will post it for everyone that is interested.
I created a this class:
public class AjaxCancelEventBubbleCallDecorator extends
AjaxPostprocessingCallDecorator
{
private static final long serialVersionUID = 1L;
public AjaxCancelEventBubbleCallDecorator()
On Thu, 16 Oct 2008, ns_wicket wrote:
I wanted to display a sortable datatable, so I read this:
http://cwiki.apache.org/WICKET/simple-sortable-datatable-example.html
It works fine but I have few questions:
-1. This example is up to date?
0. Is it the best solution?
1. I read the html
Has that code been posted for wicketstuff-1.3? I am using the old
wicket-contrib-tinymce-1.3-SNAPSHOT.jar. Where would I find an updated
snapshot?
Thanks,
Josh
sander v F wrote:
For a project I also needed a AjaxSubmitLink to submit the tinyMce data,
so
i've searched for a solution and
Use firebug.
Beyonder Unknown wrote:
Hi Guys,
I was wondering if there's a way that wicket can generate the html in with
indentation? Right now, when we view-source our wicket page in the
browser, it generates the html without tabs. All lines are left-aligned.
Thanks in advance.
Are you using one page and just passing in your content component?
Are you not using markup inheritance?
On Thu, Oct 16, 2008 at 5:16 PM, Ned Collyer [EMAIL PROTECTED] wrote:
The system I'm building at the moment has almost everything pushed down into
components. Most of the functionality is
I use the menu2 only though :( I am using trunk version and it should work
with wicket 1.3+
2008/10/17 Per Newgro [EMAIL PROTECTED]
Sure i know the contribution. But i didn't found the split button. Do you
use
the splitbutton? Can you please tell me the lib-version and the package
it's
83 matches
Mail list logo