i was of the "generify component and model" mind while i was
generifying the framework, but after coding against it i began to see
some of the ugliness and now my mind is almost changed.
yep, day to day usage is the main point.
i came to that conclusion as well when i was trying to migrate s
Doesnt the YUI and dojo contrib do this already?
gurgel2 wrote:
I want to do a popup menu (using a z-indexed layer) that should closed if i
click anywhere, EXCEPT on the menu itself.
Its the close "behavior" I need to know. Everything but that, is clear to
me. A similar behavior to a opened de
On Tue, Jun 3, 2008 at 11:30 PM, Eelco Hillenius
<[EMAIL PROTECTED]> wrote:
> On Tue, Jun 3, 2008 at 10:37 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
>> i think we should have qualified this rfi with a requirement that
>> responders use 1.4 on a non-trivial project...these things only become
>> a
On Tue, Jun 3, 2008 at 10:37 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> i think we should have qualified this rfi with a requirement that
> responders use 1.4 on a non-trivial project...these things only become
> apparent from real-world day-to-day usage. anything else is pretty
> much speculat
i think we should have qualified this rfi with a requirement that
responders use 1.4 on a non-trivial project...these things only become
apparent from real-world day-to-day usage. anything else is pretty
much speculation.
-igor
On Tue, Jun 3, 2008 at 10:31 PM, Eelco Hillenius
<[EMAIL PROTECTED]>
On Tue, Jun 3, 2008 at 8:54 PM, Mike Comb <[EMAIL PROTECTED]> wrote:
> Well, in our case it would almost never be:
>
> MyComponent mycom = new MyComponent();
>
> We don't have many of our own models, we use CompoundPropertyModel pretty
> much exclusively (wrapping DAOs or javabeans). So the verbos
Well, in our case it would almost never be:
MyComponent mycom = new MyComponent();
We don't have many of our own models, we use CompoundPropertyModel
pretty much exclusively (wrapping DAOs or javabeans). So the
verbosity doesn't benefit us much. Also, the vast majority of our
components
no worries, i wasnt holding my breath. its just that when i make
sweeping statements i tend to have something to back them up that
other people can see...
-igor
On Tue, Jun 3, 2008 at 8:19 PM, Brill Pappin <[EMAIL PROTECTED]> wrote:
>
> You will wait a long time for an example generated from "the
You will wait a long time for an example generated from "the API would be
different" in such and such a case, based on an opinion.
If your really all that interested you could start from scratch using
generics and see what came out.
Let me know if you do, because I'd be interested to see if my o
are you on 1.4, i checked in a change that will allow ajaxbutton to
utilize getonclickscript() within the ajax handler it generates...
-igor
On Tue, Jun 3, 2008 at 2:47 AM, Eyal Golan <[EMAIL PROTECTED]> wrote:
> One more thing.
> If I understand correctly, AjaxButton should override the getOnCli
I guess I'm not understanding why people feel strongly against generics in
the components.
The model is going to use them for the data they contain, but the component
would use them for the model it uses:
MyModel mymodel = new MyModel();
MyComponent mycom = new MyComponent();
And that's all you
can you paste the stack trace please? are you using latest trunk?
-igor
On Tue, Jun 3, 2008 at 6:38 AM, nitinkc <[EMAIL PROTECTED]> wrote:
>
> I need an example of wicketstuff-minis' veil behavior. I added this to one of
> my components but keep getting the error that the behavior is already boun
you can use something like add(new
HeaderContributor.forCss(pageA.class, "filename")) on pageA and it
should work from anywhere.
-igor
On Tue, Jun 3, 2008 at 8:26 AM, Manuel Corrales
<[EMAIL PROTECTED]> wrote:
> Hi, i am starting new wicket application, my first one. I think this is an
> awesome
sorry, still waiting for an example here...
-igor
On Tue, Jun 3, 2008 at 7:53 PM, Brill Pappin <[EMAIL PROTECTED]> wrote:
> Actually, i did not say "... say that wicket api needs a radical refactoring
> in order to support generics" what I actually said was "I think that if
> Wicket had been writ
Actually, i did not say "... say that wicket api needs a radical refactoring
in order to support generics" what I actually said was "I think that if
Wicket had been written with generics from the beginning, the API would be
different".
No "radical refactoring required" was mentioned :)
Big differ
1) Generifying* Wicket
[X] Can best be done like currently in the 1.4 branch, where models
and components are both generified. I care most about the improved
static type checking generified models and components give Wicket.
[X] Can best be done in a limited fashion, where we only generify
I
Declare nothing final unless trying to solve a particular problem.
...m2c
- Brill Pappin
-Original Message-
From: Eyal Golan [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 03, 2008 5:47 AM
To: users@wicket.apache.org
Subject: Re: Add onClick to an AjaxButton
One more thing.
If I underst
I'll answer my own question. A PageableCoordinator such as the above
is a workable way to create pageable columns. I created a separate
DataView for each row and then the coordinator points them all at the
appropriate page.
DataView recommendedView = new AirlineRecommendedView("recommend
Thanks!
Do you mean I can only override PagingNavigator's constructor?
public MyNavigator(String arg0, IPageable arg1, IDataProvider arg2) {
super(arg0, arg1);
System.out.println(arg2.size());
}
Michael Sparer wrote:
>
> If you're using DataView try get
Guys,
I am using wicket-auth-roles which so far is working greaet serving all my
purposes.
Though I am stuck in this scenario where when the session-expiry has
reached, instead of being redirected to the SessionExpiryPage, i get
redirected to the loginPage, now in one of the threads it was comme
The way the your web.xml is configured does not have the requests going to
JasperReportServlet getting filtered by WicketSessionFilter. Change the filter
mapping for WicketSessionFilter from /app/* to /report/* or /* and you should
see it work the way you want.
I am facing a similar issue, can someone direct me to right documentation, as
to how to redirect to sessionExpiredPage instead of login page if session
has expired..
jd17 wrote:
>
> Hi Maurice,
> thanks for your quick response. I have tested quite a bit this morning and
> in most cases, the Pa
>
> Check out the api for WicketSessionFilter, it will tell you how to make the
> session available for non wicket servlets.
>
>
> http://wicket.apache.org/docs/wicket-1.3.2/wicket/apidocs/org/apache/wicket/protocol/http/servlet/WicketSessionFilter.html
>
Yeah, that's how I had my filter and serv
You could do something like this:
new PropertyColumn(new Model("your-object-model-replaces-this-one"),
"property.expression") {
@Override
protected IModel createLabelModel(final IModel embeddedModel) {
return new Model() {
@Overri
you can also subclass propertycolumn itself
-igor
On Tue, Jun 3, 2008 at 2:36 PM, Steve Thompson <[EMAIL PROTECTED]> wrote:
> I'm creating a AjaxFallbackDefaultDataTable, just as shown in the live
> examples, and things are working great. My only problem though is
> that I would like to scramble
thx for your reply Gwyn and Igor. That was the info I was looking for.
igor.vaynberg wrote:
>
> no it is not possible. in wicket the view is dumb, it contains no
> knowledge or logic. if, for example, the person has first name and
> last name and you wanted to output a full name you would have
I'm creating a AjaxFallbackDefaultDataTable, just as shown in the live
examples, and things are working great. My only problem though is
that I would like to scramble one of the columns of information that I
present depending on the user (in this case, the column holds SSN, and
I want it to appear
no it is not possible. in wicket the view is dumb, it contains no
knowledge or logic. if, for example, the person has first name and
last name and you wanted to output a full name you would have to do
the concatenation in java code, and the view would simply have placeholder. in wicket everything
Also http://cwiki.apache.org/WICKET/more-on-models.html
On Tue, Jun 3, 2008 at 9:58 PM, Gwyn Evans <[EMAIL PROTECTED]> wrote:
> On Tue, Jun 3, 2008 at 9:38 PM, FastGorilla <[EMAIL PROTECTED]> wrote:
>>
>> I have knowledgde of Servlets, JSP and JSF, and reading a bit about Wicket.
>>
>> Something t
On Tue, Jun 3, 2008 at 9:38 PM, FastGorilla <[EMAIL PROTECTED]> wrote:
>
> I have knowledgde of Servlets, JSP and JSF, and reading a bit about Wicket.
>
> Something that turns me immediately off is that you have to use something
> like
> add(new Label("firstName", person.getName()));
> add(new Labe
Check out the api for WicketSessionFilter, it will tell you how to make the
session available for non wicket servlets.
http://wicket.apache.org/docs/wicket-1.3.2/wicket/apidocs/org/apache/wicket/protocol/http/servlet/WicketSessionFilter.html
On Tue, Jun 3, 2008 at 4:30 PM, Martijn Dashorst <[EMAI
[X ] Can best be done in a limited fashion, where we only generify
IModel but not components. I care more about what generifying can do
for API clarity (declaring a component to only accept certain models
for instance) than static type checking.
I've spent a couple of afternoons trying to move
I have knowledgde of Servlets, JSP and JSF, and reading a bit about Wicket.
Something that turns me immediately off is that you have to use something
like
add(new Label("firstName", person.getName()));
add(new Label("lastName", person.getName()));
add(new Label("address", person.getAdress()));
ad
You can't access the Wicket Session from outside a Wicket request
using Session.get(). It is a thread local that is maintained by the
request cycle. If it was possible in 2.0, then that was a bug and most
certainly a security risk.
You should try to look up the Wicket session in the HttpSession of
Okay, I may have this all wrong, and then that's my problem. I have an
application that was developed under the 2.0 branch that I recently migrated
to 1.4. This application uses a servlet to handle requests for Jasper
Reports, and under 2.0 everything worked great. I store the report request
in
One big selling point for me was the encapsulation of components.
Because the code and all required resources (markup, CSS, JS,
localization properties) are by default retrieved from the classpath,
it's trivial to create reusable libraries of common components, page
layouts, etc.
jk
On Tue, Jun 0
Have a look here
(http://cwiki.apache.org/confluence/display/WICKET/Articles+about+Wicket)
and a quick seach with Nabble, as I think there were similar requests
on the list not too long ago.
/Gwyn
On Tue, Jun 3, 2008 at 8:37 PM, Eyal Golan <[EMAIL PROTECTED]> wrote:
> Hi,
> I'm going to give an i
Hi,
I'm going to give an intro presentation about Wicket at my home company (I
work as an outsource).
There are so many cool things in Wicket and I probably know some / most of
them.
Can you give your advice / thoughts?
Things like Ajax support, markup inheritance, POJO usage, clear and clean
sepa
I'm no js shark either, but I had created something like that a while ago
and I got around that problem by setting a flag when the mouse was over the
popup (onmouseover) and reset it onmouseout. Then you can use that flag when
detecting the click event.
Frank
On Tue, Jun 3, 2008 at 1:40 PM, gurgel
Thanks and sorry to have bothered you. I will take a closer look and see what
I overlooked in my code. I started migrating last tuesday and everything is
up and running, there are just a few warnings I will look into, so i am
quite happy with the transition.
José
--
View this message in context:
Eelco Hillenius wrote:
>
>[x] Can best be done in a limited fashion, where we only generify
> IModel but not components. I care more about what generifying can do
> for API clarity (declaring a component to only accept certain models
> for instance) than static type checking.
>
>[x] Wha
On Tue, Jun 3, 2008 at 9:19 AM, jd17 <[EMAIL PROTECTED]> wrote:
>
> The first and most important one is the fact that per default Wicket now
> makes css ids unique, which isn't even mentioned in the migration guide (Can
> you please add it?). I make heavy use of css in my application and it was
> r
not really sure what to tell you other then my impression is that it
is false by default...
-igor
On Tue, Jun 3, 2008 at 8:47 AM, jd17 <[EMAIL PROTECTED]> wrote:
>
> Hi, Igor,
> thanks for replying, but I do not understand your statement. My impression
> is that the default is true, otherwise I w
[ X] Can best be done in a limited fashion, where we only generify
IModel but not components. I care more about what generifying can do
for API clarity (declaring a component to only accept certain models
for instance) than static type checking.
2) How strongly do you feel about your cho
Eelco Hillenius wrote:
1) Generifying* Wicket
[x] Can best be done like currently in the 1.4 branch, where models
[x] Can best be done in a limited fashion, where we only generify
Both are acceptable to me
2) How strongly do you feel about your choice above?
[x] I definitively won'
Nino Saturnino Martinez Vazquez Wael wrote:
That page is so ridden with ad-spam, Nino, there's no visible content!
>>>
>>> argh! It's very clean on the upload side of stuff. Anyway when we get
>>> confluence sorted out i'll put the diagram on this page :
>>>
>>> http://cwiki.apache.org/conflu
Thanks, igor and Edvin!
Edvin Syse wrote:
>
> In this case you could quite easily combine these in a single regexp.
>
> -- Edvin
>
>> all added validators are ANDed together. if you want to add an OR you
>> have to roll your own validator.
>>
>> -igor
>>
>> On Tue, Jun 3, 2008 at 7:16 AM, lin
Hi,
I finally know why I was redirected to tomcat's home page.
It's because wrong setting of WicketFilter's filter mapping in web.xml.
Thanks, guys~
liny wrote:
>
> Hi, Timo:
>
> I want to do as the same as "Form Example" in wicket-examples-1.3.3
> After copying from "Form Example" source and
Hi, Igor,
thanks for replying, but I do not understand your statement. My impression
is that the default is true, otherwise I would not have to set it to false
all over the place. Please clarify
José
igor.vaynberg wrote:
>
> the default is false, unless you attach some sort of behavior (ajax)
>
In this case you could quite easily combine these in a single regexp.
-- Edvin
> all added validators are ANDed together. if you want to add an OR you
> have to roll your own validator.
>
> -igor
>
> On Tue, Jun 3, 2008 at 7:16 AM, liny <[EMAIL PROTECTED]> wrote:
>>
>> Hi,
>>
>> I want to have a
Add it to the wiki:)
Milan K?ápek wrote:
I have it. It was hidden under the wicket request. It can be done by cast the
request to IMultipartWebRequest. This request then can access the file stored
in the HTTP request.
-
To un
Hi, i am starting new wicket application, my first one. I think this is an
awesome framework!!
I am having this issue, i have a css file and i am including it on a pageA,
then i have another pageB (subclass of pageA) that is on another package.
When i navigate to pageB, i have no stlyes because it
I am one of adopters laterst release and I invested much time
for upgrading all our projects to 1.4M2 .
I think, that generification of Wicket has many positive impacts, but
also some negative impact on simplicity and ease of use.
I don't see too many advantages of fully typed components - the b
On Tue, 03 Jun 2008, gurgel2 wrote:
> I want to do a popup menu (using a z-indexed layer) that should closed if i
> click anywhere, EXCEPT on the menu itself.
>
> Its the close "behavior" I need to know. Everything but that, is clear to
> me. A similar behavior to a opened desktop app "File,Edit,
all added validators are ANDed together. if you want to add an OR you
have to roll your own validator.
-igor
On Tue, Jun 3, 2008 at 7:16 AM, liny <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I want to have a text field that can validate multi values, like below:
>
> FormComponent fc;
> fc = new Require
if the table is the only expensive component on your page then there
is really no advantage to using ajax since you are adding all the
overhead of javascript processing without saving anything.
-igor
On Tue, Jun 3, 2008 at 3:57 AM, Niels Bo <[EMAIL PROTECTED]> wrote:
>
> Hi
>
> I have observed th
Hi,
I want to have a text field that can validate multi values, like below:
FormComponent fc;
fc = new RequiredTextField("name");
fc.add(StringValidator.minimumLength(8));
fc.add(new PatternValidator("cab\\d{2}"));
fc.add(new PatternValidator("[aAxX]\\d{7}"));
I hope the value of this text fie
On Tue, Jun 3, 2008 at 1:19 AM, jd17 <[EMAIL PROTECTED]> wrote:
>
> The first and most important one is the fact that per default Wicket now
> makes css ids unique, which isn't even mentioned in the migration guide (Can
> you please add it?). I make heavy use of css in my application and it was
> r
Hey everyone. I am wanting to customize autocomplete textfield a little and I
am not sure what I need to do to get the behavior I would like. I am using
the 1.4-m2 jars for my development because I am really wanting the choices
to show up with an empty textfield.
Basically I would like the Div to
Hi, Timo:
I want to do as the same as "Form Example" in wicket-examples-1.3.3
After copying "Form Example" source and modify it, now it works.
Thanks.
Timo Rantalaiho wrote:
>
> On Mon, 02 Jun 2008, liny wrote:
>> 1. When I enter data into input field and key up,
>> AjaxFormValidatingBehavior
1) Generifying* Wicket
[X] Can best be done in a limited fashion, where we only generify
IModel but not components. I care more about what generifying can do
for API clarity (declaring a component to only accept certain models
for instance) than static type checking.
2) How strongly do you feel
I need an example of wicketstuff-minis' veil behavior. I added this to one of
my components but keep getting the error that the behavior is already bound
to another component and cannot be reused.
All I am doing is:
Button button = new Button("test");
button.add(new Veil());
form.add(button);
Th
For those that use SpringBean, starting from m2 you also need the jar
wicket-ioc.
Regards,
Erik.
Frank Bille wrote:
> Help the Apache Wicket team to determine the future of your Wicket based web
> application development. We have released our second milestone release of
> our Java 5 based w
Hi James,
Remember that 1.4 isn't done yet either. Perhaps these are just
growing pains that the wicket team is going through (or perhaps it's
not).
it's not... ;-)
No, really, I have invested quite some time to get comfortable with Components +
Generics. And I came to the conclusion: it's
On Tue, Jun 3, 2008 at 8:46 AM, Jan Kriesten <[EMAIL PROTECTED]> wrote:
>
> Hi Gabor,
>
>> I was thinking about using the existing wicket 1.4 API from scala, if
>> that's any more comfortable.
>
> I tried to migrate a bigger project from 1.3 to 1.4 api - and it isn't
> really more comfortable. It's
Doug,
Another congratulations from me. I took a look at the site and I
might just sign up. My dad likes to play Texas Hold 'em and I'd like
to kick his butt! :) Glad to hear the generic model/components work
for you too. I'm using them and there have been some headaches, but
overall I like the
Look in the section "Laguage Proposals" > "Shorter Instance Creations"
in:
http://blogs.sun.com/dannycoward/resource/Java7Overview_Prague_JUG.pdf
Other useful links:
http://blogs.sun.com/ahe/resource/java-se-7-EclipseCon-2007.pdf
http://puredanger.com/techfiles/java7.pdf
-Original Message-
Hi Gabor,
I was thinking about using the existing wicket 1.4 API from scala, if
that's any more comfortable.
I tried to migrate a bigger project from 1.3 to 1.4 api - and it isn't really
more comfortable. It's easier to do one or two casts than trying to conform the
generics Component struc
On Mon, Jun 02, 2008 at 11:36:33PM -0400, Brill Pappin wrote:
> Ahh... But there in lines the real point.
>
> What happens 2 years down the road when you need to modify that component?
> A) if its not typed then you hunt around and try and find out what it was...
> Maybe you do a println of the fq
On 6/3/08, Jan Kriesten <[EMAIL PROTECTED]> wrote:
>
>
> > If only we had type inference :-)
> > Is this any nicer in scala?
> >
>
> in scala you wouldn't have to have the getModel/getModelObject within
> Component in the first place (you could use mixins for this purpose).
I was thinking about u
Gabor Szokoli wrote:
Hi,
We haven't worked with 1.4 enough to form an opinion, but we'll
definitely upgrade to it for the next project.
On 6/3/08, Johan Compagner <[EMAIL PROTECTED]> wrote:
If only... if only
we had this construct:
class Component
If only we had type inference :-)
Is this
If only we had type inference :-)
Is this any nicer in scala?
in scala you wouldn't have to have the getModel/getModelObject within Component
in the first place (you could use mixins for this purpose).
--- Jan.
-
To unsub
Type inference alone will not really help us
To kill the verbosity on components that are not used with models we need
something like
johan
On Tue, Jun 3, 2008 at 1:34 PM, Gabor Szokoli <[EMAIL PROTECTED]> wrote:
> Hi,
>
> We haven't worked with 1.4 enough to form an opinion, but we'll
> defin
really?
i still cant find information what will really be 1.7..
On Tue, Jun 3, 2008 at 1:29 PM, Hoover, William <[EMAIL PROTECTED]> wrote:
> In java 1.7 it will allow: TextField tf = new TextField("id");
> So, at least one of your wishes will come true ;o)
>
> I like the default idea.
>
> -Or
I want to do a popup menu (using a z-indexed layer) that should closed if i
click anywhere, EXCEPT on the menu itself.
Its the close "behavior" I need to know. Everything but that, is clear to
me. A similar behavior to a opened desktop app "File,Edit, .. Help" menu
or a context menu (not opened
Hi,
We haven't worked with 1.4 enough to form an opinion, but we'll
definitely upgrade to it for the next project.
On 6/3/08, Johan Compagner <[EMAIL PROTECTED]> wrote:
> If only... if only
> we had this construct:
>
> class Component
If only we had type inference :-)
Is this any nicer in scal
In java 1.7 it will allow: TextField tf = new TextField("id");
So, at least one of your wishes will come true ;o)
I like the default idea.
-Original Message-
From: Johan Compagner [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 03, 2008 4:15 AM
To: users@wicket.apache.org
Subject: Re: user
Doug,
Congratulations on getting your site into production so quickly - I hope
it's a big success.
It sounds like you are more than satisfied with your decision to choose
Wicket for your presentation layer and importantly, it's especially
encouraging to get a resounding thumbs up for all the har
If you're using DataView try getDataProvider().size();
Dreamltf wrote:
>
> I have a PagingNavigator with a DataView
>
> I found in the IPageable has only the following method
>
> int getCurrentPage();
> void setCurrentPage(int page);
> int getPageCount();
>
> How can I get the DateView's si
Hi,
I've extended AjaxFormComponentUpdatingBehavior and try to get hold of
all error messages in the onError() method. I've added two validators to
the formcomponent, but it seems I can only get hold of the first one I
added to the component.
Spesifically if I do:
textfield.add(EmailAddress
... not to mention our free draw for 3 pre-paid http://manning.com/dashorst/
"Wicket In Action" MEAP licences.
I've looked through all the presentations now (all except Al's that is),
including Ian's talk on "Stateless vs Statefull" that we may also squeeze in
as a bonus (time permitting) but th
Hi
I have observed that using AJAX to update of large content of a page is much
slower than
updating the full page withou AJAX. For example AJAX sorting a big DataTable
(10x25) can be much slower that without AJAX, and I often see "Client
parsetime" of more than a second in IE.
FireFox seems to
I have it. It was hidden under the wicket request. It can be done by cast the
request to IMultipartWebRequest. This request then can access the file stored
in the HTTP request.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For add
Milan K?ápek wrote:
As I write the HTTP request that contains the file is generated by standalone
application. And the application do not need graphical interface. It is very
simple to get file contained in HTTP request in PHP, I have hoped that wicket
have some easy access to this data too.
I have a PagingNavigator with a DataView
I found in the IPageable has only the following method
int getCurrentPage();
void setCurrentPage(int page);
int getPageCount();
How can I get the DateView's size ?
thanks a lot!
--
View this message in context:
http://www.nabble.com/How-can-I-get-the-
Thanks Frank,
It is exactly what I needed.
cheers :)
On Tue, Jun 3, 2008 at 1:00 PM, Frank Bille <[EMAIL PROTECTED]> wrote:
> I have created a behavior (WIP), which takes care of that:
>
> http://svn2.assembla.com/svn/planningpoker/trunk/planningpoker-wicket/src/main/java/org/planningpoker/wicke
I have created a behavior (WIP), which takes care of that:
http://svn2.assembla.com/svn/planningpoker/trunk/planningpoker-wicket/src/main/java/org/planningpoker/wicket/behaviours/ClickConfirmBehavior.java
Frank
On Tue, Jun 3, 2008 at 11:01 AM, Eyal Golan <[EMAIL PROTECTED]> wrote:
> Hello all,
>
Thank u
Stefan Fußenegger wrote:
>
> Martijn Dashorst compiled a nice list of books (3 for beginners, another 3
> on advanced topics) that will certainly help you to get started:
>
> http://martijndashorst.com/blog/2008/05/25/wicket-starter-kit/
>
> Regards
>
>
-
Samit :confused:
--
V
Thank u
Michael Sparer wrote:
>
> As Martijn would put it:
> http://www.google.at/search?q=spring+wicket+example ;-)
>
> sorry, I don't have the time to write a whole example of using it as there
> are already plenty available. If you don't know how to create a DAO and
> howto use spring please
One more thing.
If I understand correctly, AjaxButton should override the getOnClickScript()
method, return null and be declared final.
What to you people think?
--
Eyal Golan
[EMAIL PROTECTED]
Visit: http://jvdrums.sourceforge.net/
LinkedIn: http://www.linkedin.com/in/egolan74
Martijn Dashorst compiled a nice list of books (3 for beginners, another 3 on
advanced topics) that will certainly help you to get started:
http://martijndashorst.com/blog/2008/05/25/wicket-starter-kit/
Regards
-
---
Stefan Fußenegger
http://talk-on-tech.blogspot.com // looking for a n
Thanks Nino, first phase is done. I get the error message.
My code is like this:
In the AjaxButton:
@Override
protected void onSubmit(AjaxRequestTarget target, Form form)
{
String warning =
LocalizationHelper.getMessage("page.confirmation.message"
As I write the HTTP request that contains the file is generated by standalone
application. And the application do not need graphical interface. It is very
simple to get file contained in HTTP request in PHP, I have hoped that wicket
have some easy access to this data too.
To your advice to sear
See the blog tutorial(search for it on the wiki), it uses JPA for this..
Or see wicket iolite, it creates a project for you, which you can expand
Samit wrote:
Suppose I am having a html page...having fields like : Name and
Ageand I want to save the records in db..So how will
As Martijn would put it: http://www.google.at/search?q=spring+wicket+example
;-)
sorry, I don't have the time to write a whole example of using it as there
are already plenty available. If you don't know how to create a DAO and
howto use spring please refer to the spring (and/or hibernate) docume
hmm, just add it to the ajaxrequesttarget instead...
target.prependJavascript(javascript) ? Not sure if this does the trick
though.
Eyal Golan wrote:
Hello all,
We have a StyledAjaxButton that extends AjaxButton.
We want to add a confirmation when clicking.
We added this:
@Ov
Suppose I am having a html page...having fields like : Name and
Ageand I want to save the records in db..So how will i
create dao..where i'll open the conenction.how will i write in
db..Can u plz explain now?
-
Samit :confused:
--
View this message in
Why do you need todo it that way, cant you just change it? Otherwise i'd
look into how that wicket component from the example does it.
regards
Milan K?ápek wrote:
Thanks for your respnse. Yes I know I have seen this example, but as I wrote
this in not the think I want to do. In that example y
Hello all,
We have a StyledAjaxButton that extends AjaxButton.
We want to add a confirmation when clicking.
We added this:
@Override
protected String getOnClickScript() {
String warning =
LocalizationHelper.getMessage("page.confirmation.message",
Thanks for your respnse. Yes I know I have seen this example, but as I wrote
this in not the think I want to do. In that example you get access to the file
through the wicket component. But in my case the file is send to my application
as HTTP request (not using any wicket form), so I need to ge
1 - 100 of 124 matches
Mail list logo