theres wicketstuff.org, where you can find describtions of wicketstuff
components...
Александър Шопов wrote:
В 17:27 +0100 на 27.10.2008 (пн), Nino Saturnino Martinez Vazquez Wael
написа:
Theres also the object auto complete in wicketstuff...
OK. I will look into both wicketstuff auto
Hi.
In my app I have mounted a page with mountBookmarkablePage the way
explained in wicket-library examples, and it works.
I have:
http://localhost/myapp/page
In that page I have a DataTable. A columns is configure to render a
custom Panel with a BookmarkablePageLink inside, that links to the
de
Hi
I have one short question:
How to make entire cell in a DataTable a link ?
I've read that Link component can be attached not only to tags but
also to any other html elements (like and ) but I dont know how to
use it with DataTable API.
Regards Daniel
--
View this message in context:
h
You should be able to override the css by specifying a more direct style..
like if it says
.menu {
width:10em;
}
you could wrap it in a span and say
span .menu {
width:5em;
}
It's something like this..
wadi wrote:
Hi All!I'm building an application and I would like to use yahoo dropdown
men
Hi Guys,
In the weekend I tried to migrate our application to wicket 1.4.
I was very happy to use generics with wicket but now I frustrated.
I love Wicket and I know it is nobody fault (it java fault! :)) but the
generics sucks.
Our application is quite big, more than one thousand classes and a
Use a Void Link (Link) or create your own Link wrapper class
Class MyLink extends Link
Stefan
-Ursprüngliche Nachricht-
Von: Artur W. [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 28. Oktober 2008 12:23
An: users@wicket.apache.org
Betreff: Migration to 1.4 - generic headache
H
Might be a big. Jira issue with attached quickstart project to reproduce it
would be helpful.
-Matej
On Mon, Oct 27, 2008 at 11:24 AM, Hannes Schubert <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> if I call removeNodeFromParent for the last (and only) child node of a
> parent node on second or deeper
Hi Stefan!
Stefan Lindner wrote:
>
> Use a Void Link (Link) or create your own Link wrapper class
>
> Class MyLink extends Link
>
I know I can create a wrapper but it is a ugly was to solve my problem :/
The Void think is a good idea but it doesn't work everywhere. For example
this doe
Thank you Igor. Works fine without spring web application factory. (just
commented it out from web.xml).
Igor Vaynberg wrote:
are you running on jdk1.4? because that is pretty much the only reason
to need to use spring web application factory...
-igor
On Fri, Oct 24, 2008 at 3:14 AM, Joni Lah
In this cases use
new AjaxButton("cancelButton") {
@Override
protected void onSubmit(AjaxRequestTarget target, Form form) {
modal.close(target);
}
}
-Ursprüngliche Nachricht-
Von: Artur W. [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 28. Oktober 2
But In the form case, It's really nice to be able todo
form.getModelObject which if you use generics will return the right
object with typesafety...
Unless you have forms which contain different classes, but that would
not make much sense..
Stefan Lindner wrote:
In this cases use
new AjaxB
Here's an example where I put a remove link in a DefaultDataTable cell:
https://wicketopia.svn.sourceforge.net/svnroot/wicketopia/trunk/example/src/main/java/org/wicketopia/example/web/page/HomePage.java
On Tue, Oct 28, 2008 at 6:33 AM, dlipski <[EMAIL PROTECTED]> wrote:
>
> Hi
>
> I have one sh
dlipski wrote:
>
> Hi,
>
> First, problem description:
> Recently I was asked to change DropDownChoice field into
> AutoCompleteTextField.
> Everything was ok untill I noticed that old DropDownChoice field has
> attached OnChangeAjaxBehavior.
> Ofcourse what works well with DropDownChoice doe
Hi all.
I am using an OnChangeAjaxBehavior on a textField to filter contents
of a table.
My code is very similar to this example:
http://www.wicket-library.com/wicket-examples/ajax/on-change-ajax-behavior
The problem I have is that the first input character is received and I
can get it in the onU
Hi!
I've just started learning Wicket and like it very much so far. I've found
the very nice DataGrid component, for which I have a question:
Is it possible to alter the appearance of a row in the grid in some custom
way? What I want to do is that depending on my row data, I want all text in
cer
Override newRowItem() and decorate it however you want (using
AttributeAppender behavior perhaps).
On Tue, Oct 28, 2008 at 9:37 AM, bjolletz <[EMAIL PROTECTED]> wrote:
>
> Hi!
>
> I've just started learning Wicket and like it very much so far. I've found
> the very nice DataGrid component, for whi
Hi Guys
The JQuery stuff project arent compiling, seems to be dependant on
Wicket 1.4 and using generics. But the pom uses this parent:
org.wicketstuff
wicketstuff-parent
2-nojavadoc
Which includes wicket 1.3.1...
Whats up?
--
-Wicket for love
Nino Martinez Wael
Java Spe
Hi
I dont know wicketopia project (and any of its classes like FragmentColumn)
so I can misunderstand your idea but as far as I am able to read that code
It looks like you are adding a link to the table cell, not making a cell
itself a link.
If I understand your code it is familar to:
text
I apologize. I must have misunderstood your question.
On Tue, Oct 28, 2008 at 9:42 AM, dlipski <[EMAIL PROTECTED]> wrote:
>
> Hi
> I dont know wicketopia project (and any of its classes like FragmentColumn)
> so I can misunderstand your idea but as far as I am able to read that code
> It looks li
Thanks for the very quick reply!
I may be stupid but DataGrid doesn't seem to have a newRowItem() method to
override. I did some googling and found that you can do just this for
DataGridView, but I'm using DataGrid, which does not extend from
AbstractGridView (which has the newRowItem method), bu
Hi Daniele
Provide your code, java and html cutout, it's clearly not similar then
it would work..
Daniele Dellafiore wrote:
Hi all.
I am using an OnChangeAjaxBehavior on a textField to filter contents
of a table.
My code is very similar to this example:
http://www.wicket-library.com/wicket-e
I am new to wicket and want to build web application using wicket, my
application should be 508 compliance , so want to know using wicket for any
reason can break 508 compliance ?
--
View this message in context:
http://www.nabble.com/wicket-and-508-compilance-tp20208921p20208921.html
Sent from
The following extends Link to have a title model in the constructor. Its easy
to do the same for an ExternalLink.
public abstract class TitledLink extends Link {
public TitledLink(String id, String title) {
this(id, new Model(title));
}
public TitledLink(String id, IModel ti
You mean like WAI triple A?
http://www.w3.org/WAI/WCAG1AAA-Conformance
No it won't break it but it wont enforce it either..
miro wrote:
I am new to wicket and want to build web application using wicket, my
application should be 508 compliance , so want to know using wicket for any
reason can
Of course you should be aware that some components might not be
compliant, but I think that's mostly in wicketstuff..
Nino Saturnino Martinez Vazquez Wael wrote:
You mean like WAI triple A?
http://www.w3.org/WAI/WCAG1AAA-Conformance
No it won't break it but it wont enforce it either..
miro w
I alluded to this in a feature request for a new constructor of the
ExternalLink component in the hope that it would start the ball
rolling on getting some accessibility happening in the rest of Wicket,
but just about everyone that commented said it should not be
implemented.
https://issu
Perhaps just a helper method somewhere?
public AbstractLink addTitle(AbstractLink link, IModel titleModel)
{
link.add(new AttributeModifier("title", true, titleModel));
return link;
}
On Tue, Oct 28, 2008 at 11:03 AM, Erik van Oosten <[EMAIL PROTECTED]> wrote:
>
> The following extends Link t
Great!Thanks!I also had to add on the init method of my app
getMarkupSettings().setStripWicketTags(true); because if not it won't render
the
submenus!
Nino.Martinez wrote:
>
> You should be able to override the css by specifying a more direct style..
>
> like if it says
>
> .menu {
> w
Yeah you can do that, you can do it heaps of different ways, but why
not have a title field on an ExternalLink component, its such a basic
attribute that is being missed. See the thread about Wicket and 508
compliance.
Steve
On 28 Oct 2008, at 15:03, Erik van Oosten wrote:
The fol
You could use an attribute modifier to add the onclick. If you need help
with what to generate in the onClick, see Link#onComponentTag for an
example.
--
Jeremy Thomerson
http://www.wickettraining.com
On Tue, Oct 28, 2008 at 8:42 AM, dlipski <[EMAIL PROTECTED]> wrote:
>
> Hi
> I dont know wicke
There are lots of ways of making accessibility happening, but throwing
more arguments to constructors isn't one of 'm. Ever took a short look
at DDC?
Instead of taking this narrow vision, perhaps start a discussion of
how we can make accessibility easy to implement, while not raping our
API?
Mart
Can you send your mount code and examples of a piece of code that works
correctly and one that doesn't?
--
Jeremy Thomerson
http://www.wickettraining.com
On Tue, Oct 28, 2008 at 5:02 AM, Daniele Dellafiore <[EMAIL PROTECTED]>wrote:
> Hi.
>
> In my app I have mounted a page with mountBookmarkabl
Hey,
I have a page that contain a hidden form. When the user press on "Add Item"
or "Edit Item" then I set the visability of the form to true and the user
can add details and the OK button save the data and set the visability of
the form to false.
The problem is if the user press on cancel. I nee
Set the name property to "" in your cancel handler logic?
On Tue, Oct 28, 2008 at 11:41 AM, itayh <[EMAIL PROTECTED]> wrote:
>
> Hey,
>
> I have a page that contain a hidden form. When the user press on "Add Item"
> or "Edit Item" then I set the visability of the form to true and the user
> can ad
What are you referring to when you say DDC? The Dewey Decimal System?
Used by pretty much every library around the world making it really
easy to find books? I'd call that accessible.
So my vision for wanting to enforce a bit of accessibility on the web
is narrow(?), but no one wants to mov
Any suggestions on this problem please?
vkoratek wrote:
>
> website runs on apache+resin 3.1.5 and wicket 1.3.3. Load balancer exists.
>
> Specifics of the problem are-
> 1. customer accesses the site from inside their company's network, have a
> problem.
> 2. Customer uses IE6.
> 3. Problem
lol ok agreed, DropDownChoice is far over the top, but someone let all
those methods get through. Perhaps its time to start rolling some up
and deprecating others. And getting some examples happening about how
best to use the DropDownChoice component.
On 28 Oct 2008, at 15:50, James Ca
DropDownChoice
On Tue, Oct 28, 2008 at 11:48 AM, Steve Swinsburg
<[EMAIL PROTECTED]> wrote:
> What are you referring to when you say DDC? The Dewey Decimal System? Used
> by pretty much every library around the world making it really easy to find
> books? I'd call that accessible.
>
> So my vision
On Tue, Oct 28, 2008 at 4:48 PM, Steve Swinsburg
<[EMAIL PROTECTED]> wrote:
> So my vision for wanting to enforce a bit of accessibility on the web is
> narrow(?), but no one wants to move forward with the most simple of
> modifications to make it easier to implement accessibility. The most basic
>
For the Javadoc? (please stop being so vague!)
No worries, I'll do this up and submit it into a general accessibility
Javadoc improvement Jira ticket.
Steve
On 28 Oct 2008, at 15:57, Martijn Dashorst wrote:
On Tue, Oct 28, 2008 at 4:48 PM, Steve Swinsburg
<[EMAIL PROTECTED]> wrote:
So
I don't think Martijn is intentionally being vague. DDC is a common
abbreviation for DropDownChoice among folks within the Wicket
community. As for the request for a patch, that's the best way to
get your code suggestions merged into the codebase, providing a patch.
Please make sure you include
Did it. It has no affect. I clear the name in the cancel and I also set it to
the new value in edit item action. But still after cancel when i try to edit
new item I get the old value.
jwcarman wrote:
>
> Set the name property to "" in your cancel handler logic?
>
> On Tue, Oct 28, 2008 at 11:
this really looks like a hack :) you should keep the field and text in
two different fields, and then in form.onsubmit do the right thing.
-igor
On Mon, Oct 27, 2008 at 8:32 PM, Ryan <[EMAIL PROTECTED]> wrote:
> I have a search page that lets the use enter the search term in a
> TextField and sel
Well the last post was unclear about which patch he was referring to
(Javadoc or codebase).
From the previous discussions, it's clear that a patch for a new
constructor won't be considered. I will, however, get some information
to extend the Javadocs and submit that.
Javadco improvement Ji
Hello,
I wonder if you can help. I'm trying to send back some XML from an
AbstractAjaxBehavior like this:
public class MyAjaxBehavior extends AbstractAjaxBehavior {
@Override
public void onRequest() {
String reply = XML document as String.
yes it sucks. i agree. personally i prefer code written against wicket
1.3. even in 1.3 i hardly had to cast anything and even with those
casts i do not remember getting any class cast exceptions.
i do think imodel makes a ton of sense, but the types on components
are pretty bad.
in 1.5 i have an
Yea, I've started to come to that conclusion.
Thanks Igor!
Ryan
On Tue, Oct 28, 2008 at 09:14:42AM -0700, Igor Vaynberg exclaimed:
>this really looks like a hack :) you should keep the field and text in
>two different fields, and then in form.onsubmit do the right thing.
>
>-igor
>
>On Mon, Oct
I've changed it.
Since r4284 wicketstuff-parent/pom.xml has this:
1.5
1.4-m3
1.5.2
target/velocity.log
Where did you see 1.3.1 ?
Martin
On Tue, 2008-10-28 at 14:42 +0100, Nino Saturnino Martinez Vazquez Wael
wrote:
> H
probably because textfields do not receive onchange event, or
something else was hijacking it.
-igor
On Tue, Oct 28, 2008 at 6:17 AM, dlipski <[EMAIL PROTECTED]> wrote:
>
>
>
> dlipski wrote:
>>
>> Hi,
>>
>> First, problem description:
>> Recently I was asked to change DropDownChoice field into
>
Hehe, that's a nice one too.
James Carman wrote:
Perhaps just a helper method somewhere?
public AbstractLink addTitle(AbstractLink link, IModel titleModel)
{
link.add(new AttributeModifier("title", true, titleModel));
return link;
}
--
Erik van Oosten
http://www.day-to-day-stuff.blo
both 1899 and 982 are pretty friggin vague :)
how often are link titles dynamic? i am thinking not very often at
all, so why add another imodel slot to make the component event bigger
for a small percantage of usecases.
in most cases .. works just fine for
internationalization. for the very few t
is it not just a matter of setting the right header?
-igor
On Tue, Oct 28, 2008 at 9:19 AM, <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I wonder if you can help. I'm trying to send back some XML from an
> AbstractAjaxBehavior like this:
>
> public class MyAjaxBehavior extends AbstractAjaxBehavior
Hello,
Yes, sorry and thanks - missed the StringRequestTarget(String contentType,
String charSet, String content) constrcutor.
Thanks again.
JHC
Ambrose Wheatcroft
Analyst / Programmer
Email: [EMAIL PROTECTED]
London office • Cottons Centre, Cottons Lane, London SE1 2QG • Telephone:
+44
I always go for accessibility and each of my links do have a title and I'd be
the last one to say that accessibility (and usability) isn't important. But
I think the footprint of the components should be kept as small as possible.
It isn't hard to extend them anyway. If you only use titled externa
I am new to wicket and no guru to help me answer questions , I am starting a
new project , is it ok to work with wicket 1.4 , i mean is it a stable
release ,of should I use wicket 1.3 ? Please help me , also please point me
to java docs of wicket 1.4 if 1.4 is all teste3d and ready for use
--
Hi Daniel,
If you subclass DefaultDataTable there is a protected method call
newCellItem(...) that you can use to attach the onclick class onto the .
like:
class MyDataTable extends DefaultDataTable {
/* (non-Javadoc)
* @see
org.apache.wicket.extensions.markup.html.repeater.data.table.Da
I am starting a new project with spring and wicket, are there any wicket
spring examples which i can use to to get started
--
View this message in context:
http://www.nabble.com/spring--wicket--application--template-or-example-tp20211466p20211466.html
Sent from the Wicket - User mailing l
Hi,
My session is holding an non serializable object. this causes a problem
every time wicket is trying to serialize a page (since most pages in my app
are hoding a pointer to the session) Here is the exception:
http-6789-6 ERROR lang.Objects - Error serializing object class
screens.Login [object
according to the j2ee spec, afair, httpsession must not hold any
non-serializable objects.
-igor
On Tue, Oct 28, 2008 at 10:02 AM, eyalbenamram <[EMAIL PROTECTED]> wrote:
>
> Hi,
> My session is holding an non serializable object. this causes a problem
> every time wicket is trying to serialize a
Thank you for the quick response.
eyalbenamram wrote:
>
> Hi,
> My session is holding an non serializable object. this causes a problem
> every time wicket is trying to serialize a page (since most pages in my
> app are hoding a pointer to the session) Here is the exception:
>
> http-6789-6 E
I have submitted small patches for both Link and ExternalLink to show
users how to add in the title attribute themselves, in an attempt to
improve the Javadocs for the HTML components and hence accessibility.
More components will follow.
I will close the ticket regarding the additional cons
Hi
I am inserting javascript code like this:
StringBuffer config = new StringBuffer();
config.append("\n");
config.append("function onLoad() { getValue();
setTimeout(\"onRefresh();\","+ns.getAutoRefreshSecs()*1000+"); }\n");
config.
The problem is, this object the session is holding cannot be serialized. Is
there a way
to hold this object on a defferent level or detach it from the session
despite the J2ee specs?
igor.vaynberg wrote:
>
> according to the j2ee spec, afair, httpsession must not hold any
> non-serializable obj
use iheadercontributor, that should work much better
also make sure your page has tag.
-igor
On Tue, Oct 28, 2008 at 10:57 AM, eyalbenamram <[EMAIL PROTECTED]> wrote:
>
> Hi
> I am inserting javascript code like this:
>
>StringBuffer config = new StringBuffer();
>
>
but StringHeaderContibutor implement IHeaderContributor...
I also verfied tag exists...
Can you please give a code ample. it will be much easier..
Thanks.
igor.vaynberg wrote:
>
> use iheadercontributor, that should work much better
>
> also make sure your page has tag.
>
> -igor
>
> On
Sorry, I understood what you meant and used IHeaderContributor. Thanks.
igor.vaynberg wrote:
>
> use iheadercontributor, that should work much better
>
> also make sure your page has tag.
>
> -igor
>
> On Tue, Oct 28, 2008 at 10:57 AM, eyalbenamram <[EMAIL PROTECTED]>
> wrote:
>>
>> Hi
>> I
what is its scope? what is the object?
-igor
On Tue, Oct 28, 2008 at 11:09 AM, eyalbenamram <[EMAIL PROTECTED]> wrote:
>
> The problem is, this object the session is holding cannot be serialized. Is
> there a way
> to hold this object on a defferent level or detach it from the session
> despite t
Hi again,
I used IHeaderContributer, and the javascript code is now garbled and not
working.
Here is what I got: