Re: table inside a td in wicket table

2009-11-04 Thread Igor Vaynberg
call item.setrenderbodyonly(true) -igor On Wed, Nov 4, 2009 at 6:06 PM, Swarnim Ranjitkar wrote: > > If you do that will it not put the panel with table inside wicket:id="cell"> which will make anything inside it as literal string. > >> From: igor.vaynb...@gmail.com >> Date: Wed, 4 Nov 2009 17:

Re: Asynchronous construction of page

2009-11-04 Thread jpswain
Wicket is remarkably fast and efficient the way it is used in common practice. To do what you are suggesting would be to wreck that big time. Why on earth do you want to do this? Kaspar Fischer-2 wrote: > > I am trying to find out how to load several parts (Wicket panels) of a > page in par

RE: table inside a td in wicket table

2009-11-04 Thread Swarnim Ranjitkar
If you do that will it not put the panel with table inside which will make anything inside it as literal string. > From: igor.vaynb...@gmail.com > Date: Wed, 4 Nov 2009 17:58:16 -0800 > Subject: Re: table inside a td in wicket table > To: users@wicket.apache.org > > you should start by subclass

Re: table inside a td in wicket table

2009-11-04 Thread Igor Vaynberg
you should start by subclassing abstractcolumn and adding a panel that contains a table in populateitem() -igor On Wed, Nov 4, 2009 at 5:53 PM, Swarnim Ranjitkar wrote: > > Here are the two classes. What I was thinking was i would overide > createLabelModel and create table with the tag like be

RE: table inside a td in wicket table

2009-11-04 Thread Swarnim Ranjitkar
Here are the two classes. What I was thinking was i would overide createLabelModel and create table with the tag like below. import java.math.BigDecimal; import org.apache.wicket.extensions.markup.html.repeater.data.table.PropertyColumn; import org.apache.wicket.markup.html.basic.Label ;

Re: table inside a td in wicket table

2009-11-04 Thread Igor Vaynberg
show us some code. -igor On Wed, Nov 4, 2009 at 5:06 PM, Swarnim Ranjitkar wrote: > >  I'm trying put a table inside a in datatable so that my column can have > more than one row I overode  the createLableModel method and tried to but > html tag like this > > fadsfdsafas > > look like it

table inside a td in wicket table

2009-11-04 Thread Swarnim Ranjitkar
I'm trying put a table inside a in datatable so that my column can have more than one row I overode the createLableModel method and tried to but html tag like this fadsfdsafas look like it everything in a cell is put under because it of it gets displayed as text. Is there anyway y

Re: javax.crypto.BadPaddingException on expired sessions using CryptedUrlWebRequestCodingStrategy

2009-11-04 Thread fatefree
fatefree wrote: > > Is there any plans to fix this, or anything I can do to prevent it while > maintaining crypted urls? > I tried to use the fix suggested in the previous thread, but it was just throwing a different exception and not really helping the situation. A temporary solution is the w

Re: If IE comments

2009-11-04 Thread Martin Makundi
Hi! You can output them from code... at least. For example as a label ors omething. ** Martin 2009/11/4 Neil Curzon : > Hi all, > > We're currently migrating some legacy HTML pages into a sexy Wicket app. > Unfortunately, the pages use a few sections for > browser compatibility. Sometimes this

If IE comments

2009-11-04 Thread Neil Curzon
Hi all, We're currently migrating some legacy HTML pages into a sexy Wicket app. Unfortunately, the pages use a few sections for browser compatibility. Sometimes this caused mismatched tags, as in the following example: ...blahblah... Ie we close a tag for IE 6 in one place, and other browser

Re: Asynchronous construction of page

2009-11-04 Thread Pedro Santos
One question: if component renderComponent method wasn't final if Kaspar page structure was -page - panel1 - paneln if page renderComponent method implementation was buildPanel1.start() buildPaneln.start() and renderClosingComponentTag implementation was allPanelReady.join() super.(...)

Re: Asynchronous construction of page

2009-11-04 Thread Kaspar Fischer
On 02.11.2009, at 22:59, Igor Vaynberg wrote: the page itself can only be accessed synchronously, otherwise you would have to do your own multithreaded access handling in components...which would be horrific. It's definitely not nice and it would be cool if there were some way to do this in

users@wicket.apache.org

2009-11-04 Thread Xavier López
Wonderful ! Now I understand better. If only I could set the String deptId in an inner variable inside the Model and link it to the property with another model ! This comes from the fact that the building of the RadioChoice is made inside a Helper Class... Probably this is an atrocity, but I hope

Re: Wicket tester mock server name

2009-11-04 Thread Igor Vaynberg
you can create your own subclass of mockhttpservletrequest and return whatever you want. hooking it into wickettester should not be that bad... if it is we can see if we can make it easier. -igor On Wed, Nov 4, 2009 at 8:27 AM, Ted Vinke wrote: > Hi! > > Seems a bit dumb I can't seem to get the

users@wicket.apache.org

2009-11-04 Thread Pedro Santos
Model crModel = new Model(){ getObject(){ return contextData.getDTO(p.getDeptId()); } setObject(Object o){ p.setDeptId( ((DTO) o).getId()); } }; On Wed, Nov 4, 2009 at 2:32 PM, Xavier López wrote: > Hi Sven, Pedro, > > Thanks both for your quick reply. >

users@wicket.apache.org

2009-11-04 Thread Xavier López
Hi Sven, Pedro, Thanks both for your quick reply. Ideally you would just set a Department instance into your Person objects the best way is you have your depid property of type Department This was the first approach to take into account, but the idea was discarded in benefit of SimpleElementDT

OT: Relational database + Hibenate vs Content Repository (Jackrabbit)

2009-11-04 Thread danisevsky
Hallo, I am thinking about learning and using Jackrabbit instead of relational database (+ Hibernate) in my new wicket application (which will be build on Brix CMS). Is it very wrong idea? Thanks

Wicket tester mock server name

2009-11-04 Thread Ted Vinke
Hi! Seems a bit dumb I can't seem to get the following working. In my application I have to so something special based on the domain the app is running on. I ask for that domain in the following manner: String serverName = getWebRequestCycle().getWebRequest().getHttpServletRequest().getSe

users@wicket.apache.org

2009-11-04 Thread Sven Meier
Hi Pedro, with your condition inside the renderer you've beaten me by originality ;). But I doubt that the choice will be able to store the selected DTO in the entity's String property. Sven Pedro Santos wrote: Hi Sven, he stell can write some specialized render... but I think the best way

users@wicket.apache.org

2009-11-04 Thread Pedro Santos
Hi Sven, he stell can write some specialized render... but I think the best way is you have your depid property of type Department. Than all this thread would not have started :) class YourCustomRender { @Override public String getIdValue(Object object, int index) {

users@wicket.apache.org

2009-11-04 Thread Sven Meier
Hi Xavier, I suppose this error comes from having a ModelObject of type String and also having a ChoiceRenderer refering to 'id' property your choice is working on SimpleElementDTOs while your Person class has a String property - this cannot work. Ideally you would just set a Department insta

Re: Custom model for lists

2009-11-04 Thread Sven Meier
Hi Steffen, use an IConverter on your textfield. Sven Steffen Dienst wrote: Hi, I need a model to represent a list of integers. I'd like to represent this list as a comma separated string in a text field. Is there any model I can use as a foundation? Where can I learn about implementing th

users@wicket.apache.org

2009-11-04 Thread Xavier López
Hi, I have a question regarding the use of RadioChoice and ChoiceRenderer's in conjunction with CompoundPropertyModel. I'm new to Wicket (but already a convinced user ;) ), so maybe my approach on this one is not at all as it should be... Any comments are welcome ! I'll get into details. Let's sa

Custom model for lists

2009-11-04 Thread Steffen Dienst
Hi, I need a model to represent a list of integers. I'd like to represent this list as a comma separated string in a text field. Is there any model I can use as a foundation? Where can I learn about implementing this (converting list to comma separated string and back)? Thanks in advance, St

Re: Problem with IFormsubmitting

2009-11-04 Thread Martin Makundi
Hi! The proposed solution does not work with Modal Windows!! * http://osdir.com/ml/users-wicket.apache.org/2009-11/msg00076.html Modal windws have a fake parent form: .. and ofcourse it does not have a hidden input field... .. so the solution gets a bit nastier... .. we must fake the hidden

Re: AW: LinkTree

2009-11-04 Thread jahid
Ohh my bad, i was trying to replace the "targetPanel" to the page, not to the "markupContainer". Now its working! :) Thanks guys! //Jahid Giambalvo, Christian wrote: Hi, i did another way an that way worked. Replace markupContainer.add(new Label(DETAILS_PANEL_ID,"label").setOutputMarkupId

AW: LinkTree

2009-11-04 Thread Giambalvo, Christian
Hi, i did another way an that way worked. Replace markupContainer.add(new Label(DETAILS_PANEL_ID,"label").setOutputMarkupId(true)); with private final Label labelToReplace = new Label(DETAILS_PANEL_ID,"label").setOutputMarkupId(true); markupContainer.add(labelToReplace); ... And in onNode

Re: LinkTree

2009-11-04 Thread jahid
Guys, thanks a lot for quick reply. I have changed my code according to your mentioned way, but seems like i am doing something wrong. Below are my code, markup and stacktrace - 1. private WebMarkupContainer markupContainer; 2. final String DETAILS_PANEL_ID ="detailsPanel"; 3. p

Re: LinkTree

2009-11-04 Thread Pedro Santos
Add you need to replace your old detailsPanel for the new one. Like: HomePage.this.replace(targetPanel) On Wed, Nov 4, 2009 at 11:20 AM, Vytautas Racelis wrote: > Hi, > you should have a container and add that container into target. > > This is how i've done this: > > http://xaloon.googlecode.

Re: NoSuchFieldException

2009-11-04 Thread Martin Grigorov
El mié, 04-11-2009 a las 03:57 -0800, Dusanb escribió: > can somebody tell me how can i start new topic? write mail to users@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands,

Re: LinkTree

2009-11-04 Thread Vytautas Racelis
Hi, you should have a container and add that container into target. This is how i've done this: http://xaloon.googlecode.com/svn/trunk/xaloon-wicket-jpa-components/src/main/java/org/xaloon/wicket/component/tree/TreePanel.java jahid wrote: Hi, I have a LinkTree on a page, that page a

LinkTree

2009-11-04 Thread jahid
Hi, I have a LinkTree on a page, that page also contains a panel. First time the page will be loaded with an empty panel. But if user clicks on link, then i wanted to replace the empty panel with a new panel. but it seems like its not working. Below is the part of my code- 1. public ListC

LinkTree

2009-11-04 Thread jahid
Hi, I have a LinkTree on a page, that page also contains a panel. First time the page will be loaded with an empty panel. But if user clicks on link, then i wanted to replace the empty panel with a new panel. but it seems like its not working. Below is the part of my code- 1. public ListC

Re: Apache Tomcat and CSS

2009-11-04 Thread Martijn Dashorst
Note: check your CSS filenames and the links to those. Martijn On Wed, Nov 4, 2009 at 1:42 PM, Martijn Dashorst wrote: > My guess is capitalization... (windows is case insensitive, and linux isn't) > > Capitalization is the difference between "helping your uncle Jack off > a horse" and "helping

Re: Apache Tomcat and CSS

2009-11-04 Thread Martijn Dashorst
My guess is capitalization... (windows is case insensitive, and linux isn't) Capitalization is the difference between "helping your uncle Jack off a horse" and "helping your uncle jack off a horse" Martijn On Wed, Nov 4, 2009 at 1:38 PM, Oliver-Sven Fritsch wrote: > Hi everybody! > > This might

Apache Tomcat and CSS

2009-11-04 Thread Oliver-Sven Fritsch
Hi everybody! This might not have to do with Wicket directly but I experience some very strange behavior with wicket pages on tomcat. I do have a login page with a centered div container and two input fields for username and password. If I deploy my application on my local machine (win xp) int

Re: NoSuchFieldException

2009-11-04 Thread Dusanb
can somebody tell me how can i start new topic? -- View this message in context: http://old.nabble.com/java.lang.NoClassDefFoundError%3A-org-apache-wicket-util-lang-PropertyResolver-tp26191924p26194912.html Sent from the Wicket - User mailing list archive at Nabble.com. ---

Re: NoSuchFieldException

2009-11-04 Thread Dusanb
i downloaded new jar for wicket and the exception dissapear. thank you for helping me martin-g wrote: > > Hi Dusanb, > > Try to debug it yourself. > Here are the steps: > - download the Wicket sources (the easiest way is: mvn > -DdownloadSources=true eclipse:eclipse, refresh the Eclipse proj

RE: Dynamically insert/remove WizardSteps based on user input ?

2009-11-04 Thread Frank Prins
Hey smallufo, Yes, definitely, that's the way. I am just working on quite a huge wizard right now, using the dynamic approach. The just assign the first step to the model, and in each of the steps you implement next() in which you can create the next step, based on choices made by the user. Works

Re: NoSuchFieldException

2009-11-04 Thread Martin Grigorov
1.3.0 is too old try to upgrade to latest 1.3.x at least (if not 1.4.3) El mié, 04-11-2009 a las 00:53 -0800, Dusanb escribió: > you mean the jar for wicket. > i use these: http://old.nabble.com/file/p26192856/jar.jpg > > > > reiern70 wrote: > > > > Did you check your jars versions? As Igor

Re: NoSuchFieldException

2009-11-04 Thread Ernesto Reinaldo Barreiro
Sorry I can't see jar versions form the image you posted;-). I do not have the sources of Wicket-1.3.0 at hand but the exception you get seems to be raised because PropertyResolver can't find a field with a given name. Why don't you install the sources, as Martin suggested, and debug it yourself?

Re: Migrating wivket app from 1.2.4 to 1.4.3

2009-11-04 Thread Martijn Dashorst
On Wed, Nov 4, 2009 at 10:03 AM, Alex Rass wrote: > Seems like 1.5 is around the corner... May want to wait a little. Though it > seems from the messages that 1.4.x - 1.5 should be easy. Huh? 1.5 is nowhere near completion. Martijn -- Become a Wicket expert, learn from the best: http://wicketi

RE: Migrating wivket app from 1.2.4 to 1.4.3

2009-11-04 Thread Alex Rass
They don't cover some breaks in AjaxFallbackDefaultDataTable interfaces. If you don't use those - it's an easy conversion. Make sure you do a clean recompile and it will show you what's broken. Seems like 1.5 is around the corner... May want to wait a little. Though it seems from the messages that

Re: NoSuchFieldException

2009-11-04 Thread Dusanb
you mean the jar for wicket. i use these: http://old.nabble.com/file/p26192856/jar.jpg reiern70 wrote: > > Did you check your jars versions? As Igor has suggested you in a previous > thread... > > Regards, > > Ernesto > > On Wed, Nov 4, 2009 at 9:35 AM, Dusanb wrote: > >> >> hi i get t

Re: NoSuchFieldException

2009-11-04 Thread Martin Grigorov
Hi Dusanb, Try to debug it yourself. Here are the steps: - download the Wicket sources (the easiest way is: mvn -DdownloadSources=true eclipse:eclipse, refresh the Eclipse project. The same applies for IDEA and Netbeans) - attach a breakpoint at org.apache.wicket.util.lang.PropertyResolver.getGetA

Re: NoSuchFieldException

2009-11-04 Thread Ernesto Reinaldo Barreiro
Did you check your jars versions? As Igor has suggested you in a previous thread... Regards, Ernesto On Wed, Nov 4, 2009 at 9:35 AM, Dusanb wrote: > > hi i get this exception only in table with paging. Can somebody help me > with > this > > > 13:01:10.536 [SocketListener0-9] DEBUG o.a.w.util.l

NoSuchFieldException

2009-11-04 Thread Dusanb
hi i get this exception only in table with paging. Can somebody help me with this 13:01:10.536 [SocketListener0-9] DEBUG o.a.w.util.lang.PropertyResolver - Cannot find field class org.apache.wicket.extensions.markup.html.repeater.data.table.NavigatorLabel$LabelModelObject.from java.lang.NoSuchFi