quick CRUD application

2013-11-12 Thread saty
Hi, Is it possible to develop/generate a quick CRUD application using wicket, something like the OpenXawa does or even JSF Thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/quick-CRUD-application-tp4662346.html Sent from the Users forum mailing list archive

Re: quick CRUD application

2013-11-12 Thread saty
Ok, thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/quick-CRUD-application-tp4662346p4662350.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail:

Re: How to resolve this java.util.ConcurrentModificationException

2013-08-06 Thread saty
I need to understand what and when Wicket tries to serialize stuff in a running wicket application. I am not able to fix this error and it keeps growing with more users starting to use the application. It does not affect the application usage but it keeps beaming error email. I am using LRU map

Re: How to resolve this java.util.ConcurrentModificationException

2013-08-06 Thread saty
Ok.. To explain the scenario, i have a singleton data-maanger java class that user a underlying LRUMAP to store most recently viewed data. various wicket panels use this data-manager to request data that they need to display/update etc. Access to data is well protected using various

Re: How to resolve this java.util.ConcurrentModificationException

2013-08-06 Thread saty
Ok, thank you all. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-resolve-this-java-util-ConcurrentModificationException-tp4660273p4660734.html Sent from the Users forum mailing list archive at Nabble.com.

Re: How to add a div tag with stylesheet to wrap exisiting panel

2013-08-01 Thread saty
The div style does work as suggested but it covers the whole panel and hides everything. Any way to fix this, it should work as a background. I tried the z-index but it does not seem to work. Thanks -- View this message in context:

How to add a div tag with stylesheet to wrap exisiting panel

2013-07-31 Thread saty
I have a complex panel with several components. I want to render the page background color different based on some condition without altering existing code, something like just wrap everything in a new div tag. div wicket:id=envIndicator all existent panel stuff goes here /div i tried this.

Re: How to add a div tag with stylesheet to wrap exisiting panel

2013-07-31 Thread saty
Thanks Sven, i will try that. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-add-a-div-tag-with-stylesheet-to-wrap-exisiting-panel-tp4660585p4660588.html Sent from the Users forum mailing list archive at Nabble.com.

Re: How to add a div tag with stylesheet to wrap exisiting panel

2013-07-31 Thread saty
Sorry to ask again but what i will have to do on markup side. I added this but dont find the attribute (style-sheet) appearing anywhere in HTML source to see whats happening. -- View this message in context:

Re: How to add a div tag with stylesheet to wrap exisiting panel

2013-07-31 Thread saty
No, just the wicket:panel -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-add-a-div-tag-with-stylesheet-to-wrap-exisiting-panel-tp4660585p4660598.html Sent from the Users forum mailing list archive at Nabble.com.

Re: How to resolve this java.util.ConcurrentModificationException

2013-07-16 Thread saty
Thanks, but could you please explain how wicket handles serialization of objects that could throw this error. I could be wrong but it appears to me wicket is iterating the data structure for its serialization efforts when its being modified by other threads as well and the iteration results in

How to resolve this java.util.ConcurrentModificationException

2013-07-15 Thread saty
Getting below error at times, looks like its coming from usage of apache common LRUMAa class, not sure where to start fixing this. 15 Jul 2013 11:03:42.099 [http-apr--exec-3] ERROR o.a.w.serialize.java.JavaSerializer - error writing object [Page class = com.abc.xyz.web.HomePage, id = 5,

Re: AutoCompleteTextField issues

2013-05-17 Thread saty
Thanks!! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AutoCompleteTextField-issues-java-lang-String-cannot-be-cast-to-tp4658798p4658912.html Sent from the Users forum mailing list archive at Nabble.com.

AutoCompleteTextField issues

2013-05-14 Thread saty
I have used this before as a simple String model which works fine but with other types i have some isues going on any help would be appreciated. using: final AutoCompleteTextFieldXYZ something = new AutoCompleteTextFieldXYZ(code, xYZTypeModel, renderer) the options are displayed correctly

How to refresh a tab

2013-05-08 Thread saty
I have a multi level tabbed application using org.wicketstuff.security.extensions.markup.html.tabs.ISecureTab and com.apollo.security.swarm.html.SecureLoggableTabbedPanel i want to refresh a tab as based on some user selection on that tab the tab need to show different data etc and its hard to

Re: How to refresh a tab

2013-05-08 Thread saty
Actually target.add(getPanel()); seems to be doing what i need but i have a problem here and hoping someone would be able to help, i dont have any great background in java script stuff, we picked up wicket hoping we dont have to deal with that. My JavaScript are not firing such as..

Re: How to refresh a tab

2013-05-08 Thread saty
yes, when the panel normally loads the java scripts are added as renderHead(IHeaderResponse response) { . response.render(JavaScriptHeaderItem.forReference(new PackageResourceReference(Mypanel.class,custom.js))); } and this is working fine. -- View this message in context:

Re: Wasp-Swarm documentation

2013-05-03 Thread saty
Anyone? Thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wasp-Swarm-documentation-tp4658494p4658522.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe,

What is the wicket recommended approach

2013-05-03 Thread saty
for securing wicket applications, going by no documentation etc available on WASP/SWARM, i am just curious if there are other things available and preferred. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/What-is-the-wicket-recommended-approach-tp4658523.html Sent

Re: Wasp-Swarm documentation

2013-05-03 Thread saty
Thanks, if you could upload that would be great. a link here would help greatly too. https://cwiki.apache.org/WICKET/wasp-swarm-security.html -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wasp-Swarm-documentation-tp4658494p4658527.html Sent from the Users

Re: Wasp-Swarm documentation

2013-05-03 Thread saty
Thanks again, much appreciated. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wasp-Swarm-documentation-tp4658494p4658531.html Sent from the Users forum mailing list archive at Nabble.com. - To

Re: even issue switching from development to deployment mode

2013-05-02 Thread saty
Thanks, i will give it a try and update. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/event-firing-issue-switching-from-development-to-deployment-mode-tp4658450p4658486.html Sent from the Users forum mailing list archive at Nabble.com.

Combining multiple wicket application in single user interface

2013-05-02 Thread saty
We have few wicket application used by same user set so I am contemplating to combine them in one single interface from users point of view but they should run as separate independent applications running at separate URLs as they do today. Please lets me know if there is a way to achieve this with

Wasp-Swarm documentation

2013-05-02 Thread saty
Can not find any documentation around this, can someone please point to some useful link. I need to disable few links, buttons, radio buttons based on user roles, have not found any suitable material that can help. The goal is to create a read only access to application. The code we have works

Re: Combining multiple wicket application in single user interface

2013-05-02 Thread saty
Thanks martin, i will explore these options. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Combining-multiple-wicket-application-in-single-user-interface-tp4658487p4658495.html Sent from the Users forum mailing list archive at Nabble.com.

even issue switching from development to deployment mode

2013-05-01 Thread saty
I am using JQuery multi select by Eric Hynds in my current wicket application in few places. http://www.erichynds.com/examples/jquery-ui-multiselect-widget/demos/ This works great in a Wicket application (using ListMultipleChoice) in wicket development mode, but when i change wicket mode to

Re: event firing issue switching from development to deployment mode

2013-05-01 Thread saty
Any thoughts on this please, what is different in wicket between deployment and development mode that could have caused this problem. -- View this message in context:

Re: Busy Indicator to prevent user activity

2013-04-12 Thread saty
Thanks for all your help. I have this another case now, i have a download link. The code that downloads file is below: LinkVoid link = new LinkVoid(dataExportLink) { private static final long serialVersionUID = 1L; public void onClick() { IRequestHandler handler

Re: Busy Indicator to prevent user activity

2013-04-11 Thread saty
Thank you guys. Yes, it was merely a matter of having correct CSS in place for the div, it works great now. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Busy-Indicator-to-prevent-user-activity-tp4657877p4657887.html Sent from the Users forum mailing list archive

Re: Busy Indicator to prevent user activity

2013-04-11 Thread saty
I was able to position it wherever i want but now i notice that its hides under one of my model window in certain cases, is there a way to show it above the model window too. Thanks -- View this message in context:

Busy Indicator to prevent user activity

2013-04-10 Thread saty
Following instructions works great however they do not address the problem of preventing user from clicking anywhere until the request is processed. https://cwiki.apache.org/WICKET/generic-busy-indicator-for-both-ajax-and-non-ajax-submits.html I need the busy indicator / gif to layer the

inmethod grid column resize error alert

2013-04-09 Thread saty
I am using this grid in numerous places in my current application and dont have this problem anywhere else except in one of the panel. When resizing the column it prints below line on server console: 1:41:13.410 [qtp1683589725-44] WARN o.a.wicket.RequestListenerInterface - behavior not enabled;

Re: inmethod grid column resize error alert

2013-04-09 Thread saty
This is being caused by inmethod grid being set to disabled, the error looks unnecessary though. Not sure if there is way to suppress it. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/inmethod-grid-column-resize-error-alert-tp4657852p4657858.html Sent from the

Re: inmethod grid column resize error alert

2013-04-09 Thread saty
ok, will do. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/inmethod-grid-column-resize-error-alert-tp4657852p4657860.html Sent from the Users forum mailing list archive at Nabble.com. - To

Re: AjaxIndicatorAppender on a Panel

2013-04-05 Thread saty
This is great, thanks! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AjaxIndicatorAppender-on-a-Panel-tp4657694p465.html Sent from the Users forum mailing list archive at Nabble.com. - To

problem using ThreadPool in wicket

2013-04-05 Thread saty
ExecutionExceptionjava.util.concurrent.ExecutionException: org.apache.wicket.WicketRuntimeException: There is no application attached to current thread pool-2-thread-1 I am trying to process a bulk data request within a thread pool. Thanks for your help. -- View this message in context:

Re: problem using ThreadPool in wicket

2013-04-05 Thread saty
Sorry i dont get what you mean by 'You will have to path the info you need to this pooled thread from request handling thread ' Did you mean 'pass the info'? that is what i am doing.. The request handling thread is creating a pooled thread and submitting tasks and waiting for them to finish and

Re: problem using ThreadPool in wicket

2013-04-05 Thread saty
I am not doing any Application.get() inside the thread pool, pool does not care who is using it, it just processed anything submitted to it and returns a future to collect the output, Any thoughts? -- View this message in context:

Re: problem using ThreadPool in wicket

2013-04-05 Thread saty
It just prints one line as of now as i mentioned above, trying to see if i can print more details. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/problem-using-ThreadPool-in-wicket-tp4657778p4657788.html Sent from the Users forum mailing list archive at Nabble.com.

Re: problem using ThreadPool in wicket

2013-04-05 Thread saty
You were right, It was my fault, the code was indeed trying to read user from session. It works fine after i tweaked the code, thanks! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/problem-using-ThreadPool-in-wicket-tp4657778p4657791.html Sent from the Users forum

AjaxIndicatorAppender on a Panel

2013-04-02 Thread saty
I have a panel with several controls, i would like to add a common AjaxIndicatorAppender for entire panel. It does work fine for individual controls but i have not found a way to add one common for all be able to position the location of loading message gif. Ideally i would like to achieve

Re: AjaxIndicatorAppender on a Panel

2013-04-02 Thread saty
yeah, thanks I can have my panel implement the IAjaxIndicatorAware and use a AjaxIndicatorAppender as here, but unless i add this indicator to one of the component in the panel it does not show up and also in that case it shows rightly next to the component where i added it. how would i take

Re: inmethod-grid refresh issue

2013-03-04 Thread saty
Any thoughts on this please? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/inmethod-grid-refresh-issue-tp4656910p4656936.html Sent from the Users forum mailing list archive at Nabble.com. - To

Re: inmethod-grid refresh issue

2013-03-04 Thread saty
Thanks Marc, i will take a look at these methods if they can help, however my equals method can not help here as i said previously some columns are derived in the sense they dont return an attribute of the object but a value which is derived from the context (and object state) in which the method

Re: inmethod-grid refresh issue

2013-03-04 Thread saty
grid.markAllItemsDirty(); grid.update(); This does not help, for some reason grid is smart not to regenerate a row for a model it already did. I can see my getXXX method is called by grid only first time and than its never get called again so the column shows what was calculated for the first

Re: inmethod-grid refresh issue

2013-03-04 Thread saty
public class DataSource implements IDataSourceMyModel { private FilterMyModel myModelFilterChain; public DataSource(FilterChainMyModel myModelFilterChain) { this.myModelFilterChain= myModelFilterChain; }

Re: inmethod-grid refresh issue

2013-03-04 Thread saty
Its a regular java bean with properties and setter and getter methods. Grid uses the expression to map a column to a particular property on row model (MyModel). Thanks -- View this message in context:

Re: inmethod-grid refresh issue

2013-03-04 Thread saty
Just managed to get a workaround to fix the problem. I have to add a dummy property to the model object and calculate that property within my data source and than use that property to map to the calculated column. However since i can not change the state of original shared model object, so i have

Re: inmethod-grid refresh issue

2013-03-04 Thread saty
yes i am using property columns in grid to map columns to properties of model. Data Source is a very simple implementation just filter model objects in a cache into a list of filtered model objects. Context is user and also his filter settings. If a user can not see value from source x so his

Re: inmethod-grid refresh issue

2013-03-04 Thread saty
Also i put a print on every getter but it only prints on first call on a set of rows, if you filter among those rows its never get called, i suspect the grid has rows cached and its assuming nothing changed so using those rows again as a subset of previously created rows. Thanks -- View this

Re: inmethod-grid refresh issue

2013-03-04 Thread saty
Actually i have overridden public Component newCell(WebMarkupContainer parent, String componentId, IModel rowModel) { ... } to use a separate panel for cell content, due to other functions, will not make any difference? Thanks -- View this message in context:

Re: inmethod-grid refresh issue

2013-03-04 Thread saty
Thanks Marc, This is indeed the issue, i am going to make it light weight for now and provide an alternate mechanism to launch the other features that are stuffed in here at present. Thank for helping me out. -- View this message in context:

inmethod-grid refresh issue

2013-03-01 Thread saty
I have this strange case where when i do ajax target.add(grid), it does call my grid datasource to request the rows that the grid need to populate but when it finds that rows to be displayed are same what grid already has it does not recreate the grid (i can say that as i notice my get methods on

Re: wicket-poi current status

2013-02-07 Thread saty
Thanks! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-poi-current-status-tp4656146p4656191.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail:

wicket-poi current status

2013-02-06 Thread saty
I was looking for any excel extension for Wicket and came across this, not really sure what is the status of this project, any information please. The page at https://github.com/wicketstuff/core/wiki/POI looks interesting. Also in general what is the best way to do Excel upload/download in Apache

Re: ReferenceError: wicketGet is not defined

2013-02-01 Thread saty
thanks, much appreciated -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/ReferenceError-wicketGet-is-not-defined-tp4655998p4656002.html Sent from the Users forum mailing list archive at Nabble.com.

What is wrong/missing in this code, model object deos not get set

2013-02-01 Thread saty
IAutoCompleteRendererBroker renderer = new AbstractAutoCompleteTextRendererBroker() { private static final long serialVersionUID = 1L; @Override protected String getTextValue(Broker object)

Re: What is wrong/missing in this code, model object deos not get set

2013-02-01 Thread saty
I will give it a try just to see if model gets set, but i really cant do that in this case as there are other fields in the form that need to be filled before submitting the form, is there any other way that just sets the model for auto complete field? -- View this message in context:

Re: How to avoid this error TypeError: $(...) is null

2013-01-16 Thread saty
The exact error (javascript) is TypeError: $(...) is null As per the Widget documents i need to invoke below to activate the multiselect. $(document).ready(function(){ $(#myselect).multiselect(); }); So it can not find #myselect in this case, i put a alert on this and it prints null, but

Re: How to avoid this error TypeError: $(...) is null

2013-01-16 Thread saty
finally manged to got this working this morning. The code that worked: $.noConflict(); jQuery(document).ready(function($) { $(document.getElementById(multiSelectId)).multiselect(); }); for some reason $(#multiSelectId).multiselect(); does not work. I had to hardcode

How to avoid this error TypeError: $(...) is null

2013-01-15 Thread saty
I am trying to use jQuery UI MultiSelect Widget by Eric Hynds (http://www.erichynds.com/jquery/jquery-ui-multiselect-widget/) in one of our current wicket application. This works fine using Wicket ListMultipleChoice on a simple panel with no other components, but on a complex panel (several other

Re: understanding ajax response

2012-12-10 Thread saty
Thanks, do you still need a quick start app to look into this, sorry i was occupied in other pressing needs but i can try one if required. On a different note, the problem seem to be only with Firefox 17 and 18, for some reason there are no issues in older versions ( i tested with 12 and 14) for

Re: understanding ajax response

2012-11-29 Thread saty
Most of these are coming from using IndicatingAjaxLink link = new IndicatingAjaxLink(link) That launches a model window. The data grid i have , many rows (hence every cell on that row) have a AJAX link that opens a model window to show more details. I don't have anything else that is adding java

understanding ajax response

2012-11-28 Thread saty
I receive several of evaluate tags within ajax-response such as below, i also receive several priority-evaluate tags, what are these meant for, reworking an existing application so i am not very clear how ajax response works in wicket, the browser craps out parsing one or another of the evaluate

Re: how to fix this error in wicket app

2012-11-27 Thread saty
As I play with this to find a solution, I notice few interesting things, that I am hoping someone would be able to decipher into root cause if this issue and a fix. I have a data grid on my page with several filters drop downs and each of them are basically making the grid to refresh (with

Re: how to fix this error in wicket app

2012-11-26 Thread saty
My problem has become worse now, earlier i only had issues selecting all rows on grid but now anything that refreshes the data table grid is giving me error. Any help would be appreciated. I dont have too many Ajax calls in the grid, i am not sure what causes the recursion that it is complaining.

how to fix this error in wicket app

2012-11-16 Thread saty
[12:52:52.119] Wicket.Ajax: FunctionsExecuter.processNext: [Exception... Component returned failure code: 0x80004002 (NS_NOINTERFACE) [nsIObserverService.addObserver] nsresult: 0x80004002 (NS_NOINTERFACE) location: JS frame :: resource:///components/ConsoleAPI.js :: CA_init :: line 57 data: no]

Re: wicketstff-minis 6.0.0 errors

2012-11-15 Thread saty
Anyone? I tried the component hierarchy based renderHead(IHeaderResponse response), but it does work, for some reason the prototip-min.js always appears first in the list of scripts. My java script appear as below: I need them to appear as: -- View this message in context:

Re: wicketstff-minis 6.0.0 errors

2012-11-14 Thread saty
I have all these in given order prototip.css prototip-min.js prototype.js scriptaculous.js i do not see anything else required so does the order matter here? if it does how to change that in wicket. -- View this message in context:

wicketstff-minis 6.0.0 errors

2012-11-14 Thread saty
I am getting below two errors (app running under wicket 6.2), any help is appreciated to fix these, thanks ReferenceError: Prototype is not defined TypeError: Tip is not a constructor -- View this message in context:

Re: how do you pass load=effects to scriptaculous.js

2012-11-13 Thread saty
Thanks for responding, To use SCRIPTACULOUS js libraries: We are using in maven: dependency groupIdorg.wicketstuff/groupId artifactIdwicketstuff-jslibraries/artifactId version1.5.8/version /dependency And than code like this @Override public void

Re: strange issue, OnChangeAjaxBehavior() executed only once

2012-11-13 Thread saty
Anyone? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/strange-issue-OnChangeAjaxBehavior-executed-only-once-tp4653798p4653834.html Sent from the Users forum mailing list archive at Nabble.com. -

Re: how do you pass load=effects to scriptaculous.js

2012-11-13 Thread saty
Thanks, this is helpful. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/how-do-you-pass-load-effects-to-scriptaculous-js-tp4653797p4653841.html Sent from the Users forum mailing list archive at Nabble.com.

error Running wicket in development mode

2012-11-13 Thread saty
Switched to run in development mode but it throws below error, am i suppose to add markup for these? Did extensive google on this, found nothing so far, thanks Root cause: org.apache.wicket.WicketRuntimeException: The component(s) below failed to render. Possible reasons could be that: 1) you

Re: error Running wicket in development mode

2012-11-13 Thread saty
I can disable this using: getDebugSettings().setComponentUseCheck(false); what is the equivalent for below (wicket 1.4) in wicket 6+ getAjaxSettings().setAjaxDebugModeEnabled(true); -- View this message in context:

Re: strange issue, OnChangeAjaxBehavior() executed only once

2012-11-13 Thread saty
Thanks, using the debug mode i see that it prints INFO: Channel '0' is busy - scheduling the callback to be executed when the previous request finish. not sure what it means. -- View this message in context:

Re: strange issue, OnChangeAjaxBehavior() executed only once

2012-11-13 Thread saty
Thanks martin. I see that i have two java script errors and these could be causing the problem. ReferenceError: Prototype is not defined TypeError: Tip is not a constructor These are related to prototype.js and wicketstuff-minis (tool tip) Any help on resolving these? Thanks -- View

how do you pass load=effects to scriptaculous.js

2012-11-12 Thread saty
in wicket 6. using the below code, not sure how to pass the arguments as is done by the current code (wicket 1.4) JSLib.getHeaderContribution(VersionDescriptor.alwaysLatest(Library.SCRIPTACULOUS)).renderHead(response) Thanks -- View this message in context:

stange error, OnChangeAjaxBehavior() executed only once

2012-11-12 Thread saty
I am right now struggling to find the cause of this strange error, spangly the OnChangeAjaxBehavior() is executed only once on first change, subsequent changes do nothing. private final IModelDate datamodel= new ModelDate(new Date()); private void addDateSelection(Form? filterForm) {

migration to wicket 6

2012-11-09 Thread saty
old wicket code has this everywhere in my app some textField .add new AjaxEventBehavior(onkeypress) { . . protected CharSequence getCallbackScript(boolean onlyTargetActivePage) { } . . } could someone point me to an example how this can be done in wicket 6. Looking to migrate

Re: NullPointerException is running Wicket 6.2 app

2012-11-07 Thread saty
Thanks for responding, I am trying to migrate an older app to 6.2 and hit this error. using debug i could also narrow it down to 'previous' (PageLock previous) being null, i will try to reproduce this in quickstart application and create jira. -- View this message in context:

Re: NullPointerException is running Wicket 6.2 app

2012-11-07 Thread saty
I see that timeout prints 0 in my case , so it never executed the code previous = locks.get().putIfAbsent(pageId, lock); , for some reason the old app did not set a timeout, so after setting it to something meaningful the app works. Perhaps /** timeout value for acquiring a page lock */