TagTester and AJAX

2009-03-30 Thread Alexander Elsholz
Hi, i try to test my manipulated html tags with tagtester. it works fine, if i submit the form via formtester. but when i try to set value to request directlyand submit via ajax-button the tagtester failed - the attribute wasn't updated. her the code: - a simple ajax submit example where text in

problems with form submits and AJAX modal window

2009-04-06 Thread Alexander Elsholz
hi, i've problems with submitting my form in a modal window. when i use the same component (surrounded with a panel) directly on a page everything works fine. the problem is, that all component-models are set to null. in the request-map i found these parameters: -random:0.5499189677089167 -butt

No ajax-refresh after modalwindow

2009-04-15 Thread Alexander Elsholz
hi, i've different ajax-components (ajax-button) on my page. everytime the feedbackpanel was updated fine. after working with a modal window on my page the feedbackpanel will not update anymore when clicking the button. ajax-debug-console: INFO: Received ajax response (298 characters) INFO: but

auto focuslost

2009-06-08 Thread Alexander Elsholz
hi, i need a feature. when a user typed a number with a apecified length (zipcode, articelnumber and so on) the system should execute an auto focus lost and set the focus to the next field. has someone an idea how to solve this issue? thanks alex ---

putting a panel on dojo-component

2009-06-08 Thread Alexander Elsholz
hi, when i put a panel on dojos floatingpane i get this warning: DEBUG: DEPRECATED: dojo.widget.Manager.getImplementationName Could not locate widget implementation for "panel" in "wicket.widget" registered to namespace "wicket". Developers must specify correct namespaces for all non-Dojo widgets

DOJO Menu Items and AJAX-Target-Components

2009-06-14 Thread Alexander Elsholz
Hi, i use dojo menues in my application and mostly it works fine. but when an other ajax-call refreshed menu's target component the menu will not be displayed. it seams, that the markup-id of wicket-component changed after ajax-refresh and so the dojo-js cannot find the menu item for this wicket-c

Re: DOJO Menu Items and AJAX-Target-Components

2009-06-14 Thread Alexander Elsholz
hi, i don't remove/add the components. the hierarchy is constant. its a very simple app: -> add an ajaxlink and change the attributemodifier of a panel -> add a menu item to the same panel after rerendering the panel (after link clicked) the menu will no more be displayed. i've the same proble

Surround a panel with legend

2009-06-22 Thread Alexander Elsholz
hi, i want surround my components with titled boarders. the html-way to do this is legend. i have a page wich controls different panels the user adds. so the user can surround his component with legend. because of different reasons the page should surround the comoponent with titled border. is th

Multirequest Feedback

2009-10-13 Thread Alexander Elsholz
Hi, i use ajax-listeners to validate formcomponents onblur or onkeychanged. an ajax-event will processed and the validationmessage displyed on screen. works fine for one component. when i've more than one there is only the message for the last processed formcomponent. the other's will removed fro

Re: Multirequest Feedback

2009-10-13 Thread Alexander Elsholz
hi pedro, Pedro Santos gmail.com> writes: > you have many form components and only one feedback panel > - user put invalid entry on form component 1, panel show error 1 > - user put invalid entry on form component 2, panel show error 2, no longer > error 1 > this is it? that's it > 1 - you can c

Wicket GAE Performance

2009-10-27 Thread Alexander Elsholz
Hi, we build a wicket-application, running in gae - all works fine. but when deploying on gae-environment the performance is terrible (tried development and deploymentmode). an ajax-call takes more than 3 secounds. i logged all database-queries - no problem there. we lost time anywhere in wicket-r

Re: Wicket GAE Performance

2009-10-28 Thread Alexander Elsholz
Hi, i dont have any profiler. the problem is, that the application is slow when running on googles application engine. local, where i could profile aeverything is fine. where ist the best place in wicket to hoock performance measures? or are there any debug-messages which i could activate? thanka

Re: wicketTester.executeAjaxEvent not working

2010-01-11 Thread Alexander Elsholz
Hi, wicket 1.4? try: ((ServletWebRequest) baseWicketTester.getWicketRequest()).setAjax(true) mfg alex - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.

wicket security future - contribute!

2010-01-13 Thread Alexander Elsholz
hi wicket folks, in my last wicket projects i used wicket-auth roles and swarm/wasp. i think swarm/wasp is a really good base for larger web-applications. but we all know about the problem with swarm/wasp. i developed a few extensions for swarm, but its a lot of code and so nobody starts to mainta

switch css of option element in dropdownchoice

2010-01-13 Thread Alexander Elsholz
hi, i need to switch the style of an option element. i override the AbstractChoice#appendOptionHtml(...) copied the code and put my stuff in the middle. any other ideas? thanks alex - To unsubscribe, e-mail: users-unsubsc

Ajax and form handling and clearInput

2010-01-13 Thread Alexander Elsholz
Hi, i use a drop-down to switch some data in view. replace data in my model-bean class (pojo wraps different business objects) and repaints the form via ajax-on change event. (data binded via propertymodel) some fields are required. 1. all fields are valid, works fine 2. clear one field and try

Re: switch css of option element in dropdownchoice

2010-01-13 Thread Alexander Elsholz
Igor Vaynberg gmail.com> writes: > > use css selectors > > -igor > hi igor, thanks for really fast reply;-) i forgot - the css switchs programmatically (for different options, not all). so static selectors doesn't help thanks alex ---

Re: Ajax and form handling and clearInput

2010-01-13 Thread Alexander Elsholz
Igor Vaynberg gmail.com> writes: > > this is by design. formcomponents buffer input that is in error so it > can be redisplayed. you can use either form.clearinput() or for your > usecase a bit more appropriate form.modelchanged() to notify the model > that you have changed the backing model obj

Re: switch css of option element in dropdownchoice

2010-01-13 Thread Alexander Elsholz
Igor Vaynberg gmail.com> writes: > > then you are stuck doing what you are doing. you can request for some > methods to be added into ichoicerenderer such as getoptgroup() and > getcssclass(). maybe we can do that in 1.5 > > -igor hi igor, done. https://issues.apache.org/jira/browse/WICKET-26

Re: yui context menu after ajax request

2010-01-18 Thread Alexander Elsholz
rerender the menu javascripcode in ajaxevent. alex - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: DataView component path in WicketTester

2010-01-18 Thread Alexander Elsholz
hi, here my "hack" to test tables: override: newChildId() in your dataview - class. and build a common assert method... private static final String PATH_CELLS = ":cells:"; private static final String PATH_ROWS = ":rows:"; protected final void assertTable(String pTablePath, int

Re: yui context menu after ajax request

2010-01-18 Thread Alexander Elsholz
for my problem with dojo this works: public void refreshMenu(AjaxRequestTarget pTarget) { String js = "dojo.addOnLoad(function(){\n + menu.generateJS() + "\n});" ; pTarget.appendJavascript(sss); } and i know the same stuff wo

JBoss 5, JaaS, Wicket and ThreadLocal

2010-01-20 Thread Alexander Elsholz
Hi, im confused;-) With jboss 5 the security-client interceptor uses the SecurityAssociation Thread-Local variables to get the principal and credentials and put them into the rmi-call. the set will perform in login. hmm, thread local, multi-user-plattform, webcontainer - how should this work?

Re: Adding a form field at run time... is it possible?

2010-01-20 Thread Alexander Elsholz
hi, use a listview. the model contains wicket-components that you put on listview. if you have different html-elements introduce a wrapper: TextfieldWrapper, SpanWrapper etc what are panels that wrapps the component. alex -