Re Wicket Web Beans

2010-08-16 Thread nivs
Hi Would like to know if some one has used Wicket Web Beans in their wicket projects? One of our requirements is to add fields at runtime and be able to render it on the front end. So in this case , I have no control of building the panels for some fields that are 'yet' to be created and to

Re: DropDownChoice does not push value into Model

2010-08-16 Thread nivs
James Could you please clarify this for me, I noticed is that with PropertyModel usage in the above context. I have to define one(PropertyModel instance) for each of the form component explicitly, like so 1. ModelStudyModel studyModel = new ModelStudyModel(new StudyModel());/Top level Model

Re: Is WicketFilter.checkCharacterEncoding() safe?

2010-08-16 Thread Martin Grigorov
As solution I can see using HttpServletRequestWrapper instead of dealing directly with the HttpServletRequest passed by the container. This way we can provide custom implementation of HttpServletRequestWrapper that overrides javax.servlet.ServletRequestWrapper.getCharacterEncoding() and if

Re: UploadProgressBar does not work in Safari browser?

2010-08-16 Thread Wayne Pope
Does anyone know if any patches were submitted for this or does anyone know of some code that can work? We're finding more and more of our users are Chrome and Safari and its becoming a pain. I have tried looking at this but my javascript knowledge is beginner at best. thanks for any help or

Re: How to add Scroll to tabpanel

2010-08-16 Thread arunarapole
Do i need to create css file for that On Mon, Aug 16, 2010 at 1:45 AM, vineetsemwal [via Apache Wicket] ml-node+2326413-28146642-136...@n4.nabble.comml-node%2b2326413-28146642-136...@n4.nabble.com wrote: don't add them in wicket:panel/ vineet semwal -- View

Re: How to get submitting component in onError()?

2010-08-16 Thread Jeremy Thomerson
On Sun, Aug 15, 2010 at 5:24 PM, b...@actrix.gen.nz wrote: Hi James, Thank you very much for your reply. It didn't work because the form was submitted with input type=image, and I did not add an ImageButton for it. Things would be a little easier if there was an overridable onClick()

Re: DropDownChoice does not push value into Model

2010-08-16 Thread James Carman
On Mon, Aug 16, 2010 at 5:42 AM, nivs shravann...@gmail.com wrote: 2. firstName = new TextField(studyName,new PropertyModelStudy(pModel.getObject().getStudyName(),studyName)); It should be: new PropertyModelString(pModel, studyName). The first argument to PropertyModel's constructor is the

Re: How to add Scroll to tabpanel

2010-08-16 Thread vineetsemwal
i meant don't add style in wicket:panel tag ,add it to say div.. wicket:panel div style= my style your markup /div /wicket:panel - vineet semwal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-add-Scroll-to-tabpanel-tp2324822p2326816.html Sent from the

RE: [Vote] wicketstuff-core structure to support wicket 1.5 related development

2010-08-16 Thread John Owen
[X] wicket 1.5 branch is set to wicket 1.5-SNAPSHOT and if there is demand we can cut releases to match the wicket milestones and/or release candidates. -Original Message- From: Michael O'Cleirigh [mailto:michael.ocleir...@rivulet.ca] Sent: Friday, August 13, 2010 10:16 PM To:

Re: component .... not found on page for a Link colun in the Datatable after self refresh using the AjaxSelfUpdatingTimerBehavior

2010-08-16 Thread bjolletz
Thanks, that seems to do the trick... Fernando: Returning null does not work since the resolve method requires a not null return value. But if the AjaxLink trick works, it seems I wont be needing to modify the resolve method anyway... -- View this message in context:

Re: How to add Scroll to tabpanel

2010-08-16 Thread arunarapole
Thank you very much i got that Regards Aruna.R On Mon, Aug 16, 2010 at 8:48 AM, vineetsemwal [via Apache Wicket] ml-node+2326816-1331009021-136...@n4.nabble.comml-node%2b2326816-1331009021-136...@n4.nabble.com wrote: i meant don't add style in wicket:panel tag ,add it to say div..

Re: Re Wicket Web Beans

2010-08-16 Thread Daniel Toffetti
Where does your fields come from ? In WWB, you have to provide beans, and configure them with annotations or beanprops files to control the way the beans are displayed. You can provide beans and they will be correctly displayed in a default way, with proper editing inputs according to

rendering Wicket components to HTML

2010-08-16 Thread Joe Hudson
Hi, First of all, before I get flamed - I've seen many topics about this since I've been looking into this: http://www.mail-archive.com/users@wicket.apache.org/msg27512.html http://www.danwalmsley.com/2008/10/21/render-a-wicket-page-to-a-string-for-html-email/

AjaxPagingNavigator give out strange error

2010-08-16 Thread btbluesky
I tried to use AjaxPagingNavigator in a simple page in Eclipse Helio with WTP (configured tomcat6). When debug, it just gives out a raw API page of ExceptionErrorPage with mismatched close tag error that reference the API page. Couple of other pages in the same app are working fine. I then

Re: wicket-extensions alive?

2010-08-16 Thread gnugrf
ok, I had read that in a post from several years ago, it just didnt make sense to me, because I thought alive and well would mean that is has some ability to work with a more current version of wicket. a bit misleading first response. -- View this message in context:

Re: Custom AJAX component...

2010-08-16 Thread Erik Brakkee
I have seen that wiquery for instance takes another approach in for instance their AutoCompleteBehavior. In that class they override respond() and get the response from the requestcycle and start writing to it, like this: @Override protected void respond(AjaxRequestTarget target) {

Re: Custom AJAX component...

2010-08-16 Thread Erik Brakkee
I have been looking around a bit more and it seems like Wicket in Action provides a solution on p.260 (the book keeps on growing on me). It looks like the idea is to extend AbstractAjaxBehavior and use RequestCycle.get().setRequestTarget(new StringRequestTarget(myString)); or more generically

How to render Enum values as RadioGroup and set default value

2010-08-16 Thread Ralf Eichinger
I have an User class with a gender field using a Gender-Enum: public class User implements DomainObjectLong { ... private Gender gender; I want to bind this gender field to a radiogroup (representing all enum values) in a registration form. This is what I did so far: code public enum Gender {

[Notice] wicketstuff-core trunk is now tracking wicket 1.5-SNAPSHOT

2010-08-16 Thread Michael O'Cleirigh
Hello, Based on the vote there were 3 votes for and none against. All those who voted wanted trunk to track 1.5-SNAPSHOT versus a stable milestone. I have created a branch to track wicket 1.4-SNAPSHOT here:

RE: style=\display:none\

2010-08-16 Thread Satish Nekkalapudi
Thanks a lot Igor for your quick response and the fix. That did the trick. Cheers, Satish -Original Message- From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] Sent: Thursday, August 12, 2010 4:49 PM To: users@wicket.apache.org Subject: Re: style=\display:none\ should be fixed in

Re: Re Wicket Web Beans

2010-08-16 Thread Nivedan Nadaraj
Hi Daniel Thank you for getting back so quickly. I used Hibernate that maps to entities in the table. Fields are defined by an administrator when he creates a new entity like Study(Hibernate entity for Study). There is a standard table called Study however if the administrator feels this new

Re: Re Wicket Web Beans

2010-08-16 Thread Nick Heudecker
It sounds like what you're after is a dynamic form. This has been discussed several times on the list and used to be detailed in the wiki. It's pretty straightforward to implement. Hopefully this gives you an implementation option. On Mon, Aug 16, 2010 at 7:17 PM, Nivedan Nadaraj

Re: Re Wicket Web Beans

2010-08-16 Thread Daniel Toffetti
Hi Niv, I'm not sure if I just get your domain model right, the closest I think you can get is something like this: http://jweekend.com/wicketwebbeans-examples-1.1/WebBeans/?wicket:interface=:0:2::: Where you can have a list (a table) of fields, each with a name, a datatype and a

DynamicWebResource double request

2010-08-16 Thread DmitryM
Hello, guys Can you please advise me on the proper implementation of the DynamicWebResource subclass? When I override the abstract methods I see that my getResourceState() is called twice. The resource is registered in Wicket and is used to generate a JavaScript data. Thanks, Dmitry -- View

Re: rendering Wicket components to HTML

2010-08-16 Thread Igor Vaynberg
pass in a dummy application to tester -igor On Mon, Aug 16, 2010 at 11:20 AM, Joe Hudson joe.hud...@clear2pay.com wrote: Hi, First of all, before I get flamed - I've seen many topics about this since I've been looking into this:

Re: Custom AJAX component...

2010-08-16 Thread Ernesto Reinaldo Barreiro
In case of wiQuery, many behaviors wicket AJAX is used (not jquery AJAX) so it seem natural to use AbstractDefaultAjaxBehavior. In other cases probably you are right and it is over killing. Is that what you are asking? Cheers, Ernesto On Mon, Aug 16, 2010 at 10:47 PM, Erik Brakkee