@James - Thank you will try that out and get back.
@Martin - Thanks mate will get back I guess I am using 1.4.9 version and
don't have the option to setDefaultModelObject on the ChoiceRenderer anyhow
appreciate your time and thoughts to write back.
Thanks again
Nive
On Thu, Feb 10, 2011 at 12:01 P
Hi!
You can do defaultChoiceRenderer.setDefaultModelObject(xxx)
Or if you don't want to dirty it, you can use
public static > void fakeRawInput(T
formComponent, T existingComponent) {
try {
String rawInput = (String) rawInputField.get(existingComponent);
fakeRawInput(formCompo
Apache shiro is one more - http://shiro.apache.org/
On Wed, Feb 9, 2011 at 3:14 AM, sakthi vel wrote:
> Hello All,
>
> There are few security things in wicket like SWARM, Spring security with
> wicket and so on.
> Could anyone tell the best security practice in wicket and any possible
> link
The DDC will reflect whatever is in its model (the model for the
selected value, not the one for the list of items to choose from).
So, just set your model.
On Wed, Feb 9, 2011 at 10:52 PM, Niv wrote:
>
> Hi
> Is there a way I can have the selected option on a DropDownChoice to be set
> with one
Hi
Is there a way I can have the selected option on a DropDownChoice to be set
with one of the items in the Model instead of ' Choose One' as the
selected item by default? I know this has been asked around in a different
sense but I could not find a closer match to this.
Code Snippet
List coun
On Wed, Feb 9, 2011 at 2:10 PM, Bruno Borges wrote:
>
> Does anyone have an update over this?
>
> It seems the website
>
> http://people.apache.org/~coar/mlists.html#wicket.apache.org
>
> does not show anymore the Wicket dashboard.
>
> I'm looking for a number of active members on the mailing lis
Does anyone have an update over this?
It seems the website
http://people.apache.org/~coar/mlists.html#wicket.apache.org
does not show anymore the Wicket dashboard.
I'm looking for a number of active members on the mailing list (also, number
of messages).
--
View this message in context:
h
I already attach on my first post a sample (quickstart) :
http://apache-wicket.1842946.n4.nabble.com/file/n3296950/Wicket-test.rar
I fill too a jira ticket : https://issues.apache.org/jira/browse/WICKET-3438
Best regards
-
Duto
--
View this message in context:
http://apache-wicket.18429
This has nothing to do with Wicket.
I would recommend researching selfhtml (http://de.selfhtml.org/) since
you seem to be from Germany.
On 09.02.2011 17:58, fachhoch wrote:
please suggest what doctype should I use to make IE work , and not cause
any new issues.
i am not sure If my applicatio
Hi!
Use http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
It is not strict.
However, nothing will guarantee things will work in IE.
**
Martin
2011/2/9 fachhoch :
>
> please suggest what doctype should I use to make IE work , and not cause
> any new issues.
> i am not sure If my appl
please suggest what doctype should I use to make IE work , and not cause
any new issues.
i am not sure If my application is xhtml or just html , I am not sure if
every thing is valid , in this case what would be the right doctype for my
pages , please suggest me.
--
View this message in cont
i may have time this weekend. may being the operative word.
you dont need to patch the version of wicket, just use the latest snapshot jar.
-igor
On Wed, Feb 9, 2011 at 8:52 AM, Przemek Kubicki wrote:
> Hey,
>
> WICKET-3321 https://issues.apache.org/jira/browse/WICKET-3321 is crucial for
> us.
Hey,
WICKET-3321 https://issues.apache.org/jira/browse/WICKET-3321 is crucial
for us.
It is already fixed.
We need to release our product version asap. Without 1.4.16 we would
need to patch the wicket, but i'd like to avoid it.
Cheers,
W dniu 09.02.2011 17:25, Igor Vaynberg pisze:
is the
Ajax-enclosures would be nice ;)
2011/2/9 Igor Vaynberg :
> is there anything particularly important in it that you need?
>
> -igor
>
> On Wed, Feb 9, 2011 at 3:18 AM, Przemek Kubicki wrote:
>> Hi folks,
>>
>> anyone know when 1.4.16 will get released?
>>
>> Cheers
>>
>> -
hrm. i thought this was fixed a long time ago. please file a bug with
a quickstart.
-igor
On Wed, Feb 9, 2011 at 2:09 AM, Olivier Dutrieux
wrote:
>
> Hello,
>
> I have a strange problem with statelessForm :
>
> I would like a stateless application with 2 statelessForm and with somes
> required v
mount it with hybrid url coding strategy
-igor
On Wed, Feb 9, 2011 at 8:01 AM, Istvan De wrote:
> Hi!
>
> In case I have a bookmarkable page with some AJAX on it (form+table) and the
> user can navigate away and back to this page (using the back button). How
> can I make sure that in case of the
is there anything particularly important in it that you need?
-igor
On Wed, Feb 9, 2011 at 3:18 AM, Przemek Kubicki wrote:
> Hi folks,
>
> anyone know when 1.4.16 will get released?
>
> Cheers
>
> -
> To unsubscribe, e-mail: use
Use AjaxFormSubmitBehavior instead of AjaxFormComponentUpdatingBehaviour.
AjaxFormComponentUpdatingBehaviour is just for updating a single field
in a form.
AjaxButton uses AjaxFormSubmitBehaviour internally so look at that for
an example.
Mike
Can you submit all of the data on a form based
Hi!
In case I have a bookmarkable page with some AJAX on it (form+table) and
the user can navigate away and back to this page (using the back
button). How can I make sure that in case of the back button, the user
will see the state of the page after the AJAX modifications?
Best regards,
Istv
Can you submit all of the data on a form based on an onchange event?
Is adding javascript the only way to submit the data?
Pseudo Code:
Panel {
Form form = new Form(new CompoundPropertyModel());
add(form);
form.add(new TextField("val");
form.add(childList = new DropDownChoice());
Hi,
2011/2/9 Dmitriy Neretin
> Thank you it finally works! :)
>
Great!
> But what I still don't understand: the problem appeared after I inserted
> following in the custom session constructor:
>
> InjectorHolder.getInjector().inject(this);
>
> And why it worked with only one WicketTester cons
> I tell people that I think you should let your Model and Model backing
> object control the look and feel/display/content of your components.
> Even visibility should be delegated to the model or model object and not
> set by the component. Am I wrong here?
Yes. :)
The model should NOT car
I tell people that I think you should let your Model and Model backing
object control the look and feel/display/content of your components.
Even visibility should be delegated to the model or model object and not
set by the component. Am I wrong here?
I use this approach (only work with the M
Thank you it finally works! :)
But what I still don't understand: the problem appeared after I inserted
following in the custom session constructor:
InjectorHolder.getInjector().inject(this);
And why it worked with only one WicketTester constructor parameter (new
MyApplication)? And after Spring
The problem is that your test is not actualy running in a servlet container,
only in a wicket mocked servlet context. To access webapp resources in the
test you have to specify in the second parameter of WicketTester constructor
where your web app's root is. Like this (in a maven project):
WicketT
Hi,
thank you! Now I know how to get the ServletContext :) But it didn't solve
the main problem. This time I got following exception:
IOException parsing XML document from ServletContext resource
[/WEB-INF/applicationContext.xml]; nested exception is
java.io.FileNotFoundException: Could not open
Hi,
Try this in your application's #init() method (before calling #refresh() on
ctx)
ctx.setServletContext(getServletContext());
Attila
2011/2/9 Dmitriy Neretin
> Thank you for reply,
>
> yes! And I get then another exception :)
>
> Cannot resolve ServletContextResource without ServletContext
I have found a solution to my first problem which was Disabling my checkbox.
I did it by changing my listView to a RefreshingView and then using
AjaxEventBehavior on my checkbox like so:
final RefreshingView rv = new RefreshingView("mychanges") {
@Override
Hi folks,
anyone know when 1.4.16 will get released?
Cheers
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
Thank you for reply,
yes! And I get then another exception :)
Cannot resolve ServletContextResource without ServletContext
Does andybody know how can I get/set the servletContext?
Dmitriy
On 8 February 2011 18:01, Igor Vaynberg wrote:
> did you call context.refresh() ? like the error message
Hi,
hrbaer wrote:
>
>
> ...
> try {
> pm.makePersistent( ent );
> modal.show( target );
> target.add(feedback); <=== I guess this was missing
> }
>
> -
>
You need to add the feedback to the target on success as well
Cheers
Hans
Hello,
I have a strange problem with statelessForm :
I would like a stateless application with 2 statelessForm and with somes
required validators on form :
public class HomePage extends WebPage {
private static final long serialVersionUID = 1L;
public HomePage(final PageParameters
On Wed, Feb 9, 2011 at 10:20 AM, Wayne W wrote:
> Another question if you don't mind? Quite often we have a bookmarkable
> page with a form or link on it. This form/link will update the model
> and redisplay the current page. When this happens we loose the
> bookmarkable url. At the end of the onS
thanks Martijn,
I was looking at someone's else code and it was :
params.add(PROJECTID, info.getId().toString());
setResponsePage(new =ProjectPage(params));
rather than:
params.add(PROJECTID, info.getId().toString());
setResponsePage(ProjectPage.class, params);
Need coffee.
Sorry about that. Th
On Wed, Feb 9, 2011 at 9:37 AM, Wayne W wrote:
> 2- is there a better strategy to having all url's bookmarkable
> (providing the page supports pageparamters)? Are there any changes in
> wicket 1.5 to make life more easy?
Default constructor or constructor with pageparameters: you can take a
look
setResponsePage(Page.class, new PageParameters());
On Wed, Feb 9, 2011 at 9:37 AM, Wayne W wrote:
> Hi,
>
> I love using wicket (1.4) its by far the best web framework for java I
> have used. However the one thing that really is hard work is the url
> handling for me.
>
> Our users all the time w
Hi,
I love using wicket (1.4) its by far the best web framework for java I
have used. However the one thing that really is hard work is the url
handling for me.
Our users all the time want to copy and paste the url of a given page
in to an email or use in a comment to link to something in the app
37 matches
Mail list logo