Sven, I forgot.
code:
-
ListView listView = new ListView( users, users ) {
@Override
protected void populateItem( final ListItem item ) {
item.setDefaultModel(
Thank you for quick response.
I tried what you suggested, no luck.
What I think is clicking remove link (SubmitLink), form memorizes input
data, then remove row.
--
View this message in context:
ListPage.html
http://apache-wicket.1842946.n4.nabble.com/file/n4659905/ListPage.html
ListPage.java
http://apache-wicket.1842946.n4.nabble.com/file/n4659905/ListPage.java
User.java
http://apache-wicket.1842946.n4.nabble.com/file/n4659905/User.java
Hi Sven, it is odd. When I was building the
Hi Sven, I review my code and api. I misunderstood the
setDefaultFormProcessing( false ). Simply removing that method, then it
works. Now I am thinking of a way to skip validation, and process form
updating.
--
View this message in context:
Hi all,
I have a form of inputs (ListView).
I firstly tried the removeLink, it was working. Because it is a normal link,
it simply don't keep the other rows inputs. Obviously, it does not meet the
requirement. I thought SubmitLink was good, but it always removed the last
row. I clearly see the
It works. Thank you very much
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/user-interface-design-if-any-error-textbox-channge-to-red-tp4659495p4659797.html
Sent from the Users forum mailing list archive at Nabble.com.
Thanks a lot.
I will try it on weekend.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/user-interface-design-if-any-error-textbox-channge-to-red-tp4659495p4659522.html
Sent from the Users forum mailing list archive at Nabble.com.
I will try. thank you
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/reuse-Form-Panel-code-for-WizardStep-tp4659295p4659493.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To
I am able to do it with AttributeModifier.append( class, error ).
However, if I press F5, the feedback message disappears, the textbox
remains red. It seems that error stays there forever.
Did I missing something?
How does the feedback message work?
--
View this message in context:
Hi,
How can I reuse a form panel code for WizardStep, in both html and java
class?
My current project, required a lot to create new stuff by wizard, and
create/edit them by normal form as well. Since the logic/code is basically
same, I think it is doable. So, I tried, but no luck.
Any advice
The problem is wicket:idfor example: Formjavanew RequiredTextField(
companyName );WizardStepjavanew RequiredTextField( company.companyName
);
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/reuse-Form-Panel-code-for-WizardStep-tp4659295p4659302.html
Sent from the
Hi,
I stick to wicket 1.5.4 for quite a long while.
I used to getResourceSettings().addResourceFolder( folderName ) in app
init() to achieve adding additional folder.
However, I don't see API 6.x has such as a method in ResourceSettings.
Do I miss something?
--
View this message in context:
Thanks a lot.
Sorry for my careless reading...
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/wicket-6-x-add-additional-folder-tp4656212p4656215.html
Sent from the Users forum mailing list archive at Nabble.com.
What I am trying to do is:
if menu item is selected (onClick), change the markup li id or class.
However, it doesn't seem to work. Am I missing something?
html
ul id=menu
li class=menuitem wicket:id=menuitem
#
/li
/ul
wicket
ListView listView = new ListView( menuitem, menuItemList )
James Carman wrote:
Why not just use pure JavaScript for this? All you're trying to do is
change a class or id (I'd do class) when something is clicked. Is
there any reason why you need to go server-side for this?
my javascript skill is limited. could you please show how to do it?
--
Igor Vaynberg-2 wrote:
listview.setreuseitems(true)
for what its worth it is better to pull then to push values.
-igor
thanks a lot.
it still doesn't work. I am using wicket 1.4.12.
--
View this message in context:
the url is not working
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Lambdas-in-Java-Preview-Part-5-Apache-Wicket-tp2297512p2301552.html
Sent from the Wicket - User mailing list archive at Nabble.com.
Hello all,
i'm using DataView to display html table with sorting feature. Thanks to
wicket example, Sorting DataView Example - builds on previous to
demonstrate sorting
lenzenc wrote:
This issue isn't about how to sort, this issue is at what point do you
grab
the translated name.
Did you solve this problem? I am having same problem. I totally agree with,
it isn't about how to sort,
I am new in wicket. Any sample code will be appreciated.
--
hi, just add the form wicket id in property file.
e.g.
wicket:id=xxxForm
-wicket:id=valueListView
-wicket:id=value
xxxForm.valueListView.value.Required=please enter the value
Trevor Baker-2 wrote:
Hi,
I have a form that has an ListView (wicket:id=”valueListView”) of a bunch
of
very cool, but the options' values are force to 0, 1, 2, 3, 4 ...
option value=0Day/option
option value=1Week /option
option value=2Fortnight/option
option value=3Month/option
option value=4Year/option
I've tried the whole night, any help is appreciated.
Sven Meier wrote:
You can do
I am trying to localize select's option. Do I have to load several lists,
which represent a different language? That's too complicated.
e.g.
option value=1day/option
option value=7week/option
option value=30month/option
option value=365year/option
to
option value=1天/option
option
22 matches
Mail list logo