Did anything ever come of this idea? I worked with wicket a lot, but then
our company switched into the grails direction, which I understand from a
business perspective, and I also love groovy, I was thinking that using
groovy, wicket, and extjs combined would be a great combination, but it
would
.
> Next shoot would be the overridden onComponentTag() method.
> I'd say a call to super.onComponentTag() is needed.
>
> Maybe that should be described more explicit in the JavaDoc.
>
> mf
>
> Am 17.06.2009 um 19:25 schrieb walnutmon:
>
>>
>> Close but no d
Close but no donut, copper. That occurred to me, but it was too late. The
source doesn't seem to give much away, I do see the JavaScript on the Div
though.
]]>*/
top:
le
top:
left:
length:
width:
color:
Martin Funk-3 wrote:
>
> ok, wrong wording on my side.
>
> i meant the html source of the page in the browser.
>
> mf
>
>
Martin,
I actually don't know how to get that dump, i'm using firefox, the error I
posted was from the AjaxDebugBox, any tips on getting the client side dump?
I have firebug, but don't seem to see any JavaScript errors, although
admittedly I don't know anything about using it for JavaScript deb
> public List load() {
> return yourApp.howeverYouCreateYourList();
> }
> }
>
> On Tue, Mar 3, 2009 at 9:30 AM, walnutmon
> wrote:
>
>>
>> All,
>>
>> I have a list that I pass to various components, a pageable view, and
>> dropdowns
It seems that the drop down should at least be able to take a ListModel,
but that doesn't work either...
I actually was just writing code to get around this right now.
DropDownChoice dd =
new DropDownChoice("foo",
new IModel>()
All,
I have a list that I pass to various components, a pageable view, and
dropdowns for example...
After moving models to be detachable, there is a problem where the pageable
view is only creating a detachable model on "populateItem()", therefore, the
models are detachable only for the page (p
Thanks.
Is there any way to work around it? Something on my page that is triggering
it to place a _en_US at the end of the stylesheet that I am referencing?
igor.vaynberg wrote:
>
> see WICKET-1868, should be fixed in >rc2
>
> -igor
>
> On Fri, Feb 20, 2009 at 11:18 A
oadField fuf = new FileUploadField("file", new Model());
>
> this used to work without the model, but it doesn't now. Please provide
> more information if this doesn't fix it.
>
>
> --
> Jeremy Thomerson
> http://www.wickettraining.com
>
> On
One of my pages, for a reason unknown by me, has a different stylesheet
reference, which causes the page to have a screwed up display (no css)...
I haven't been able to find any workaround to this issue, nor can I even
really figure out what is causing it, but the closest I've been able to find
i
--
View this message in context:
http://www.nabble.com/StyleSheet-References-Incorrectly-Have-Language-Appended-tp22126039p22126039.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail
I'm not sure exactly where this belongs, but I need to upload a file, after
checking the example I noticed that it throws an internal error whenever I
try to use it... That's not the behavior I hope to emulate...
Does anyone have an easy way to get a file upload through wicket?
Thanks!
Justin
My solution was a combination of the ideas here, let me know what you think
:) While I don't particularly love the idea of using domain exceptions to
render feedback on the front end, I don't have any control over certain
decisions; still, being able to use a strict domain and have it interact
wi
27;updateModel' on
it's children? Perhaps the component can only take PropertyModels?
Jeremy Thomerson-5 wrote:
>
> in the custom component's constructor, why don't you do:
>
> add(new IValidator() {
> ...
> });
>
> Or create a custom validator class a
All,
I have custom components which know if they have a validation error when
they call "updateModel()", the domain is where validation happens, I'm using
this to post error messages which are rendered like a validation error:
@Override
public void updateModel()
{
try
I created a filter that does this:
boolean accept(message)
{
return message.isInfo();
}
This returns true for messages created using "error("asdf")"
To make sure I wasn't mistaken I added this:
if(message.isError() && message.isInfo()){throw new
RuntimeException("something");}
That was trigge
glu-3 wrote:
>
> there is something called
> org.apache.wicket.markup.html.form.validation.FormComponentFeedbackBorder,
> are you trying to build something like it?
>
>
> walnutmon wrote:
>> That makes sense, I did pull out the surrounding markup so that it could
>>
p
> like that, so it's a bit weird... what if you want to go extend or change
> the markup for the feedback error? it's now embedded in a bunch of code.
>
>
> walnutmon wrote:
>>
>> In order to add feedback next to the component I used a behavior. I had
getApplicationSettings().setInternalErrorPage(UniversalErrorPage.class);
getExceptionSettings().setUnexpectedExceptionDisplay(IExceptionSettings.SHOW_INTERNAL_ERROR_PAGE);
Anton Veretennikov wrote:
>
> I don't have custom error page.
> Link to image:
> http://img3.imageshack.us/img3/224
In order to add feedback next to the component I used a behavior. I had some
code from Igor which got me on the right track, although I was unable to
actually get it to work the same way, I simplified it down to the following
code:
AbstractBehavior printMessagesNextToComponent = new AbstractBeha
All,
I am using a custom domain which handles errors by doing checks when setters
are called. If there is a problem with the input it throws an exception. I
would like to use this in our wicket page to display errors, I've been able
to intercept errors as they come down from Form.process(), ho
displayed for a
component at a time, or at least only one set of them... Not a list of
errors since the last page load.
Thanks!
Justin
walnutmon wrote:
>
> Igor,
>
> I know this is old, but in a post this morning you reminded me-it got lost
> in the shuffle at work lately. Whe
this.target = target;
> }
>
> public boolean accept(FeedbackMessage message)
> {
> if (message.isError() && message.getReporter() != null)
> {
> if (target == message.getReporter())
>
All,
I am working with a domain where the POJOs have a method that checks there
values, and throws an exception with the error message if there is a problem
with one of there property values. I am using panels to model these
objects, is there something I can do to utilize this behavior when a f
a component and just make your own effect.
> Have a look at the source code within the abovementioned...
>
> **
> Martin
>
> 2009/1/13 walnutmon :
>>
>> All,
>>
>> I have a page with many form components, nearly all of them have some
>> kind
>>
All,
I have a page with many form components, nearly all of them have some kind
of validation associated with them. I have a feedback panel at the top, I'd
like to move feedback next to each component. I have thought of some ways
to do this without changing a ton of code, however none really wo
Well, I'd imagine your way is the right way, since my way doesn't work
Though it works when I use the wicket tester. This is most likely a bug,
but I am not keen on how to submit bugs and so on to the wicket developers.
Martin Makundi wrote:
>
> I did not know of this.. I have always used
I have dropdowns that are filled with domain objects, and sometimes the
objects are not equivalent literally, but should be treated as such. I
created a subclass of the DropDownChoice...
class RelaxedComparisonDropDown extends DropDownChoice
{ ...constructor...
@Override
prote
nberg wrote:
>
> without doing any work yourself the closest you can come is
> wickettester#startpage(class, pageparameters)
>
> -igor
>
> On Thu, Dec 18, 2008 at 8:09 AM, walnutmon
> wrote:
>>
>> bump.
>>
>>
>> walnutmon wrote:
>>
All,
I have a page with a form, when the form is submitted it should redirect to
another page regardless of whether a save is successfull, however, I want
the response page to show some feedback saying that the object was saved.
The test for the form looks like this
@Test
public void t
A component that takes some domain object, and for every property dynamically
loads an appropriate form element.
@Test
{
private class DomainObject{
List prop1s;
Boolean prop2;
}
panel = new DynamicPropertyPanel(new DomainObject());
assertComponent("panel:form:form
I have found very little in my wicket books, and on this forum in terms of
adding styles to components through java. Is this because it's outside of
the scope of wicket?
As an example. If I have a panel, and I want all of those panels to have a
style class "someComponentClass", is it better to
wicketTester.processRequestCycle(), if I understand your question correctly
Sujit Arungundram wrote:
>
> I have setGatherExtendedBrowserInfo(true) and inside my main entry page,
> the Login Page, I read the clientInfo object.
>
> When I try to test the rendering of the login page using Wicket
bump.
walnutmon wrote:
>
> One thing I am trying to implement in my most recent wicket application is
> a hook in from another site written in JSP. I'm starting simple, with a
> hand-off URL that gives a few peices of information that allows the user
> to be logged into
One thing I am trying to implement in my most recent wicket application is a
hook in from another site written in JSP. I'm starting simple, with a
hand-off URL that gives a few peices of information that allows the user to
be logged into the wicket app based on crednetials that had them logged i
l pm = new PropertyModel(m, "description");
> assertEquals("Foo", pm.getObject());
>
> and now for the coup de grace:
>
> s = new State("Bar");
> m.setObject(s);
> assertEquals("Bar", pm.getObject());
>
> Martijn
>
> On Fri, Oct 24
m from your ViewPanel. Otherwise, you passed in a reference to
> an
> object, and then replaced your local reference with a reference to a new
> object - but that wouldn't replace references anywhere else.
>
> --
> Jeremy Thomerson
> http://www.wickettraining.com
>
I have two panels, a view panel where you can look for news and an edit
panel. The edit panel has a reference to a "news" object and all of it's
form elements have property models that use that object.
When I pass a news object into the panel on creation all of the form
elements fill as expecte
After using property models, it's nice to have automatic binding to variables
in objects... However, I can't seem to get the same thing to work with local
variables... as an example...
new CheckBox("toggleSomething", new PropertyModel(someObject,
"toggleableProperty"));
works beautifully...
Howe
I can manually assign the variable at run time using the getModelObject()
function... I know you can bind through property models, is trying to do so
with a regular Model() object wrong?
walnutmon wrote:
>
> All,
>
> I have a form, the page has an object "company",
All,
I have a form, the page has an object "company", a dropdown list has a bunch
of companies...
return new DropDownChoice("companies", new Model(company),
getCompanies, new ChoiceRenderer("name"));
I add a button, that has a simple on submit... However, on processing the
next
While this javascript behavior doesn't qualify as Ajax, how else could you
get that behavior without making an ajax component so that you can get form
element objects to submit without a page refresh? Do you need to write
javascript in the Wicket code? I suppose you could write javascript in the
The wicket:id tags are stripped, but the javascript has many "wicket"
occurences. Is there a way to get rid of these too?
igor.vaynberg wrote:
>
> in deployment mode those tags are stripped
>
> -igor
>
> On Tue, Sep 23, 2008 at 10:35 AM, walnutmon <[EMAIL P
Sorry, I'll refrain from asking readily available questions... I found it too
:/
However, when I build in deployment, the javascript is covered in wicket
references.
jwcarman wrote:
>
> http://cwiki.apache.org/WICKET/faqs.html#FAQs-Deployment
>
> On Tue, Sep 23, 2008 at 2
How do I deploy in "deployment" mode?
jwcarman wrote:
>
> The wicket:id won't who up during "deployment" mode.
>
> On Tue, Sep 23, 2008 at 1:35 PM, walnutmon <[EMAIL PROTECTED]>
> wrote:
>>
>> Is it possible to hide wicket:id tags? Do
Is it possible to hide wicket:id tags? Doing so in order to hide that you
are using wicket as a server side technology.
--
View this message in context:
http://www.nabble.com/Hiding-Wicket-ID-tp19632955p19632955.html
Sent from the Wicket - User mailing list archive at Nabble.com.
odelObjectValue, however, this also changes
the value that I'm testing directly, instead of waiting for an event to
drive this.
igor.vaynberg wrote:
>
> wicket allows it
>
> -igor
>
> On Tue, Sep 16, 2008 at 5:21 PM, walnutmon <[EMAIL PROTECTED]>
> wrote:
>>
.
>
> -igor
>
> On Tue, Sep 16, 2008 at 1:57 PM, walnutmon <[EMAIL PROTECTED]>
> wrote:
>>
>> All,
>>
>> This seems like a simple issue, but I have been stumped for hours...
>>
>> Basically I have a form that includes a text area where y
The button will have the same problem because it submits the form. I need
info from the text box without triggering the text areas form submission.
Matej Knopp-2 wrote:
>
> Try using AjaxButton.
>
> -Matej
>
> On Tue, Sep 16, 2008 at 10:57 PM, walnutmon
> <
All,
This seems like a simple issue, but I have been stumped for hours...
Basically I have a form that includes a text area where you can enter HTML,
to the right of this text area is a "preview" area... I have an
AjaxFallbackLink labeled "preview" which should take the info in the text
area an
ush" or you can have
> your application "poll" via Ajax.
>
> On Fri, Sep 12, 2008 at 8:52 PM, walnutmon <[EMAIL PROTECTED]>
> wrote:
>>
>> Because a wicket application runs on a server, could you have an internet
>> application has a listener tha
Haha, first off, thanks for all the responses, I'm glad the community is
active :)
I took a look at the Wicket Rad, it looks pretty cool, I think he referenced
it so that I can actually see how some of that stuff works, and get a handle
on what Wicket is capable of, it was a bit over my head.
I
Very new to Wicket, I've been reading about it for a few days, I'm really
excited now that I'm using it.
The stuff I do requires that you be able to create dynamic form elements...
as an example, how would I be able to create a form that has a radio button
input, where the amount of radio butto
54 matches
Mail list logo