Re: Generating markup from Wicket

2012-09-14 Thread jam.ntk
Thanks, I think i can achieve this simply by adding mark up tags in the wicket code. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Generating-markup-from-Wicket-tp4652003p4652005.html Sent from the Users forum mailing list archive at Nabble.com. --

Generating markup from Wicket

2012-09-14 Thread jam.ntk
Hi - I have data strings coming from database e.g. ABC, 123, DEF,456. Now I am creating a MultilineLabel to hold the string with new line characters to diplay on the page with line breaks. It is working fine but I want to display them as mark up list items as it would display with the following mar

Re: How to specify the html text for span

2012-09-06 Thread jam.ntk
thanks I used the webmarkupcontainer instead of multilinelabel to solve this issue. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-specify-the-html-text-for-span-tp4651812p4651829.html Sent from the Users forum mailing list archive at Nabble.com. ---

Re: How to specify the html text for span

2012-09-06 Thread jam.ntk
here is the mark up:   -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-specify-the-html-text-for-span-tp4651812p4651814.html Sent from the Users forum mailing list archive at Nabble.com. - T

How to specify the html text for span

2012-09-06 Thread jam.ntk
Hi - I have a MultiLineLabel as following this.form.add(new MultiLineLabel("myLabel").add(new SimpleAttributeModifier("title", tooltipMsg))); Now on the html side, I have smething like following:   Now, when the page renders   is replaced to null by wicket. I want to have   there as the span c

Re: How can wicket Page form model be accessed from child panel

2012-07-19 Thread jam.ntk
I have two fields on the webpage which needs be validated for not being blank if user has selected few checkboxes which are part of the panel. So I thought of to have a validate method in the panel. Are you suggesting that instead of validating in the panel I validate in the form submit of webpage?

Re: How can wicket Page form model be accessed from child panel

2012-07-19 Thread jam.ntk
ok, I need to check the form attribute value in the vaildate() method of panel. If thats the case then i guess i cannot get the updated model in the validate method. So the workaround for me is to use getters of components (TextField, DropDownChoice etc) from webpage in the panel validate method

Re: How can wicket Page form model be accessed from child panel

2012-07-19 Thread jam.ntk
you are right that the LoginUserModel gets null. Now can you please suggest how and where should I reload the LoginUserModel? If in the panel, I try to call this.scmodel.getObject() in the validate() method I still get the old LoginUser Object. When the control goes back to page form submit, the L

Re: Redirect back to wicket page problem

2012-06-07 Thread jam.ntk
Forgot to mention I am using wicket 1.4.17 and IE 8 -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Redirect-back-to-wicket-page-problem-tp3433517p4649773.html Sent from the Users forum mailing list archive at Nabble.com. -

Re: Redirect back to wicket page problem

2012-06-07 Thread jam.ntk
Hi, I am also seeing a similar issue. Did you find a fix to this issue? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Redirect-back-to-wicket-page-problem-tp3433517p4649772.html Sent from the Users forum mailing list archive at Nabble.com. -