Re: Wicket adds jsessionid to redirect onto external page

2010-08-04 Thread Martin Makundi
l urls have to be passed through that >> method and thats what we do. if its not working the problem is with >> the servlet container. >> >> -igor >> >> On Wed, Aug 4, 2010 at 10:39 AM, Martin Makundi >> wrote: >>> Like a sledgehammer ;) >>>

Re: Wicket adds jsessionid to redirect onto external page

2010-08-04 Thread Martin Makundi
t; -igor > > On Wed, Aug 4, 2010 at 10:39 AM, Martin Makundi > wrote: >> Like a sledgehammer ;) >> >> But yes, so it's a bug in wicket "framework design". >> >> ** >> Martin >> >> 2010/8/4 Don Ferguson : >>> Ah, muc

Re: Wicket adds jsessionid to redirect onto external page

2010-08-04 Thread Martin Makundi
Like a sledgehammer ;) But yes, so it's a bug in wicket "framework design". ** Martin 2010/8/4 Don Ferguson : > Ah, much better than my approach. > > On Aug 4, 2010, at 8:25 AM, Martin Makundi wrote: > >> Hi! >> >> I worked around like this: >&

Re: Wicket adds jsessionid to redirect onto external page

2010-08-04 Thread Martin Makundi
onse, commenting out the offending line.  Then use it as such: >      getRequestCycle().setResponse(new NonEncodingWebResponse((WebResponse) > getRequestCycle().getResponse())); >             getRequestCycle().setRequestTarget(new > RedirectRequestTarget(url)); > The source code is att

Wicket adds jsessionid to redirect onto external page

2010-08-04 Thread Martin Makundi
Hi! I am doing something wrong? I am using: getResponse().redirect(getParameterFromRequest(RETURN_PAGE)); But the URL contains jsessionid. I think this is wrong because the target server does not understand the jsessiond and it returns 404 page not found. ** Martin

Re: How to send a Java object to the ModalWindow

2010-08-03 Thread Martin Makundi
Hi! > I'm using dynamic objects. In the first way based on the some event (e.g. > tree node selection) I want to setup this MagicObject in home page, and then > to show panel. Between these two there should be a call of getMagicObject() > from the panel. > How can I set this happen in appropriate

Re: How to send a Java object to the ModalWindow

2010-08-03 Thread Martin Makundi
There are many ways. This is one way: modalWindow.setContent(new MyPanel(modalWindow.getContentId()) { @Override public MagicObject getMagicObject() { return magicObject; } }); Also you can just pass your java object as parameter to myPanel or if it is dynamic you can wrap it int

Re: Stack Overflow Error

2010-08-03 Thread Martin Makundi
Hi! I had the same and for me the solution was to increase -vmargs -Xss1234k size bigger. ** Martin 2010/8/3 Douglas Ferguson : > I wrote about this awhile ago and got some great responses. I poured over > the code and couldn't find anything that would meet the criteria that you > guys suggeste

Re: Disabling serialization in wicket tester....

2010-07-31 Thread Martin Makundi
Your tests will not be equivalent .. ** Martin 2010/8/1 Erik Brakkee : > Hi, > > > I would like very much to disable serialization in wicket tester. I am using > pages with mockito mocks that are not serializable (and why should they in a > unit test). I am using workarounds now. > > Is there an

Re: Trouble creating a behaviour that adds JS and also a Body onLoad event

2010-07-31 Thread Martin Makundi
ks Martin. > > > The progression to more advanced Wicket certainly requires more web specific > knowledge that Wicket has shielded me from in the past :) > > > On Sat, Jul 31, 2010 at 12:48 PM, Martin Makundi < > martin.maku...@koodaripalvelut.com> wrote: > >> Headerc

Re: Trouble creating a behaviour that adds JS and also a Body onLoad event

2010-07-31 Thread Martin Makundi
gt; > On Fri, Jul 30, 2010 at 7:03 PM, Martin Makundi < > martin.maku...@koodaripalvelut.com> wrote: > >> Hi! >> >> You could try this: >> >> public class HomePage extends WebPage implements IHeaderContributor { >> �...@override >>  publi

Re: Trouble creating a behaviour that adds JS and also a Body onLoad event

2010-07-30 Thread Martin Makundi
Hi! You could try this: public class HomePage extends WebPage implements IHeaderContributor { @Override public void renderHead(IHeaderResponse response) { response.renderOnLoadJavascript(javascript) } ** Martin 2010/7/30 Mark Doyle : > Firstly, I'm having some trouble finding a decen

Re: How to set the value of a Drop Down Choice

2010-07-27 Thread Martin Makundi
Have you tried if setDefaultModelObject() works for you? ** Martin 2010/7/27 Eric Reagan : > Hello, >      I was wondering how to set the currently selected value for a > DropDownList? Currently I have a .properties file which sets the value when > I have a null selection, however, I was wonderin

Re: Bug or feature - strange behavior?

2010-07-27 Thread Martin Makundi
der. The string is only rendered if > the same string >  * hasn't been rendered before. > > Each sequence is rendered only once! So you need to pass the whole CSS in > one pass: open+body+close > > On Tue, Jul 27, 2010 at 5:48 PM, Martin Makundi < > martin.maku...@koo

Bug or feature - strange behavior?

2010-07-27 Thread Martin Makundi
Hi! Is it abug or a feature that if I have the following: public void renderHead(IHeaderResponse response) { // Tweak 1 response.renderString(CssUtils.INLINE_OPEN_TAG); response.renderString("div.upper-background-canvas { background: url(/images/template-bg.png) repeat-x rgb(5

Re: ListMultipleChoice Update Model from Choices

2010-07-27 Thread Martin Makundi
modelChanging(); model.setObject(object); modelChanged(); } ** Martin > On Tue, Jul 27, 2010 at 3:05 PM, Martin Makundi < > martin.maku...@koodaripalvelut.com> wrote: &g

Re: ListMultipleChoice Update Model from Choices

2010-07-27 Thread Martin Makundi
Hi! > componentInstance.modelChanged(); > componentInstance.setModelObject(selectedChoice); Note: componentInstance.setModelObject will call modelChanged from within if the model is actually changed > 1. On the Form  the user types in some information and then hits Save. > 2. The form comes back

Wicket Candy?

2010-07-26 Thread Martin Makundi
Hi! Has someone implemented "Candy" on Wicket as an extension to tabbed panels? http://vimeo.com/13560319 ** Martin - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicke

Re: How to put a loading cursor in ajaxsubmitlink?

2010-07-24 Thread Martin Makundi
http://www.wicket-library.com/wicket-examples/ajax/links.0 2010/7/24 Gustavo Henrique : > Hi! > How to put a loading cursor in ajaxsubmitlink? > > thanks! > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additi

Re: Lazy Initialization Question

2010-07-24 Thread Martin Makundi
o > session or session was closed > > The error occurs inside a service method, called from a wicket link > > add(new Link("link", getAccount()) { > �...@override >  public void onClick() { >    getApplicationService().doThing(getModelObject()); >  } > }); &

Re: Lazy Initialization Question

2010-07-24 Thread Martin Makundi
Then I think you need to open a session to activate lazy fetching. 2010/7/24 Sam Barrow : > Session factory, sorry. > > On Sat, 2010-07-24 at 12:31 +0300, Martin Makundi wrote: >> Session factory or also an open session? >> >> ** >> Martin >> >> 2010/

Re: Lazy Initialization Question

2010-07-24 Thread Martin Makundi
w >> > RepositoryDataProvider(getOrderRepository()) { >> >                       �...@override >> >                        protected List load() { >> >                                return new >> > ArrayList(getClientModelObject().getOrders()); >> >

Re: Lazy Initialization Question

2010-07-24 Thread Martin Makundi
                   return new > ArrayList(getClientModelObject().getOrders()); >                        } >                }; > > > On Sat, 2010-07-24 at 12:07 +0300, Martin Makundi wrote: >> It's difficult to comment exactly not knowing the actual use case and >> backgrou

Re: Lazy Initialization Question

2010-07-24 Thread Martin Makundi
ernative I've found is DTOs, which would not be practical at > all, we have a very large domain model. > > On Sat, 2010-07-24 at 11:58 +0300, Martin Makundi wrote: >> I would avoid using lazy entities in GUI. >> >> ** >> Martin >> >> 2010/7/24

Re: Lazy Initialization Question

2010-07-24 Thread Martin Makundi
I would avoid using lazy entities in GUI. ** Martin 2010/7/24 Sam Barrow : > The entitymodel accesses a generic repository implementation. So I would > definitely need to use open session in view to avoid these? > > On Sat, 2010-07-24 at 11:29 +0300, Martin Makundi wrote: >>

Re: Lazy Initialization Question

2010-07-24 Thread Martin Makundi
I would recommend against making your GUI dependent on persistence container... ...but yes you will need active database connection for lazy loading entities. ** Martin 2010/7/24 Sam Barrow : > I'm getting hibernate lazy initialization exceptions. I was under the > impression that a smart entity

Re: Sub tabs in Tabbed Panel

2010-07-23 Thread Martin Makundi
Hi! This is littlebit different from tabbedpanel. Here you need all markup visible (for javascript). It is doable but you will need to tweak something to extract sub menu infromation before it is selected. ** Martin 2010/7/23 Mark Doyle : > Hi all, > > Is there a component that will allows me to

Re: ListMultipleChoice Update Model from Choices

2010-07-23 Thread Martin Makundi
en if I dont use it since the > Pallete offers it. > Thanks !! > Niv > > On Fri, Jul 23, 2010 at 5:31 PM, Martin Makundi < > martin.maku...@koodaripalvelut.com> wrote: > >> Hi! >> >> Did you notice wicket has a built-in component called palette tha

Re: ListMultipleChoice Update Model from Choices

2010-07-23 Thread Martin Makundi
Hi! Did you notice wicket has a built-in component called palette that can do this for you? http://wicketstuff.org/wicket13/compref/?wicket:bookmarkablePage=:org.apache.wicket.examples.compref.PalettePage ** Martin 2010/7/23 Nivedan Nadaraj : > Hi All, > > I use the ListMultipleChoice(LMC) in a

Re: OutOfMemoryError PermGen Space...

2010-07-22 Thread Martin Makundi
You did try to change your permgen setting? http://rimuhosting.com/knowledgebase/linux/java/-Xmx-settings ** Martin 2010/7/22 James Carman : > Oops!  I must not have copied that line.  All it said was "PermGen space" > > On Thu, Jul 22, 2010 at 3:25 PM, Martin Makundi >

Re: OutOfMemoryError PermGen Space...

2010-07-22 Thread Martin Makundi
Where is the outofmemoryerror ? ** Martin 2010/7/22 James Carman : > I'm running Wicket 1.4.9 and Sun's JDK 1.6.0_20 on a RHEL4 64-bit machine. > > > On Thu, Jul 22, 2010 at 2:30 PM, James Carman > wrote: >> Guys, our production server is running into an error from time to >> time.  I get the be

Re: How to be a Top Wicket Developer

2010-07-22 Thread Martin Makundi
your car by adding detailing or a glossy paint job. " So pimping wicket 1.5 would mean making it 'cooler'. Also pimped out word is used: http://dictionary.reference.com/browse/pimped-out So please take no offense ;] ** Martin 2010/7/22 Martin Makundi : > I thought Pim

Re: How to be a Top Wicket Developer

2010-07-22 Thread Martin Makundi
f true > knoweldge. I request moderator to remove anything that offends. > My apologies.. > Cheers > > > On Fri, Jul 23, 2010 at 12:12 AM, Nivedan Nadaraj > wrote: > >> Cheers mate..but i lost u in the end of that line... >> >> >> On Thu, Jul

Re: How to be a Top Wicket Developer

2010-07-22 Thread Martin Makundi
Fix a few core bugs and pimp 1.5 ;] ** Martin 2010/7/22 Nivedan Nadaraj : > Hi Guys > > This is off topic but how does one become a top developer for wicket? What > do you think brings forth that talent and creativity? > Cheers > Niv >

Re: Standard way to internationalize a website with /en, /de ?

2010-07-22 Thread Martin Makundi
Hi! You have XX_en.properties XX_de.properties etc. ** Martin 2010/7/22 Laurentiu Trica : > Hello, > > Is there a standard and easy way to add the language parameter in the URL of > an existing app? > I would like to have the www.example.com/en for English language and > www.example.com/de for

Re: Animated page switch possible?

2010-07-21 Thread Martin Makundi
Just do it with static html. After few minutes of heavy use they will probably decide otherwise. ** Martin 2010/7/21 Per Newgro : > They would like to see it in action. Then they decide. > > Per > > - > To unsubscribe, e-mail: us

Re: Animated page switch possible?

2010-07-21 Thread Martin Makundi
Have you asked your users if they like it? ** Martin 2010/7/21 Per Newgro : > Hi *, > > has someone implemented an animation while switching pages with > setResponsePage? > I would like to use effects like scriptaculous.Effect.Grow or Shrink while > switching pages. > > Cheers > Per > > -

Re: wicket hell

2010-07-20 Thread Martin Makundi
Hi! > 1. Hierarchy issues - The hierarchy is very strict and not like the Java > hierarchy.  If you want to reference a component, it must be added > properly in the markup and in the java code.  This can be caught at > compile time, but it is still takes time getting used to. > Note: I am not say

Re: HowTo inject FeedbackPanel

2010-07-20 Thread Martin Makundi
Yes! Igor's solution sounds very generic... could it be a swith/setting/option in the framework that can simply be "turned on"? ** Martin 2010/7/20 jcgarciam : > > I guess what Martin and James talk about is having a FeedbackPanel at the > top and a lot component (panels) ajaxified which only up

Re: HowTo inject FeedbackPanel

2010-07-20 Thread Martin Makundi
ically? > > On Tue, Jul 20, 2010 at 8:44 AM, Martin Makundi > wrote: >> Hi! >> >> I don't like passing feedbackpanel to subpanels and I don't like the >> idea using visitors/component-search for looking it up in page >> hierarchy because of its po

HowTo inject FeedbackPanel

2010-07-20 Thread Martin Makundi
Hi! I don't like passing feedbackpanel to subpanels and I don't like the idea using visitors/component-search for looking it up in page hierarchy because of its potential volatility... Has some of you pals come up with a nice way of injecting feedbackpanel references to children or something? Or

Re: How to prevent rendering of unauthorized components?

2010-07-19 Thread Martin Makundi
out to have an clean redirect to login, it would to be possible if you > know that the page will to have some restriction before you start render it. > > AbstractRequestCycleProcessor > > On Fri, Jul 16, 2010 at 5:31 PM, Martin Makundi < > martin.maku...@koodaripalvelut.com&g

Re: I can't subscribe to this list

2010-07-18 Thread Martin Makundi
Seems to work fine? ** Martin 2010/7/18 Zoran Jeremic : > I have tried to subscribe to wicket-user list, but after I confirm in > "confirm subscribe to users-al...@wicket.apache.org" email, I don't get any > confirmation. My settings show that I'm not subsribed, and I can't post to > mailing list

Re: How to prevent rendering of unauthorized components?

2010-07-16 Thread Martin Makundi
you can > just remove the action restriction from the erroneous component. > > On Fri, Jul 16, 2010 at 3:06 PM, Martin Makundi < > martin.maku...@koodaripalvelut.com> wrote: > >> Do you have an idea where the leak occurs so I can prevent this? >> >> ** >&

Re: How to prevent rendering of unauthorized components?

2010-07-16 Thread Martin Makundi
should be able to implement this > yourself.. I know this is vague. I'd start by looking in the source of > wicket auth.. > > regards Nino > > 2010/7/16 Martin Makundi > >> I get this exception.. I don't want it ;] I want wicket to serve >> "onunauthor

Re: How to prevent rendering of unauthorized components?

2010-07-16 Thread Martin Makundi
I get this exception.. I don't want it ;] I want wicket to serve "onunauthorizedaccess" page. ** Martin 2010/7/16 nino martinez wael : > Hmm do you end up with an exception or? > > 2010/7/15 Martin Makundi > >> Hi! >> >> I would like to avoid

Re: Loading static javascript

2010-07-15 Thread Martin Makundi
e. > when I give url (this file can be accessed via url also) it's working, but > not with a filesystem path > and I really need not to pass by filesytem... > > On Jul 15, 2010, at 6:06 PM, Martin Makundi wrote: > > This is easier: > >  response.renderJavascriptR

Re: Loading static javascript

2010-07-15 Thread Martin Makundi
This is easier: response.renderJavascriptReference("/js/jquery.js"); ** Martin 2010/7/15 Jarosz Yohan : > Hello, > > I'm trying to load statatic js files. I 'm using in the init of the > application > > getResourceSettings().addResourceFolder("/somePath/"); > resourceSettings.setResourceSt

How to prevent rendering of unauthorized components?

2010-07-15 Thread Martin Makundi
Hi! I would like to avoid this error, to prevent the render alltogether. How can I do that? 2010-07-15 17:15:52,117 75919560 [24056...@qtp-13963314-568] ERROR RequestCycle - Component [Page class = com.mycompany.application.view.application.MainPage, id = 0, version = 3, ajax = 1] does not permi

Re: Models and panel updates

2010-07-15 Thread Martin Makundi
you need to add the updated panel into target: target.addComponent(panelToBeUpdated); 2010/7/15 Mansour Al Akeel : > I just tried it. It doesn't update the panel. Here's the full code: > > public class ProductDetails extends Panel { > >       �...@ejb >        private ProductServicesLocal produ

Re: Models and panel updates

2010-07-15 Thread Martin Makundi
Hi! I would dis-advice you using compoundpropertymodel. Dropping it will make everything more explicit and clear all your problems. Using compoundpropertymodel you will get all kinds of surprises.. sometimes, and spend lot of extra time resolving. ** Martin 2010/7/15 Mansour Al Akeel : > Hello a

Re: Logging

2010-07-15 Thread Martin Makundi
That's a whole another story ... ;) ** Martin 2010/7/15 Josh Kamau : > Thanks Martin. I wanted to make sure am doing the right thing.. > > Regards. > On Thu, Jul 15, 2010 at 10:59 AM, Martin Makundi < > martin.maku...@koodaripalvelut.com> wrote: > >>    

Re: Logging

2010-07-15 Thread Martin Makundi
private static final Logger log = LoggerFactory.getLogger(WebPage.class); 2010/7/15 Josh Kamau : > Hi guys; > > I know wicket comes with pre configured logging . How do i get hold of the > Logger object so that i can log messages in my pages and panels? > > regards. > > Josh. >

Re: refreshing fragment

2010-07-12 Thread Martin Makundi
k so.:( > > On Mon, Jul 12, 2010 at 11:15 AM, Martin Makundi < > martin.maku...@koodaripalvelut.com> wrote: > >> No validation error? >> >> ** >> Martin >> >> 2010/7/12 Anna Simbirtsev : >> > I took out the wicket enclosure, still does

Re: refreshing fragment

2010-07-12 Thread Martin Makundi
                >> >                            > > type="text" onfocus="this.className='';"/> >> >                         >> >                         >> >                            > > href="#" class="button">SUBMIT >> >      

Re: refreshing fragment

2010-07-12 Thread Martin Makundi
                type="text" onfocus="this.className='';"/> >                         >                         >                             href="#" class="button">SUBMIT >                         > >                       &

Re: refreshing fragment

2010-07-12 Thread Martin Makundi
what is your fragment about ? does it have markupid? 2010/7/12 Anna Simbirtsev : > Hi, > > I have a listview inside a fragment. Listview has a text field comment. > > > Fragment f = new Fragment("fragment", "fragmentid", form2); >        f.setOutputMarkupId(true); >        form.add(f); > > final

Re: Problem with onComponentTag in a ListView

2010-07-10 Thread Martin Makundi
Hi! Yeah.. I hit my head against the wall for a while for this one ... LISTVIEW ONCOMPONENTTAG IS NEVER CALLED. If you have onPopulate.. the component whose ONCOMPONENTTAG you are overriding is LISTVIEW. Yeah, it's a dummy wrapper for the repeater so it is never "rendered". It does not have its

Re: Unauthorized page instantiation, why does it occur and how to prevent it?

2010-07-09 Thread Martin Makundi
isActionAuthorized(Component component, Action action) { if (instanceOf(component.getClass(), Page.class)) { return isPageAuthorized(component.getClass()); } return super.isActionAuthorized(component, action); } 2010/7/9 Martin Makundi : > Or is it possible that this is

Re: Question - Does Wicket really initialize a page instance once?

2010-07-09 Thread Martin Makundi
ion... But you can rely on object values, so if > you correctly implement hash and equals it should be fine. > > On Wed, Jul 7, 2010 at 10:48 PM, Martin Makundi [via Apache Wicket] < > ml-node+2281423-751388596-293...@n4.nabble.com > >> >> wrote: > >> Also yes

Re: How to combine a form and a link that submit the same page?

2010-07-09 Thread Martin Makundi
a form. > > I decided to sidestep the whole issue by using the DataView and DataProvider > classes. I was hoping to do things in a more stateless way but I guess > that's more trouble than its worth for now. > > Thanks for the help. > > > > > On 9 July 2010

Re: Unauthorized page instantiation, why does it occur and how to prevent it?

2010-07-09 Thread Martin Makundi
Or is it possible that this is an OLD instance of a page (in PAGEMAP) and it is being rendered even if user is no longer authorized??? How can this be legal? Is it a bug or am I missing a setting somewhere? ** Martin 2010/7/9 Martin Makundi : > Hi! > > I get lots of these except

Unauthorized page instantiation, why does it occur and how to prevent it?

2010-07-09 Thread Martin Makundi
Hi! I get lots of these exceptions when persumably people use our application in produciton from bookmarks pointing to dynamic links and their session is out. How can this happen? The particular page requires authentiacation which is handled via AbstractPageAuthorizationStrategy#isPageAuthorized(

Re: How to combine a form and a link that submit the same page?

2010-07-08 Thread Martin Makundi
Hi! Few points to consider: 1. I hope you do not parse pageParameters manually, let wicket handle that for simple cases. 2. Don't allow your paging buttons to submit data, set button.setDefaultFormProcessing(false); 3. Separate your search form and other forms from each other: search criteria

Re: Question - Does Wicket really initialize a page instance once?

2010-07-07 Thread Martin Makundi
Also yes ;) 2010/7/7 James Carman : > 2010/7/7 Martin Makundi : >> But remember... not being reconstructed does not mean that you won't >> have MULTIPLE INSTANCES of the same page. >> >> ... thanks to serialization ;)) so be warned if you code something >&g

Re: Question - Does Wicket really initialize a page instance once?

2010-07-07 Thread Martin Makundi
But remember... not being reconstructed does not mean that you won't have MULTIPLE INSTANCES of the same page. ... thanks to serialization ;)) so be warned if you code something that depends on instances. ** Martin 2010/7/7 Jeremy Thomerson : > 2010/7/7 西门烧雪 Simon > >> I have read that "in

Re: Dropdownchoice selection to trigger change of form

2010-07-06 Thread Martin Makundi
First of all.. I would not use vehicleIndex. Take that away. ** Martin 2010/7/7 goody44 : > > Thanks for your reply. > I tried what you said plus a lot of variation but haven't got it to work > yet. Using the ajax debugger I noticed that the panel is getting rerendered > but not with the new data

Re: ModalWindow - Question

2010-07-06 Thread Martin Makundi
why not use close(target)? ** Martin 2010/7/6 Alis : > > > Hello! i´m done a ModalWindow the question, where it's show two button: yes > / no. When the user do click the button,  i done a close the ModalWindow and > have a error. > > Help me! > > >  AjaxButton yesB= new AjaxButton("YesButton"){ >

Re: Configure Wicket to detect some special HTML characters?

2010-07-06 Thread Martin Makundi
t;> -- sent from my smartphone - please excuse formatting and >> spelling errors >> >> On Jul 6, 2010 12:16 AM, "David Chang" >> wrote: >> >> I dont want to save these characters into the database. >> >> >> --- On Tue, 7/6/10, Martin M

Re: Configure Wicket to detect some special HTML characters?

2010-07-05 Thread Martin Makundi
> I dont want to save these characters into the database. Why not? Why are you inputting data that you don't want to put into database? ** Martin > > > --- On Tue, 7/6/10, Martin Makundi wrote: > >> From: Martin Makundi >> Subject: Re: Configure Wicket to det

Re: Displaying labels instead of field keynames in error messages

2010-07-05 Thread Martin Makundi
> Or I have to rename all my forms fields to the same values as their labels > are? Yes, rename. ** Martin 2010/7/6 Sigmar Muuga : > Hello, > when I validate my form, wicket gives me errors like this: > '"someFieldCode" is mandatory' etc. > > But how to use it like '"Some field" is mandatory'? >

Re: Configure Wicket to detect some special HTML characters?

2010-07-05 Thread Martin Makundi
Why would you want to do that? ** Martin 2010/7/6 David Chang : > If someone enters > > alert(1) > > in a wicket form's text field, > > can Wicket be configured to detect special characters such as angle brackets > and translate them into HTML entities before sending user input to database? > I

Re: Rating Component question (Starts example)

2010-07-05 Thread Martin Makundi
Can't say much without the code and markup. ** Martin 2010/7/5 Victor_Trapiello : > > but... the error that comes up is: > > org.apache.wicket.markup.MarkupNotFoundException: Base markup of inherited > markup not found. Component class: com.mycompany.RatingsPage Enable debug > messages for org.ap

Re: Rating Component question (Starts example)

2010-07-05 Thread Martin Makundi
The star is already included in the wicket/extensions jars. ** Martin 2010/7/5 Victor_Trapiello : > > Hello guys, > > I´m trying to integrate the Rating Component in my application, but I´m > having some minnor problems, let me see if you can help me.. > > I´m trying to get the pictures (I mean t

Re: Nested Repeaters in an HTML Table -- Uggh!

2010-07-02 Thread Martin Makundi
What is your problem with this? Inheritance? ** Martin 2010/7/2 duncan787 : > > I have been trying for several days to get this to work.  I am trying to > write a generic Wicket Panel that I can reuse to display columns and rows > from any given datasource. > > The generic Panel needs to support

Re: OutOfMemoryError with lots of unit tests

2010-06-28 Thread Martin Makundi
Try this as args: -Xms356m -Xmx1024m -XX:MaxPermSize=356m -XX:HeapDumpPath=c:/temp -Xss1024k Also you can reuse Application instance etc. ** Martin 2010/6/28 Swanthe Lindgren : > Hello > Has someone got any good tips about performing lots of render tests? We are > using TestNG and maven/surefi

Re: Dependent Models

2010-06-27 Thread Martin Makundi
Hi! > 1. Yes, I think I do use "Hollywood principle". The children do not call > Parent. I think you have it the wrong way around. The dependants should call the parent to ask status. Otherwise you have the parents running all around trying to find all the dependants. It's easier for the dependan

Re: Dependent Models

2010-06-27 Thread Martin Makundi
Do you use hollywood principle? ** Marti 2010/6/27 Andrei Razin : > > Hello. > > I have a problem: > > 1.There are 3 forms on the Page: GroupsForm, UsersForm, DocumentsForm. > Each of them reflects a Dcorrespoding Domain object and supposed to have a > Model. > > 2.Functionality: > Selecting a Gr

Encoding for wicket:message tag

2010-06-16 Thread Martin Makundi
Hi! We are using wicket:message tag to generate content for WAP. Wap is strict XML so it does not allow special characters. Is there a way to force wicket:message tag to escape encode its message? ** Martin - To unsubscribe, e-

Re: is this a bug in Model?

2010-06-15 Thread Martin Makundi
ture? > Igor? :) > > - Alex > > > -Original Message- > From: Martin Makundi [mailto:martin.maku...@koodaripalvelut.com] > Sent: Tuesday, June 15, 2010 6:11 AM > To: users@wicket.apache.org > Subject: Re: is this a bug in Model? > > I did something similar and

Re: is this a bug in Model?

2010-06-15 Thread Martin Makundi
I did something similar and it works. ** Martin 2010/6/15 Alex Rass : > Hi. > > Was writing some code and encountered that > org.apache.wicket.model.Model > > Always uses direct references to 'object' variable directly. And never as > getObject(). > This may hinder overriding methods. > > (I fou

Re: jQuery Accordion implementation

2010-06-10 Thread Martin Makundi
"Just do it" ;) 2010/6/10 Stefan Lindner : > I'm starting to implement jQuery's Accordion for jWicket now. Any > suggestions/wishes? > > Stefan > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional c

Re: custom html page

2010-05-28 Thread Martin Makundi
Hmm.. I wouldn't use string constants like that... use Class.getName() instead. ** Martin 2010/5/28 msalman : > > Martin, > > Thanks for your response. > > I did try ((CastToYourSession) Session.get()) and that part works.  I wanted > to do something as following: > > > public class MyOwnStreamLo

Re: custom html page

2010-05-27 Thread Martin Makundi
Hi! You can always get session ((CastToYourSession) Session.get()) Also wicket has few built-in ways to vary the style of your application: * https://cwiki.apache.org/WICKET/localization-and-skinning-of-applications.html * http://javathoughts.capesugarbird.com/2007/08/branding-wicket-application

Re: Google Analytics and Wicket Dynamic Urls

2010-05-22 Thread Martin Makundi
You have laws against collecting statistics about website usage? ** Martin 2010/5/22 nino martinez wael : > Ahh I understand.. Never crossed my mind, as I think we laws against > that in denmark (where I am living).. > > 2010/5/22 Martin Makundi : >> No. I do not want to omi

Re: Google Analytics and Wicket Dynamic Urls

2010-05-22 Thread Martin Makundi
No. I do not want to omit. I want to track stateful content. ** Martin 2010/5/22 nino martinez wael : > So on your pages that do not contain stateless content just omit the > ga js..? Should be simple and work, although depending on your > architecture.. > > 2010/5/22 Martin M

Re: Google Analytics and Wicket Dynamic Urls

2010-05-22 Thread Martin Makundi
Hmm... my problem was how to track not how to omit tracking ... ;] ** Martin 2010/5/22 nino martinez wael : > why not just omit the analytics js on the pages that you do not want track of? > > 2010/5/22 Martin Makundi : >> Hi! >> >> We would like to use google analy

Google Analytics and Wicket Dynamic Urls

2010-05-22 Thread Martin Makundi
Hi! We would like to use google analytics to track how users use our site. This means that the url should contain some information about on which page the user is on and furthermore google should be taught to ignore some of the redundant dynamic part like "wicket:interface=:1" which does not m

Re: WICKET-2882 Enclosures issue

2010-05-21 Thread Martin Makundi
Is this also same as: https://issues.apache.org/jira/browse/WICKET-2636 ? I whish this could be fixed for 1.4.9.1 ** Martin 2010/5/21 Chris Colman : > Enclosures have to be one of the top ten awesome features of wicket as > they allow us to wrap the many optional components in our CMS. They're

Re: Help me speed up my Wicket

2010-05-20 Thread Martin Makundi
Hi! > So you're doing ~60 network round trips for the calender component alone, if > I understand correctly, No, that's not it, you have misunderstood. No roundtrips. Just single pageload. Ajax events occur only if user clicks on components, but that is not the issue. The issue is the heavy marku

Re: Help me speed up my Wicket

2010-05-20 Thread Martin Makundi
loaded.. > > All done with ajax. > > It's just an idea, but I think it should help. However it causes more > load on the server I think. > > 2010/5/20 Martin Makundi : >> Yes.. what you mean cascade load? >> >> ** >> Martin >> >> 2010/5/2

Re: Help me speed up my Wicket

2010-05-20 Thread Martin Makundi
ade load the rows... > > 2010/5/19 Martin Makundi : >> Hmm.. can you show me an example of something like that, how is it done? >> >> ** >> Martin >> >> 2010/5/19 nino martinez wael : >>> about the lazyloading, I was thinking to cascade load the

Re: replace panel problems

2010-05-19 Thread Martin Makundi
Don't use jquery domready. Use wicket domready. ** Martin 2010/5/20 Ivoneta : > > I have one question! > > I assume when inicialize de GenericDomReadyTailJavaScriptBehavior, the > parameter should be a string with the JavaScript content, right? > > I could define the jQuery functions in a js file

Re: Help me speed up my Wicket

2010-05-19 Thread Martin Makundi
Hmm.. can you show me an example of something like that, how is it done? ** Martin 2010/5/19 nino martinez wael : > about the lazyloading, I was thinking to cascade load the rows after > page render, it should perform better in theory:)... > > 2010/5/19 Martin Makundi : >&

Re: Help me speed up my Wicket

2010-05-19 Thread Martin Makundi
uld work, but it's a little less "clean" than you normally >> would do in Wicket.  BUT - if you have proven that it's the rendering of all >> that extra AJAX string stuff that's slowing you down, then it's worth doing. >> >> -- >> Jeremy Thomerson >

Re: Help me speed up my Wicket

2010-05-19 Thread Martin Makundi
g of all > that extra AJAX string stuff that's slowing you down, then it's worth doing. > > -- > Jeremy Thomerson > http://www.wickettraining.com > > > > On Wed, May 19, 2010 at 11:09 AM, Martin Makundi < > martin.maku...@koodaripalvelut.com> wrote: > &

Re: Help me speed up my Wicket

2010-05-19 Thread Martin Makundi
te: > >> The easiest thing would probably to lazy load the rows somehow, how >> are load time pr row?.. Otherwise you could extract the long inline >> code into a seperate js and wrap them into induvidual methods, >> although I do not know if it makes page load faster or there

Re: Help me speed up my Wicket

2010-05-19 Thread Martin Makundi
somehow, how > are load time pr row?.. Lazy load.. load time doesn't seem to be an issue. It is equally slow to render even if rendered direclty from local hard drive as static file. ** Martin > > 2010/5/19 Martin Makundi : >> Hi! >> >> HELP! >> >> I hav

Help me speed up my Wicket

2010-05-19 Thread Martin Makundi
Hi! HELP! I have a problem. I have a table with 20 columns and 30 rows ("calendar"). The problem is that it renders very slowly in browsers. The reason is not directly network speed but it is the VERY heavy markup. Each table cell has 3 ajax components and the ajax call functions are lo

Re: drag and drop

2010-05-19 Thread Martin Makundi
If you have a patch, should be easy to get it accepted to jquery, no? 2010/5/19 Ernesto Reinaldo Barreiro : > Hi Istvan, > > Don't take me wrong but: can you "confirm" that any other third party > plugins you want to integrate with your application will work with the > patched version of jquery? I

<    1   2   3   4   5   6   7   8   9   10   >