Hi David,
thanks for your reply. I tried your way, but didn't overwirte the
WicketTester. I simply added
final WebRequestCycle cycle = _tester.createRequestCycle();
p.setModelObject(refreshDay);
try {
cycle.request(new PageRequestTarget(_tester.getLastRenderedPage()));
} finally {
Hi,
found the solution. With replacing
final WebRequestCycle cycle = _tester.setupRequestAndResponse();
all works as expected.
Thanks for the help
Per
--
View this message in context:
http://www.nabble.com/WicketTester---reload-page-after-model-changed-tf4691262.html#a1348
Sent from the
Hi *,
Sorry for reopening this. I did all you suggested.
Then in your page or panels or other components:
add(HeaderContributor.forJavascript(JavaScript.CENTER_WINDOW));
But how can i execute the javascript in that resource? I tried a
AttributeModifier, but couldn't center the window.
Hi *,
i would like to add a feedback textfield to my page. The input should be
validated and if it fails a red border
has to be drawn around the invalid textfield. I checked the examples and
couldn't find a useful match.
Can someone give me a hint please.
Thanks
Per
--
View this message in
Hi Eelco,
Thanks for the hint. Now i got it to work. Can i change the behavior of the
feedback.
I would like to paint a border around the textfield instead of the presented
asterisk (It kills my layout :-).
Thanks
Per
--
View this message in context:
Hi *,
i'm facing a problem i couldn't solve until now. Our base page contain an
modal error window which is used to present the occurred error.
Now i added a password request modal window on a page. If an error occurred
after clicking the request button i would like to display the error window
Hi,
i checked my logs and found this message:
2008-11-25 09:10:09.331 WARN FormComponent: Could not locate error message
for component:
[EMAIL PROTECTED]:mcPassword:frmPassword:passwordRetype
and error: [ValidationError message
=[null], keys=[passwordRetypeMismatch,
Anton Veretennikov wrote:
I found that every time link is clicked ReadMoreWicketPanel-s are
created again because they are populated by ListView in WebPage.
Did you try ListView.setReuseItems(true);?
Maybe that can help
Cheers
Per
--
View this message in context:
Anton Veretennikov wrote:
Thank you! Very usefull thing!
No problem. The explanation on that issue is in the list and i think there
is a note in the wiki.
Maybe this thread gives you a hint
http://www.nabble.com/ListView-%2B-reusing-Items-td14918862.html#a14924868
Hi *,
i would like to redirect to a page mounted in application by calling it from
another page.
Application.init
mountBookmarkablePage(PAGE1_ID, Page1.class);
AnyPage.myMethod
redirectTo(PAGE1_ID)
How could a redirectTo(String mountPoint) method look? The normal
redirection by requestcycle
rjilani wrote:
Thanks newgro for the help, I was not finding the DatePicker class while
coding. I think Wicket is an awesome framework but there are room for
improvments to document some of the dependencies more precisely, becuase
you know not every one is using Maven.
Not using maven
Its a ModalWindow. Sorry for being unclear here.
Check this for usage
http://www.wicket-library.com/wicket-examples/ajax/modal-window.1
http://www.wicket-library.com/wicket-examples/ajax/modal-window.1
There you can find the sources (right upper corner) on howto use it with
page in it and so
Hi *,
can someone tell me how i can click a choice in CheckboxMultipleChoice
component.
I use a Formtester, but can't get the path to the input related to choice.
There is
no wicketid assigned to the input. So i can't use click.
Cheers
Per
--
View this message in context:
Fkleinko wrote:
To show the ModalWindow you need an AjaxRequestTarget.
where do you get that from?
AjaxLink theLinkThatWillShowTheModalWindowIfItsClicked = new AjaxLink(...) {
public void onClick(AjaxRequestTarget target) {
myModalWindow.show(target);
}
}
Please check the
Should i add an RFE here?
Cheers
Per
--
View this message in context:
http://www.nabble.com/Howto-test-clicking-a-CheckboxMultipleChoice-tp21601616p21625574.html
Sent from the Wicket - User mailing list archive at Nabble.com.
Hi *,
i've read alot on this topic. But i couldn't find a complete example so far.
Here is what i do so far:
In a page i have a modal window defined:
final ModalWindow mwCapacitySchemeMonitor = new
ModalWindow(CMP_CAPACITY_SCHEME_MONITOR);
Hi Thomas,
can you please explain this a bit. What do you mean by session state. How
can i use session state in my context?
Cheers
Per
--
View this message in context:
http://www.nabble.com/What-are-the-consequences-on-sharing-panels-between-pages--tp21772949p21787239.html
Sent from the
Hi *,
i investigate some alternatives to achieve same goal in wicket.
One i've found here
http://cwiki.apache.org/WICKET/general-i18n-in-wicket.html
Exchanging the label components by wicket:messages has the advantage of less
code.
But is this relevant for performance and memory usage to? Has
Hi Igor,
sorry to say that but my feedback is this
[INFO] [jar:jar]
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive
invocation.
[INFO] No goals needed for project - skipping
[INFO] [source:jar {execution: attach-sources}]
[INFO] Building jar:
Ok i fixed the code line by a normal text-is-empty check :-). I think
String.isEmpty() is part of java6. I only use java5 and there was no advice
on the website.
But now i get:
Downloading:
The url in RunningTheDemo is not correct
http://localhost:8080/brixdemo should be http://localhost:8080/brix-demo
Cheers
Per
--
View this message in context:
http://www.nabble.com/-ANN--Brix-1.0-beta1-tp18614003p18649472.html
Sent from the Wicket - User mailing list archive at Nabble.com.
Hi *,
i try to implement the following.
- a background image is displayed.
- the image is overlayed by some links
- if mouse hits a link area the background is overlayed by a gray film
- if mouse leaves the link area the gray film disappears
- if link area is clicked the background image will be
I found a solution,
maybe it's a hack, but it works. I manipulate the result of getURL Method of
assigned link component.
This string will be added to the area markup. I simply add the closeTag for
href and then add the scripts for onmouseover and onmouseout.
Hope this helps others 2.
Cheers
Hi *,
i have a panel with a form. This contains a textfield, which is initialized
with a default value, if the field in the model has no value. After changing
the textfield and submitting the form, the model isn't changed.
After submitting a new website should be open and display the value of
Hi Timo,
thanks for your reply.
What i try to do is avoid space for labels. Normally you display an editable
value by usage of label - textfield pair. I want to achieve that i only have
to display the textfield (NO label). The textfield should apply the label
part while displaying the label
Solved.
The problem was, that i didn't had overwritten the setObject Method of my
model.
I get the object by usage of valueModel. But i never set it. Thus it never
could be
different from null.
Cheers
Per
--
View this message in context:
Hi *,
i would like to present my order in a pdf. This is possible to achieve by
using jasperreports. There i have a template and can provide some parameters
and fields for content. The processing is clear.
But where do i have to place my template file. I would like to load it on
a button click.
Hi,
the problem is that the templates will be designed by a designer. I only get
the templates and have to deploy them. If i have to deploy the whole
application it's a hugh effort for that little task.
So i'm looking for a solution like - load the template for fix-location.
And if a new
Hello Frederico,
thanks for the reply. Sure that is a way. But i look for a solution where i
can exchange the template without redeploying the whole application.
Cheers
Per
--
View this message in context:
Hi *,
i would like to test (WicketTester) if my modal error window is displayed. I
tried isVisible, but it's always true.
While debugging i saw that if the window has to be displayed, the
contentpanel has a generatedMarkupId 0.
But this property is not accessible.
So how can i know that a
If youre using ajax call you should use
tester.executeAjaxEvent(componentPath, event)
Am i right here that it's not possible to click on a normal button?
Cheers
Per
--
View this message in context:
http://www.nabble.com/testcase-click-button-tf4682808.html#a13972252
Sent from the Wicket -
Hi Gervais,
i already asked this question. Maybe you can get a glue here
http://www.nabble.com/Howto-customize-yui-datepicker-tf4435671.html#a12654728
http://www.nabble.com/Howto-customize-yui-datepicker-tf4435671.html#a12654728
Cheers
Per
--
View this message in context:
Hi *,
i'm realy interested in this. The cvs link i found in old mailing list has
gone.
Someone knows the state here?
Thanks
Per
--
View this message in context:
http://www.nabble.com/Is-wicket-contrib-jasperreports-alive--tf4902030.html#a14042012
Sent from the Wicket - User mailing list
Hi *,
i use the yui calendar on a page / panel. This behaves like expected on
localhost (every browser). If i add the page to an IFRAME so that the
application is running on a different machine, clicking the calendar icon is
doing nothing. It's working with firefox but not with the IE7. The icon
Hi *, (maybe Uwe :-)
i would like to exchange the images displayed on the panel provided by the
lightbox mini.
It's designed to represent some images for a product. If i change the
product, the images should be refreshed. But i can't reach the model use by
the panel to replace the images,
Hello lizz,
i use the JRPdfResource this way. On bottom i added the output from the
sysouts. This is exactly the path where my jasper file is located. But it's
still empty. Can i output anything else, so that i see my mistake?
ServletContext context = ((WebApplication)
Hello Kirk,
im looking for a solution you suggested
http://www.nabble.com/How-can-i-present-a-busy-component-to14462974.html
Click here
I tried your link but my cursor is not changing. Can you help me out here? I
use FF 2.0.0.11
ProgressPointerAjaxFallbackLink aFogLink = new
Hi *,
i have a wicket page with a form and some other components. On click on a
button i want to submit the form and go to another page of my application.
The problem i have is that the form has to be send to an external script,
which i can´t change. This script opens a new page (not of my
Hi *,
i present a page with some conclusional infos and a button. The button
redirects to the next page. To add the user to a newsletter list, i have to
call a script. This has to be done by using a form and send it with the
userdata to an url. But normally i'm not interessted in the newsletter
Did you get a solution for this?
I have the same problem and i would be glad to solve this.
Cheers
Per
--
View this message in context:
http://www.nabble.com/home-page-with-parameters-tp11935608p15014223.html
Sent from the Wicket - User mailing list archive at Nabble.com.
Hi Thomas,
i got it now with the multilinelabel. The text i add to a node contains an
\n. But i only see one row. I experimented a bit with the css, but i can't
get the tree node to show me 2 lines.
Do you have an idea on that?
Cheers
Per
--
View this message in context:
Thanks for your help,
firstly sorry if i brought you to the wrong way - i use a treetable, not a
tree. My effects on code below is that the nodes are diplayed only in one
row. The second row is not visible.
My html:
wicket:panel
form wicket:id=treeform
div class=tree
I added a NRFE
https://issues.apache.org/jira/browse/WICKET-1384
https://issues.apache.org/jira/browse/WICKET-1384
Maybe someone will take care for this.
Thanks for your taken time
Cheers
Per
--
View this message in context:
Hello Matej,
is there a cause for fix single line? Or is it only not implemented yet?
Thanks
Per
--
View this message in context:
http://www.nabble.com/Can-i-add-multiple-lines-to-a-node-link-in-tree--tp15617892p15756237.html
Sent from the Wicket - User mailing list archive at Nabble.com.
I exchanged the tree-table by tree and have the same problem.
Can you please provide me a little example how you did this?
Cheers
Per
--
View this message in context:
http://www.nabble.com/Can-i-add-multiple-lines-to-a-node-link-in-tree--tp15617892p15756637.html
Sent from the Wicket - User
Johan Compagner wrote:
is there a jira issue for this patch?
Hello Johan
i added an issue for this here
https://issues.apache.org/jira/browse/WICKET-1653 WICKET-1653
I have the same error with my ie 6. Will it be fixed in an 1.3 or only in an
1.4 version?
Thanks
Per
--
View this
Hi *,
i'm new to the group and hope to find some answers here :-).
I checked the examples and i got the idea to add a simple rendered
yui calendar instance to a webpage.
I don't want to add a datetextfield and then click the button beside it.
Is this possible? And if so how?
Thanks for your
Hi *,
i use wicket-1.2.6. I try to change the background-color of an gridtable item.
But i dont get it to work. Is there a howto or doc for it? javadoc is not that
detailed.
My goal is to display a table with link as cell-content. If i click on the link
the cell should be marked selected by
Hi *,
is someone knowing howto customize the layout of a
org.apache.wicket.extensions.yui.calendar.DatePicker? I like to change some
colors and maybe the font.
I tried to override css settings in my startpage, but layout didn't changed.
Investigation of DatePicker (to override and customize
Hi gerolf,
could you file a RFE, so that we can provide the facilities for that?
Could you please tell me what you mean with RFE? I never heared of it.
Where do i have to include the css with the higher specificty
(my-customized-calendar.css)? In the html file related to the application or
to
Nice layout, but only with firefox.
It looks horrible with konquerrer. Sorry to say that. But hope you interessted
in it :-).
Cheers
Per
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Hi *,
i don't know exactly if this question is more a html related then for wicket.
I would like to open a new window centered after click on a link. Can and if
how can i do this?
Thanks for your help
Per
-
To unsubscribe,
I don't know exactly from the top of my head, but I think you'd do
this with Javascript.
Ahh ok. I found an example here:
http://www.boutell.com/newfaq/creating/windowcenter.html
Where do i have store the java scripts i want to use oftenly? I expected that
Page.class would provide it out of
Thanks that helps alot
Cheers
Per
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi *,
I present a date by 3 DropDownChoices (year, month, day). Additionally i want
to provide a datepicker. The sync from datepicker selection to dropdownchoises
is working as expected. On the other hand if i change the dropdownchoise the
datepicker value will be changed, but it is
Hi *,
im standing in the wood. I try to implement an update strategy for my issues.
45 Panel1 are included in a Panel2
2 Panel2 are included in a Page
Every contained component (all Panels) has a listener assigned.
The listener for Panel2 will be called if a Panel1 instance has been clicked.
--
Subject: Render model changes
Date: Mittwoch, 10. Oktober 2007 20:02
From: Per Newgro [EMAIL PROTECTED]
To: wicket-ug, users@wicket.apache.org
Hi *,
im standing in the wood. I try to implement an update strategy for my issues.
45 Panel1 are included in a Panel2
2 Panel2 are included
You have both panels using the same data, i.e. the same model or
parent model?
Every component has its own model. The model changes of Panel1 have to be
reflected in model2 and Panel2 itself.
I have a category which i can select in a tree. The category contains a field
url which points to an
Hi Matej,
Thanks for your answer. But how can i know in a child model beside the changed
one that i have to pull my data again?
E.g. if i have page with two panels. Panel1 executes a link and changes its
data. The data change in Panel1 has to reflected in Panel2 to. My intension was
to get a
Hi *,
i would like to implement a testing issue for me. I add three panels with a
link on every panel. If i click one panel-link all panels should become green.
But i dont get that to work. The model in the AttributeModifier cant be
refreshed. What am i missing here?
Thank you for helping me
i dont really understand what you are talking about.
you have a panel that can display a person right? and in an order you have
two instances of person: the order and the invoice, and you want to reuse
your panel?
No. On one page i edit the order and on another page i edit the invoice.
Both
Hello Igor Vaynberg:
see sourcecode to this:
http://wicketstuff.org/wicket13/echo/
Ok i see in the code that one model can be shared between two components. But
my question was a bit more related to design.
Lets say i build an order and an invoice page. If i read the posts in the
threads
Ahh. Ok. I can set the personpnel its model by calling
orderpage extends webpage {
public orderpage(IModel order) {
add(new personpanel(shipto, new propertymodel(order,shipto));
}
}
invoicepage extends webpage {
public invoicepage(IModel invoice) {
add(new personpanel(billto, new
Maybe im a bit swing-oriented. There we don't create always new page and panel
instances. Instead we reuse the created view instances and exchange simply
the model / models. So if (as an example) i change the order (while
navigating thru all orders) the related adress will change to.
So i could
I tried the code below. Personpanel / model looks similar to orderpanel /
model. OrderFactory2 creates another order with other data (quick and dirty).
But the display of order is not changing. Why is this not working, if i share
the model?
public HomePage(final PageParameters parameters) {
Sorry for my stupidity. I think i got it now. I have to provide an accessor
chain based on the page model assigned. So i don't have to get the objects
in the model. Instead i have to specify the path to object'.
Code below is working now.
public HomePage(final PageParameters parameters) {
Hi *,
im looking for an example how i can integrate my newly created wicket
application into an existing static website (don't know exactly if html-only
or with some php) served by Apache Webserver.
I have a little pre-selection (Panel) which should be included at some places
in the site. For
Is something like
HTML
BODY
Going to include hello.jsp...BR
jsp:include page=hello.jsp/
/BODY
/HTML
helping me out here
Thanks
Per
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Hi *,
is there a way for getting the value between the tags?
If i try
TagTester t = wicketTester.getTagByWicketId(myId);
i only get the tag with its attributes.
But i would like to access the value enclosed by tags:
span wicket:id=myIdThis value i'm looking for/myId
A hint would be nice.
Hi,
should i add an RFE for this?
Per
--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Is it correct that the jira entry says it is fixed in beta4? Because we use
beta4 and the title still needs a Model instead of an IModel.
Cheers
Per
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
On Monday 24 November 2008 15:20:11 Martin Sachs wrote:
Hi,
we have had the same issue. We are solving this Problem with a little
workaround in the Wicket-Source.
We also created a ticket with our solution for this problem.
https://issues.apache.org/jira/browse/WICKET-1771
The problem
miro schrieb:
I have from and to date fields in form and form validation should enforce
either both from and to has values or neither of them , is there any such
validator ,or is there any generic validator for dependency validations ?
**org.apache.wicket.validation.CompoundValidator**
miro schrieb:
Is there any collapsible container?
You want to hide a panel on button-click? Simply set it visible=false.
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail:
miro schrieb:
please point me for the code with data grid vertical scrolling component.
If i'm not completely wrong you have to do it by CSS property overflow.
Cheers
Per
-
To unsubscribe, e-mail:
If i'm not completly wrong there is a Session.get(). You could write a
Helper which is casting that session instance. So you could use it
everywhere you want.
SessionConverter.java
public static MySession getConverted() {
return (MySession) Session.get();
}
and in component where you want to
Hi,
a bit more code would help getting a good answer.
You could overwrite the
DefaultAbstractTree.onNodeLinkClicked(AjaxRequestTarget target, TreeNode
node) method. Why this should not work - i only can hit the air.
Another way is to call the
Hi Karthic,
check the Wicket tree thread please.
Per
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
AFAIK you can use Tree. It's extending already the DefaultAbstractTree.
Cheers
Per
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
rag...@directi schrieb:
Can any one please help me with testing an AjaxSubmitButton on a form.
I am using tester.executeAjaxEvent to call the event. But I am not sure how
to set the data on the form and submit the data while using an ajax submit
button
There is a form tester
FormTester
Hi *,
i would like to know how i should get this to work:
class MyPanel extends BasePanelMySerializableClass {
public MyPanel(String id) {
super(id, new ModelListMySerializableClass(new
ArrayListMySerializableClass()));
}
}
Compiler says: The constructor
BasePanel is
public abstract class BasePanelT extends Panel implements IChangeHandler {
/**
* Constructor of BasePanel
* @param pId wicket id of component
*/
public BasePanel(String pId) {
super(pId);
}
/**
* Constructor of BasePanel
* @param pId wicket
Do you mean that way?
public class MyPanel extends BasePanelListMySerializableClass {
public MyPanel(String pId) {
super(pId, new ModelListMySerializableClass(new
ArrayListMySerializableClass()));
}
}
That way i get
Bound mismatch: The type ListMySerializableClass is not a valid
Sure thats what i've red in the docs to. But i don't see it for my
special case.
I will get a NoSerializableException if it's not. So where is the problem?
But as i wrote - i can deal with that implementation, if i get out of my
problem.
Thanks
Per
Thanks Timo,
didn't saw the list model. Is it 1.4-only? Have to investigate the diffs
between 1.3 and 1.4 more detailed.
Cheers
Per
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands,
I know how to show the exception in a feedback panel. But how to make the
popup dependent on the results of submission
You could add the errorWindow to your page and in your catch you can
show it. But it's only working with ajax.
add errorWindow to markup and in class.
try {
Oh sure. Thanks for clearing this.
Per
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
It's wicket-datetime-1.4-rc1.jar
package org.apache.wicket.extensions.yui.calendar;
Maybe you should check classpath or your pom.xml. You didn't showed us
your real problem.
HTH
Per
-
To unsubscribe, e-mail:
cbchhaya schrieb:
Hi all,
Apologies if this has been answered elsewhere - I could not find a relevant
thread.
I have a Panel containing a form, with a textfield and button, and a
WebMarkupContainer containing a dataview. The provider for the dataview
sources data from a database based on the
I don't see the complete process, but if i'm not completely wrong you is
creating the DataProvider instance twice. Once in constructor and once
in the AjaxButton.onSubmit method. But you is not assign this new
instance to the dataview. Hit me if i'm wrong.
Cheers
Per
Hi,
can i easily access the page from which another page is called? I would
like to share the navigational infos of one page with the next page.
That should be achieved by pulling the NaviModel of the last page (if
present).
If i debug i can see that there is a pagemap - (SecondLevel)
Thanks 4 reply, Johan.
I guess i have to store the ids in my session ?!? I'll try it out.
Thanks
Per
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
Is there no way to achieve my goal?
Per
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
And how should i add the pdf?
Page.add(InlineFrame.add(???));
That is exactly hte problem i can't get over.
Thanks for helping me
Per
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands,
Hi Stephan Koch,
i can't help you on the exception. But all i can see is that you don't
call submit.
FormTester loginFormTester = tester.newFormTester(form);
loginFormTester.setValue(loginName, testUser.getUsername());
loginFormTester.setValue(password, test);
loginFormTester.submit(); //
Great Ernesto,
this is exactly the solution i was looking for. Thanks alot for sharing
this with us.
I would suggest that you add it to the wiki.
Cheers
Per
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For
Hi Wadi,
checkout this example (reached by click to examples link on
wicket-homepage (wicket.apache.org))
http://www.wicketstuff.org/wicket13/dates/
Short version:
- Add a form
- Add a DateTextField to form
- Set the model of DateTextfield
- Get the date from model.
HTH
Per
Hi,
i would like to share (instance reuse) a navigation panel in my page
flow. I try to achieve that so i can keep the current state of
navigation components. It's a clone of the windows xp sidebar in system
controls.
But i don't know if sharing is a good idea. I will have many pages. What
Hi Uwe,
until now i can do everything :-). All my experiments with ldm failed so
far. I have to store the states. But in DB? It's heavyweight for me.
Maybe i should try a cookie based solution.
Thanks for your doubts
Cheers
Per
Thanks Thomas and Matej,
storing state in session sounds natural in your explanations. It comes
into my mind, that i could initiate
the instance in Application.newSession(). Is this the right place for
this task?
The the navigational panel could extract an initialized model instance
from the
1 - 100 of 383 matches
Mail list logo