Yes I had success.
I obtained the jar wicket-portlet-1.5.7.2.jar and added it to my local repo.
$MVN_CMD install:install-file \
-DgroupId=org.apache.wicket.portlet \
-DgeneratePom=true \
-DartifactId=wicket-portlet \
-Dversion=1.5.7.2 \
-Dpackaging=jar \
-Dfile=wicket-portlet-1.5.7.2.jar
Make
Troubleshooting my issue where my portlet won't work upon a page refresh, I
came across this in ServletWebRequest.
if (forwardAttributes != null || errorAttributes != null)
{
if (LOG.isDebugEnabled())
{
Closure on this one.
Peter Pastrnak did indicate that there was a bug with the latest
distribution. There is a fix that will be available in the next release
from my understanding.
Peter did send me the updated files and I confirmed that it did fix my
issue.
Thanks Peter!
--
View this
Here is the generated HTML code that is being sent to the browser.
What I had commented above was the resulting HTTP request. But this may
shed some light on why that url is being called.
The portlet-name, wicketFilterPath, and filter-mapping/url-pattern are set
to wickettest. However I
I have followed what I think is necessary to get a wicket portlet in liferay.
However, I have not been able to add the portlet to a page.
I am by no means a liferay expert so I may be missing something.
Note: liferay 6.1
This is what I have done so far. Can someone point out what I have done
Got my portlet to show up in the Portal. Had my liferay-portlet.xml
incorrect. But there weren't any errors.
Now I have a weird situation. I can add the portlet to my page and it
works. I do a page refresh and now it won't. I was able to track down at
least why it is not. But I don't know
There are a lot more threads that are running within a Weblogic container.
The thread you are showing is not the thread that is creating the lock. It
is the thread that is indicating the page map is locked.
Also, I don't believe there is a way to kill a particular thread in
weblogic. It only
I am assuming what you mean by hanging is that the call on the client browser
doesn't complete or is interrupted for some reason. The hanging is not
occurring on the server side...correct?
Are there any javascript errors? I ask b/c you indicated:
INFO: Invoking pre-call handler(s)... and
Out of curiosity, why aren't you using ContextImage? That would help with
the contextual path for the logout.png.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Caching-Imagages-CSS-JS-in-Wicket-1-5-3-tp4121068p4121323.html
Sent from the Users forum mailing list
We are using Weblogic 10.3 and it has a nice feature that allows two versions
of the app to run concurrently.
What happens is this:
- V1 is running and sessions are currently active
- deploy V2
- existing V1 sessions will continue to use V1 code
- new request (i.e. new session) will use V2
This
Urgghhh. It does work. Just have to pass the PageParameters to the super
class in the constructor.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/StatelessForm-on-BookmarkablePage-and-its-action-url-tp3761160p3763192.html
Sent from the Users forum mailing list
I have just encountered this issue and have tried overriding the newResource
but in 1.4.18 the variables textTemplate, and variablesModel are private.
Any suggestion how I might be rectify this w/o creating my own
TextTemplateResourceReference?
BTW...Can't move to 1.5
Thanks in advance
- Doug
I have encountered this issue as well...and I believe I know the reason for
this behavior.
The TextTemplateResourceReference eventually is bound to the Application
shared resources. It never gets reset. So the
TextTemplateResourceReference will always use the first variables used to
substitute
I have a stateless page (LocationPage) that contains an StatelessForm.
@StatelessComponent
public class LocationPage extends AppBasePage {
...
}
The LocationPage is mounted as:
mount(new MixedParamUrlCodingStrategy(/b, LocationPage.class,
new String[] { name,
I have a navigation area that drives the amount of content on a DataView.
One of these navigating components is a DropDownChoice which drives the
number of rows to be displayed in the DataView. This page is to be
stateless and is mounted as such:
mount(new
figured it out:
My page hierarchy was not passing the PageParameters up the constructor
chain.
Additionally, I had to remove the containing form for the DropDownChoice.
I swear this worked before...but I am not sure when it changed.
--
View this message in context:
Rodolfo,
Thanks for the reply. I figured that out just about an hour before you
replied.
Works like a charm now.
- Doug
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Pushing-events-to-Wicket-Push-generated-outside-of-Wicket-tp3567200p3576891.html
Sent from the
We have a system that subscribes to events from an ESB. These events need to
be then translated / added to the Wicket Push Bus so the appropriate Wicket
components get updated appropriately.
From what I can see, everything in Wicket Push requires a component.
Unfortunately, we need to wire up
Not sure if any anyone else has experienced this.
On startup of my wicket app...I get the following messages:
I searched the web and nothing I found was conclusive.
Any help would be appreciated.
java.lang.IllegalStateException: STATE!=START
at
Never mind.
I just found the cometd web site and the following post:
http://cometd.org/documentation/2.x/howtos/servlet-containers
I added to my web.xml:
filter
filter-namecontinuation/filter-name
filter-classorg.eclipse.jetty.continuation.ContinuationFilter/filter-class
Found out the issue. I was always returning a null value in my
converter.convertToObject(). When I returned the parsed value
correctly...everything worked fine. With the null value, for some reason,
my underlying object model did not set with a null value. Very bizarre.
As far as removing
I have created a custom zip text field that validates against several country
formats, i.e. US and Canada. I have created specific country converters and
validators that are utilized by this custom zip field.
In my test scenario, I have a valid US address displayed.
I then change the
I have mounted an IndexedSharedResourceCodingStrategy in my WebApplication as
such:
getSharedResources().add(photo, new BusinessPhotoSharedResource());
mount(new IndexedSharedResourceCodingStrategy(photo, photo) );
and I have created an Image with the appropriate resource ref
Never mind...IndexedSharedResourceCodingStrategy is what I needed.
Missed that in my initial search.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/mounting-SharedResource-with-known-parameters-i-e-MixedParamUrlCodingStrategy-tp3071302p3072687.html
Sent from the
We are currently serving our photos from the following URL:
http://mydomain.com/base/resources/app/photo?bid=53060cid=22288
However we would like the URL to be:
http://mydomain.com/base/resources/app/photo/53060/22288/image.jpg
We are currently mounting our shared resource as follows:
Try adding setStatelessHint( true ) in the HomePage constructor.
public class HomePage extends WebPage {
public HomePage() {
add(new Label(label, new Model(Hello, World)));
setStatelessHint( true ); // - new
}
}
--
View this message in context:
Was this thread dump taken while you were waiting for a response? Is this
the complete thread dump?
Does this delay occur on all pages that are doing similar things, i.e.
connecting to the same DB or external resource?
I don't see any waiting on any Wicket related items. With that...I don't
Have you tried to do a thread dump while it is responding to the request?
My guess is it some network related issue, i.e. firewall, DNS or something
along the lines.
--
View this message in context:
PD4ML
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/PDF-generation-tp2717158p2717265.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To unsubscribe, e-mail:
All,
We have an application that generates a PDF (via PD4ML) and sends it back in
the
same request. This works fine and dandy when accessing our app server
(weblogic/http) directly. However, when we access the same functionality but
via Apache and SSL to weblogic, we get a message that the
I was under the impression that when I call Session.replaceSession() a new
session would be created.
I am seeing a new HttpServletSession being created but not my wicket
application session. I have placed a System.out.println( new AppSession()...
) in the constructor and I am not seeing that.
I actually have a requirement for the Date Picker to be shown when focus is
applied to the field. Is this possible too? Can this be configurable, i.e.
not all fields have this onfocus behavior?
--
View this message in context:
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);
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
figured it out.
It wasn't wicket but PD4ML.
Not sure why but I had to remove
meta http-equiv=Content-type content=text/html;charset=utf-8
from my HTML page.
When it was in there, it gave a message that it was retrying with utf-8.
--
View this message in context:
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
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
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
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
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
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.
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
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
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
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.
-
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
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
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
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
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
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
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,
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
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
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
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:
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
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
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:
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
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
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
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
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,
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
: 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
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
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
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
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
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
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
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)
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
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
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:
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.
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
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
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() {
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 dynamically loaded is alot trickier...as you would have to load the tree
from the selected node and then iterate and set the children notes to
selected.
It depends.
Are you building the entire tree up front or are you building the child
nodes dynamically (i.e. when the parent node is selected/expanded)?
--
View this message in context:
http://www.nabble.com/Checkbox-tree-component-tp13433102p18147561.html
Sent from the Wicket - User mailing
Is there a way to programatically change the zindex for the modalwindow?
I am having issue where the ModalWindow is being placed behind images on my
page (actually behind an iframe).
I search in this forum but I have tried several suggestions but they didn't
work.
--
View this message in
Sorry for duplicate post...selected the wrong button.
I have a DataView and for each 'row', I add a different fragment based on
the object model type.
However, in each fragment I have a link (edit). The page displays fine. But
when I select on the link, wicket indicates that that link
Sorry...I forgot to add the first time. Here it is.
org.apache.wicket.WicketRuntimeException: component
replacements:replacement:1:replacementFragment:editPhone not found on page
com.positiontech.local.wicket.main.advertiser.advertiser.newCampaign.NewCampaignReplacements[id
= 6], listener
Here is something interesting...
I changed my DataView to ListView and now it works.
Any known issue in using a DataView over a ListView in this given
circumstance?
--
View this message in context:
http://www.nabble.com/Fragment-issue-tp17116545p17117671.html
Sent from the Wicket - User
I just recently upgraded to 1.3.3 from 1.3.2 as there was a bug that was
fixed in 1.3.2 (https://issues.apache.org/jira/browse/WICKET-1442) that I
was getting.
However, in my AjaxButton.onSubmit( AjaxRequestTarget target, Form form )
when I call my FileUploadField.getFileUpload() it is always
I believe this is possible but want to be sure and be efficient about it.
Is it possible to create a Wicket Page and capture the generated HTML text
from with-in a Button.onSubmit()? The page will not be displayed in the
current wicket app. This page is only a 'template' to generate the HTML.
I believe the following is the correct way (it works from my point of view).
Are there any issues that I need to be aware of? Is there a better way?
Thanks
- Doug
Note: this method is called in either a Link or Button:
public BaseTemplate extends WebPage {
public String
[ X ] +1, Wicket 1.4 is 1.3 + generics, drop support for 1.3
[ ] -1, I need a supported version running on Java 1.4
--
View this message in context:
http://www.nabble.com/-vote--Release-1.4-with-only-generics-and-stop-support-for-1.3-tp16090054p16100542.html
Sent from the Wicket - User
There are actually many ways to what you want:
1) use fragments. to be used during the construction of the containing
component
2) utilize isVisible()
add( new Label( myLabel ) {
public boolean isVisible() {
return (if equal to my condition);
}
} );
This
Take a look at wicket-contrib-yui. There is a context menu (built on top of
YUI) contained in org.wicketstuff.yui.markup.html.menu2.contextMenu
There are some examples in wicketstuff-yui-examples for the Context Menu
(tree and list/data view)
Note: these are SVN projects located at
In the populateItem, you will need to do the following:
contextMenuBehavior.applyAttributes(item, popupMenu, new Model( rowId));
Where rowId is the value you are looking for when the action has been
selected (the targetId in the onClick method)
private class MyAction extends
Not quite an expert on maven...but have you taken a look at maven's module
configuration?
I have setup a parent directory that links all the necessary modules.
This parent pom needs to be of packaging type pom to nest other modules.
For example:
Directory structure of the following:
arch/
Thanks all for the input.
I didn't use resource filter but did use maven profiles which worked just
find for our needs.
Is there any issues with using profiles over resource filter?
--
View this message in context:
Have you taken a look at wicket-contrib-yui?
There are already a few YUI integrated components built.
--
View this message in context:
http://www.nabble.com/YUI-integration--tp15793009p15793412.html
Sent from the Wicket - User mailing list archive at Nabble.com.
This is slightly off topic but it has todo with our wicket app and utilizing
maven to create the builds.
Maven is new to us and slightly understand the profiling concept in maven
but not sure how to the following...on our production build, we would like
to have the web.xml configuration setting
Wicket has a Date label to format a Date nicely. Is there something similar
to format a Number as well? I haven't found it yet so I thought I would ask
the community.
Thanks
- Doug
--
View this message in context:
I have two columns in a DataView that have two separate radio based values.
From my reading/understanding is that a Radio will traverse up the component
tree to find the nearest RadioGroup.
If this is correct, how would one have a two radio groups displayed in a
DataView?
--
View this message
I have both a Contact Address and a Billing Address object displayed in a
Form.
I also have a CheckBox that, when checked, is to copy the Contact Address
field values into the Billing Address.
What is the best way to do this?
I have tried several methods ( CheckBox with a
1 - 100 of 163 matches
Mail list logo