DateTimeField issue

2007-07-31 Thread Doug Leeper
I am using Wicket 1.3.0 Beta 2 and I am having issues with the org.apache.wicket.datetime.markup.html.form.DateTextField. Well actually the DatePicker. I followed the code exactly in the Date examples (http://www.wicketstuff.org/wicket13/dates/) but when I run my application and select on the

Re: Obfuscating URLs in 1.3 - Can it be done?

2007-08-03 Thread Doug Leeper
Thanks for the tip...learn something new every day. BTW...the doc is has been updated. -- View this message in context: http://www.nabble.com/Obfuscating-URLs-in-1.3---Can-it-be-done--tf4208915.html#a11985633 Sent from the Wicket - User mailing list archive at Nabble.com.

Re: Menu???

2007-08-04 Thread Doug Leeper
Well I have the itch. As I am new to all this, where would I start if the menu menus were to utilize yui's menu? Is there is cheat sheet on how to create components? Thanks - Doug -- View this message in context: http://www.nabble.com/Menutf4213073.html#a11996192 Sent from the Wicket -

TreeTable question

2007-08-14 Thread Doug Leeper
I am using the Tree Table component in Wicket Extensions. I would like to do the following: Background: I have N number of columns: Column 1: operation panel (operations available for the particular tree node item) Column 2: the tree node Column 3-N: attributes about the tree node item I

TreeTable...how to refect a label change on TreeNode

2007-08-20 Thread Doug Leeper
I am using the TreeTable in Wicket Extensions. When selecting on a node, a page allowing the user to edit the node value (and other useful info). Upon saving, I would like the associated TreeNode to show the new value. How would one go about having the TreeNode get its value again? Thanks --

Re: TreeTable...how to refect a label change on TreeNode

2007-08-29 Thread Doug Leeper
After further evaluating what I need done...I don't believe I need AJAX. The Tree Node needs to be updated to reflect a data change, i.e. name. However, the name change occurs in a page...not in the same page as the tree. Am I correct in this...no AJAX is needed since I am changing Pages? If

Tree not redrawn when resetting root node

2007-08-31 Thread Doug Leeper
I have a tree that I reset the root node when a user selects on another component (Component A). However, the tree is not redrawn until I click on the tree (the previous tree contents are shown). Besides Tree.invalidateAll() and DefaultTreeModel.nodeStructureChanged(tnode )

WizardStep isComplete and Next button interaction

2007-08-31 Thread Doug Leeper
When I create a WizardStep, I automatically call setComplete( false ). When the user performs the necessary option (selects an item), I call setComplete( true ). However, the Next button is disabled even though I called setComplete( true ). Actually, I found out that once you call setComplete(

Re: Tree not redrawn when resetting root node

2007-08-31 Thread Doug Leeper
See entry WICKET-914 https://issues.apache.org/jira/browse/WICKET-914 -- View this message in context: http://www.nabble.com/Tree-not-%22redrawn%22-when-resetting-root-node-tf4359637.html#a12435297 Sent from the Wicket - User mailing list archive at Nabble.com.

Re: WizardStep isComplete and Next button interaction

2007-08-31 Thread Doug Leeper
I have created issue WICKET-915 See https://issues.apache.org/jira/browse/WICKET-915 for attached quick start project -- View this message in context: http://www.nabble.com/WizardStep-%22isComplete%22-and-Next-button-interaction-tf4360742.html#a12435359 Sent from the Wicket - User mailing

Re: Tree not redrawn when resetting root node

2007-09-05 Thread Doug Leeper
Matej, Thanks for quick turn around. - Doug -- View this message in context: http://www.nabble.com/Tree-not-%22redrawn%22-when-resetting-root-node-tf4359637.html#a12509996 Sent from the Wicket - User mailing list archive at Nabble.com.

Wicket-Stuff ??? CdApp??

2007-09-09 Thread Doug Leeper
Are these dead? if not, where can I find them? I could not find a valid link that references these items? -- View this message in context: http://www.nabble.com/Wicket-Stuff-CdApp---tf4410764.html#a12582883 Sent from the Wicket - User mailing list archive at Nabble.com.

Re: Wicket-Stuff ??? CdApp??

2007-09-09 Thread Doug Leeper
Thanks Martijn...that was what I was looking for. The wicket-stuff link to the svn repository is broken. Based on the previous threads, I expected that this was not supported anymore. I am glad that it is still accessible b/c this is another example of how to use wicket...especially from a

Re: Page state, undo and versioning?

2007-09-10 Thread Doug Leeper
Matej Knopp-2 wrote: What Wicket version are you using? Because for reliable versioning you will need 1.3. Also you problem can be browser caching the initial DOM tree (not the modified one). So you should force browser to fire http request on back button too - adding CacheControl:

HTTPS/SSL question

2007-09-10 Thread Doug Leeper
I am converting an existing JSP/BEA PageFlow to Wicket which I am learning a lot from this exercise. Some page flows need to be secure, aka via https. and when complete, the application flow needs to go back to http. What is the best method to tackle this? Is this trivial? Am I missing

Re: ImageButton vs Image and SharedResources

2007-09-14 Thread Doug Leeper
Martijn, I didn't mean to infer that you wouldn't accept the RFE. Sorry about the confusion. I did create an RFE (WICKET-975) and attached the patch. I hope I followed the guidelines. It was fairly easy to adjust as I followed the Image behaviors for the resource reference. BTW...I didn't

Refresh page vs Restart to see HTML changes

2007-09-17 Thread Doug Leeper
I was under the impression that I would be able to change HTML while the server was running and see it reflected when I refreshed the browser. Unfortunately, I have to restart the entire server to see the change. If my understanding is correct, what could I be doing wrong? Notes: - I am

Re: Refresh page vs Restart to see HTML changes

2007-09-17 Thread Doug Leeper
My files are being compiled/copied to iirc/bin. Any configuration settings I need to adjust to get this to work? How did you create your project? Using the quickstart archetype? I'm not sure where your eclipse compiles your Java sources to. With normal Eclipse use, that is iirc /bin If you

Re: Refresh page vs Restart to see HTML changes

2007-09-17 Thread Doug Leeper
I am running in development mode. The console shows DEVELOPMENT upon startup. Make sure you run in development mode. E.g. pass -Dwicket.configuration=development or configure in your web.xml file. Eelco -- View this message in context:

Re: Refresh page vs Restart to see HTML changes

2007-09-17 Thread Doug Leeper
to the classpath iirc. Martijn On 9/17/07, Doug Leeper [EMAIL PROTECTED] wrote: I was under the impression that I would be able to change HTML while the server was running and see it reflected when I refreshed the browser. Unfortunately, I have to restart the entire server to see the change. If my

Re: Refresh page vs Restart to see HTML changes

2007-09-17 Thread Doug Leeper
That was it. I somehow had the wrong jars (1.3.x) mix with 1.4. Thanks! Productivity will go no go up!!! Martijn Dashorst wrote: On 9/17/07, Doug Leeper [EMAIL PROTECTED] wrote: My files are being compiled/copied to iirc/bin. Any configuration settings I need to adjust to get

Re: Redirect to HTTPS?

2007-09-24 Thread Doug Leeper
I have been attempting to get HTTPS/SSL working in my app too. Unfortunately, I have hit a wall...mostly b/c I am learning the API/Framework. In any case, the Example in the WIKI is outdated (v 1.2???) It won't work with 1.3 as is (no IResponseStrategy any more). However, I do believe I have

Re: Redirect to HTTPS?

2007-09-25 Thread Doug Leeper
Eelco Hillenius wrote: I stand by my suggestion that you could just try to redirect to a secure page. After that, the relative URLs stay secure no? If I'm missing something, please tell. Eelco I think we are both missing something. There are a couple of situations (aka

Re: Redirect to HTTPS?

2007-09-25 Thread Doug Leeper
I have no problem with the approach in finals. I think you guys have done a great job. Please see my response http://www.nabble.com/Redirect-to-HTTPS--tf4509537.html#a12878724 here I, too, am very interested in the feedback on this. Eelco Hillenius wrote: I haven't tested but I think

Re: Redirect to HTTPS?

2007-09-26 Thread Doug Leeper
Dave, There is a difference in how items are displayed and how submits/links are to be performed. There are cases where a HTTP page has a form that is to be submitted via HTTPS. And furthermore, when an Page is to be displayed via HTTPS, not all items (images,resources) are to be served via

Context menu within a LinkTree?

2007-09-27 Thread Doug Leeper
Has anyone been able to create a context menu for items on a LinkTree? If so, was it all JS based (like YUI)? or did you create a small framework to be used in Wicket? If the latter, would it be possible to contribute to the wicket-contrib-yui (menu2) package? I am in need of a tree component

Re: Wicket menu with submenu dialog window

2007-10-01 Thread Doug Leeper
I forgot to mention which menus are currently supported in menu2: - MenuBar - Menu - Group Menu (with and without labels) Looking for help with ContextMenu as it is a beast in itself. Anyone created/integrated YUI ContextMenu with Wicket? -- View this message in context:

Missing resource parameters for an Image using a ResourceReference

2007-10-03 Thread Doug Leeper
I am using a ResourceReference to access a SharedResource for an Image. I am also passing parameters via a ValueMap to obtain the correct image. However, when I look at my URL, the parameters are missing. I traced it to Image.onComponentTag() code final ResourceReference

Re: Missing resource parameters for an Image using a ResourceReference

2007-10-03 Thread Doug Leeper
BTW...if I change LocaledImageResource.setResourceReference( ResourceReference ref ) to the following: public final void setResourceReference(final ResourceReference resourceReference) { setResourceReference(resourceReference, resourceParameters); }

Null values in Lists question

2007-10-04 Thread Doug Leeper
I am sure there is a more elegant way than what I am doing so I thought I would throw out the following question. I have a List that displays a date in one of its columns. If that date is null, nothing is displayed...fine and dandy. However, when applying a style to the table, aka border to

Re: Null values in Lists question

2007-10-04 Thread Doug Leeper
Much more elegant than I ever thought. Thank you very much! -- View this message in context: http://www.nabble.com/Null-values-in-Lists-question-tf4569676.html#a13043323 Sent from the Wicket - User mailing list archive at Nabble.com.

AjaxChoiceBox... does this exist???

2007-10-08 Thread Doug Leeper
Is this available anywhere? -- View this message in context: http://www.nabble.com/AjaxChoiceBox...-does-this-existtf4589172.html#a13099630 Sent from the Wicket - User mailing list archive at Nabble.com. - To

Re: AjaxDropDownChoice... does this exist???

2007-10-08 Thread Doug Leeper
I meant to say AjaxDropDownChoice -- View this message in context: http://www.nabble.com/AjaxChoiceBox...-does-this-existtf4589172.html#a13099632 Sent from the Wicket - User mailing list archive at Nabble.com. - To

Re: AjaxDropDownChoice... does this exist???

2007-10-08 Thread Doug Leeper
Never mind...I found what I needed in the examples. -- View this message in context: http://www.nabble.com/AjaxChoiceBox...-does-this-existtf4589172.html#a13099795 Sent from the Wicket - User mailing list archive at Nabble.com.

Re: redirect request for Page A to page B without contructing A?

2007-10-16 Thread Doug Leeper
What I have done is to check in MyApplication.getHomePage(): public Class getHomePage() { IUser user = getMySession().getCurrentUser(); return user == null ? Index.class : UserHome.class; } -- View this message in context:

Ajax question

2007-10-17 Thread Doug Leeper
I have a question that I hopefully someone will be able to answer. I have created a Wicket based framework on top of YUI Context menu in wicketstuff (menu2). Everything works as expected. It can be used on Tree/Table for those that are interested. However, the issue that I have come across is

Re: Ajax question

2007-10-18 Thread Doug Leeper
I am using 1.3 (Trunk). I am calling AjaxRequestTarget.target.appendJavascript() right after i call AjaxRequestTarget.target.addComponent(). Is this the right approach? Do I have access to IHeaderResponse in an Ajax call? Thanks - Doug -- View this message in context:

Re: Ajax question

2007-10-18 Thread Doug Leeper
FYI...there is a working example of this problem in the wicketstuff-yui-examples project under Context Menu 2 - Tree -- View this message in context: http://www.nabble.com/Ajax-question-tf4644668.html#a13278196 Sent from the Wicket - User mailing list archive at Nabble.com.

Re: Ajax question

2007-10-18 Thread Doug Leeper
I just found this. With a AjaxRequestTarget, you can get the HeaderResponse. Unfortunately, it still doesn't work :-( -- View this message in context: http://www.nabble.com/Ajax-question-tf4644668.html#a13279426 Sent from the Wicket - User mailing list archive at Nabble.com.

Re: Ajax question

2007-10-19 Thread Doug Leeper
Gerolf...thanks for the tip. Very useful tool. Anyway I figured out a workaround. I placed my tree in a div and had the menu listen on the div for contextmenu events. Even though I resend the tree in an Ajax call, the contextmenu still works without resending the menu creation stuff. --

Re: Ajax question

2007-10-18 Thread Doug Leeper
My Behavior extends AbstractDefaultAjaxBehavior which implements IHeaderContributor. There are no components involved except the one that is to be listened in on for client side clicks. At this point, I am not sure what I need to do to debug. Is there any JS debugging tools that I could use in

JavaRebel experience

2007-10-26 Thread Doug Leeper
I recently downloaded JavaRebel and attempted to integrate into my project in Eclipse. I changed the Run parameters as indicated in the installation but there was nothing specific for eclipse. I did in the JVM argument section: -noverify

Re: Checkbox tree component

2007-10-26 Thread Doug Leeper
I was just about to tackle this. If I get something together I will forward the code. - Doug -- View this message in context: http://www.nabble.com/Checkbox-tree-component-tf4699092.html#a13436155 Sent from the Wicket - User mailing list archive at Nabble.com.

Re: Checkbox tree component

2007-10-26 Thread Doug Leeper
Ok here it is. I have also included my use of it. While it won't compile for you...you will at least see how I have used it. http://www.nabble.com/file/p13439520/CheckBoxIconPanel.html CheckBoxIconPanel.html http://www.nabble.com/file/p13439520/CheckBoxIconPanel.java CheckBoxIconPanel.java

ModalWindow question

2007-11-01 Thread Doug Leeper
I would like to use a ModalWindow to prompt for a choice of action for the user. Upon selecting the choice, I would like to close the ModalWindow then redirect the user to a page based on the selected choice. I know you can use setResponsePage in the Link on the ModalWindow page...so how would

Re: AW: ModalWindow question

2007-11-01 Thread Doug Leeper
Thanks Stefan. I figured that this is what I was left with...had to wait to the onWindowCloseCallback to handle the user action properly. I was hoping for a more elegant (already built) means to be able to pass back to the calling ModalWindow to identify what action was performed. But since

Best practice question

2007-11-01 Thread Doug Leeper
I believe I may be doing somethings incorrect in my application because I just ran across an OutOfMemoryError and the steps involved were small. I did increase the memory size to -Xms256m -Xmx512m which got me past the original issue...but I did notice that the application heap size continues to

Re: Best practice question

2007-11-01 Thread Doug Leeper
That is good that you do the same thing...so it must be my implementation that is wrong. I use an optimizer to find the issue. Do you recommend a reasonable one? Also, is it possible to introspect the serialized data? Also, I am using Hibernate. Would classes obtained via Hibernate that are

Re: Best practice question

2007-11-01 Thread Doug Leeper
I am using Jdk1.5 and Wicket 1.3/Trunk (from earlier this week) I just downloaded and installed YourKit. I stepped through my application and took snapshots. The bulk of the memory is in byte[]. Traversing the graph where this is located is in the

TreeModel error

2007-11-11 Thread Doug Leeper
Has anyone else come across this when inserting a node into a Tree: java.lang.UnsupportedOperationException at java.util.AbstractList.add(AbstractList.java:151) at org.apache.wicket.markup.html.tree.AbstractTree.treeNodesInserted(AbstractTree.java:779) at

Re: TreeModel error

2007-11-11 Thread Doug Leeper
Okay...after further digging I think I found the problem...the use of Collections.EMPTY_LIST. In AbstractTree: private final void buildItemChildren(TreeItem item) { List items; // if the node is expanded if

Re: TreeModel error

2007-11-11 Thread Doug Leeper
JIRA issue created ( http://issues.apache.org/jira/browse/WICKET-1148 WICKET-1148 ) -- View this message in context: http://www.nabble.com/TreeModel-error-tf4788794.html#a13699743 Sent from the Wicket - User mailing list archive at Nabble.com.

Re: Checkbox tree component

2007-11-16 Thread Doug Leeper
Glad to have helped! -- View this message in context: http://www.nabble.com/Checkbox-tree-component-tf4699092.html#a13804839 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL

Ajax Indicator Example?

2008-11-19 Thread Doug Leeper
I am having problems understanding Ajax Indicators. I have search high/low for a working example and have been unsuccessful. Is there any examples that shows what I need to do get an AjaxLink or DropDownChoice w/ an AjaxFormChoiceComponentUpdatingBehavior to utilize an indicator to show

Re: [OT] wicket users around the world

2008-12-27 Thread Doug Leeper
St. Charles, IL (an hour west of Chicago) First created two new Wicket apps for production and now migrating existing apps to wicket. -- View this message in context: http://www.nabble.com/-OT--wicket-users-around-the-world-tp20962108p21186824.html Sent from the Wicket - User mailing list

Clustering on Tomcat

2009-02-16 Thread Doug Leeper
The Wiki info to setup clustering on Tomcat ( http://cwiki.apache.org/WICKET/tomcat-clustering.html http://cwiki.apache.org/WICKET/tomcat-clustering.html ) indicates that there is a bug in the latest Tomcat that causes Wicket to fail during session replication. My questions are: - what Tomcat

Re: wicketstuff yui context menu clashes with YUI menu

2008-07-07 Thread Doug Leeper
Karen, I am the original author of the menu2 package. What I believe is happening (as I haven't looked at this in awhile) is that YUI menu that is created originally is losing the 'reference' of the item that had the context menu associated with it. This happens because you are using Ajax to

Re: Checkbox tree component

2008-07-07 Thread Doug Leeper
I am sure there are a couple of ways to do this. First thing that comes to mind is to override the Panel2.isVisible() method and return true if there are any nodes selected in CBTree1. for instance: Panel checkBoxPanel2 = new Panel( checkBoxPanel2 ) { public boolean isVisible() {

Restricting Javascript entry in TextField/TextArea

2008-07-31 Thread Doug Leeper
Is there a way to restrict either on the front end or some validator on the backend in Wicket to identify if a field has Javascript within the submitted value? We have a requirement for this as the data will be redisplayed in HTML emails and don't want the recipients being open to malicious

Re: GMap2 or Wicket Ajax issue?

2008-10-07 Thread Doug Leeper
So I tried in IE 7 and this is what I get in the Ajax Debug Window. Note: the modal window does show up...but IE indicates that it has experienced an error and asks that I debug. ... INFO: Initiating Ajax GET request on

Re: GMap2 or Wicket Ajax issue?

2008-10-07 Thread Doug Leeper
It could be related. One way to find out... I will apply the suggested patch and see what happens. Which patch should I try? There appears to be two suggestions. Thanks - Doug -- View this message in context: http://www.nabble.com/GMap2-or-Wicket-Ajax-issue--tp19859974p19861512.html Sent

Re: GMap2 or Wicket Ajax issue?

2008-10-07 Thread Doug Leeper
I applied that change locally and it did not change the behavior/error that I was seeing. Not sure what else to try. I guess I will make it a Page rather than a ModalWindow for now to keep moving along. Thanks for the help. - Doug -- View this message in context:

Re: right click popup context menu

2008-10-07 Thread Doug Leeper
what version of wicket are you using? I have not tested/ported any of the menu2 with wicket 1.4. -- View this message in context: http://www.nabble.com/right-click-popup-context-menu-tp15876468p19865384.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: initial GMap2 bounds question

2008-10-08 Thread Doug Leeper
I achieved what I was looking for. Here is what I did: map.add(new HeaderContributor(new IHeaderContributor() { private static final long serialVersionUID = 1L; public void renderHead(IHeaderResponse response)

Re: right click popup context menu

2008-10-14 Thread Doug Leeper
I just updated from SVN for projects wicketstuff-yui-examples and wicket-contrib-yui. Did a mvn eclipse:eclipse on both. in the wicketstuff-yui-examples, i did a mvn jetty:run There were no errors and I was able to access the web app and subsequently the menu2 examples. As far as your

Replacing content in a ModalWindow issue

2009-08-25 Thread Doug Leeper
I have looked at the ModalWindow javadoc, searched through Nabble, and tried several different approaches but I cannot do the following. I have a ModalWindow showing a Panel A. This panel has a link that when selected, it is to show a ModalWindow with another Panel B. Ideally,

Re: [OT] OWasp Vulnerability Validation

2009-09-01 Thread Doug Leeper
Nino, Further searching found a lot more information...but it is scattered. I was hoping that someone may have aggregated a quick tip sheet about these vulnerabilities and how Wicket can/does help...but haven't found the golden ticket yet. I was also hoping that someone has had experience in

GMap2 GOverlay.getJSConstructor() change request

2009-09-15 Thread Doug Leeper
I recently moved from 1.3.6 to 1.4.1 and came across a compile error. I believe I had a local copy of GMap2 (1.3.x) and made modifications to make the following work. Now I would like to propose a change but not sure who I need to talk. Specifically, I would like to request to change

[OT] Moving to SVN...best practices for project layout?

2009-09-18 Thread Doug Leeper
We have been using CVS for a long time now and want to move to SVN. We have an empty SVN repository created but have questions on how we should set up our multiple projects that all utilize a common project in conjunction with tags, branches, releases. To keep things somewhat consistent

Re: [ANN] wicket-dnd project

2009-10-12 Thread Doug Leeper
Sven, I have downloaded wicket-dnd and have integrated into our project. I had a few issues but got around them. The biggest is that we are using DataView instead of DataTable. While there was no exact example for DataView, I was able to get through and see what I needed to do: - needed a

Re: [ANN] wicket-dnd project

2009-10-13 Thread Doug Leeper
Thanks Sven! Got it working. -- View this message in context: http://www.nabble.com/-ANN--wicket-dnd-project-tp25727819p25873355.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail:

wicketstuff-minis status?

2009-11-17 Thread Doug Leeper
We are about to integrate wicketstuff-minis in our project. However, we noticed on Nabble that prototip is out of date based on some comments by the community. I have wicketstuff commit rights and more than willing to update to the latest. However, when I looked at the MVN repository for

Re: wicketstuff-minis status?

2009-11-17 Thread Doug Leeper
But wouldn't i see the timestamp change on the jars, etc change with each deployment? from http://wicketstuff.org/maven/repository/org/wicketstuff/wicketstuff-minis/1.4.0-SNAPSHOT/ maven-metadata.xml 0.3 kb Tue, 28 Oct 2008 23:16:32 GMT maven-metadata.xml.md5 0.1 kb Tue, 28 Oct

Re: wicketstuff-minis status?

2009-11-18 Thread Doug Leeper
Richard, Thanks for the update. This was one of the items to be looked at. But since prototip has moved to commercial, then I won't update the JS. - Doug -- View this message in context: http://old.nabble.com/wicketstuff-minis-status--tp26394666p26408385.html Sent from the Wicket - User

Re: wicketstuff-minis status?

2009-11-18 Thread Doug Leeper
I was going to see about upgrading Prototip but the current version has moved to commercial license. Since that is the case, I won't be updating wicket-minis and will be looking at mootip. Thanks - Doug -- View this message in context:

Re: wicket on Weblogic 10.3.1

2009-11-24 Thread Doug Leeper
We've had no problems on our implementation. Even session replication works as expected. What is your stack? Are you doing stick sessions? Have you enabled session replication? -- View this message in context: http://old.nabble.com/wicket-on-Weblogic-10.3.1-tp26492655p26495578.html Sent

Re: wicket on Weblogic 10.3.1

2009-11-24 Thread Doug Leeper
Hmmm...a very strange stack indeed so I won't ask ;-) So urls with 127.0.0.1 work...correct? but if you initially access via localhost it doesn't? Do you have WL configured as a named virtual server by chance? Are you seeing generated urls being bounced back and forth between localhost and

Customized FeedbackPanel question

2009-12-02 Thread Doug Leeper
We have a requirement to render the offending FormComponent with a visual change (not an indicator...but a style change such as background is red) and show the error message below the component. I have created a customized FeedbackPanel for this so this is not a problem. The problem we have is

Re: Customized FeedbackPanel question

2009-12-02 Thread Doug Leeper
That is my backup plan. -- View this message in context: http://old.nabble.com/Customized-FeedbackPanel-question-tp26613644p26614645.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe,

Ajax FileUpload in a ModalWindow

2009-12-03 Thread Doug Leeper
I see that FileUpload is available now via Ajax (https://issues.apache.org/jira/browse/WICKET-2420). However, is it possible to upload from a ModalWindow via Ajax? In my AjaxButton, my FileUpload object is not being set. I am also not seeing an IFrame in the Wicket Debug I have attached my

Re: Ajax FileUpload in a ModalWindow

2009-12-03 Thread Doug Leeper
BTW...I am using wicket 1.4.1 Also, I have tried just adding the NewPhotoPanel to one of my pages...changed some of the Ajax methods but still submitted via Ajax. This still didn't work. Can someone verify that FileUpload works via Ajax with 1.4.1 (as the Jira issue indicates) or should I

Re: Ajax FileUpload in a ModalWindow

2009-12-03 Thread Doug Leeper
Converted to 1.4.3 and the issue is still relevant I see there was another thread created with similar issues. (not sure why Nabble didn't report this in my previous search) http://old.nabble.com/FileUploadField-in-a-ModalWindow-%28wicket-1.4.3%29--to26577255.html -- View this message in

Re: FileUploadField in a ModalWindow (wicket 1.4.3)?

2009-12-03 Thread Doug Leeper
I was also able to reproduce this issue. When I stepped through the code with NestedForm, the Form.handleMultiPart() never creates a MultipartWebRequest due to the original request is identified as an AjaxRequest (as seen by the following code snippet. code protected boolean

Re: FileUploadField in a ModalWindow (wicket 1.4.3)?

2009-12-03 Thread Doug Leeper
Found the code where the iframe is being used (resources/org.apache.wicket.ajax.WicketAjaxReference/wicket-ajax.js) When looking at the generated html for the modal window in a nested form situation, it shows the submit button actually being submitted by wicketSubmitFormById(formId,...) The

Re: FileUploadField in a ModalWindow (wicket 1.4.3)?

2009-12-04 Thread Doug Leeper
I have created a quick start and attached it to WICKET-2595. I have also included my suggested fixes to Form.java and wicket-ajax.js. It got past the problem of not submitting in an iframe but my AjaxButton.onSubmit is not being called and there are no errors generated. Hope this helps. -

GMap2 and Zillow Neighborhood Overlays

2009-12-14 Thread Doug Leeper
Was wondering if anyone has had experience with GMap2 and Zillow Neighboorhood Overlays. Would like to find out about best practices and experiences with these. My concern is the amount of data that needs to be deployed with the app to be able to provide neighboorhood maps. Thanks in

Re: Too Many Open Files Wicket 1.4.1

2009-12-29 Thread Doug Leeper
Was a JIRA ticket ever created for this? I couldn't find any thing related to it. Is any one else seeing this issue? I just ran across it in our dev env after redeploying my web app. Not sure if this wicket, jdk, or weblogic. Weblogic 10 JRockit (BEA JRockit(R) (build

recommended static image/resource strategy

2009-07-09 Thread Doug Leeper
Our app has been working great this past year but we recently encountered a strange behavior and wanted to get the communities input on how to proceed. Background: * Wicket 1.3.6 * JDK 1.5 * Jetty (dev) / Apache and Tomcat (prod) * The URL to our app follows this

Re: recommended static image/resource strategy

2009-07-09 Thread Doug Leeper
: Igor Vaynberg igor.vaynb...@gmail.com To: users@wicket.apache.org; Doug Leeper douglee...@yahoo.com Sent: Thursday, July 9, 2009 10:13:05 AM Subject: Re: recommended static image/resource strategy it seems like a bug in ServletWebRequest#getRelativePathPrefixToWicketHandler(), you might want

Re: recommended static image/resource strategy

2009-07-09 Thread Doug Leeper
My issue appears to be not new... https://issues.apache.org/jira/browse/WICKET-1889 https://issues.apache.org/jira/browse/WICKET-1700 But this only applies to v1.4. -- View this message in context: http://www.nabble.com/recommended-static-image-resource-strategy-tp24407111p24415043.html Sent

Re: recommended static image/resource strategy

2009-07-09 Thread Doug Leeper
My issue appears to be not new... https://issues.apache.org/jira/browse/WICKET-1889 https://issues.apache.org/jira/browse/WICKET-1700 But the fix is for v1.4.x not v1.3.6 -- View this message in context: http://www.nabble.com/recommended-static-image-resource-strategy-tp24407111p24415044.html

setResponsePage in AjaxButton after uploading a File

2010-02-07 Thread Doug Leeper
I have a simple form that has a file selection component and a submit button. I would like to submit via Ajax and then call setResponsePage if successful. The file is submitted/received fine but the setResponsePage does nothing. The Wicket Debug window indicates that there was an error

Re: Dynamic Image (aka Barcode) based on user input not refreshed via Ajax

2010-03-20 Thread Doug Leeper
Perfect! Thanks! -- View this message in context: http://old.nabble.com/Dynamic-Image-%28aka-Barcode%29-based-on-user-input-not-refreshed-via-Ajax-tp27961609p27972311.html Sent from the Wicket - User mailing list archive at Nabble.com.

Feedback border when using in a repeating view

2010-03-26 Thread Doug Leeper
I am using a feedback border panel for some components (i.e. email) in a repeating view (in this case a dataview). I am using a Email validator for this component and when an error occurs it creates a red border and backround around this component. Well it is supposed to but it isn't. I do

Re: Feedback border when using in a repeating view

2010-03-27 Thread Doug Leeper
Update... I changed to a ListView and set the reuse item flag to true and I achieved what I was looking for. -- View this message in context: http://old.nabble.com/Feedback-border-when-using-in-a-repeating-view-tp28048563p28056267.html Sent from the Wicket - User mailing list archive at

Anybody use Google Maps for directions?

2010-04-01 Thread Doug Leeper
I would like to utilize the new Google Maps v3 API for directions. Didn't know if anyone has used this in conjunction with the GMap2 package. If so, any chance of getting an example of how you did it? Thanks - Doug

Interstitial window prompt then open a new window

2010-04-16 Thread Doug Leeper
We are needing an interstitial window that prompts a user if they want to continue to another site. Additionally, we would like to provide a checkbox if they would not longer like to see this prompt again. I can prompt via a ModalWindow and capture their response...but what I am not sure what

GMap2 and zoom_changed

2010-05-11 Thread Doug Leeper
I was under the impression that when the GMap2 zoomed in/out, the Wicket GMap2 object would be updated. When I query Wicket GMap2 upon a dblclick after I had zoomed in, the zoom level had not changed. Should this be the case? If not, I would like to be able to add a zoom_changed listener on

Getting URL for a bookmarkable page

2010-05-18 Thread Doug Leeper
I am doing the following to get the URL for my bookmarked page. PageParameters params = new PageParameters(); params.put(properties, URLEncoder.encode(jproperties.toString(), UTF-8)); CharSequence url = urlFor(MyPage.class, params);

Re: Getting URL for a bookmarkable page

2010-05-18 Thread Doug Leeper
I have changed the code to the following: String uri = inSessionReport/ + URLEncoder.encode(jproperties.toString(), UTF-8); String url = RequestUtils.toAbsolutePath(uri); PD4ML pd4ml = new PD4ML(); pd4ml.setHtmlWidth(1024); pd4ml.render(new URL(url), os); But I am still seeing to Page

  1   2   >