I've just upgraded from one of the older 1.3 versions to the one here:
http://wicketstuff.org/maven/repository/org/apache/wicket/wicket/1.3-incubating-SNAPSHOT/
The only real change I seemed to have to make to get the build to work was
add the org.apache to the import statements.
My application
if you show me the exact code snippet that doesnt work that will give me the
necessary context.
-igor
On 5/17/07, Florian Hehlen <[EMAIL PROTECTED]> wrote:
Hi,
Thanks for the help... It's starting to make more sense to me although
still not working. The issue is definitely with the form mod
Hi,
Thanks for the help... It's starting to make more sense to me although
still not working. The issue is definitely with the form model. because
all my sandbox experiments show me that it all goes to hell when i
introduce the model in the form. My form is a a bean wrapped in a
CompoundPrope
you can do one of two things.
make the page with the textarea stateless, and output their login token into
a cookie or a hidden field. that way there wont be a page expiration problem
and you can relogin the user.
add an ajax behavior that pings the server every x seconds preventing
session time
you can try applying your own css, but i doubt it. the window is not made to
be too customizable atm.probably next major ver of wicket will include a
rework of it. for now, you can integrate any of the zillion of javascript
libs out there that produce a simple modal pane.
-igor
On 5/17/07, Nikh
see how Label works :)
class mycomponent extends webcomponent {
oncomponenttagbody(tag) { replacecomponenttagbody("bar"); }
}
-igor
On 5/17/07, Alessandro Coelho Ribeiro <[EMAIL PROTECTED]>
wrote:
Hi,
I want to create 2 components in my wicket application. The first one
would be a generic
if you are using the latest snapshot then i would file this as a bug, this
should work out of the box the way you have it.
-igor
On 5/17/07, Matt Welch <[EMAIL PROTECTED]> wrote:
Putting shared css and javascript resource into the java package hierarchy
would seem to eliminate one of the adva
oh, i thought you needed to have that username/hash in every url generated
by wicket. yes requestcycle.onbeginrequest is as good a place as any to sign
the user in.
-igor
On 5/17/07, Thomas R. Corbin <[EMAIL PROTECTED]> wrote:
On Thursday 17 May 2007 2:08 pm, Igor Vaynberg escreveu:
> i would
It is not possible in wicket...
You can have at most one wicket:child tag per page...
This is because Java does not support multiple inheritance...
This question has been posted on the mailing list earlier. Give a search to
find out more about this subject.
Chris Colman wrote:
>
> Let's say
When a user accesses a page and their session has expired, can we log
them in and redirect them to the original page they accessed? If they
were submitting a form, will the form be submitted? The concern is that
if they had typed a bunch of text into a textarea, we would hate to see
them have
Hi,
I am using ModalWindow for my login screen. In that I have used panel as its
content. Now I want to hide everything (including title bar, close link,
etc) on Modal Window except the rich panel I am using. In other words, is
there a way I can remove modal window`s title bar with close link and
Very interesting. I'm not that interested for production code, but this
could be really exceptional for prototyping and fast TTM when that matters.
jklappenbach wrote:
>
> http://graemerocher.blogspot.com/2007/05/grails-wicket-wonders-of-grails-plug-in.html
> (SFW)
>
> Graeme pinged me as so
Thanks John ;)
that's similar to what I was doing (before I saw your reply). I'll try it
your way, as my seems a bit "messier" hehe
Edd
John Krasnay wrote:
>
> I tried to explain this in an earlier thread, but I'm afraid I wasn't
> too successful. I'll give it another shot. Suppose your oute
Here is how I solved the problem.
First I created AbstractOnloadEventBehavior and events.js. This allows me to
execute multiple scripts (behaviors) in the window.onload callback.
Then I created AjaxBindEnterKeyBehavior which just intercepts the enter key
on a form and clicks the ajax submit butt
On Fri, 18 May 2007, Chris Colman wrote:
> I know and use markup inheritance in classes derived from WebPage with
> great benefit. I was wondering if this same markup inheritance works at
> the panel level as well. Ie., Can I use markup inheritance in the
> markups for classes deriving from Panel c
On 5/17/07, graemer <[EMAIL PROTECTED]> wrote:
No, I still believe it would be quite trivial to write a Wicket builder
that
would make creating Wicket component interfaces much simpler in Groovy.
Something like Groovy's current SwingBuilder system:
http://www.oreillynet.com/onjava/blog/2004/10
No, I still believe it would be quite trivial to write a Wicket builder that
would make creating Wicket component interfaces much simpler in Groovy.
Something like Groovy's current SwingBuilder system:
http://www.oreillynet.com/onjava/blog/2004/10/gdgroovy_basic_swingbuilder.html
It is just about
Thanks for the help. Makes sense. I am trying to come to grips with using
Wicket for a fairly large project and am trying to come up to speed as quick
as possible and at the same time try and figure out where I may get burned.
Johan Compagner wrote:
>
> youre page will be statefull anyway
> and
Let's say I have a page which can be almost completely marked up in a
base class markup. There are only two sections of the page that change
in the derived pages/classes. Is it possible to use the
tag twice in
the one page and then have two tags in the derived
pages?
Markup for base page:
Hi,
I want to create 2 components in my wicket application. The first one
would be a generic component for embedding any flash (SWF) content. The
second component would inherit from the 1st one and would be related to
a specific flash object we need to embedd in our business application.
Un
I know and use markup inheritance in classes derived from WebPage with
great benefit. I was wondering if this same markup inheritance works at
the panel level as well. Ie., Can I use markup inheritance in the
markups for classes deriving from Panel class?
--
I honestly will have to play with it a bit more. I was originally
interested in simply using Grails for its GORM back end. Eliminating all
the make work of data access, having the power of hibernate, its caching and
clustering capabilities with almost no upfront cost is appealing. Also,
there's
I tried to explain this in an earlier thread, but I'm afraid I wasn't
too successful. I'll give it another shot. Suppose your outer tabs are
defined on a page like this:
When you attached the TabbedPanel component to it, it renders like this:
...your pa
youre page will be statefull anyway
and then to try to conserve a few links would seem foolish to me that will
not save you much anyway.
If there is in the markup 5 links with wicket:id then you need 5 unique
components (you can reuse it)
and you need the wicket:id anyway because if you want to c
Johan, thanks for the response. It still appears that I will be instantiating
multiple AjaxLink(s), one for each unique link. In a stateful page these
would be stored in the session. By moving some state to the client it
appears that it might be possible to reduce the number of server side
objects
Wicket is very flexible and modular. You can write your own
MyWicketMessageResolver and register it with the application. How to
do it? Just see how WicketMessageResolver is registered. It is realy
simple.
I don't see how IComponentResolver can help you, but may I missed the point.
Looking at Loc
Putting shared css and javascript resource into the java package hierarchy
would seem to eliminate one of the advantages of using a framework like
Wicket; the clean separation of responsibilities between HTML page
developers and java developers. Of course, I'm probably already long past
the point
On Thursday 17 May 2007 2:08 pm, Igor Vaynberg escreveu:
> i would extend webrequestcodingstrategy, override encode() and append the
> parameters you need to the url it normally returns.
Sorry, but I didn't quite understand how to get the parameters I need
in the
encode method, nor how a
How would I do that? Not sure I understood..
Thanks, Edd
igor.vaynberg wrote:
>
> if you set a class on the tab panel then you can use that class to scope
> the
> css styles properly
>
> -igor
>
>
> On 2/20/07, burnayev <[EMAIL PROTECTED]> wrote:
>>
>>
>> Thank you Igor.
>>
>> I'm trying to
> What is in Grails that would make Wicket "better" for web-app development?
> Is it just the integration of Groovy or is there something more for a Wicket
> user?
My uneducated take on this (correct me if I'm wrong, I'm just thinking
out loud): something like Grails should work very well for when
you can use one anonymous innerclass just fine for multiply ajax links
just give the seperate instances the state you want on the server side
why push that to the client?
AjaxLink link1 = AjaxLink("link1", new Model(mystate1))
AjaxLink link2 = AjaxLink("link2", new Model(mystate2))
onClick()
{
S
i fixed the test that did fail under 1.5
On 5/17/07, Jan Kriesten <[EMAIL PROTECTED]> wrote:
hi,
i just checked out the latest trunk (revision 538801) and get this test
error:
[surefire] Running org.apache.wicket.util.io.WicketOutputStreamTest
[surefire] Tests run: 5, Failures: 0, Errors: 1,
I have a Template class that each page extends. In the template it does...
*boolean* isSecure = ((WebRequest) WebRequestCycle.*get*().getRequest*()).*
getHttpServletRequest().isSecure();
String url = http://www.google-analytics.com/urchin.js;
*if* (isSecure) {
url = https://ssl.google-analytic
Grails integrates Hibernate and Spring together, automatically generating
the clue-code of descriptors and general lifecycle / management code that is
necessary for implementation, but not by the application developer. Groovy
has a lot of strength as a scripting language (that gets compiled down
Would it be possible or reasonable to extend an AjaxLink to include
additional request parameters. My reason is that I would like to include
multiple AjaxLinks in a page and would like to only define one anonymous
inner class to handle the requests, using unique request parameters to
distinguish b
On Thursday 17 May 2007 2:19 pm, howzat escreveu:
> Without going into too much detail about how Grails works (I expect there
> is plenty of info on the web about this), could you give us a bit more of
> an idea about why this "love-child" is a "cool" idea and how a Wicket user
> would benefit from
I did warn you [1] I'd be back! :-)
It looks like I will be using Wicket for my next project, but I ran into
an interesting little issue that I'm not sure how to solve. How can I
allow templates that have something like 's included but
with my own custom resolver?
The application will have m
Without going into too much detail about how Grails works (I expect there is
plenty of info on the web about this), could you give us a bit more of an
idea about why this "love-child" is a "cool" idea and how a Wicket user
would benefit from working with Wicket+Grails on top of, for example,
Hiber
That would be niceee! :D
Edd
igor.vaynberg wrote:
>
> looks like i wont be able to get to it immediately, please add an rfe and
> i
> will prob do it over the weekend.
>
> -igor
>
>
> On 5/17/07, Alex Objelean <[EMAIL PROTECTED]> wrote:
>>
>>
>> Yes, it is acceptable an solution...
>> Also
Is everybody of the wicket-team celebrating Ascension Day? ;) I really would
like to get that issue solved before becoming a father tomorrow. Thanks in
advance.
Tom
Thomas Singer wrote:
> Maybe the answer to the following question is the problem's solution:
> How it is intented to add an own I
i would extend webrequestcodingstrategy, override encode() and append the
parameters you need to the url it normally returns.
-igor
On 5/17/07, Thomas R. Corbin <[EMAIL PROTECTED]> wrote:
Our client unfortunately wants to have urls be able to contain the user's
login and a hashed/encrypted pa
Did we find a resolution for this yet? We are having the same problem in
Wicket 1.3 trunk and I'm about to start investigating. Any definite
information or conclusions (whether complete or not) would be very much
appreciated.
Andrew Berman wrote:
>
> I am having a strange issue. If I access
I have a form with a not required date field. The problem is that when
the form is submitted and no value was selected in the date field, the
date field is initialized to current date.
Is this an intended behaviour and if yes how can I avoid it.
I pasted an example code bellow.
Thanks
Dragos
im
Thank you Igor!
Jira issue created:
https://issues.apache.org/jira/browse/WICKET-577
https://issues.apache.org/jira/browse/WICKET-577
Alex.
igor.vaynberg wrote:
>
> looks like i wont be able to get to it immediately, please add an rfe and
> i
> will prob do it over the weekend.
>
> -igor
>
On Thursday 17 May 2007 11:04 am, Julian Klappenbach escreveu:
> http://graemerocher.blogspot.com/2007/05/grails-wicket-wonders-of-grails-pl
>ug-in.html (SFW)
>
> Graeme pinged me as soon as I got online this morning to tell me about his
> work on integrating Wicket and Groovy, a Rails implementati
Our client unfortunately wants to have urls be able to contain the user's
login and a hashed/encrypted password so that the user can avoid having to
waste time on the login page. We can't really convince them that it may not
be a good idea. Essentially they want single-signon, but they're n
please open a bug, and if you can provide a quickstart that reproduces it.
alternatively turn off auto-multi-window support in settings as a workaround
- that is what is causing this javascript/redirect.
-igor
On 5/17/07, Markus Sabadello <[EMAIL PROTECTED]> wrote:
Hi,
I have a page (a googl
i believe matej is working on this, no?
-igor
On 5/17/07, Andrew Klochkov <[EMAIL PROTECTED]> wrote:
What's the best way to add css class to a DataTable column?
The only way I see is to extend Panel and use it as a headers toolbar,
but I'd like to have all the functionality the HeadersToolbar
http://graemerocher.blogspot.com/2007/05/grails-wicket-wonders-of-grails-plug-in.html
(SFW)
Graeme pinged me as soon as I got online this morning to tell me about his
work on integrating Wicket and Groovy, a Rails implementation based on the
Java scripting language, Groovy.
As you'll read, the i
looks like i wont be able to get to it immediately, please add an rfe and i
will prob do it over the weekend.
-igor
On 5/17/07, Alex Objelean <[EMAIL PROTECTED]> wrote:
Yes, it is acceptable an solution...
Also, I thought about somehow dynamically providing markup for the tab-row
container,
Thomas R. Corbin wrote:
> On Thursday 17 May 2007 5:00 am, Andrew Klochkov escreveu:
>
>> Andrew Klochkov wrote:
>>
>>> What's the best way to add css class to a DataTable column?
>>> The only way I see is to extend Panel and use it as a headers toolbar,
>>> but I'd like to have all the fun
BTW I am using Wicket 1.2.6
Markus
On 5/17/07, Markus Sabadello <[EMAIL PROTECTED]> wrote:
Hi,
I have a page (a google gadget) which is going to be called from an
external source with parameters. Here is an example URL:
http://www.freexri.com/tools/GadgetExec?resolveType=SEP
So I set up a Q
Hi,
I have a page (a google gadget) which is going to be called from an external
source with parameters. Here is an example URL:
http://www.freexri.com/tools/GadgetExec?resolveType=SEP
So I set up a QueryStringUrlCodingStrategy, thinking that my page will be
constructed with a nice PageParamete
On Thursday 17 May 2007 5:00 am, Andrew Klochkov escreveu:
> Andrew Klochkov wrote:
> > What's the best way to add css class to a DataTable column?
> > The only way I see is to extend Panel and use it as a headers toolbar,
> > but I'd like to have all the functionality the HeadersToolbar already
>
On Wednesday 16 May 2007 4:37 pm, Chris Colman escreveu:
> > > This is true, but I understand Chris has a general need for
> > > markup reloading in production as well (though I haven't
> > > understood yet how Chris creates the markup files at
> > > runtime). Or did I mis
Can you show us the code, later ? I have to solve it too...
Thanks.
WeaZeLb0y wrote:
>
> Using Wicket 1.2.6
>
> Using FF 2.0 when I click on the submit button or hit 'enter' on a field
> in
> the form the ajax call is processed.
>
> With IE 7.0 when I click on the submit button, the ajax
I converted my JobEditPage with constructor JobEditPage(Job pJob)
to a JobEditPanel.
I now call it like this:
BreadCrumbPanelLink aendern = new BreadCrumbPanelLink("aendern",
ErecruitmentPanel.this, JobEditPanel.class);
But how to pass the argument "pJob" to the then calle
Andrew Klochkov wrote:
> What's the best way to add css class to a DataTable column?
> The only way I see is to extend Panel and use it as a headers toolbar,
> but I'd like to have all the functionality the HeadersToolbar already has!
>
>
I can add class attr to the cells.
--
Andrew Klochkov
What's the best way to add css class to a DataTable column?
The only way I see is to extend Panel and use it as a headers toolbar,
but I'd like to have all the functionality the HeadersToolbar already has!
--
Andrew Klochkov
--
You should use AjaxSubmitButton and submit the form using Ajax.
-Matej
On 5/17/07, Nikhil Gahlot <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I am using Modal Window with a form. But whenever I click Submit button
> on this window to submit a form
> I am getting an alert message "Are you sure y
Hi,
I am using Modal Window with a form. But whenever I click Submit button
on this window to submit a form
I am getting an alert message "Are you sure you want to navigate away
from this page? Reloading this page will cause the modal window disappear.
Press OK to continue, or Cancel to s
Hi , maybe somebody can help me.
I have form with radiogroup holding ListView of posibble models ...
When the the form is first loaded textFields are filled well, but when I
click the radio button(round trip is made), variable selectedSystem is
updated but textfields are not. I tried different
* Igor Vaynberg:
> is the modification watcher what causes file handles to be left
> open? how do you expect that to be enabled in production?
This is another problem: it's when Wicket looks for modification
times in a JAR. As it makes no sense to look inside a JAR whether
a template is modi
Yes, it is acceptable an solution...
Also, I thought about somehow dynamically providing markup for the tab-row
container, or having a possibility to decorate it with you own container...
any thoughts?
igor.vaynberg wrote:
>
> i dont like adding a container that users can mock with. if you want
Matej, thank you for your answer!
I am using Button just because I forgot about AjaxLink :)... anyway, it has
exactly the same effect, isn't it?
Matej Knopp-2 wrote:
>
> You can't. The requests are asynchronous (they don't block request),
> but they are scheduled in channel so one request wait
i dont like adding a container that users can mock with. if you want to go
that far then just create your own tabbedpanel, its only a few lines of
code. what i can see is some overridable method to add a css class to that
tab row, will that work?
-igor
On 5/16/07, Alex Objelean <[EMAIL PROTECTE
this is done by automatic multitab support. you are opening a new window or
a new tab that points to a wicket app already open in another? this is done
by our automatic multipage support, and while ugly it is necessary if you
want your app to run in multiple tabs/windows correctly. if not, you can
Yes, I raised JIRA bug WICKET-574.
--
View this message in context:
http://www.nabble.com/WicketTester---Sessions-%281.3.0-incubating-beta1%29-tf3759412.html#a10659833
Sent from the Wicket - User mailing list archive at Nabble.com.
--
you have to catch the enter keypress on every textfield and submit the form
using ajax. you can do that using some javascript magic and some behavior
that adds this magic to onload event.
so in your basepage or baseform youd do: add(new FixIe7EnterKeyBehavior());
-igor
On 5/16/07, Joe Toth <[E
On Thu, 17 May 2007, Florian Hehlen wrote:
> the wicket documentation recommends that a namespace be declared in all
> xhtml pages like so:
>
> http://www.w3.org/1999/xhtml";
> xmlns:wicket="http://wicket.sourceforge.net/"; xml:lang="en" lang="en">
This is indeed weird, as there is no decl
You can't. The requests are asynchronous (they don't block request),
but they are scheduled in channel so one request waits until the
previous one finishes.
Problem is that the pagemap is locked, so you can't have two requests
running on parallel on the same pagemap. If you have operation that
tak
Yeah, the test is broken. But it shouldn't hinder wicket
functionality. For now you can build it with -Dmaven.test.skip=true.
-Matej
On 5/17/07, Jan Kriesten <[EMAIL PROTECTED]> wrote:
>
> hi,
>
> i just checked out the latest trunk (revision 538801) and get this test error:
>
> [surefire] Runnin
I've noticed that having two components with AjaxEventBehavior attached to
each of them, trigger a synchronous ajax call:
Button b1 = new Button("b1");
b1.add(new AjaxEventBehavior("onclick") {
protected void onEvent(final AjaxRequestTarget target) {
doSomethingSlow1();
}
Hi,
the wicket documentation recommends that a namespace be declared in all
xhtml pages like so:
http://www.w3.org/1999/xhtml";
xmlns:wicket="http://wicket.sourceforge.net/"; xml:lang="en" lang="en">
But no xsd can be found there so my IDE highlights all wicket markup as
invalid. Is ther
74 matches
Mail list logo