Hi All,
I want to add the required validation on a RadioGroup component. I added the
setRequired(true); What happens is that if the user did not select a radio
choice the validation msg will be shown. what should be the case. but if the
user selected a radio after that, the same msg will
I added it .. Nothing changed?! I am still getting the same problem.
Martijn Dashorst wrote:
add:
modes.setReuseItems(true);
Martijn
On 11/16/07, alshamsi [EMAIL PROTECTED] wrote:
Hi All,
I want to add the required validation on a RadioGroup component. I added the
setRequired(true);
Nope, don't think so. But you can always use an AjaxSubmitLink or
AjaxSubmitButton to submit the form.
On a more general note: all activity inside the modaldialog should be ajax.
Maurice
On Nov 15, 2007 5:03 PM, Marco Aurélio Silva [EMAIL PROTECTED] wrote:
Hi
I'm having problems to close a
add:
modes.setReuseItems(true);
Martijn
On 11/16/07, alshamsi [EMAIL PROTECTED] wrote:
Hi All,
I want to add the required validation on a RadioGroup component. I added the
setRequired(true); What happens is that if the user did not select a radio
choice the validation msg will be shown.
Yep that would be more maintenable ;)
As an alternative, you could provide instanciation of components in markup.
I think i've seen some code doing just that in the hypothetical v2.0, is
this planned for 1.3 ?
igor.vaynberg wrote:
On Nov 15, 2007 3:02 PM, Alexis [EMAIL PROTECTED] wrote:
*
hi all
I have base page for portlets and some page that inharitances base page.
Base page contains market name (Label)
public MarketTableBasePage(final PageParameters parameters)
throws StringValueConversionException {
String id =
Reading through all the responses on this thread, I can already see that
all the fundemental things in wicket I now take for granted forexample
as debugging. I guess I would have a hard time doing anything else by now.
regards Nino
Nino Saturnino Martinez Vazquez Wael wrote:
I totally agree.
On Nov 16, 2007 1:42 AM, Alexis [EMAIL PROTECTED] wrote:
Yep that would be more maintenable ;)
As an alternative, you could provide instanciation of components in markup.
I think i've seen some code doing just that in the hypothetical v2.0, is
this planned for 1.3 ?
We've had this hidden
I totally agree.
Wicket has made me a better developer. It actually makes you think in a
more OO way, comming from .net and jsp back in the day.
Comming from jsp and somewhat .net I had somewhat a hard time to grasp
the concept of models and the fact that wicket maintains whats selected
in
Gwyn Evans schrieb:
but I'd suggest that the
correct place would be in a page below the Integration guides page
thanks, will do that on Sunday.
--
THOMAS DAILY GmbH
Adlerstraße 19
79098 Freiburg
Deutschland
T + 49 761 3 85 59 0
F + 49 761 3 85 59 550
E [EMAIL PROTECTED]
If you have patches that made our WicketTester better please add them to
jira.
johan
On Nov 16, 2007 10:24 AM, Nino Saturnino Martinez Vazquez Wael
[EMAIL PROTECTED] wrote:
I totally agree.
Wicket has made me a better developer. It actually makes you think in a
more OO way, comming from
Hi,
doe somebody manage to make tinymce work with an ajax submit button
regards
Marc
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Is there a way to get a ModalWindow to open up along with its
underlying page? The usual show() takes an AjaxRequestTarget ... I
have at least one work around in mind (ripping out the ModalWindow
into a separate object so the launching page could show it too) but it
would be more elegant to just
Hi,
In my spare time I'm building a CMS with wicket. I'm not developing it
actively, just playing with it in my spare time. So far I developed
the following bundles:
Wicket as an osgi bundle:
http://mybundles.googlecode.com/svn/trunk/wicket/wicket-bundle/
A simple wicket example application:
If you don't want to maintain HTML/CSS and also have that generated
look at the layout manager frameworks like Echo2
johan
On Nov 16, 2007 7:21 AM, Joe Toth [EMAIL PROTECTED] wrote:
Compare the java code to something in velocity/jsp like...
href=/path/to/something.jsp?id=${draft.id}
...I
I am using 1.3 beta 4. I copied from wicket examples as well but its not
working.
Martijn Dashorst wrote:
I just did this in the FormInput example of Wicket examples
(1.3.0-rc1) and it works:
RadioGroup group = new RadioGroup(numbersGroup);
Hello all,
I have one question about the right naming of the Border component.
I think, that Border is a little confusing name, in context of swing-like
border.
In my opinion, border should be used as a decorator, that is transparent for
component,
which has it added --- it's like the new
On Nov 16, 2007 8:21 AM, Jonathan Locke [EMAIL PROTECTED] wrote:
- the api surface area /is/ a little bigger than it would ideally be. i
wish i had stayed
more on top of this. fighting to remove stuff and shrink the api is
half
the
battle of making a framework. there are even a
Cons:
- steep learning curve
this really depends where you coming from.
For me wicket is simple, it feels natural.
Struts for example never did that for me.
Also tapestry that came close for me. But it still did itches.. still though
yeah close but not quite there.
Of course you need to
Hi,
We encountered the same phenomenon with wicket dojo.
The reason is that if resources are loaded by a servlet engine when there is
no session cookie set to the client, the servlet engine does url rewriting,
and appends ?jsessionid=xxx to the urls it generates.
Dojo has some internal coding
I have a case where I'm using a checkbox to show boolean data in a table.
However I want the data to be readonly.
Is there any way to make the CheckBox component readonly such that a user
could not change it from being checked to unchecked or vise versa?
matt clevenger
--
View this message in
Eelco Hillenius wrote:
If you give us your sourceforge id, we can give you commit rights.
You'll have to team up with whoever else is maintaining that package
though; don't just go in and break the whole thing ;-)
Eelco
My SF ID is nihilisticz. I promise to play nice. :)
round-robin has a couple of disadvantages over sticky sessons:
a) you need to replicate state to all nodes - a lot of traffic
although with a fiber backplane its most likely not an issue. with
sticky sessions you only have to replicate to one or two other nodes
which act as backup buddies.
b)
you will get an error, i have explained this in a parallel thread
yesterday... that is why we are working on a special page store that
will also write out the current page onto the disk when the session is
replicated - that means all nodes will have all the pages spooled to
disk so clustering will
That could be great, that way we could support each other.. Do you have
an idea on how to get started?
regards Nino
Uwe Schäfer wrote:
Nino Saturnino Martinez Vazquez Wael schrieb:
Im actually about to write a tutorial thing about howto
JPA-HIBERNATE-SPRING in wicket... It could be something
it might almost go without saying that i don't agree with these particular
cons.
html templates live next to java code because they are conceptually related
and so it makes sense to encapsulate them in the same package. what never
made sense to me was the other way of doing it. requiring a
perhaps one of the groups who are using wicket and osgi successfully
can put together an example project that demonstrates all these
concepts so the community does not have to reinvent the wheel and
solve problems that have already been solved by others...thats what
this is all about afterall
I just did this in the FormInput example of Wicket examples
(1.3.0-rc1) and it works:
RadioGroup group = new RadioGroup(numbersGroup);
add(group);
ListView persons = new ListView(numbers, NUMBERS)
{
Uwe Schäfer schrieb:
Maris Orbidans schrieb:
Let's remember good old EJB's. Inject an EntityManager in a session
bean facade and EJB container will handle all concurrency issues. No
need to write any boilerplate code.
that´s where i come from. problem is, that you domain object aren´t
I dont think ajax is a compromise .. Not for the kind of webframe work we
are..
We are a serverside framework. just like struts/jsf/tapestry.
I guess you compare it with full client side frameworks (gwt or echo2)
yes those are ajax through and through (they have to) But that doesn't mean
that
i
(Sorry, I should have added I found the September discussion, I
wondered if there was a more elegant solution in the meanwhile...)
On Nov 16, 2007 11:45 AM, Kirk Israel [EMAIL PROTECTED] wrote:
Is there a way to get a ModalWindow to open up along with its
underlying page? The usual show() takes
On Nov 16, 2007 5:22 AM, Frank Martínez [EMAIL PROTECTED] wrote:
Hi,
I am working with jboss seam by about one year, now i am developing a
wicket-seam integration based on wicket-seam-test.
Good to hear someone is working on it!
I will send it to the wicket developers when i finish it.
You
I have an application which used Session EJB's to deliver data to
Wicket pages.
These are looked up using JNDI in the main application class: for the
sake of argument let's call it MainApplication.java.
I then have a BasePage.java from which all other pages that use these
EJB's inherit,
Since it's a french-only thread, I follow up with french language ;-)
Antoine, peux tu dire le nom de ta société, à moins que ce soit
confidentiel-défense =^D ?
Antoine Angénieux wrote:
We've been actively using Wicket since February and are based in Paris.
We are a software editor
Fair enough. Good answer. :)
Of course I meant in the non-failure case.
So under normal operations outside of failure conditions, perhaps there
really is no benefit to move users to other nodes during the lifetime of a
session, or at least the difficulty outweighs the benefit.
- Lu
Hi,
I am working with jboss seam by about one year, now i am developing a
wicket-seam integration based on wicket-seam-test.
I will send it to the wicket developers when i finish it.
I am not expert on Wicket and i have some questions:
1. Are Wicket Components instantiated on every request?
2. In
Nino Saturnino Martinez Vazquez Wael schrieb:
Im actually about to write a tutorial thing about howto
JPA-HIBERNATE-SPRING in wicket... It could be something worth looking
at, Im trying to have a clean seperation of domain / database and
frontend (wicket).
interesting. i could write a
Hugues Pichereau a écrit :
Hi,
I was wondering if there are companies in France (and especially near Paris)
known to use Wicket (except Anyware Technologies, at Toulouse, which seems
well known for that) ?
we are not a SSII , but here at the ESSEC DEV Team and we use it ;)
Regards,
Hello everyone.
Preamble: I want to forbid simultaneous login of the same user from
different clients. In particular I must handle opening of new window in the
same session (Ctrl+N in IE). To achieve this I override
WebPage.onNewBrowserWindow().
Here is the use case that causes a problem.
1. A
if you use EJB3 you really want to use the wicket-contrib-javaee project
(wicketstuff) all you need to do is call you @EJB and rest is handled
automatically !
That project needs an update for 1.3
Add wicket-ioc dep / remove spring dep + some other unneeded deps /
fix package names, I
On Nov 16, 2007 8:15 AM, Igor Vaynberg [EMAIL PROTECTED] wrote:
components are not instantiated on every request - they are only
instantiated when YOU instantiate them using the NEW operator...wicket
is unmanaged.
the problem with using onbeforerender is that some components need
access to
One BIG plus that I haven't seen mentioned is debuggability. A wicket
application is almost as easy to debug as a regular application. For one
thing the error messages are really great. 90% of the time the nail the
problem. But the biggest plus is that the whole control flow is just in
regular
There's nothing on the Wiki at the moment, but I'd suggest that the
correct place would be in a page below the Integration guides page
at http://cwiki.apache.org/WICKET/integration-guides.html. Just go
there, then Add page and it should automatically appear in the
Reference page/Integration
and does it really work?
On Nov 15, 2007 1:43 AM, Maurice Marrink [EMAIL PROTECTED] wrote:
There are a lot of people out there asking about wicket and acegi and
how to integrate them. And until recently the only answer was check
the wiki
Hi everybody,
I'm using nested forms in my web app to provide to the user a simple way for
editting a product and its stock state at the same time (PRODUCTS and STOCKS
are bound with a relation 1-n in my database). So I've defined a form for
each of my tables.
When I submit a nested form (in
On Nov 16, 2007 6:06 PM, mclev [EMAIL PROTECTED] wrote:
I have a case where I'm using a checkbox to show boolean data in a table.
However I want the data to be readonly.
Try setEnabled(false), works on any Component.
Szocske
Maris Orbidans schrieb:
Let's remember good old EJB's. Inject an EntityManager in a session
bean facade and EJB container will handle all concurrency issues. No
need to write any boilerplate code.
that´s where i come from. problem is, that you domain object aren´t able
to lazily fetch
Let's remember good old EJB's. Inject an EntityManager in a session
bean facade and EJB container will handle all concurrency issues. No
need to write any boilerplate code.
BTW I have seen that some people use OpenEntityManagerInViewFilter and
map it to url pattern /*. It seems that an
yeah, i'm afraid i agree with you now. ;-)
oh well. hindsight is 20/20. otoh, if this is some of the biggest stuff
we can find to complain about, i think we did pretty damn well.
Johan Compagner wrote:
On Nov 16, 2007 8:21 AM, Jonathan Locke [EMAIL PROTECTED] wrote:
- the api
Francis De Brabandere schrieb:
if you use EJB3 you really want to use the wicket-contrib-javaee project
(wicketstuff) all you need to do is call you @EJB and rest is handled
automatically !
That project needs an update for 1.3
Add wicket-ioc dep / remove spring dep + some other unneeded
On Fri, 16 Nov 2007, Nino Saturnino Martinez Vazquez Wael wrote:
A possible con are that the testing part of wicket could be improved by
having more convenince methods. Also there seems to be some trouble
testing if you use spring injection for your beans.
jdave-wicket has more convenience
In order to avoid ClassCastException, when constructing a new instance of
WicketTester, initialize it with your MainApplication:
WicketTester tester = new WicketTester(new MainApplication());
Andy Barlow [Deftex] wrote:
I have an application which used Session EJB's to deliver data to
On Fri, Nov 16, 2007 at 09:54:39AM -0800, Curtis Cooley wrote:
Michael Laccetti wrote:
John Krasnay wrote:
To me this is the biggest con. I've worked with a number of Java devs
who have trouble grokking anonymous inner classes, which you must know
cold to be effective with Wicket.
On Nov 16, 2007 8:37 AM, saenz [EMAIL PROTECTED] wrote:
Johan, are you saying that other types of load balancing strategies besides
sticky sessions are all flawed, and that it only makes sense to use sticky
sessions? Please correct my understanding.
If sticky sessions are the only recommended
hello i am upgrading from wicket 1.2.6 to 1.3 rc1, and feedback messaging is
not showing up with setResponse page.
i am doing
Page userPage = getUserPage();
//1.2.6 version code which was fine
// userPage.getFeedbackMessage().info(userPage, getUser().getDescription() +
Saved);
//now i changed
On Nov 16, 2007 10:33 AM, Igor Vaynberg [EMAIL PROTECTED] wrote:
you can still cluster 1.3.1 easily. either use httpsessionstore or
tell wicket to save pages to a shared drive
Or use that project Matej is working on. It works.
Eelco
Also, can someone answer this other question I asked?
saenz wrote:
Also -- if page serialization is disabled, what happens when the user
hits
the back button?
--
View this message in context:
we are not working within the context of swing here are we? so to say
something doesnt make sense within the context doesnt make any sense.
anyways, the border is called border because it wraps other components.
eg:
class myborder extends border { myborder() { add(new label(a,a));
add(new
Edgar and all,
I am new to wicket but have built an application using Velocity and Equinox
OSGi. I am hoping to switch from Velocity to Wicket. Edgar's code below is
most helpful! Do you or anyone have any other code to share? Bundles? For
example, this code would be helpful as well
you
Hi,
Do you have problems with it?
I tried it over a year ago, and as far as I remember there was nothing to
it. That was Wicket 1.2.3 and tinymce from back then.
Frank
On Nov 16, 2007 5:24 PM, godin [EMAIL PROTECTED] wrote:
Hi,
doe somebody manage to make tinymce work with an ajax submit
* Not stateless (i'm talking about the stable 1.2 here)
thats not a con anymore because 1.3 is pretty good now in that area.
* Too much alternatives to do quite the same things (markup inheritance vs
borders; passing component's constructors models, full objects or even
components;
On Nov 16, 2007 11:36 AM, narup [EMAIL PROTECTED] wrote:
hello i am upgrading from wicket 1.2.6 to 1.3 rc1, and feedback messaging is
not showing up with setResponse page.
i am doing
Page userPage = getUserPage();
//1.2.6 version code which was fine
//
Edgar,
Cool! I have been thinking Java could at long last have a good CMS, if
someone were to do it using OSGi. I might want to be your first user.
I am curious: what version of Jetty are you using? Where did you get the
appropriate bundles? Could you share your Activator code that starts
By the way, my question below still has not been answered. Can anyone explain
what would occur in the following scenario?
My question regarding on-disk page storage relates to the use case of a
web-app deployed on a cluster. In this situation, what will happen if the
following occurs?
1.
components are not instantiated on every request - they are only
instantiated when YOU instantiate them using the NEW operator...wicket
is unmanaged.
the problem with using onbeforerender is that some components need
access to resources from inside their constructors which is too early
to be
Hello All,
I love to use CompoundPropertyModel whenever I can, and I had a debate today
on how to appropriately use it within a ListView.
Here is the markup, this is the start of the implementation of a message
panel:
!--
table
tr wicket:id=customerReceivedMessages
td width=15pxIc/td
On Nov 16, 2007 8:02 PM, Korbinian Bachl [EMAIL PROTECTED] wrote:
That project needs an update for 1.3
Add wicket-ioc dep / remove spring dep + some other unneeded deps /
fix package names, I contacted the author but got no response.
Plus you have to define all beans in the web.xml which
yeah, strong coding is about making strong choices. when you
/know/ a design decision (such as this one -- separating markup
from code) is the right decision, you need to stick to your guns
and not lose the whole war because you want to win some little
battle. the fact that it takes a little
And when you say using HttpSessionStore, you mean storing the pageMap in the
session only rather serializing the pages at all in the disk,database etc as
was the the case with earlier wicket implementation..
Farhan.
Eelco Hillenius wrote:
On Nov 12, 2007 6:21 PM, Igor Vaynberg [EMAIL
thanks for your response igor,
yes, you are right, i understand, that in the output html border wraps
its content - so it's looks like border for nested components.
What we both mean, is the same, difference is only from point of view.
My point of view is, that generally (in desktop GUI like
Oh, and type-safe models are a must, I was surprised to read in this
thread not everybody agrees with that. Especially since type erasure
ensures backwards compatibility, and lets the cast-fans stick to their
habits :-)
The problem that I have with type safe models is that in order to fit
These two are the exact same things I have in mind about wicket:
On Nov 15, 2007 10:18 PM, Eelco Hillenius [EMAIL PROTECTED] wrote:
I've always had in my mind that the perfect
approach to state handling would be to give users the choice between
server managed and client managed (i.e. by
Guys,
I am yet bringing the same question again, regarding the SLCSS and the need
to maintain it the older versions of the page on the disk or otherwise...and
would really appreciate if some of my questions could be addressed here..
Before i go into Second Level Cache..i would say that i still
Hi,
I use a RepeatingView on a page, and get the following error:
23:48:32,970 WARN [AbstractRepeater] Child component of repeater
org.apache.wicket.markup.repeater.RepeatingView:layoutContainers has a
non-safe child id of container0. Safe child ids must be composed of
digits only.
Why is
what do you mean with disabled? how is it disabled?
The page can't be serialized because of none serializeable attributes?
Then in the default 1.3 configuration that page can't be saved to disk so
you can't restore it.
johan
On Nov 16, 2007 8:56 PM, saenz [EMAIL PROTECTED] wrote:
Also, can
Application
*
protected* *abstract* ISessionStore newSessionStore();
johan
On Nov 16, 2007 8:54 PM, saenz [EMAIL PROTECTED] wrote:
igor.vaynberg wrote:
you can still cluster 1.3.1 easily. either use httpsessionstore or
tell wicket to save pages to a shared drive
Thanks Igor.
yes HttpSessionStore is what is default in 1.2
On Nov 16, 2007 10:51 PM, mfs [EMAIL PROTECTED] wrote:
And when you say using HttpSessionStore, you mean storing the pageMap in
the
session only rather serializing the pages at all in the disk,database etc
as
was the the case with earlier
what you are doing is fine because you are wrapping the model, not changing it
but also see PropertyListView
-igor
On Nov 16, 2007 1:29 PM, TheMayor [EMAIL PROTECTED] wrote:
Hello All,
I love to use CompoundPropertyModel whenever I can, and I had a debate today
on how to appropriately use
How can he be more specific than give you the method you need to override?
Martijn
On Nov 17, 2007 12:53 AM, saenz [EMAIL PROTECTED] wrote:
Hi Johan,
Would you mind being a little bit more specific? Or you may feel free to
point me to the documentation that I should read.
Johan
@jdave I think it would be an option(I dont think I can go back to 1.4
ever and hope I dont have to), however I'd like to see more convenience
methods.. Why arent it mentioned on the wiki page or somewhere else?
@Spring problems
Did not know that.. Thanks :)
@Pretty hard doing stuff with the
I'll do that if what I want todo makes any sense..
regards Nino
Johan Compagner wrote:
If you have patches that made our WicketTester better please add them to
jira.
johan
On Nov 16, 2007 10:24 AM, Nino Saturnino Martinez Vazquez Wael
[EMAIL PROTECTED] wrote:
I totally agree.
Wicket
Johan Compagner wrote:
what do you mean with disabled? how is it disabled?
The page can't be serialized because of none serializeable attributes?
Then in the default 1.3 configuration that page can't be saved to disk so
you can't restore it.
Hi Johan,
What I mean is by using the
On Nov 16, 2007 2:55 PM, Edvin Syse [EMAIL PROTECTED] wrote:
Why is container0 a non-safe id,
because it contains nondigits like the message said?
and isn't it wrong to use only digits
for id's in css?
this is component id, not css id...
-igor
SAFE_CHILD_ID_PATTERN is defined as ^\\d+$.
Doug, thanks for putting this together.
David
Doug Leeper wrote:
Ok here it is. I have also included my use of it. While it won't compile
for you...you will at least see how I have used it.
http://www.nabble.com/file/p13439520/CheckBoxIconPanel.html
CheckBoxIconPanel.html
Hi Martijn,
I think so.
You could let us know if we should subclass Application directly or subclass
WebApplication. I would assume the latter.
You could also explain some of the details of what should be returned by our
override of WebApplication.newSessionStore(). The javadoc for this method
Glad to have helped!
--
View this message in context:
http://www.nabble.com/Checkbox-tree-component-tf4699092.html#a13804839
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL
you know, the code is all there. you could just look at it...
-igor
On Nov 16, 2007 5:04 PM, saenz [EMAIL PROTECTED] wrote:
Hi Martijn,
I think so.
You could let us know if we should subclass Application directly or subclass
WebApplication. I would assume the latter.
You could also
You could also explain some of the details of what should be returned by our
override of WebApplication.newSessionStore(). The javadoc for this method
reads typically not something clients reimplement so I assume we really
need to know what we're doing if we override this method.
This in your
Nick Heudecker wrote:
For textareas and textfields I always do onfocus='this.blur();'. It
might
work for checkboxes as well.
Nick, tried this, didn't work. Also tried the readonly property and it
didn't work. Thought about using the setEditable=false, but it doesn't look
right.
Hi,
I am wanting to add a filtering component to my page which filters a
AjaxFallbackDefaultDataTable. I have seen the filter toolbar - but it is
not exactly what I need.
I have set up the filter object itself in my data provider (implemented as
IFilterStateLocator) so the actual filtering
Hi Igor,
The main problem I see here is that there is not a single approach on
building a wicket based OSGi application. For instance, we have taken a
different approach to the one described in a previous e-mail. Moreover,
as we had some code base already working when we decided go OSGi what
David,
Take a look here.
http://www.eclipse.org/equinox/server/
They have bundled jetty as a pluging. So the only thing you have to do
is start Jetty pluging as well. Don't know if other OSGi implementations
offer something similar as well.
Best regards,
Ernesto
dado wrote:
Edgar,
Cool!
92 matches
Mail list logo