Try EmptyPanel component which is shipped with Wicket.
if (condition)
add(new YourVisibleComponent("componentId"));
else
add(new EmptyPanel("componentId"));
Do not forget about OOD. You can introduce createYourVisibleComponent()
method which creates empty panel in base class and some certain
Hi,
I am a new wicket user.
How do we include / exclude content or components in pages based on
conditions.
What is the equivalent in Wicket to the if tag in the JSTL tag library?
The reason i ask this question is because irrespective of whether i add the
component in the page, i need to have the
Thank u, I'll check it
I would use an iframe instead of doing this, or I would use panels
instead of pages. But you may want to look at the code of ModalWindow in
wicket extensions since it is capable of doing what you want, i.e.
displaying the content of a page within a .
Zenberg Din
16.04.2009 23:58, Francis De Brabandere пишет:
Hi,
Are there any known problems on deploying wicket web applications on JBoss?
I'm deploying an ear containing a war, this works correctly on
glassfish but on jboss wicket gives me this exception:
Markup of type 'html' for component
'xxx.updater.w
Has anyone found a convenient fix for this scenario:
You have a form that has fields for working on a large object. Most of
the validation is done through wicket, but there are a few complex
business rules that must be validated at the service tier. If these
rules fail an exception is thrown and s
- get the list of tabs from the TabPanel
- update the list: just put in a new PanelCachingTab on the correct index
- call setCurrentTab on the TabPanel (even if the correct tab is already
visible!)
- if done from Ajax callback, don't forget to add all changed components
to the AjaxRequestTarget
buil automaticaly was off. Jajaja! thanks
On Thu, Apr 16, 2009 at 9:20 AM, Fernando Wermus
wrote:
> Hi,
> I solved dependencies problems.
> I still cannot debugging and programming at the same time. Eclipse
> didn't take the changes I did to a any business java file and webapp java
> file
Is it possible to update a panel which is inside
org.apache.wicket.extensions.markup.html.tabs.PanelCachingTab ,
I tried to add the panel to AjaxREquestTraget , it did not work ,
please suggest me if it is possible to refresh a PanelCachingTab
---
you can try adding this to the head after wicket-ajax.js
Hi,
I solved dependencies problems.
I still cannot debugging and programming at the same time. Eclipse
didn't take the changes I did to a any business java file and webapp java
file!!. I only can debug lines that haven't been change.
I do execute command mvn eclipse:eclipse from parent
So, we understand what's slowing us down? Any way to turn that stuff
off on our end to get stuff working? I've got a release going out the
door that's slow as heck on IE right now.
On Thu, Apr 16, 2009 at 12:03 PM, Igor Vaynberg wrote:
> this code is there so we can track focus and properly res
this code is there so we can track focus and properly restore it after
ajax modifies the dom. i am not sure why we need to track and restore
focus on anchors, it is only important when you are typing so that the
cursor doesnt move elsewhere - so only for textfields and textareas.
johan, matej says
Yup have that too, although the most expensive so far on my list, with
devoxx as the cheapest one..
I think i'll put in a trip to a wicket meetup in london too, since
meetups in netherlands seems to be rather spontaneous (and therefore
hard to plan), besides the one thats together with apachecon..
Thanks, I did not have javazone on my research list :)
On Thu, 2009-04-16 at 11:37 +0200, Martijn Dashorst wrote:
> devoxx, øredev and javazone are the primary conferences that come to mind.
>
> Martijn
>
> On Wed, Apr 15, 2009 at 5:57 PM, nino martinez wael
> wrote:
> > Hi
> >
> > I know this
Hi,
Are there any known problems on deploying wicket web applications on JBoss?
I'm deploying an ear containing a war, this works correctly on
glassfish but on jboss wicket gives me this exception:
Markup of type 'html' for component
'xxx.updater.web.page.HomePage$MainLogPanel' not found
[stacktr
Hi James,
I'm pretty sure that links are part of the problem.
To verify this, try replacing all tags with e.g. and see if
you can spot any difference in response time.
Alternatively, try replacing/commenting out ajax components/behaviors
on your page to prevent wicket-ajax.js from being pulled i
Peter,
I have experienced similar problems just recently. I didn't narrow it down
to the fact that the links were the problem, as you have, though! I have
been racking my brains trying to figure this thing out. My page is similar,
a table with lots of cells in them that are links. I've turned o
Hi all,
I am working on a wicket application intended to be executed both on
FF3 and IE7.
While working on this application I have discovered that the rendering
of some pages are a lot slower in IE.
The pages that were significantly slower on IE have a couple of things
in common: they are ajax-ena
PLEASE REPLY TO ME DIRECTLY - NOT THE USER GROUP!
Web 2.0 startup based in Nice/Monaco in the south of France seeks top
developer to join their small team. English working environment.
Skills: Java, Apache Wicket, Hibernate (annotations), Guice, XHTML,
CSS, javascript, Agile/SCRUM, Linux skills,
Hey,
I was browsing Wicket documentation and found the at some point you've
changed the way that Wicket locates validation messages. Along with the
change any javadoc comment informing how it is supposed to work disappeared
(the latest found trace was 1.3.0
http://wicket.sourceforge.net/w
Thank you both! :-) I'll do it that way and use resources.
/ Kent
On Thu, Apr 16, 2009 at 12:50 PM, Cserep Janos wrote:
>> CoolPage.PageTitle=ApplicationName - Cool Page Title
>>
>> into your application properties file.
>>
>
>
> From an SEO point of view this approach is more versatile. I usua
I've had a similar problem and it turns out I wasn't returning
connections to the pool when an exception arose. Every thread waits
for the pool to hand out a connection, and waits indefinitely.
On Wed, Apr 15, 2009 at 9:41 AM, J wrote:
> (Sorry for the empty message. First I tried Gmail, but that
I would use an iframe instead of doing this, or I would use panels
instead of pages. But you may want to look at the code of ModalWindow in
wicket extensions since it is capable of doing what you want, i.e.
displaying the content of a page within a .
Zenberg Ding wrote:
Hi, How can let a pa
> CoolPage.PageTitle=ApplicationName - Cool Page Title
>
> into your application properties file.
>
>From an SEO point of view this approach is more versatile. I usually have
CoolPage.PageTitle
CoolPage.MetaDescription
CoolPage.MetaKeywords
all defined in properties files and added from base pa
> 1. Set an instance variable in the base page called basePageName
You don't need a variable - all you need is a getter:
public IModel getPageTitleModel() {
return new Model("ApplicationName");
}
> 2. Use a Label to set the title in the base page
Exactly, like this:
add(new Label("pageTit
Am i right that you log off by clearing cache and cookies? If you do it
outside of the application i don't have any solution for this.
If you clear it inside the application (click on logout link) you could
call the invalidate there.
Cheers
Per
-
JAOO is a very good conference too.
Regards,
Linda.
Martijn Dashorst wrote:
devoxx, øredev and javazone are the primary conferences that come to mind.
Martijn
On Wed, Apr 15, 2009 at 5:57 PM, nino martinez wael
wrote:
Hi
I know this is off topic, but I were wondering if any of you could
devoxx, øredev and javazone are the primary conferences that come to mind.
Martijn
On Wed, Apr 15, 2009 at 5:57 PM, nino martinez wael
wrote:
> Hi
>
> I know this is off topic, but I were wondering if any of you could
> recommend any conferences (java related), preferably located in EU and
> wit
Hi,
I use markup inheritance and this example was quite informative
http://wicket.apache.org/examplemarkupinheritance.html .
One thing I find missing is how to set the title from the child pages?
Ideally I would like page titles like:
ApplicationName - Cool part of the application
ApplicationNa
I am not able to configure the above example Doug.
Could you give me .war file. please
thanks and regards,
edi
Doug Leeper wrote:
>
> If the tree is pre-loaded, it is easier. When the checkbox is selected,
> iterate through the children nodes and set its state to selected.
>
> The dynamical
thank per newgro
if you clean cache and cookie ,i don' t get the login user's session
do you have get the login user's session method?
joe
--- 09年4月16日,周四, Per Newgro 写道:
发件人: Per Newgro
主题: Re: wicket integrate acegi
收件人: users@wicket.apache.org
日期: 2009,416,周四,4:19下午
You could invalid
You could invalidate your session on logout?
Session.get().invalidate();
Or do you have issues on that?
Cheers
Per
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.
32 matches
Mail list logo