thank you. Ill look into it
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Migration-to-wicket-1-5-and-properties-xml-files-tp4597473p466.html
Sent from the Users forum mailing list archive at Nabble.com.
--
On Mon, 30 Apr 2012 12:15:20 -0700
Dan Retzlaff wrote:
> I assumed the action phase would dereference the ListItemModel (e.g.
> to remove it from the map), hence dereference the LDM, and then
> require the explicit detach() before rendering. Agreed that LDM is
> the way to go if you're concerned
Thank for you all for the response. I am trying to test that code but am
having a different separate issue at the moment. Your solutions however
worked exactly as intended. Thank you for all the help!
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/ListView-or-other-Re
OK, I got the idea :), thanks a lot for helping.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Setting-value-to-object-when-validation-failed-tp4597599p4599127.html
Sent from the Users forum mailing list archive at Nabble.com.
---
I assumed the action phase would dereference the ListItemModel (e.g. to
remove it from the map), hence dereference the LDM, and then require the
explicit detach() before rendering. Agreed that LDM is the way to go if
you're concerned about the ArrayList constructions.
On Mon, Apr 30, 2012 at 11:57
On Mon, 30 Apr 2012 11:38:36 -0700
Dan Retzlaff wrote:
> You can call LDM#detach() after the modification, but since this
> particular implementation is so light, I'd just use
> AbstractReadyOnlyModel instead. It doesn't cache, so detach is not
> required.
Actually, getObject() can be called pre
You can call LDM#detach() after the modification, but since this particular
implementation is so light, I'd just use AbstractReadyOnlyModel instead. It
doesn't cache, so detach is not required.
On Mon, Apr 30, 2012 at 11:36 AM, cmagnollay wrote:
> And I can force the model to update, via AJAX, o
And I can force the model to update, via AJAX, or in other words, how I force
the list view to update after a user action?
onUpdate(AjaxRequestTarget target)
{
target.add(theListView) ??
}
or is it something I do with the model itself? Sorry, I have no experience
with LoadableDetachable, an
Check out Form#clearInput() which calls FormComponent#clearInput() on all
of its components. You can do similiar, but incorporate
FormComponent#hasErrorMessage() so you don't also reset fields with valid
input.
On Mon, Apr 30, 2012 at 11:11 AM, meduolis wrote:
> This solves my problem. Is there
This solves my problem. Is there any way to collect all components that
fails?
or I just have to check each separate component if it has any feedback
messages (level > ERROR) and then clear it's value by myself?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Setting-
On Mon, 30 Apr 2012 10:43:30 -0700 (PDT)
cmagnollay wrote:
> if the map is called something like
>
> Map itemMap = new HashMap();
>
> Hmm, so I would instantiate the ListView like so?
> [...]
> Is this what you are implying somewhat? Thanks for the answer by the
> way, I had not considered jus
if the map is called something like
Map itemMap = new HashMap();
Hmm, so I would instantiate the ListView like so?
ListView> lv = new
ListView>("id", new
PropertyModel>(this,
itemMap.entrySet()){
populateItem(Map.Entry entry)
{
}
}
Is this what you are implying somewhat? Thanks for the ans
On Mon, 30 Apr 2012 10:25:21 -0700 (PDT)
cmagnollay wrote:
> So essentially I want to use Wicket 1.5 to display an item and its
> associated quantity. The data structure I am using to back this is a
> Map (new HashMap()) where Item is a POJ whose details are of no
> consequence. Essentially I wou
So essentially I want to use Wicket 1.5 to display an item and its associated
quantity. The data structure I am using to back this is a Map (new
HashMap()) where Item is a POJ whose details are of no consequence.
Essentially I would like to use one of wicket's repeaters, but I only have
experience
On Mon, 30 Apr 2012 10:05:46 -0700 (PDT)
kshitiz wrote:
> Thanks for the reply Dan...now consider a situation:
>
> You have 5 drop downs, each with onselectionchange enabled. When you
> change the choice of any one drop down, the chosen value should be
> passed as parameter to that drop down on
What you describe sounds like Wicket's default behavior. It knows which
widgets correspond to which Java components, and routes data accordingly
when submitted.
On Mon, Apr 30, 2012 at 10:05 AM, kshitiz wrote:
> Thanks for the reply Dan...now consider a situation:
>
> You have 5 drop downs, each
Thanks for the reply Dan...now consider a situation:
You have 5 drop downs, each with onselectionchange enabled. When you change
the choice of any one drop down, the chosen value should be passed as
parameter to that drop down only, so that it will display new value. Rest
drop downs should not ge
Generally when a field validation fails, the user's raw input is
re-rendered instead of the original model value. This lets the user correct
his input instead of retyping the whole thing. Since this is not the
behavior you want, you can call firstName.clearInput() in your onError().
On Mon, Apr 30
Hi, Lenin. Have you looked into these two examples? They might help you get
started.
http://www.wicket-library.com/wicket-examples/nested/
http://www.wicket-library.com/wicket-examples/navomatic/
Dan
On Mon, Apr 30, 2012 at 12:30 AM, lenin wrote:
> Dear,
>
> i am new in the wicket1.5.5 framewo
I'm not sure what you mean by "passing a parameter"-- you control the
forms' construction, so you can pass anything you'd like.
If your goal is to make bookmarkable construction parameters available to
all forms, getPage().getPageParameters() would help. (That doesn't change
with AJAX, though, so
Hi again,
I maybe replied a little bit quickly (it was launch time :p). So, I meant
about something like this:
HTML:
Java counterpart:
private FormComponent input;
public HomePage(final PageParameters parameters) {
final Form form = new Fo
I had s look to the group there, there is only spam entries
So I guess I will have no luck there
Anybody else willing to help?
--
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.
"meduolis [via Apache Wicket]"
schrieb:
I believe that this is not the right
Thnx for the reply sebastian, but I didn't get the solution what you
suggested..Can you please explain it with an example?
thanks in advance
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/call-onsubmit-automatically-tp4597765p4597836.html
Sent from the Users forum ma
If you are have a Form (a wicket one) inside a Page, then you can do your
'submitTheForm()', because a simple 'submit()' suffice to post the form.
If your 'page' parameter you want to retrieve is bound to an Wicket
FormComponent (even an HiddenField), then you can retrieve it server side
and do a s
Hi,
I want to POST some data to a URL which internally redirects to a Page based
on the POSTed params, for this I'm trying to do auto form submission but how
to do it in wicket 1.4 or if you know other way which suits my requirement
please let me know.
In javascript, we can do like this , but how
I believe that this is not the right place to ask for Elephas engine howto :)
This discussion board is for Elephas http://groups.google.com/group/elephas
http://groups.google.com/group/elephas :D
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Elephas-Blog-Engine-ho
This weekend I had a look into the wicket based Elephas Blog Engine
(http://code.google.com/p/elephas/).
I updated it to the latest stable 1.4.20 version and tried to fire it up
with the included StartElephas class.
After fixing some missing properties-file and defining JCR credentials I got
stuck
Hello this is quick start project which reproduces my case"
http://apache-wicket.1842946.n4.nabble.com/file/n4597599/project.zip
project.zip
The problem is, that I cannot set value for object after form validation
fails.
How to reproduce:
1. Startup my quicstart app;
2. Do not fill required fiel
28 matches
Mail list logo