I haven't used wicket cometd... so what I say might be far from
reality but... if you are in the middle of an AJAX request cycle I
think you can always use AjaxRequestTarget .get() to access the
(thread local) instance of AjaxRequestTarget. I don't know if you can
use this on your situation but
two things that you can try
1)you can try ajaxrequesttarget.get() in listener's onevent it may or may
not give you ajaxrequesttarget,
if it doesn't ,it will give you null,if it gives you null wich is my guess
;),try second point
2) you can just extend modalwindow and just create your own
public
Hi,
Instead of switching between components, i think that using the setVisible
method of component class could be a better solution. This is the principle
i read in the in Wicket in Action book when the want to hide a container of
other thing.
I hope this could help you
Andrea
On Thu, Jul 22,
I have done the setVisible too for hiding components. Sometimes if there
were a group of them, placing them in a container(WebMarkupContainer)
and setting the visibility to t/f on the container works too.
Cheers
Niv
On Fri, Jul 23, 2010 at 2:36 PM, Andrea Selva selva.an...@gmail.com wrote:
Hi team
Can i put internationalization properties files per panel or i have to do it
per page.
eg. i have MyPanel.html, MyPanel.java, can i have MyPanel.properties to have
messages for the panel?
regards.
Josh
yeah,you can..
-
vineet semwal
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Internationalization-on-panels-tp2299768p2299771.html
Sent from the Wicket - User mailing list archive at Nabble.com.
Yes
On Fri, Jul 23, 2010 at 12:12 AM, Josh Kamau joshnet2...@gmail.com wrote:
Hi team
Can i put internationalization properties files per panel or i have to do it
per page.
eg. i have MyPanel.html, MyPanel.java, can i have MyPanel.properties to have
messages for the panel?
regards.
Josh
Thanks all.
On Fri, Jul 23, 2010 at 10:16 AM, Anh 7za...@gmail.com wrote:
Yes
On Fri, Jul 23, 2010 at 12:12 AM, Josh Kamau joshnet2...@gmail.com
wrote:
Hi team
Can i put internationalization properties files per panel or i have to do
it
per page.
eg. i have MyPanel.html,
Since Wicket .1.4.7 (I think) you can do as well:
out.println(?xml version='1.0'
encoding='UTF-8'?ajax-responseajax-redirect
+ httpRequest.getContextPath() + /ajax-redirect/ajax-response);
I am not completely sure about the syntax, but it something like this.
I'll add wiki page for this if
On 22/07/10 21:53, James Carman wrote:
I'm running Tomcat, so it's:
$ env | grep CATALINA
CATALINA_OPTS= -Xmx4096m -Xms2048m -XX:MaxPermSize=1024m
-XX:+UseParallelGC -server
Well, if you have increased memory for the permanent generation several
times and keep seeing this error, for me this
Hey Guys,
any clue about my (below) post?
On Thu, Jul 22, 2010 at 5:51 PM, Antonio Mauriello
antoniomau...@gmail.comwrote:
Hi All,
I have an AutoCompleteTextField element that using the
AjaxFormComponentUpdatingBehavior( onchange ) allows me to pass the
selection made from the dropdown
i think the problem with those memory analyzers that they give you the heap
Not the non heap, which is currently the problem..
If really constantly classes are leaked without that you constantly
redeploy web applications (because that would be a leak somewhere in
wicket or the app itself)
but the
Yeah, I do something similar.
You can override the isVisible method in your components, possibly
adding some logic that ties the visibility to a variable. You only
have to manage the one variable then and all the components will know
when to display or not.
On Fri, Jul 23, 2010 at 9:02 AM,
hmm...sorry, i don't understand what you mean.
Here a small example how to implement this.
HTML-Template:
span wicket:id=myspan class=nowrap/span
CSS:
.nowrap {white-space:nowrap;}
Java:
add(new Label(myspan, new ModelString(Some long Text...));
Hope it helps. :)
Witold
Am Thu, 22 Jul 2010
Hi All,
I use the ListMultipleChoice(LMC) in a different way. I have one control
(LMC) on the left representing a list of items Available (roles for example)
I have another LMC to represent Selected items(roles)
The ADD and ADD ALL buttons move the selected items' from Available LMC to
Selected
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 shravann...@gmail.com:
Hi All,
I use the
Hey Mate!!,
That is classic. Will check it out, great. Again if you do know how I can
address the issue I had will be good to know even 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!
Hi!
Yeah, if you look at the Palette you can se it is not trivial so it
will save you a lot of time ;)
**
Martin
2010/7/23 Nivedan Nadaraj shravann...@gmail.com:
Hey Mate!!,
That is classic. Will check it out, great. Again if you do know how I can
address the issue I had will be good to
Hi all,
Is there a component that will allows me to add a subset of panel
links to a Tabbed panel which themselves link to new panels?
Perhaps an example of the finished article would explain it better :)
http://www.webdesignerwall.com/tutorials/css3-dropdown-menu/
I guess some tab links would
Don't forget using the wicket:enclosure tag. For example:
wicket:enclosure child=lnk1
# One
|
# Two
/wicket:enclosure
Link lnk1 = new Link(lnk1)
{
private static final long serialVersionUID = 1L;
@Override
public void onClick()
{
//
// ...
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 markjohndo...@googlemail.com:
Hi all,
Is there a
My HTML code did not come out correctly. I wanted it displayed as:
wicket:enclosure child=lnk1
lt;a wicket:id=lnk1 href=# tabindex=2001gt;Onelt;/agt;
|
lt;a wicket:id=lnk2 href=# tabindex=2002gt;Twolt;/agt;
/wicket:enclosure
--
View this message in context:
Igor Vaynberg wrote:
the added value is that if wicket detects that the set is a noop
because the objects are the same it doesnt need to create a new
version of the page.
ok, makes more sense :)
I was quite a surprised though, I had not heard of it at all even read
all these wicket books
impossible
there is so such thing as ParameterizedType for the example you give..
if you do:
TextFieldInteger field = new TextFieldInteger();
then at runtime that information isnt there anymore. Its gone. welcome
to type erasure..
I think stuff like that is only there if you do:
class
Johan,
This shouldn't happen if the number of class similar to B are
finite, correct (at least not with 1GB of permgen)? Java shouldn't be
generating constructors multiple times. There would be one
ObjectStreamClass for each type of object (as I understand the code),
since they use that
On 23/07/10 10:19, Johan Compagner wrote:
i think the problem with those memory analyzers that they give you the heap
Not the non heap, which is currently the problem..
Yes, but they are the only thing you have if you do not use a profiler
to look at the running app.
And since the permanent
On 07/22/10 20:30, James Carman wrote:
Guys, our production server is running into an error from time to
time. I get the below stack trace after the site has been running for
a while. It's not running in development mode. It's running in
deployment mode. Any thoughts?
Are you by chance
I am not using intern() anywhere. Who knows if any of the gazillion
third-party libraries are using it, though. Time to fire up jmap
On Fri, Jul 23, 2010 at 7:24 AM, Thomas Kappler
thomas.kapp...@isb-sib.ch wrote:
On 07/22/10 20:30, James Carman wrote:
Guys, our production server is running
On Fri, Jul 23, 2010 at 12:38 AM, Igor Vaynberg igor.vaynb...@gmail.comwrote:
setdefaultmodel()
-igor
Already tried it, ignoring the scary javadocs, and it works!
Hi,
I would like to disable browser caching of certain pages. What is the
simplest way to to do this?
Right now I am removing the page from the pagemap after form submit, but the
browser still goes back and only resubmission is prevented.
Using the HTML expire tag is an option but it is
Can anyone give me a hint, please? I know it isn't really a big deal but the
QA treat it as a bug. I'm stuck and I can't proceed. :-(
On 23 July 2010 17:26, Otan ghostfigh...@gmail.com wrote:
There is no ajax in my page, no form also. But I keep seeing this in the
generated html:
script
as far as i see now if i look that the stacktrace:
java.io.ObjectStreamClass.init(ObjectStreamClass.java:413)
java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:310
so ObjectSTreamClass.lookup call there the constructor of ObjectStreamClass
lookup does check for caches but those are
Solved it already. Just have to override setHeaders() in my page:
aResponse.setHeader(Pragma, no-cache);
aResponse.setHeader(Cache-Control,
no-cache, max-age=0, must-revalidate, no-store);
On Fri, Jul 23, 2010 at 1:39 PM, Erik Brakkee erik.brak...@gmail.comwrote:
+1
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Clean-URLs-without-wicket-interface-0-stuff-is-it-possible-tp2297274p2300069.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
Here's an interesting error message from jvisualvm:
*** Profiler engine warning: class
sun.reflect.GeneratedConstructorAccessor1 that should be instrumented
is not loaded by target VM
*** Requested classloader: sun.reflect.delegatingclassloa...@7dc5ddc9,
its class = class
On Fri, Jul 23, 2010 at 2:12 PM, James Carman
ja...@carmanconsulting.com wrote:
Here's an interesting error message from jvisualvm:
*** Profiler engine warning: class
sun.reflect.GeneratedConstructorAccessor1 that should be instrumented
is not loaded by target VM
*** Requested classloader:
On Fri, Jul 23, 2010 at 8:20 AM, Martijn Dashorst
martijn.dasho...@gmail.com wrote:
In these kind of cases I've learnt to trust Johan.
It appears I'm learning that myself!
-
To unsubscribe, e-mail:
ahh you are already at nr 394 of those :)
Let see how for they come :)
On Fri, Jul 23, 2010 at 14:41, James Carman ja...@carmanconsulting.com wrote:
*** Profiler engine warning: class
sun.reflect.GeneratedSerializationConstructorAccessor394 that should
be instrumented is not loaded by target
Hi all,
I 'm using AJP to connect my application to tomcat on
www.serverA.comhttp://www.serverA.com
And I want to access my application with another
www.serverB.comhttp://www.serverB.com
So I'm using proxyPass directive on serverB to process the requests.
I have no problem in accessing
Hi All,
I had another look at wicket-autocomplete.js and it's clear there is no way
to hold the suggestion list visible once one of the item is selected.
(there is the call to hideAutocomplete() )
So at this stage my question is.. is there a way to load my own js file to
override the
Greetings,
I recently ran into an issue involving the swapping of fragments on an ajax
event. The scenario looks roughly like this:
1) User comes to page with a form on it
2) User fills in form and clicks submit
3) Form is validated and accepted and a confirmation message is shown
In this case
either some component on your page needs those and includes them
(AjaxLink) or something is including them manually.
-igor
On Fri, Jul 23, 2010 at 4:42 AM, Otan ghostfigh...@gmail.com wrote:
Can anyone give me a hint, please? I know it isn't really a big deal but the
QA treat it as a bug. I'm
Hi Martin,
thanks. the tip was insightful. though am confused about one point.
So the examples load resources via WebApplication. While your suggestion
seems to point towards WebPage. As in the code below, I've inserted the
MARKUP of the child page ..but then that is no inheritance. Is this
no need for multiple page classes
class contentpage extends basepage {
public contentpage(final pageparameters params) {
add(new label(content, new loadabledetachablemodel() {
public object load() {
return loadcontentfromtemplate(params.get(template));
then
Cheers mate thanks for that. Only I thought it was one step closer to
building my own component and know the details of it. But yeah point taken.
Cheers
Nive
On Fri, Jul 23, 2010 at 5:43 PM, Martin Makundi
martin.maku...@koodaripalvelut.com wrote:
Hi!
Yeah, if you look at the Palette you
I was just looking around for my dunce cap after noticing this little gotcha
- and I thought of this forum instead to share my moment of
not-so-brilliance:
public LoginForm(final String id) {
... other stuff ...
add(new
Doh!
On Jul 23, 2010 3:13 PM, Jim Pinkham pinkh...@gmail.com wrote:
I was just looking around for my dunce cap after noticing this little
gotcha
- and I thought of this forum instead to share my moment of
not-so-brilliance:
public LoginForm(final String id) {
... other stuff ...
add(new
I'm pretty confused here...
It looks like WICKET-2771 was implemented in the 1.4.x branch:
All we know that. On the other hand it is very practice to solve it in that
way. What tools or framework do you use instead?
On Fri, Jul 23, 2010 at 5:25 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote:
wicket property files are meant for externalizing ui strings, not
configuration values :)
java.util.Properties
-igor
On Fri, Jul 23, 2010 at 2:32 PM, Fernando Wermus
fernando.wer...@gmail.com wrote:
All we know that. On the other hand it is very practice to solve it in that
way. What tools or framework do you use instead?
On Fri, Jul 23, 2010 at 5:25 PM, Igor Vaynberg
Hi,
I want to know how to make sure that text is preselected on a form. I know
there was a way but I cannot find it anymore.
Cheers
Erik
Use javascript
-igor
On Jul 23, 2010 3:41 PM, Erik Brakkee erik.brak...@gmail.com wrote:
Hi,
I want to know how to make sure that text is preselected on a form. I know
there was a way but I cannot find it anymore.
Cheers
Erik
52 matches
Mail list logo