Look like I need a AjaxRequestTarget, but how can I get it? Or I can
just create one?
http://wicketframework.org/wicket-extensions/apidocs/wicket/extensions/ajax/markup/html/modal/ModalWindow.html#close(wicket.ajax.AjaxRequestTarget)
---
Sorry, I get it, I have to create some ajax button or link to work with this
On 1/24/07, Carfield Yim <[EMAIL PROTECTED]> wrote:
> Look like I need a AjaxRequestTarget, but how can I get it? Or I can
> just create one?
>
> http://wicketframework.org/wicket-extensions/apidocs/wicket/extensions
Well use this in ur css file:
.calendar, .calendar table{
z-index: 10[ or suitable value];
}
This will make your datepicker appear in front of the
modal window.
--- Scott Swank <[EMAIL PROTECTED]> wrote:
> Note to self: must learn css better. Thanks.
>
> On 1/23/07,
How to use that in a wicket. Can u explain it a bit
more.
--- Nino Wael <[EMAIL PROTECTED]> wrote:
> Why not use a worker thread?
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> On Behalf Of Prashant Khanal
> Sent: 23. januar 2007 04:41
> To: wicket-user@lis
I was just checking if someone has been doing some DW work. It seems no one
has.
Just thinking out loud whether I should develop something myself ...
( ... )
I agree that a Dreamweaver extension for Wicket may seem useless or overkill
if you are a Java developer. Developers prefer vi over DW, I
What are proper ways to build custom validators, i seem to loose touch when
i checked IValidator doc and i saw "THIS IS NOT PART OF PUBLIC API" and then
I looked at CustomValidator and every thing in deprecated. Is there any
newest approach for writing a custom validator
For instance I want to va
Hello All,
I need to be able to have a generic component which I can use to list the
data row by row. Now there is a trick number of columns can vary every time
and I do not want to define a new html document for every time(number of
columns in my table is data driven coming out of the db).
THank
Hi,
I have a page based on wicket.extensions.wizard. When the formValidator
identifies an invalid field, I call error("a message") on that
Component. At that point the following exception is thrown.
java.lang.IllegalStateException: No Page found for component
[MarkupContainer [Component i
private class ExistingUserValidator extends StringValidator{
public void onValidate(FormComponent formComponent, String string) {
//lookup database
//if username taken
// error(formComponent)
}
protected String resourceKey(FormComponent formCo
and how to really abort the thing on the serverside.
On 1/23/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
no it is not supported right now, but it can be built. open up a new
feature request in our jira and we will look into it. also outline how you
would like the api to look, how are you going
just fire off a new thread or runnable (using a threadpool)
and then "connect" that thread to a session so that you can poll for it
when it is finished.
Then you also can say, this takes to long and set a boolean so that the
worker thread does do a terminate as soon as possible
johan
On 1/24/0
i see that you are in an init (constructor call) of your page:
myapp.gui.wizards.EditDetailsWizardStep.(EditDetailsWizardStep.java
:109)
So why does validator run on that? Thats a new component and those don't
have yet (in 1.3) a parent page
johan
On 1/24/07, Tim Squires <[EMAIL PROTECTED]
Ok, I went with the no-cookies-but-jsession-id-in-url approach and it
works just fine.
Here's a link to a site that helped me with the Jetty configuration:
http://www.mojavelinux.com/blog/archives/2006/11/disabling_session_cookies_in_jetty/
or - somewhat ugly - in the code:
WebAppContext webAp
Hi all, I am trying to make a custom exception page.
I have created a class which overrides the onRuntimeException method in
RequestCycle and wicket does not seem to be using. Do I need to tell it
to use this class, somehow? Is there anything else I can do? Basically
I need a custom error page
In the wiki, there is a gotcha that look like this :
Adding wicket:head to a Page
is intended for panels and borders only. Do not add this to a
page.
The problem is : it is exactly what I wanted to do. I got a child class
that need to add some css/javascript to the header of the page. Is it
b
There is always the classic :
getApplicationSettings ().setInternalErrorPage (MyCustomErrorPage.class);
But that will not give you the exception thrown.
On 1/24/07, Apaar Trivedi <[EMAIL PROTECTED]> wrote:
Hi all, I am trying to make a custom exception page.
I have created a class which overr
Just like what I said, "I can't find any usecase to make a Dreamweaver
extensions for Wicket."
Who from your team do you expect will use Dreamweaver? The page authors,
right? Page authors who are working with the markup concerns only the
wicket:id attribute and some wicket tags. Databinder or som
Hi,
I want to change the content of a modalwindow, to do this I use the method
setContent. But the strange thing is that a new window appears in front of
the old one. I don't understand why is that.
I create a modalwindow on a page, set the content with the setContent method
and open it with an
Override WebApplication#getDefaultRequestCycleFactory and provide the
factory to create your custom request cycle. For instance:
public class MyApplication extends WebApplication implements
IRequestCycleFactory {
protected IRequestCycleFactory getDefaultRequestCycleFactory() {
The following works for me:
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
http://www.w3.org/1999/xhtml"; xmlns:wicket="
http://www.wicketframework.org";>
~
alert('Content of the wicket:head gets contributed into the
final page.');
Yeah, I know, I also implemented something and It work. But since it is in
the gotcha part of the wiki, this mean that we "should not do this". But
since it work, I don't know why...
Marc
On 1/24/07, Otan <[EMAIL PROTECTED]> wrote:
The following works for me:
http://www.w3.org/TR/xhtml1/DTD
On Wed, 24 Jan 2007, Marc-Andre Houle wrote:
> In the wiki, there is a gotcha that look like this :
> Adding wicket:head to a Page
>
> is intended for panels and borders only. Do not add this to a
> page.
>
> The problem is : it is exactly what I wanted to do. I got a child class
> that need to
Thank you for that but I also need to be able to display the original
exception being thrown, so this method did not work for me.
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Marc-Andre Houle
Sent: Wednesday, January 24, 2007 10:02 AM
To: w
see DataTable in wicket-extensions
there is an example in wicket-examples under repeaters
-igor
On 1/24/07, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
>
> Hello All,
> I need to be able to have a generic component which I can use to list the
> data row by row. Now there is a trick number of c
Wiki : Yes it is if you create an account.
The comment of igor in the mailling list archive is directly related to what
I want to do.
What I want to know is : Why is it not in the wiki, should I update the
wiki? I don't want to disturb developer because they surely have something
else to do, bu
yep, that will do it
-igor
On 1/24/07, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote:
private class ExistingUserValidator extends StringValidator{
public void onValidate(FormComponent formComponent, String string)
{
//lookup database
//if username taken
Thank you, I am working on this and making some progress. I am having
trouble implementing the methods for getProcessor(), newClientInfo() and
redirectTo() when I extend the RequestCycle.
What should getProcessor and newClientInfo be returning?
Thanks
-Original Message-
From: [EMAIL P
That's where your custom request cycle comes in: override
onRuntimeException in it and return the page you want, doing anything
with the passed in exception you like.
Eelco
On 1/24/07, Apaar Trivedi <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> Thank you for that but I also need to be able to display t
how about some code, sounds like you are maybe opening another modal window
with one already open?
-igor
On 1/24/07, Paul Maarschalkerweerd <[EMAIL PROTECTED]> wrote:
Hi,
I want to change the content of a modalwindow, to do this I use the method
setContent. But the strange thing is that a new
I changed the WIKI entry. Thanks for finding.
Eelco
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through b
On 1/24/07, Marc-Andre Houle <[EMAIL PROTECTED]> wrote:
> In the wiki, there is a gotcha that look like this :
> Adding wicket:head to a Page
>
> is intended for panels and borders only. Do not add this to a
> page.
>
> The problem is : it is exactly what I wanted to do. I got a child class
> tha
You should extend WebRequestCycle rather than RequestCycle.
Eelco
On 1/24/07, Apaar Trivedi <[EMAIL PROTECTED]> wrote:
> Thank you, I am working on this and making some progress. I am having
> trouble implementing the methods for getProcessor(), newClientInfo() and
> redirectTo() when I extend t
Yeah, but when you have big chunk and everything, you don't necessary want
this to be in the Java world. At least, that what I think since I want all
my "decoration" in html and all my logic in java...
On 1/24/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
On 1/24/07, Marc-Andre Houle <[EMAIL
hi,
it's always complains that
" Markup with path 'check' not found in fragment: roleList"
GridView gridView = new GridView(roles, "roleList",
dataProvider) {
protected void populateItem(Item item)
gridview has moved from extensions to core, but doesnt yet work with
the 2.0snapshots
-igor
On 1/24/07, tooy li(Gmail) <[EMAIL PROTECTED]> wrote:
hi,
it's always complains that
" Markup with path 'check' not found in fragment: roleList"
Sure. Just wanted to point out that there is an alternative way, which
is not better or worse, just different :)
Eelco
On 1/24/07, Marc-Andre Houle <[EMAIL PROTECTED]> wrote:
> Yeah, but when you have big chunk and everything, you don't necessary want
> this to be in the Java world. At least, th
When I do this, does my application still need to implement
IRequestCycleFactory?
If so, how do I return my extended WebRequestCycle though I must be
implementing newWebRequestCycle? If I sound confused on this, I
certainly am, so thanks for your patience.
What I have right now is extending Web
What you do is let your application provide a request cycle *factory*.
You do this by overriding method getDefaultRequestCycleFactory from
Application. That method returns an instance of IRequestCycleFactory,
which produces the custom request cycle. Now, to make life a little
bit easier and avoid
On Wed, 24 Jan 2007, Eelco Hillenius wrote:
> I changed the WIKI entry. Thanks for finding.
This remains
Note: the use of should not even be necessary at all
in a Page, since everything in the head of a Page is already
contributed to the output.
The development team is currently con
There is a typo in the faq -- which hit one our Wicket test driver
developers. The last FAQ "How can I hide markup and/or components?" should
have
instead of
Also, there are CDATA tags wrapping each of the code examples.
Cheers, Scott
--
Scott Swank
reformed mathematician
-
Now you're just going to make me lazier. :) Thanks.
On 1/24/07, Prashant Khanal <[EMAIL PROTECTED]> wrote:
Well use this in ur css file:
.calendar, .calendar table{
z-index: 10[ or suitable value];
}
This will make your datepicker appear in front of the
modal wind
Is anything new about this?
I also want to know how it is about this issue :
https://issues.apache.org/jira/browse/WICKET-206
Thanks.
Marc
On 1/22/07, Johan Compagner <[EMAIL PROTECTED]> wrote:
yes i see it, will look it at asap
On 1/22/07, Marc-Andre Houle <[EMAIL PROTECTED]> wrote:
>
> I t
the basepage:
http://webical.svn.sourceforge.net/viewvc/webical/trunk/src/main/java/org/webical/web/components/CalendarDayViewPanel.java?view=markup
and the panels:
http://webical.svn.sourceforge.net/viewvc/webical/trunk/src/main/java/org/webical/web/components/EditAllOrOneEventDecisionPanel.java
Hi,
I added wicket-contrib-dojo 0.3.1 to app and when it's redeployed I
get...
java.lang.IllegalStateException: WicketServlet cannot be changed once it
is set
wicket.protocol.http.WebApplication.setWicketServlet(WebApplication.java
:400)
wicket.protocol.http.WicketServlet.init(Wi
Changed it, thanks,
Eelco
On 1/24/07, Timo Rantalaiho <[EMAIL PROTECTED]> wrote:
> On Wed, 24 Jan 2007, Eelco Hillenius wrote:
> > I changed the WIKI entry. Thanks for finding.
>
> This remains
>
>Note: the use of should not even be necessary at all
>in a Page, since everything in the h
Anyone coming across such typos/ small errors that are obvious, please
feel free to fix them right away.
Eelco
On 1/24/07, Scott Swank <[EMAIL PROTECTED]> wrote:
> There is a typo in the faq -- which hit one our Wicket test driver
> developers. The last FAQ "How can I hide markup and/or compone
Oh, that is a bit difficult on the public site :)
Eelco
On 1/24/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> Anyone coming across such typos/ small errors that are obvious, please
> feel free to fix them right away.
>
> Eelco
>
>
> On 1/24/07, Scott Swank <[EMAIL PROTECTED]> wrote:
> > There
http://issues.apache.org/jira/browse/WICKET-235
On 1/24/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> Oh, that is a bit difficult on the public site :)
>
> Eelco
>
>
> On 1/24/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> > Anyone coming across such typos/ small errors that are obvious, plea
kinda :)
On 1/24/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
Oh, that is a bit difficult on the public site :)
Eelco
On 1/24/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> Anyone coming across such typos/ small errors that are obvious, please
> feel free to fix them right away.
>
> Eel
The application I'm building must always have bookmarkable URLs which contain
all page parameters needed to reconstruct the page.
Achieved this currently by letting all page events update state/model, then
redirect to a new URL based on that state, so that the URL includes the new
state. But this
I think the current method name makes sense, but what is unclear is whether
the CURRENT page is taking up one of the positions. I would think setting
the max to 1 would ensure that the pagemap contains the current page and no
others. If in fact the current page doesn't need room in the page map, t
Ok, I got news about the first page expired problem. Problems with page map
that I said before and in the JIRA issue are still there, but the page
expire is gone. Here is why :
In the pop up, I created a bookmarkable page link like this :
String parentPageMap = "wicket:default";
if(pp != null)
Hi,
We make some client-side validation (not also client-side but with ajax)
in Wicket-Contrib-Dojo. But it is not as "powerfull" as we expected for
the moment because we do not have time to do that for the moment. You
can see a live demo here :
http://www.demay-fr.net:8080/WCD13/app : it is
But i was talking about the settings maxpageversions.
thats not the same thing as how many there can be in the pagemap
That depends on the page map that is used (in 1.3 or 2.0)
AccessStackPageMap uses by default 5 because that is EvictionStrategy:
private IPageMapEvictionStrategy pageMapEvicti
On 1/24/07, Marc-Andre Houle <[EMAIL PROTECTED]> wrote:
Ok, I got news about the first page expired problem. Problems with page
map that I said before and in the JIRA issue are still there, but the page
expire is gone. Here is why :
In the pop up, I created a bookmarkable page link like this :
pp refer to page parameters that I get in the pop up
Here is the context :
The bookmarkable page link will be open in the window that open the pop up.
This code is in the pop-up.
The problem is when I have done that :
bpl.setPageMap (PageMap.forName (parentPageMap));
It will create a new p
Sorry, guess I misunderstood. Still trying to wrap my head around these
concepts.
We have an app that is all bookmarkable pages so far, but we may encounter
cases without them further down the road.
But even for our bookmarkable pages, they may have lots of activity on them
which is ajax actions
Hi all,
I'm developing a web application which basically shows lots of pictures.
Pictures are stored in a database. I want that the same picture always has
the same value of the src attribute no matter where it is displayed. As I
understand it is possible only if the image resource is shared. In
Ahh so you are using pages with state. (you use ajax)
You just don't want to version them? Because for navigation you only use
bookmarkable pages
Just have one base page that does serVersioned(false)
then all your pages are unversioned.
johan
On 1/24/07, dukejansen <[EMAIL PROTECTED]> wrote:
Why not do it a bit more reliable?
for example when you go back use a piece of javascript:
window.opener.location.href = "bookmarkable url"
or get the window name from the window.opener.name?
(in the popup or when you open the popup)
and use that as the target.
The only problem that could be i
create a single dynamicimageresource that can load different images based on
the id passed in from the url
then you just do urlfor(myresource)+"&id="+id; to build the url
there is an article on the wiki that shows how to do this
-igor
On 1/24/07, Predrag Spasojevic <[EMAIL PROTECTED]> wrote:
ajax requests shouldnt create versions anyways! did you fix that in 2.0 yet?
-igor
On 1/24/07, Johan Compagner <[EMAIL PROTECTED]> wrote:
Ahh so you are using pages with state. (you use ajax)
You just don't want to version them? Because for navigation you only use
bookmarkable pages
Just hav
Did not know about that functionality. Sounds perfect. Then for pages which
must always have bookmarkable URL, we can always extend a base class that
sets itself to unversioned, and for other non-bookmarkable pages we can
still rely on the standard behavior with back button support.
Thanks!
-Jas
If you plan on using this content for any purpose, you should review this
disclaimer and copyright notice. Kirwan were on holiday in England when she
died but according to family members, "They were never called to properly
identify the body" but did admit, "a close family friend did identify t
When I use the above StaticImage Wicket looks for the image url in the path
of the relevant component like so:
com/vegas/cart/wicket/components/scroll/http:/cache.vegas.com/resorts/thehotel/mandalaybaynew.jpg
Do I need to add a WebPageResourceStreamLocator or some such thing? The
full log outpu
how are you creating the static image?
-igor
On 1/24/07, Scott Swank <[EMAIL PROTECTED]> wrote:
> When I use the above StaticImage Wicket looks for the image url in the path
> of the relevant component like so:
>
> com/vegas/cart/wicket/components/scroll/http:/cache.vegas.com/resorts/thehotel/ma
That is a typo, but you actually meant to say:
not:
because it's:
WebMarkupContainer hideme = new WebMarkupContainer("hideme");
not
WebMarkupContainer hideme = new WebMarkupContainer("wicket-hideme");
Scott Swank wrote:
>
> There is a typo in the faq -- which hit one our Wicke
The image is added to the panel like so:
add(new StaticImage("productImage", "
http://cache.vegas.com/resorts/thehotel/mandalaybaynew.jpg";));
And that uses a convenience constructor I added to the original StaticImage:
package com.vegas.wicket;
import wicket.markup.ComponentTag;
import wick
And the html tag is simply:
Thank you.
On 1/24/07, Scott Swank <[EMAIL PROTECTED]> wrote:
The image is added to the panel like so:
add(new StaticImage("productImage",
"http://cache.vegas.com/resorts/thehotel/mandalaybaynew.jpg
"));
And that uses a convenience constructor I added to t
Indeed.
On 1/24/07, Jonathan Locke <[EMAIL PROTECTED]> wrote:
That is a typo, but you actually meant to say:
not:
because it's:
WebMarkupContainer hideme = new WebMarkupContainer("hideme");
not
WebMarkupContainer hideme = new WebMarkupContainer("wicket-hideme");
that is very peculiar, i dont see a reason for it to look for a packaged
resource, what does the produced markup look like?
-igor
On 1/24/07, Scott Swank <[EMAIL PROTECTED]> wrote:
And the html tag is simply:
Thank you.
On 1/24/07, Scott Swank < [EMAIL PROTECTED]> wrote:
>
> The image
We have added a new ResourceStreamLocator to let us put html files off in a
separate directory for our UI team. From our WebApplication:
protected void init() {
super.init();
CompoundResourceStreamLocator locator =
(CompoundResourceStreamLocator)getResourceSettings().getResourceStrea
No markup is produced. It's in a ModalWindow. Here's the dump from the
Ajax debug window:
*INFO: *
Initiating Ajax GET request on
/wicketapp/app?wicket:interface=:1:openScroll::IBehaviorListener&wicket:behaviorId=0&random=
0.46680841416499696
*INFO: *Invoking pre-call handler(s)...
*ERROR: *Rec
i have no idea why you would have that weird stuff in the src
attribute, its not in the model.
-igor
On 1/24/07, Scott Swank <[EMAIL PROTECTED]> wrote:
> No markup is produced. It's in a ModalWindow. Here's the dump from the
> Ajax debug window:
>
> INFO: Initiating Ajax GET request on
> /wick
ah, so the image doesnt even render, i see. i thought that url you
showed was in the image's src. so this thread doesnt have anything to
do with the staticimage component itself???
-igor
On 1/24/07, Scott Swank <[EMAIL PROTECTED]> wrote:
> No markup is produced. It's in a ModalWindow. Here's t
Oops! Let me correct my previous post. Based on the new Wiki, wicket:head is
not necessary for a child markup if it is a page; the html is enough
to be contributed to the final of the markup.
On 25/01/07, Otan <[EMAIL PROTECTED]> wrote:
The following works for me:
http://www.w3.org/TR/xhtml1
Is the gmap component gone, or temporarily unavailable?
Thank you,
Scott
--
Scott Swank
reformed mathematician
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the cha
http://wicket-stuff.svn.sourceforge.net/viewvc/wicket-stuff/trunk/wicket-contrib-gmap/
http://wicket-stuff.svn.sourceforge.net/viewvc/wicket-stuff/trunk/wicket-contrib-gmap-examples/
-igor
On 1/24/07, Scott Swank <[EMAIL PROTECTED]> wrote:
> Is the gmap component gone, or temporarily unavailable
It was only in SVN in WICKET_1_2 and trunk. I just fixed it for 1.3
and added it to the wicket-1.3 branch.
Eelco
On 1/24/07, Scott Swank <[EMAIL PROTECTED]> wrote:
> Is the gmap component gone, or temporarily unavailable?
>
> Thank you,
> Scott
>
> --
> Scott Swank
> reformed mathematician
> ---
Is wicket 2.0 released. Where can i find its source
code and api?
Food fight? Enjoy some healthy debate
in the Yahoo! Answers Food & Drink Q&A.
http://answers.yahoo.com/dir/?link=list&sid=396545367
--
Wicket 2.0 only lives in trunk at this time. We hope to do a first
beta release in February.
Eelco
On 1/24/07, Prashant Khanal <[EMAIL PROTECTED]> wrote:
> Is wicket 2.0 released. Where can i find its source
> code and api?
>
>
>
>
81 matches
Mail list logo