ok as usual I bet myself to it, here is the answer :
Basically use a ListView over a ListView!
@Override
public void renderMenu() {
IModelMenuItemState modelState = getState();
final MenuItemState rootState = modelState.getObject();
Thank you for your reply.
I'm using Wicket 1.3.4.
The optimistic locking is enabled for sure (the program has been written by me)
and metadata and data confirm that things are actually functioning the way I
thought.
Because the Page contains a LoadableDetachableModel, every time I submit the
Hello all,
Have anyone tried to resolve this issue with wicket datepicker earlier?...
Any suggestions regarding how to proceed are also welcome.
Thanks in advance,
Amigo
--
View this message in context:
You're really not supposed to be monkeying with the version property
yourself. You're supposed to let the ORM provider do that. What I
would do is create a hidden field and put a validator on that. The
validator would check to make sure that the current version in the
database is the same as
Hi Team,
I am looking for a dropdown list that narrows down based on what is typed
and Loads the values from the database as the user types. Something like the
dropdown in visural wicket
http://wicket.visural.net/examples/app/dropdownbut doesnt preload all
the values. My other option is the
It's called a auto-complete:
http://wicketstuff.org/wicket14/ajax/autocomplete
On Mon, Oct 11, 2010 at 4:19 AM, Josh Kamau joshnet2...@gmail.com wrote:
Hi Team,
I am looking for a dropdown list that narrows down based on what is typed
and Loads the values from the database as the user
I have looked at the autocomplete box that you have suggested. The issue i
have with it is that if i type some text that appears in the middle , it
wont be looked up. If for example am looking for United Arabs Emirates, i
cant look up by typing Arabs. I have to start by typing United. get my
The lookup functionality is provided by you. You can do whatever you
want with the input. Look at the example and implementation of the
getChoices() method. It would be trivial to change it to do a
contains rather than startsWith search.
On Mon, Oct 11, 2010 at 4:29 AM, Josh Kamau
Thanks James.
Let me look at it.
Seems like there is always an answer with wicket.
Regards.
Josh
On Mon, Oct 11, 2010 at 11:35 AM, James Carman
ja...@carmanconsulting.comwrote:
The lookup functionality is provided by you. You can do whatever you
want with the input. Look at the example
Just did it.
It worked just as i wanted.
Thanks.
On Mon, Oct 11, 2010 at 11:39 AM, Josh Kamau joshnet2...@gmail.com wrote:
Thanks James.
Let me look at it.
Seems like there is always an answer with wicket.
Regards.
Josh
On Mon, Oct 11, 2010 at 11:35 AM, James Carman
No problem. Glad to help. Happy Wicketeering!
On Mon, Oct 11, 2010 at 4:44 AM, Josh Kamau joshnet2...@gmail.com wrote:
Just did it.
It worked just as i wanted.
Thanks.
On Mon, Oct 11, 2010 at 11:39 AM, Josh Kamau joshnet2...@gmail.com wrote:
Thanks James.
Let me look at it.
Seems
if you don't override IConverter then everything works fine ?
2010/10/11 Hemant Shah prot...@gmail.com
Altuğ, thanks for responding.
There are no errors reported in the log. All the classes in the project are
serializable.
Could this be a bug?
Regards,
Hemant
On 10/10/2010 5:03
Hi,
i have spent some time researching this strange behaviour.
I have a Page with some Panels, that contain DropDownChoices.
These Panels are initially disabled on the Page.
If a validationError occurs on this page, ALL dropdownchoices that are in
disabled panels
lose their values.
Is this a
did you bind DropDownChoices with models (ex : PropertyModel) ?
2010/10/11 splitshade martin.dil...@googlemail.com
Hi,
i have spent some time researching this strange behaviour.
I have a Page with some Panels, that contain DropDownChoices.
These Panels are initially disabled on the Page.
Hi,
yes exactly.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/DropDownChoice-loses-Selection-in-Disabled-Panels-tp2989677p2989706.html
Sent from the Users forum mailing list archive at Nabble.com.
Yes, it works fine if we do not override the getConverter method. In
which case it behaves like a normal AjaxEditableLabel, as would be
expected, and we are using AjaxEditableLabel instances in many places in
our application.
- Hemant
On 10/11/2010 6:24 AM, Altuğ Bilgin Altıntaş wrote:
if
I have (I am using MixedParamHybridUrlCodingStrategy) however in this case
the browser is not contacting the server on back button click so the
UrlCodingStrategy does not come into play.
Ryan
On Wed, Oct 6, 2010 at 4:13 PM, mzem...@osc.state.ny.us wrote:
I've had similar issues, have you tried
See https://issues.apache.org/jira/browse/WICKET-923 for a solution.
On Mon, 11 Oct 2010 09:31 -0500, Ryan Crumley crum...@gmail.com
wrote:
I have (I am using MixedParamHybridUrlCodingStrategy) however in this
case
the browser is not contacting the server on back button click so the
SOLVED!
I followed your advice and added an hidden field to the Page (this is much
simpler than my previous solution) but instead of using a Validator I made the
service layer catch OptimisticLockingFailureException (thrown by the ORM layer)
and rethrow a custom Exception.
Your advice on
Hi,
I just realised that our session is getting loaded multiple times per
web request. I see that aside from the page request the session is
getting loaded for items such as css, js, etc that are referenced in
the code.
Now I'm trying to make sure I understand resources correctly in terms
of
meduolis wrote:
Again, I can offer a hack :D
public class DoSomeHackBehavior extends AbstractBehavior {
private static final long serialVersionUID = 3554634545756435367L;
@Override
public void onComponentTag(Component component, ComponentTag tag) {
Further to this - if I look at the code in the wicket filter:
resource = webApplication.getSharedResources().get(resourceReferenceKey);
// If resource found and it is cacheable
if ((resource != null) resource.isCacheable())
Again, I can offer a hack :D
public class DoSomeHackBehavior extends AbstractBehavior {
private static final long serialVersionUID = 3554634545756435367L;
@Override
public void onComponentTag(Component component, ComponentTag tag) {
FormComponent? comp
Hi,
Can you please let me know?
thanks
Kuga
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Integrating-Separate-Different-Wicket-Applications-Into-One-tp1889319p2990281.html
Sent from the Users forum mailing list archive at Nabble.com.
Doh! Never mind. I just discovered that buried in my Page was this piece of
code: AjaxFormValidatingBehavior.addToAllFormComponents(form,onblur);
That's what was adding the onblur call to the dropdown.
--
View this message in context:
I have a fragment I want to repaint when user click on ajax link
here is my fragment
private class ProgramFragment extends Fragment {
Long sysAuditProgId;
public ProgramFragment( final ProgramStatusDTO
programStatusDTO) {
No html is rendered to represent a fragment. You will have to wrap it
with a div and then refresh the div.
Scott
On Mon, Oct 11, 2010 at 5:06 PM, fachhoch fachh...@gmail.com wrote:
I have a fragment I want to repaint when user click on ajax link
here is my fragment
private class
you mean If I put this fragment inside a webmarkupcontainer and add this
webmarkupcontainer to target this will repaint my fragmnet ?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/repaint-a-fragment-tp2990937p2991045.html
Sent from the Users forum mailing list
Hi
When you say integrate different applications, do u mean each one is a
sub-application? Do those applications extend the WicketApplication class?
If they don't then I have had some experience to integrate sub-modules into
one main application. Let me know if that is what you mean. Otherwise I
Exactly.
On Mon, Oct 11, 2010 at 7:24 PM, fachhoch fachh...@gmail.com wrote:
you mean If I put this fragment inside a webmarkupcontainer and add this
webmarkupcontainer to target this will repaint my fragmnet ?
--
View this message in context:
my fragment is inside a listitem ,on click I added this listitem to taget
nothing happened but if I call listitem.replace with new fragment it was
adding an additional div is ths the right way to repaint fragment ?
--
View this message in context:
On Mon, Oct 11, 2010 at 10:59 PM, fachhoch fachh...@gmail.com wrote:
my fragment is inside a listitem ,on click I added this listitem to taget
nothing happened but if I call listitem.replace with new fragment it was
adding an additional div is ths the right way to repaint fragment ?
You can
wicket 1.4 - tomcat 6.0 or 7.0
Having issue with resolving dynamic resources when deployed as virtual host
in tomcat
server.xml snippet...
Host name=a.bem.com appBase=webapps/BEMA unpackWARs=false
autoDeploy=false
Context path= docBase=./
/Host
Host name=b.bem.com appBase=webapps/BEMB
Do you use Eclipse? There is a compiler warning that you can turn on (it
should be on by default) that warns against this problem whenever you
may inadvertently be hiding other variables. I suggest to everyone I
teach that they turn it on (and perhaps even turn it up from warning to
error), and
34 matches
Mail list logo