Currently all our interactive forms are written in Echo2 and we're
pretty satisfied with that. We wanted to render our non dynamic pages in
a component based, more OO capable technology than JSP. We could easily
implement these non dynamic pages in Echo2 but the problem is as this is
a 100% Ajax
On 2/8/07, Chris Colman [EMAIL PROTECTED] wrote:
Currently all our interactive forms are written in Echo2 and we're
pretty satisfied with that. We wanted to render our non dynamic pages in
a component based, more OO capable technology than JSP. We could easily
implement these non dynamic pages
Hi all,
i just started playing around with the latest wicket quickstart project
version 1.2.4.
I created a new Eclipse project as described in the eclipse quickstart
guide.
If i start the main class and point my browser to the url:
http://localhost:8081/quickstart; i receive the following
You have to instruct eclipse to also copy the HTML, css and properties
files from the source folders to the target/classes folder.
Martijn
On 2/8/07, Michel Wichers [EMAIL PROTECTED] wrote:
Hi all,
i just started playing around with the latest wicket quickstart project
version 1.2.4.
I
So to explain a bit more: it is not really a Bookmarkable Page but a
Bookmarkable Page URL that does the job.
And an url can only be generated if the Page has a default or PageParameter
constructor.
johan
On 2/8/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
See
Hello Martijn,
just figured it out - now it works. Thanks for your help!
Michel
Martijn Dashorst schrieb:
You have to instruct eclipse to also copy the HTML, css and properties
files from the source folders to the target/classes folder.
Martijn
On 2/8/07, Michel Wichers [EMAIL PROTECTED]
I have a Form within a panel within a page. That form has one
FileUploadField and I based that form from the wicket-examples. The form
works well (of course, that's a copycat of the one from wicket-examples).
But now I have to use AjaxSubmitButton for that form, and now, It doesn't
work anymore.
FileUpload can't be done using ajax. Don't use Ajax submit button with
a file upload field in a form.
Martijn
On 2/8/07, Otan [EMAIL PROTECTED] wrote:
I have a Form within a panel within a page. That form has one
FileUploadField and I based that form from the wicket-examples. The form
works
I think the IResourceStreamLocator is probably what I'm looking for,
I'll see if I can't give it ago this evening.
On 2/7/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
ah, well if you dont need to switch these things on the fly it becomes much
simpler
you can have your build script copy the
That's kindof sad. I was using that method. It's very convenient and a
common use case to want to know when a given session is unbound. I was
using it to write usage statistics for the session to a database.
Eelco Hillenius wrote:
It is in AbstractHttpSessionStore.
Eelco
On
On 2/8/07, Jonathan Locke [EMAIL PROTECTED] wrote:
That's kindof sad. I was using that method. It's very convenient and a
common use case to want to know when a given session is unbound. I was
using it to write usage statistics for the session to a database.
Eelco Hillenius wrote:
Igor,
The most verbose code is the following. It creates the FeedbackPanel and
two fields: a check-in date and a check-out date. The comments are a bit
heavy because this is a proof-of-concept app. At this point, and such best
practices pointers are more than welcome. Thank you.
...Oh, and
Mmmh,
I would say there is a chance that OSGi and servicesare something to
look at, especially if you lo62 at
On 2/8/07, Mark R. Andrachek, Jr. [EMAIL PROTECTED] wrote:
I think the IResourceStreamLocator is probably what I'm looking for,
I'll see if I can't give it ago this evening.
On
it was our 2nd choice after considering a host of other
options, including Stripes, Rife, Tapestry, Echo2, GWT, etc.
I'd be interested to learn what you liked and didn't like about those
alternatives (on this list or private).
Eelco
Sorry,
my son playing around with my machine ...
Anyway, PaxWicket exposes e.g. Pages as OSGi services, so you could
deliver different versions of that from different bundles and just ask
for the page factory with the specified style and variant parameters.
Not sure about the details but I think
...Oh, and the CylleniusCalendar (our underlying app is named Cyllenius) is
simply a sub-class of DatePicker with a HeaderContributor.forCss() to
increase its z-index a a value greater than that of the ModalWindow from
which it is opened.
For anyone using that date picker component, read
Briefly, we wanted a component-centric framework for reuse and more nimble
refactoring -- e.g. should this form be in-line with the rest of the page or
in a popup; should this content be in a sequence of panels or in tabs? This
left us with:
Tapestry -- we heard daunting things about the
a couple of ways
like you said have a dummy homepage, but use restartresponse exception to
redirect to another page
or override gethomepageclass in application and return a different one based
on the loggedin user -- not sure if that will work very well, but worth a
try
-igor
On 2/8/07,
Cyllenius is a name for the Greek god Hermes -- associated with commerce.
Given the importance of a solid date picker, I imagine we'll be following
and perhaps contributing to this effort.
http://en.wikipedia.org/w/index.php?title=Cylleniusredirect=no
On 2/8/07, Eelco Hillenius [EMAIL
go ahead and make it a feature request and add a quickstart to it
i remember i ran into something like this - it worked fine in firefox or ie
but failed in the other because for some reason dom updates would cause the
field to lose focus when it is repainted by ajax.
-igor
On 2/8/07, Robert
On 2/8/07, Scott Swank [EMAIL PROTECTED] wrote:
Cyllenius is a name for the Greek god Hermes -- associated with commerce.
That sounds a lot better than Hillenius with Herpes ;)
Eelco
-
Using Tomcat but need to do more?
On 2/8/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
On 2/8/07, Scott Swank [EMAIL PROTECTED] wrote:
Cyllenius is a name for the Greek god Hermes -- associated with commerce.
That sounds a lot better than Hillenius with Herpes ;)
Though I too have some godly features. But that's OT.
Eelco
You know, JSF is sounding better better
On 2/8/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
On 2/8/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
On 2/8/07, Scott Swank [EMAIL PROTECTED] wrote:
Cyllenius is a name for the Greek god Hermes -- associated with
commerce.
That sounds a lot
He is talking about his beer drinking, I think...
Erik.
Scott Swank wrote:
You know, JSF is sounding better better
On 2/8/07, *Eelco Hillenius* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
On 2/8/07, Eelco Hillenius [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
Wicket 1.3
I had been using getRootPath() on WebApplication and noticed that it had
been removed, so I was trying to figure out how to replace it when I noticed
that WicketFilter has changed quite a bit. One of the changes was a
preference for filterMappingUrlPattern instead of filterPath.
So,
Hi
I have added ImageButton on a page which add image programatically,
i.e ImageButton ib = new
ImageButton(id,PackageResource.get(BaseForm.class,images/abc.gif)) here my
abc.gif is relative to baseform class package.
I have added a Mbutton which has got ajax functionality. so Mbutton extends
Hello all,
Like the subject indicates I am trying to get a dual listbox to work.
More specifically, I have two ListMultipleChoice components (left and
right).
Each ListMultipleChoice has its own model.
Left has a leftChoicesList and a leftSelectedList.
Right has the same thing
Hi,
I have added to my page a panel.
CompoundPropertyModel compoundPropertyModel = new
CompoundPropertyModel(myModel);
add(new myPanel(,compoundPropertyModel).setVisible(false));
I am submitting my form and getting form value to the panel. But I cant find
how can I reach the component, in the
Hi all. Is it possible to use the Modal Window in a non-draggable state? I
am at a loss for how I can change this behavior of the Modal Window. I
need to build small window popups that remain in place when opened (can't be
moved). Any ideas?
thanks
--
View this message in context:
now you have to override the abstract session store (so the second level
cache)
thats not as easy to do then the session.
On 2/8/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
On 2/8/07, Jonathan Locke [EMAIL PROTECTED] wrote:
That's kindof sad. I was using that method. It's very
But just let your session implement: SessionBindingListener
then you have your methods that you want.
johan
On 2/8/07, Johan Compagner [EMAIL PROTECTED] wrote:
now you have to override the abstract session store (so the second level
cache)
thats not as easy to do then the session.
On
all you have to do is call RequestCycle.urlFor(resourceref) and you will
get the url for that resource, you can then stick it into the src attribute
or whever it needs to go
-igor
On 2/8/07, wicketmarsh [EMAIL PROTECTED] wrote:
Hi
I have added ImageButton on a page which add image
This is not possible to do with modal window. If you need something like
this it's probably better to use just absolute positioned divs.
-Matej
Chris Lintz wrote:
Hi all. Is it possible to use the Modal Window in a non-draggable state? I
am at a loss for how I can change this behavior of
have you see the Palette component in wicket-extensions?
http://www.wicketstuff.org/wicket13/compref/?wicket:bookmarkablePage=%3Awicket.examples.compref.PalettePage
-igor
On 2/8/07, Shawn Tumey [EMAIL PROTECTED] wrote:
Hello all,
Like the subject indicates I am trying to get a dual
i think this should be fixed now in 1.3 stream
AlMaw?
johan
On 2/8/07, ChuckDeal [EMAIL PROTECTED] wrote:
Wicket 1.3
I had been using getRootPath() on WebApplication and noticed that it had
been removed, so I was trying to figure out how to replace it when I
noticed
that WicketFilter has
the easiest way is to do this
final MyPanel mypanel =new MyPanel(..);
...
onsubmit() { mypanel.setvisible(true); == it is reachable because it was
declared final
-igor
On 2/8/07, Ramazan Pekin [EMAIL PROTECTED] wrote:
Hi,
I have added to my page a panel.
CompoundPropertyModel
another way is to keep the panel as a field of the enclosing page/panel
-igor
On 2/8/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
the easiest way is to do this
final MyPanel mypanel =new MyPanel(..);
...
onsubmit() { mypanel.setvisible(true); == it is reachable because it was
declared final
AlMaw is our url master!
so Url Master where are you!! :)
johan
On 2/8/07, ChuckDeal [EMAIL PROTECTED] wrote:
I just built Wicket 1.3 from source this morning (possibly revision
504918?).
Actually, I built from source a couple of times over the past two weeks
and
each one had the same
that page is really outdated
you all should use: RedirectRequestTarget
johan
On 2/6/07, Al Maw [EMAIL PROTECTED] wrote:
Zhang Hailong wrote:
How to redirect to a wicket or non-wicket page in wicket? For example,
if a guest want to access a authorized page, I want to redirect it to
the
I managed to get the portlet example running under jetspeed 2.
but I think the portlet api is not completely supported.
in ExamplePortletApplication it is only possible to get the VIEW-mode of the
portlet (getHomePage()).
but how do I get the pages for EDIT and HELP mode?
I suggest to have three
Just Look!
On 2/8/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
are you going to update the page? :)
-igor
On 2/8/07, Johan Compagner [EMAIL PROTECTED] wrote:
that page is really outdated
you all should use: RedirectRequestTarget
johan
On 2/6/07, Al Maw [EMAIL PROTECTED] wrote:
i dont think the portlet api was ever completely finished. janne worked on
it, but he has been mia for a while. if you want to fix it we would be glad
to apply the patches.
-igor
On 2/8/07, Ralf Eichinger [EMAIL PROTECTED] wrote:
I managed to get the portlet example running under jetspeed 2.
Hi,
I have seperated the myForm and myPage, because of that I can reach the myPanel
by setting it myPage's field.
((MyPage)getPage()).getMyPanel().setVisible(true);
Is this the only way, can I directly reach to the component? :)
Thanks Igor for your helps.
- Original Message
From:
that works, usually i like to separate button actions on my forms, so i
would have something like this
abstract class myform extends form {
protected abstract void onsave();
...
add(new button(...) { onsubmit() { onsave(); }});
}
and then in page it would be
final MyPanel panel=new
Iulian: great.
Please let me know when this is commited (i just looked up in svn and there
were no new commits to wicket 1.2 branch in contrib tinymce).
Igor: I saw the attachment, but when I clicked over the link, it took me to a
sourceforge error page I'll wait for Iulian's correction,
I have a DataView fed by a SortableDataProvider to display a pageable and
sortable table. In each row, I have a link to delete the current item.
My problem is that I cannot find the way to remove from the view the item I
just deleted in the database by clicking on the link. I need to refresh
actually you need to do nothing :)
after onclick for your delete link is done executing the page will refresh
and so will the dataview. when it refreshes it will call methods on the
dataprovider again and refresh accordingly
-igor
On 2/8/07, Francisco Treacy [EMAIL PROTECTED] wrote:
I have
well, i find that people often forget how easy it is to subclass components
and create
new ones in wicket. if your own way of doing date picking is something you
do more
than twice on your site, a simple panel could collapse all the related
components and
initialization into one little class
start with something simple like creating a reusable datetextfield
private static class DateField extends DateTextField {
public DateField(String id, IModel model) {
super(id, model, MM/dd/);
setrequired(true);
setoutputmarkupid(true);
}
}
this will change the
On 2/9/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
a couple of ways
like you said have a dummy homepage, but use restartresponse exception to
redirect to another page
Haven't try this one, thanks.
or override gethomepageclass in application and return a different one based
on the loggedin
if your home page is similar for different roles, you might even make
one home page and hide/show different panels/components depending
on who is signed in. you can /even/ do that automatically using a security
strategy because in wicket you can create panels that are only visible
to users
Jonathan,
How can I implement this using a security strategy? Do I need to implement
my own strategy or does the wicket-auth-roles package take care of this
automatically?
Sean
On 2/8/07, Jonathan Locke [EMAIL PROTECTED] wrote:
if your home page is similar for different roles, you might
Now I'm really laughing at myself. I was reasonably proud of extracting
this.
private FormComponentFeedbackBorder buildAjaxFeedbackBorder(String
borderId,
FormComponent component, final FeedbackPanel feedback)
{
final FormComponentFeedbackBorder border = new
it is pretty trivial
lets say you have tag interface AdminComponent. all your admin components
implement this interface.
all you have to do is
class MyAuthStrat implements IAuthorizationStrategy {
boolean isInstantioantionAuthorizer() { return true; }
boolean isActionAuthorized(Component c,
On 2/8/07, Scott Swank [EMAIL PROTECTED] wrote:
Now I'm really laughing at myself. I was reasonably proud of extracting
this.
you will get used to it, it is not apparent right off the bat. you did the
hardest part which is write the code in the first place. what i did was just
reorganize it
yeah, that's it and it's impressively powerful for such a simple thing. but
then that's java objects. we should really get an example like this on the
wiki at some point... it might even make a good demo/example in the more
introductory areas of the new site. it certainly ought to open some
woopsie
s/boolean user!=nulluser.isadmin();/return user!=nulluser.isadmin();/
-igor
On 2/8/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
it is pretty trivial
lets say you have tag interface AdminComponent. all your admin components
implement this interface.
all you have to do is
class
A very old question but only get time to fix now. And found that the
problem only occur at startPage(final Page page) but not
startPage(final ITestPageSource source) , so I change all test to this
method. Most work ok, just have one get the other exception
java.lang.IllegalArgumentException:
I want to have an info message that contains html tags but
FeedbackPanel escapes the message:
a becomes lt;agt;
I don't know why
feedbackPanel.setEscapeModelStrings(false)
seems not to work.
-
Using Tomcat but need to do
see feedbackmessage.setescapemessages()
not sure why that is different from setescapemodelstrings... any other devs
think it should be the same? probably more intuitive that way
-igor
On 2/8/07, Otan [EMAIL PROTECTED] wrote:
I want to have an info message that contains html tags but
ermfeedbackpanel.setescapemessages()
-igor
On 2/8/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
see feedbackmessage.setescapemessages()
not sure why that is different from setescapemodelstrings... any other
devs think it should be the same? probably more intuitive that way
-igor
On
On 2/9/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
see feedbackmessage.setescapemessages()
not sure why that is different from setescapemodelstrings... any other devs
think it should be the same? probably more intuitive that way
I personally feel the intuitive way is not the escape by default.
all markup in wicket it is escaped by default for security. we are not going
to change that :)
-igor
On 2/8/07, Carfield Yim [EMAIL PROTECTED] wrote:
On 2/9/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
see feedbackmessage.setescapemessages()
not sure why that is different from
On 2/8/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
see feedbackmessage.setescapemessages()
not sure why that is different from setescapemodelstrings... any other devs
think it should be the same? probably more intuitive that way
Yeah,
Eelco
where is that method? I can't find setescapemessages() in Wicket 2.0
On 09/02/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
see feedbackmessage.setescapemessages()
not sure why that is different from setescapemodelstrings... any other
devs think it should be the same? probably more intuitive
now convert the datepicker from a panel to a behavior - pretty easy to do,
in fact eelco will be doing that today?
Just checked that in (wicket-datetime, CalendarPopup component is now
replaced by behavior DatePicker). Imo, writing it like a behavior is
less elegant than a component, but it's
66 matches
Mail list logo