Re: OOM in Tests with Wicket 6.7.0

2013-04-24 Thread northar
Looking through our tests, i found a test that rendered 50+ pages, in one
method, without calling tester.destroy afterwards. Fixing that solved our
problem and we now run 6.7.0. (Happily everafter:)
Also, none of the other tests we had ran destroy!!
Yes they do now!

Thanks for the hint about what could be causing this, it helped me find a
bug in our tests.



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/OOM-in-Tests-with-Wicket-6-7-0-tp4658111p4658218.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: OOM in Tests with Wicket 6.7.0

2013-04-22 Thread northar
Same issue here confirmed here to with 6.7.0 Thomas - wam bam , memory usage
to the top with wickettester. Reverting to 6.6.
Will try to profile and see if it's the same issue as already reported.


Martin Grigorov-4 wrote
 Hi,
 
 Yes. Another user also reported the same problem :
 https://issues.apache.org/jira/browse/WICKET-5147
 
 
 On Fri, Apr 19, 2013 at 2:27 PM, Thomas Heigl lt;

 thomas@

 gt; wrote:
 
 Hey Guys,

 Yesterday I upgraded our 6.6.0 app to 6.7.0 and my CI build broke
 immediately with OOM (Heap Space) exceptions while running our
 integration/smoke test suite. The suite renders all pages in the
 application using WicketTester and uses the full Spring application
 context.

 I tried increasing the Maven memory settings, but even doubling them to
 1.5g did not fix the issue. Downgrading to 6.6.0 fixed the problem.

 Have there been any changes to WicketTester that could cause such a
 memory
 leak? I can try profiling memory usage next week if necessary.

 Cheers,

 Thomas

 
 
 
 -- 
 Martin Grigorov
 jWeekend
 Training, Consulting, Development
 http://jWeekend.com lt;http://jweekend.com/gt;





--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/OOM-in-Tests-with-Wicket-6-7-0-tp4658111p4658178.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: WicketStuff HTML validator 1.5-rc3 released

2012-05-07 Thread northar
Any updates coming to this component soon, as it don't seem to be in the repo
at https://github.com/wicketstuff?

Are there any other good alternatives to this component for validating on
the fly in wicket?

Thanks for any hints!

/Northar


--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/WicketStuff-HTML-validator-1-5-rc3-released-tp3478279p4616629.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: WicketTester - getTagByWicketId

2012-03-14 Thread northar
Thanks for your reply.
Yes, didn't even know the application i work on had this configured, but
setStripWicketTags was the issue. Works now!


--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/WicketTester-getTagByWicketId-tp4470042p4471631.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



WicketTester - getTagByWicketId

2012-03-13 Thread northar
Learning more about wickettests, i would need some help with
getTagByWicketId(String wicketid). I can't get it to return anything else
than null. Stuff like:

 tester.clickLink(panel:mycontainer:mylistview:0:link, true);
  tester.assertListView(panel:mycontainer:listview, testArray);
and even 
getTagById(the name of a id for a div in my  panel);
works fine in my tests

but.. when testing stuff like
getTagByWicketId(the name of a wicket:id for a component). i only get
null.
ie tried stuff like
getTagByWicketId(panel);
getTagByWicketId(panel:mycontainer);
getTagByWicketId(mycontainer);
getTagByWicketId(panel:mycontainer:mylistview);

Any hints for me that i missed?





--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/WicketTester-getTagByWicketId-tp4470042p4470042.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



AutoCompleteTextField broken in IE9, wicket 1.5?

2012-02-20 Thread northar
Found that i don't get the basic autocompletetextfield to work in IE9,
To repeat, just try the example on wicketstuff.org/wicket/ajax/
in IE9 and Firefox. 
Works fine in Firefox, not at all in IE9.

Repeated locally. 1.4x version works fine in IE9, firefox etc.
Could anyone else verify/discard this, before i make an bugreport?
Just try the link for an quick way.



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/AutoCompleteTextField-broken-in-IE9-wicket-1-5-tp4405026p4405026.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: AutoCompleteTextField broken in IE9, wicket 1.5?

2012-02-20 Thread northar
Worked fine for 1.5.4! Thanks. Must have been fixed in between



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/AutoCompleteTextField-broken-in-IE9-wicket-1-5-tp4405026p4405051.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: objectautocomplete with first item selected

2012-02-19 Thread northar
Ok, now i researched some some more:
What i wan't to do: Have an autocompletetextbox with custom layout in the
dropdown. 
The default autocomplete fills the first criteria, but then i would like to
modify the html-output
thats created in the dropdown. The default output is final though and
outputs an list list this.

ulli textvalue=abcabc/lili textvalue=abdabd/li/ul

and default renderer for autocompletetextfield, method renderer is final.

public abstract class AbstractAutoCompleteRendererT implements
IAutoCompleteRendererT
{
private static final long serialVersionUID = 1L;

public final void render(final T object, final Response response, final
String criteria)
{
String textValue = getTextValue(object);
if (textValue == null)
{
throw new IllegalStateException(
A call to textValue(Object) returned an 
illegal value: null for object:
 +
object.toString());
}
textValue = textValue.replaceAll(\\\, quot;);

response.write(li textvalue=\quot;quot; + textValue +
quot;\quot;quot;);
final CharSequence handler = 
getOnSelectJavaScriptExpression(object);
if (handler != null)
{
response.write(quot; onselect=\quot;quot; + handler 
+ 'quot;');
}
response.write(quot;);
renderChoice(object, response, criteria);
response.write(/li);
}

public final void renderHeader(final Response response)
{
response.write(ul);
}

public final void renderFooter(final Response response, int count)
{
response.write(/ul);
}


What i would like to do, kind of:
ul class=a
  liCoffee/li
  liTea/li
  liCoca Cola/li
/ul
p NEXT IN LINE /p
ul class=b
  liCoffee and some other values/li
  liTea and adfd/li
  liCoca Cola/li
/ul


Are there any easy obvious ways to do this, that i'm missing?


--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/objectautocomplete-with-first-item-selected-tp3031312p4401863.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: objectautocomplete with first item selected

2012-02-17 Thread northar
ObjectautocompleteObjectAutoCompleteTextField sounds like what i need. 

Which artifact is it in, and do i need to add any special repo? Been
searching the mvnrepos  but can't find it.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/objectautocomplete-with-first-item-selected-tp3031312p4398535.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Can't open modal popups in ie8 or under

2011-12-30 Thread northar
Yes, tested with 1.5-snapshot now (not extensively), and it seems to work. My
project manager will be glad 


--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Can-t-open-modal-popups-in-ie8-or-under-tp4241461p4245134.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Modal IE8

2011-12-29 Thread northar
I can also confirm this. Is this reported in Jira, c and more important will
it be fixed for wicket 1.5.4? There are still people using IE8..:(

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Modal-IE8-tp4128656p4242591.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Can't open modal popups in ie8 or under

2011-12-29 Thread northar
Can confirm this bug, and would be glad to see it fixed for 1.5.4, as a lot
of users probaly still use ie8. Does 4241 really fix this?

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Can-t-open-modal-popups-in-ie8-or-under-tp4241461p4245024.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Can't open modal popups in ie8 or under

2011-12-29 Thread northar
I can also confirm this was working in 1.5.0 but not in 1.5.1 - 1.5.3. 

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Can-t-open-modal-popups-in-ie8-or-under-tp4241461p4245065.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Roles.clone

2010-08-04 Thread northar

Aha, so thats why they do the .clone.Thanks for the answer
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Roles-clone-tp2313319p2313988.html
Sent from the Wicket - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org