This seems to work fine:
new AjaxLink(ajaxlink) {
public void onClick(AjaxRequestTarget target) {
getRequestCycle().setRequestTarget(new
RedirectRequestTarget(http://www.google.com;));
}
});
Wilhelmsen Tor Iver toriv...@arrive.no
protected boolean shouldTrimInput()
Determines whether or not this component should trim its input prior to
processing it. The default value is true
Returns: True if the input should be trimmed.
seems like a good candidate.
--
View this message in context:
Hi,
We are in the process of moving our applications from JSP to Wicket.
Right now we're writing a framework with BasePages and base components to
build on and are
learning Wicket on the fly.
The BasePage contains a HeaderPanel which renders the Headline of the
page:
!-- BasePage.java --
Hi,
We are in the process of moving our applications from JSP to Wicket.
Right now we're writing a framework with BasePages and base components to
build on and are
learning Wicket on the fly.
The BasePage contains a HeaderPanel which renders the Headline of the
page:
!-- BasePage.java --
Sorry for the inconvenience, Wicket is handling this beautifully and loads
the correct resourceKey value from the Page subclass .properties file. I
don't dare admit what the problem was
Thanks for a great framework!
This is certainly possible.
You need to use YUI Calendar Renderers. They are documented in the YUI Cal2
API Doc. You can find an example of what you are trying to achieve here
(thanks Google):
http://www.stephaniebender.de/extras/yui/examples/calendar/render/1.html
Basically, you'll want to do
that several large privately held companies in Sweden are
using Wicket, as well as large Government Agencies (e.g. the Swedish
Immigration Office).
Sincerely yours
Leo Erlandsson
Lester Chua cicowic...@gmail.com
2010-01-08 01:43
Sänd svar till
users@wicket.apache.org
Till
users@wicket.apache.org
.
Also, note that your code has several Security Vulnerabilities as it is
susceptible to SQL Injection Attacks (!) if you let the user specify the
Filter String:
String tmp = filter.getName();
sql = where name like '% + tmp + %';
-
---
Leo Erlandsson, M. Sc.
--
View this message
As my English is not my mother's tongue, even though I do speak it pretty
good, what is the meaning of pointy haired bosses?
I think I can understand it, but hey, I want to know if these are the
kinds
of bosses I encountered too often..
It's from the Dilbert Comic Strip :)
Wikipedia:
I am kasi. I am developing POC (Proof of concept) on editable datagrid
using apache wicket framework to implement in one of the project.
I am using 'Apache Wicket 1.4.5 Release'. I have a question that whether
editable datagrid features are available in the 'Apache Wicket 1.4.5'
version or not?
now problem is not accessing object fields..
problem is transform resultset to these objects..
You could just work with Maps in Wicket instead of Domain Objects. The
transformation from ResultSet to a Map containing the Column name as Key
and the data as Value should be trivial (if not; reply
If you want to use a Map and display it in a Datatable there's no
difference from using an Object in Wicket.
You access the key/values using PropertyColumn as usual (i.e. you don't
really need to make any changes to your code). For Objects you use e. g.
name for the getName() method. When
Should be no different when using JDBC than using it when using Domain
Objects.
Check out Wicket Phonebook Example that uses FilterToolbar:
http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-phonebook
Source Code Example:
? table); in NavigationToolbar / AjaxNavigationToolbar
and provide your own MyPagingNavigator there.
Med vänlig hälsning / Sincerely yours
Leo Erlandsson
Tyringekonsult AB
Phone: +46-(0)451- 594 54
Email: leo.erlands...@tyringe.com
Website: www.tyringe.com
saravana kumar shav...@gmail.com
thank u for your reply.I didn't understand. please send code or link.
Unfortunately I can't include code from our project. However, if you
search this mailing list you'll find several examples and other solutions
to your problem:
SDC2010 - Scandinavian Developer Conference in Gothenburg, Sweden.
There is even a lecture on Wicket! :)
http://www.scandevconf.se/2010/conference/speakers/andrew-lombardi/?backlnk=dptgday=togglewrap1
nino martinez wael nino.martinez.w...@gmail.com
2010-02-25 14:45
Sänd svar till
You could easily extend WicketTester and FormTester to support selecting
in org.apache.wicket.extensions.markup.html.form.select.Select.
Take a look at the
public void select(String formComponentId, int index)
method in FormTester and
public FormTester newFormTester(String path, boolean
You can solve this by using CSS.
E.g.
table
trtd
div style=width:100%;overflow:auto;white-space:nowrap
[content]
/div
/td/tr
/table
The trick is overflow:auto that will add scrollbars when needed.
overflow-y: scroll;
If you want the entire table to be scrollable horizontally you should
probably place the CSS attributes on the top CSS class
(wicket-tree-table).
Search the net for CSS horizontal scoll. There should be loads of
examples on how to do this using CSS.
http://lmgtfy.com/?q=css horizontal scoll
Anyone knows how to get the TreeTable Horizontal Scrollbar? If possible
share the code snippet.
Regards
Vikash
Didn't you find any CSS Examples using Google?
This really is not a Wicket question, but a CSS question. However, I did a
CSS Example for you.
Is this what you're looking for
Hi,
Still a CSS issue, not a Wicket one ;)
I used Google to search for css table locked column scroll
First result was a good StackOverflow-question:
http://stackoverflow.com/questions/296020/how-can-i-lock-the-first-row-and-first-column-of-a-table-when-scrolling-possibly
Try the Horizontal
We had the same problem. It probably can be solved in a better way (but
that would require a RFE and changes to Wicket), but we used a quick and
easy solution (tm).
Instead of actually setting isVisible() on the Date Picker, we just hide
it using CSS. I don't know if this is applicable in your
Take a look at
http://www.wicketframework.org/wicket-extensions/apidocs/wicket/extensions/markup/html/tree/table/ColumnLocation.html
Specifying fixed size column should be no harder than adding them as LEFT
or RIGHT columns instead of MIDDLE Column. MIDDLE column cannot have a
fixed width.
Hi,
Perhaps this is what you're looking for?
http://code.google.com/p/bindgen-wicket/
add(new Label(state, new PropertyModel(person, address.state.code)));
becomes
add(new Label(state, new PropertyModel(person, new
PersonBinding().address().state().code().getPath(;
Type safe and refactor
24 matches
Mail list logo