Show us your code.
On Mon, May 16, 2011 at 3:58 AM, wmike1...@gmail.com wmike1...@gmail.comwrote:
Hi all,
I'm looking to change the model of a label when a button is clicked. As of
now, I'm using an ajax button and doing target.addComponent(myLabel) inside
that button's onclick method.
My guess: You have forgotten to call myLabel.setOutputMarkupId(true) or
myLabel.setOutputPlaceholderTag(true) so the Ajax framework cannot find the
element in the DOM.
mvh
- Tor Iver Wilhelmsen, Arrive AS
-Original Message-
From: wmike1...@gmail.com [mailto:wmike1...@gmail.com]
Sent:
Hi
Essentially I just want to hide all links leading to unauthorized pages.
I get exceptions when I do this in my AuthenticatedWebApplication,
there are no exceptions when I run the app without the part below:
protected void init() {
super.init();
I haven't tried it and guaranteeing the ordering would need to be accounted
for. But its a potential direction.
Another approach would be to change the Hibernate mapping from a set to a
bag since that will map to a List on the Java side.
- Tor Iver
Hi Henry
I think this message displayed by another app in glassfish,don't you?
Have you tried starting to the exclusion of other apps?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/moving-from-development-to-deployment-mode-tp3495199p3525254.html
Sent from the
@Sebastian, I actually used the part you
could also consider creating a new fbclient whenever you need one. I am
using Guice but could not use request-scoped provider because the authToken
string which is needed in constructing fbClient is gotten from
pageparameters(for my case AppPage
What is it exactly what you want to achieve? What is the use case? Why
would you want the browser to do a soap call? That is quite expensive as
you will need the browser to build a soap xml message and send it and
parse the soap response message.
Hielke
-Original Message-
From:
I have a page that's mounted and when accessing the page the url is:
http://www.something.com/admin/userAdd
When posting a form the url changes to:
http://www.something.com/admin/userAdd/wicket:interface/:3:dataForm::IFormSubmitListener::
Is it possible that the url can stay clean like the first
Mount it with HybridUrlCodingStrategy
On Monday, May 16, 2011, Abid K. abz...@gmail.com wrote:
I have a page that's mounted and when accessing the page the url is:
http://www.something.com/admin/userAdd
When posting a form the url changes to:
Anybody?
Hi,
when I'm doing [1] in 1.4.17 in a quickstart then I'm getting nice urls
ala ?q=something e.g. for typing something in the textfield. The problem
is that it prints two GET requests (why not POST + GET?):
NOW: q = [todo] query=todo GET
NOW: query=null GET
In
Hi Brown,
I've never used isTransparentResolver but I know it was removed in
wicket 1.5 because it was it was quite confusing for users:
http://apache-wicket.1842946.n4.nabble.com/remove-MarkupContainer-isTransparentResolver-td1909586.html
You can try to replace it using one of the solutions
Hi Peter,
Here is how it should work:
- Home page constructor is called initially without 'q' thus null
- the submit makes a POST call to Form.onSubmit() (the print is not called
because the page is not re-instanciated, unless it is stateless)
- onSubmit() calls setResponsePage(Class,
Hi Martin,
thanks for the explanation!
Why is the first call done to submit my form?
Because my app is doing an 'expensive' search query for every
instantiation,
thus I would like to trigger the search only with the necessary
submitted query.
Can I somehow distinguish a request with an empty
I don't understand your question.
with the current code doing the POST is quite cheap. it just brings the
value for the search to form#onSubmit and makes a redirect to
HomePage(PageParameters) where you check for the existence of the 'q'
parameter and either do the heavy calculation or not.
You
Hi Martin,
I don't understand your question.
sorry :(
I try to explain it again :)
When I access my app with the url
http://localhost:8080/app/?q=test
all is fine. But when I submit a new query 'todo' then wicket somehow
1. calls the submit (ok)
2. redirects to HomePage (ok)
3. *but then
Please create a quickstart app (.zip, .tgz) and attach it to a ticket in our
Jira.
On Mon, May 16, 2011 at 2:33 PM, Peter Karich peat...@yahoo.de wrote:
Hi Martin,
I don't understand your question.
sorry :(
I try to explain it again :)
When I access my app with the url
Hopefully I do not waste your time with my stupidity:
https://issues.apache.org/jira/browse/WICKET-3720
https://issues.apache.org/jira/secure/attachment/12479325/double-form-submit.zip
Please create a quickstart app (.zip, .tgz) and attach it to a ticket in our
Jira.
On Mon, May 16, 2011
Hi,
I'm using org.apache.wicket.authroles.authentication.pages.SignInPage in my
application to provide a simple way for the users to sign in. It works
perfectly fine in FF4 but I get this error in IE9:
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct
Hi!
We are disabling versioning and this results in problems with browsers
(chrome) which seems to load pages from cache.
We would like to add something similar as in NonCachingImage to each url.
How can this be done centrally for whole application with minimal change?
Something like:
Can be related to https://issues.apache.org/jira/browse/WICKET-3566
On Mon, May 16, 2011 at 3:09 PM, Zhubin Salehi zhooz...@yahoo.com wrote:
Hi,
I'm using org.apache.wicket.authroles.authentication.pages.SignInPage in my
application to provide a simple way for the users to sign in. It works
related ideed, reopening the ticket
On Mon, May 16, 2011 at 10:35 AM, Martin Grigorov mgrigo...@apache.org wrote:
Can be related to https://issues.apache.org/jira/browse/WICKET-3566
On Mon, May 16, 2011 at 3:09 PM, Zhubin Salehi zhooz...@yahoo.com wrote:
Hi,
I'm using
I'm just calling a webservice, getting some data that I want to populate some
fields on the page. The soap call as of now is on the server-side, inside an
ajaxLink's onClick() method. Seems to be working fine.
Why would building the request on the cilent be expensive? Expensive in
terms of what?
I recently started getting constant debug output on my console, like this:
Run the job: org.apache.wicket.util.watch.ModificationWatcher$1@11dd1
1dd
[5/16/11 10:18:34:454 EDT] 001c SystemOut O 1641041
[ModificationWatcher Task] DEBUG org.apa
che.wicket.util.thread.Task - Finished with
public class IncidentReportPanel extends Panel
{
public IncidentReportPanel(String id) {
super(id);
final Model model = new Model(first model);
final Label label = new Label(wicketTag, model);
Set null in application resource poll frequency.
e.g.
class Application{
init(){
application.initApplication();
application.getResourceSettings().setResourcePollFrequency(null);
}
}
On Mon, May 16, 2011 at 11:21 AM, eugenebalt eugeneb...@yahoo.com wrote:
I recently started getting
But before that read what it is and how to use it.
Maybe you don't want to switch it off.
On Mon, May 16, 2011 at 4:30 PM, Pedro Santos pedros...@gmail.com wrote:
Set null in application resource poll frequency.
e.g.
class Application{
init(){
application.initApplication();
You can decorate applicaiton's root request mapper to set in the
anticache parameter in the mapped URL. You can also add a listener
invoking WebResponse#disableCaching for all your responses.
On Mon, May 16, 2011 at 10:20 AM, Martin Makundi
martin.maku...@koodaripalvelut.com wrote:
Hi!
We are
Hi!
Sounds nice, how exactly?
**
Martin
2011/5/16 Pedro Santos pedros...@gmail.com:
You can decorate applicaiton's root request mapper to set in the
anticache parameter in the mapped URL. You can also add a listener
invoking WebResponse#disableCaching for all your responses.
On Mon, May
Looking at this it should just work.
On Mon, May 16, 2011 at 4:25 PM, wmike1...@gmail.com wmike1...@gmail.comwrote:
public class IncidentReportPanel extends Panel
{
public IncidentReportPanel(String id) {
super(id);
final Model model = new
Hello,
I have a custom wicket html tag that is handled by a component resolver
to automatically generate a component for it. And these components only
exist at the render phase and aren't stored in the page tree.
Now when Ajax is used to update a fragment of the web page, looks like
the
Thank you guys for your feedback.
First I moved to a list-mapping in hibernate, but as I am not so
familiar with setting up indices with hibernate (or how to change
existing schema), I secondly used bag-mapping as Wilhelmsen suggested.
On Java side I can use now an ArrayList and in Wicket
I pasted an AnticacheDecorator here: http://pastebin.com/NDePsj0F
you can use as:
class Application {
init(){
setRootRequestMapper(new AnticacheDecorator(getRootRequestMapper()));
}
}
On Mon, May 16, 2011 at 11:36 AM, Martin Makundi
martin.maku...@koodaripalvelut.com wrote:
Hi!
Sounds like https://issues.apache.org/jira/browse/WICKET-3719
Can you try the patch there and give feedback ?
If it still fails then a quickstart app or a test case would help us to
improve it.
On Mon, May 16, 2011 at 4:43 PM, Alexandru Artimon
aarti...@developmentgateway.org wrote:
Hello,
Problem was resolved. I had some malformed html throwing things off. Thanks
for all the replies.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/updating-a-label-s-model-with-ajax-tp3525221p3526444.html
Sent from the Users forum mailing list archive at Nabble.com.
Pedro is talking about 1.5, not about 1.4.9 :-)
On Mon, May 16, 2011 at 4:36 PM, Martin Makundi
martin.maku...@koodaripalvelut.com wrote:
Hi!
Sounds nice, how exactly?
**
Martin
2011/5/16 Pedro Santos pedros...@gmail.com:
You can decorate applicaiton's root request mapper to set in
I can try the patch and test, but I only have the wicket 1.4.17 jars.
So can I do a code checkout from somewhere? :D
Or get a jar that has the patch in it ?
On 05/16/2011 05:50 PM, Martin Grigorov wrote:
Sounds like https://issues.apache.org/jira/browse/WICKET-3719
Can you try the patch there
these reports should go into jira
-igor
On Sun, May 15, 2011 at 11:40 PM, nino martinez wael
nino.martinez.w...@gmail.com wrote:
Hi
Essentially I just want to hide all links leading to unauthorized pages.
I get exceptions when I do this in my AuthenticatedWebApplication,
there are no
Ok.. how to do the same in 1.4 ?
**
Martin
2011/5/16 Martin Grigorov mgrigo...@apache.org:
Pedro is talking about 1.5, not about 1.4.9 :-)
On Mon, May 16, 2011 at 4:36 PM, Martin Makundi
martin.maku...@koodaripalvelut.com wrote:
Hi!
Sounds nice, how exactly?
**
Martin
2011/5/16
with a proper quickstart because fast check shows that
bookmarkablePageLink#getPageClass() returns null and this seems to be
impossible since there is a check for null in the constructor
On Mon, May 16, 2011 at 5:18 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote:
these reports should go into
Hi Clint:
The steps are:
1- user opens page
2- user submits form (without entering any value)
3- required error appears.
4- user clicks on the link to enter value and no value appears in the text
box.
--
View this message in context:
How to build Wicket is described at
http://wicket.apache.org/contribute/build.html
But the patch is only for 1.5. You can't use it in 1.4.
I recommend you to upgrade.
On Mon, May 16, 2011 at 5:16 PM, Alexandru Artimon
aarti...@developmentgateway.org wrote:
I can try the patch and test, but I
Hi Pedro:
Thanks for that. And it fixed the problem.
The onClick code is now like this:
String guid = java.util.UUID.randomUUID().toString();
bean.setText(guid);
textField.modelChanged();
extend the url coding strategy you use and add the logic in its encode()
method
On Mon, May 16, 2011 at 5:18 PM, Martin Makundi
martin.maku...@koodaripalvelut.com wrote:
Ok.. how to do the same in 1.4 ?
**
Martin
2011/5/16 Martin Grigorov mgrigo...@apache.org:
Pedro is talking about
i think the quickstart goes without saying... :)
-igor
On Mon, May 16, 2011 at 8:24 AM, Martin Grigorov mgrigo...@apache.org wrote:
with a proper quickstart because fast check shows that
bookmarkablePageLink#getPageClass() returns null and this seems to be
impossible since there is a check
You mean here:
protected WebResponse newWebResponse(HttpServletResponse servletResponse) {
return (getRequestCycleSettings().getBufferResponse() ? new
BufferedWebResponse(servletResponse) {
/**
* @see
Excellent!
thanks for the help.
-Nelson
On Fri, May 13, 2011 at 5:24 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote:
use an ajaxbutton/link instead
and in response do
target.appendjavascript(window.top.location='+urlFor(MyPage.class)+'););
-igor
On Fri, May 13, 2011 at 4:11 PM, Nelson
Actually, I didn't even know there was an html compressor for wicket
(I'll google it).
As for the other question, the backend runs on hibernate. Not 100%
hibernate, since I'm actually not mapping all of the relations using
hibernate.
Hi, I'm having this error:
org.apache.wicket.markup.MarkupNotFoundException: Markup of type 'html'
for component 'com.keepcon.web.timetracking.EmployeeDedicationLoad' not
found. Enable debug messages for org.apache.wicket.util.resource to get a
list of all filenames tried.: [Page class =
This happens because you don't have an HTML file for your page. (Assuming
you are extending WebPage). You'll need to tell more about your setup and
when you are extending to really pinpoint the issue.
EmployeeDedicationLoad extends WebPage, right?
-Clint
On Mon, May 16, 2011 at 1:24 PM, Tito
Dear Forum,
I am trying to bind the field event.title to the eventTitleTextField in a
form in the following manner:
TextFieldString eventTitleTextField = new TextFieldString(eventTitle,
new PropertyModelString(event, title));
title is a field of event object.
When processing the form, after
Do you mean that on another computer with the same user you don't get
the error?
That sounds weird. Have you tried cleaning cache and temporary files on
pc that gives error?
Hi, I'm having this error:
org.apache.wicket.markup.MarkupNotFoundException: Markup of type 'html'
for component
Am 16.05.2011 20:48, schrieb lucast:
Dear Forum,
I am trying to bind the field event.title to the eventTitleTextField in a
form in the following manner:
TextFieldString eventTitleTextField = new TextFieldString(eventTitle,
new PropertyModelString(event, title));
title is a field of event
I've compiled the latest code from the wicket trunk and when plugging in
the latest jars into our project I've seen that some changes have to be
done in order to use wicket 1.5 (like some package names changed, can't
find org.apache.wicket.Request).
So I was wandering how far is the 1.5
Dear Forum,
I have yet another question about PropertyModel not binding to an object
field but this time using DropDownChoice.
In my form I have
DropDownChoiceHowOftenType eventOccurHowOftenDropDownChoice = new
DropDownChoiceHowOftenType(eventOccurHowOften, new
PropertyModelHowOftenType(event,
Hi Per,
You are spot on! Thanks.
I'm creating a add/edit form and what I was initialising the event object in
two places:
public class CreateEvent extends Panel {
private Event event = new Event();
...
...
public GenericEventCreatePanel(String id, Long eventId){
Hi lucast,
it would help watching source code of event's class to figure out what's
wrong
Dear Forum,
I have yet another question about PropertyModel not binding to an object
field but this time using DropDownChoice.
In my form I have
DropDownChoiceHowOftenType
Hi, I guess no reply means it's not a simple FAQ ;-)
So to start it easy:
If I have a DataTable, with a FilterToolbar, and
a TextFilteredPropertyColumn, how is the
TextFilteredPropertyColumn supposed to submit, i.e.
apply it's input for filtering.
Pressing ENTER will only work if there is not
there is a GoAndClearFilter which can submit the search form afair
-igor
On Mon, May 16, 2011 at 12:55 PM, Tom Eicher r...@teicher.net wrote:
Hi, I guess no reply means it's not a simple FAQ ;-)
So to start it easy:
If I have a DataTable, with a FilterToolbar, and
a
I have a FormComponentPanel that contains multiple child formcomponent.
The purpose of this panel is to be able to add in several cihldren
dynamically. The end model is supposed to be the list from all the children
component. I get the value in my convertInput() method by iterating over all
the
On Mon, May 16, 2011 at 1:03 PM, Henrique Boregio hbore...@gmail.com wrote:
As for the other question, the backend runs on hibernate. Not 100%
hibernate, since I'm actually not mapping all of the relations using
hibernate.
Why not? Was there a performance issue?
If the ChoiceRenderer ID isn't unique or it has trouble matching it with the
selected value, you could get this problem.
On Mon, May 16, 2011 at 2:21 PM, lucast lucastol...@hotmail.com wrote:
Dear Forum,
I have yet another question about PropertyModel not binding to an object
field but this
Lucas,
Check out the EnumDropDownChoice from Wicketopia...
http://wicketopia.svn.sourceforge.net/viewvc/wicketopia/trunk/wicketopia/src/main/java/org/wicketopia/component/choice/EnumDropDownChoice.java?revision=140view=markup
62 matches
Mail list logo