I want to override FeedbackMessagesModel.processMessages() to be able to add
special messages. This seems to be one of its intended usages according to the
javadoc.
Regretfully FeedbackMessagesModel is final, so could this modifier please be
removed?
Thanks
Sven
In the browser I just get the empty placeholder. The context for the application is /. The servlet mapping is servlet-nameUniversal/servlet-nameurl-pattern/*/url-pattern
On my logs I can see the following error:WARNING: the resource requested by request [method = GET, protocol = HTTP/1.1,
Wicket newbies tend to fall into the trap that Wicket requires the
url-patter in web.xml to be something like
url-pattern/helloworld/*/url-pattern. Important is the /* at the
end. There is no easy mean for Wicket during initialization to make
sure that this pre-requisite is realy met, is it?
Done.
Eelco
On 4/28/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I want to override FeedbackMessagesModel.processMessages() to be able to add
special messages. This seems to be one of its intended usages according to
the javadoc.
Regretfully FeedbackMessagesModel is final, so could
please make the servlet url mapping something like /app/*don't map the wicket servlet on the root.johanOn 4/28/06, Rui Pacheco
[EMAIL PROTECTED] wrote:
In the browser I just get the empty placeholder. The context for the application is /. The servlet mapping is
I searched the lists and found one other question about if/else component rendering. It didn't really provide any examples, only suggestions to use Visibility flagging or a component factory to get swappable panels within a border. Can I see an example of this component factory? What I had
I tried this, but it brings me back to the problem of the webapp not loading. IE spins for hours and my index page is not called. The only way for me to do this is to set the redirect on an index.html to / and set the servlet mapping to /*.
Maybe some configuration issue I'm missing?On 4/28/06,
no look at the quickstart projects or other examplesdefine the mapping as /app/*and do have in the root of youre application an index.html that does meta data refresh to /appjohan
On 4/28/06, Rui Pacheco [EMAIL PROTECTED] wrote:
I tried this, but it brings me back to the problem of the webapp not
yeah we should check that if possible and then throw a big warning or even an error.also give at least a warning when it is /* (so root) But this all could be fixed when we use a filter in 2.0johan
On 4/28/06, Juergen Donnerstag [EMAIL PROTECTED] wrote:
Wicket newbies tend to fall into the trap
There is no example about this in the Wicket Examples. The only thing I
found is the Javadoc of WebRequest.getHttpServletRequest() that says
this warning:
WARNING: it is a bad idea to depend on the http servlet request directly.
Please use the classes and methods that are exposed by Wicket
I just tried migrating from beta3 to rc2 and now I am getting a ClassCastException from my AjaxSubmitButton subclass. I tried creating a very simple test page to make sure it wasn't something I was doing in my subclass, but I still get the same error:
10:30:22.468 ERROR! [SocketListener0-1]
look at the way TabbedPanel works. it gets a list of any number of panels and then swaps them so the right panel i shown for the selected tab.as far as your interface goes you can do something like this:String componentId=altcomp;
Component c=getAlternateComponent(componentId);if (c!=null) {
so wait, in your markup you have img src="" but in the browser output you have img src="" ???-IgorOn 4/28/06,
Rui Pacheco [EMAIL PROTECTED] wrote:
In the browser I just get the empty placeholder. The context for the application is /. The servlet mapping is servlet-nameUniversal/servlet-name
you are not missing anything. it was a bug in rc2. it is fixed in trunk.-IgorOn 4/28/06, Steve Knight
[EMAIL PROTECTED] wrote:I just tried migrating from beta3 to rc2 and now I am getting a ClassCastException from my AjaxSubmitButton subclass. I tried creating a very simple test page to make sure
well in this case it is okso do ((WebRequest)getRequest()).getHttpServletRequest()..-IgorOn 4/28/06, nato
[EMAIL PROTECTED] wrote:There is no example about this in the Wicket Examples. The only thing I
found is the Javadoc of WebRequest.getHttpServletRequest() that says
this warning:
In the markup I have img src="" and in the rendered I have img src="" href="http://myhost/mysite/images/foo.gif">http://myhost/mysite/images/foo.gif/
The path appears to be correct, but even if I call the image directly from the browser it won't show, so I guess its something else and not an
you have to use the WebRequest yes. So you need to cast something.Maybe this is something we can put into ClientInfo Object (but then you still need to cast i believe)johan
On 4/28/06, nato [EMAIL PROTECTED] wrote:
There is no example about this in the Wicket Examples. The only thing I
found is
yep, i dont see how wicket is at fault here.-IgorOn 4/28/06, Rui Pacheco [EMAIL PROTECTED]
wrote:In the markup I have img src=""
and in the rendered I have img src="" href="http://myhost/mysite/images/foo.gif" target="_blank" >http://myhost/mysite/images/foo.gif/
The path appears to be correct,
What is this going to do to speed/scalability? This is for a shopping
cart and these images will be what the users see on the first (and
busiest) page of the app.
On 4/27/06, Johan Compagner [EMAIL PROTECTED] wrote:
WebDynamicResource is new in the latest 1.2 releases
just a rename of
not much. if you used struts you would build it the same way.-IgorOn 4/28/06, Vincent Jenks [EMAIL PROTECTED]
wrote:What is this going to do to speed/scalability?This is for a shopping
cart and these images will be what the users see on the first (andbusiest) page of the app.On 4/27/06, Johan
does anyone want to answer? is there a wicket way to get the ip address of the client like the ServletRequest.getRemoteAddr() ?
On 4/28/06, nato [EMAIL PROTECTED] wrote:
There is no example about this in the Wicket Examples. The only thing I
found is the Javadoc of
Igor already answered:((WebRequest)getRequest()).getHttpServletRequest().getRemoteAddr()On 4/28/06, nato
[EMAIL PROTECTED] wrote:does anyone want to answer? is there a wicket way to get the ip address of the client like the
ServletRequest.getRemoteAddr() ?
On 4/28/06, nato
[EMAIL PROTECTED]
thanks guys!On 4/28/06, nato [EMAIL PROTECTED] wrote:
does anyone want to answer? is there a wicket way to get the ip address of the client like the ServletRequest.getRemoteAddr
() ?
On 4/28/06, nato
[EMAIL PROTECTED] wrote:
There is no example about this in the Wicket Examples. The only thing I
I have a dropdown for my page and I want to display a form only if the drop down is selected. How can I do that with wicket?__Do You Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
what do you mean you want to display a form only if the dropdown is selected? is the dropdown itself not in the form?-IgorOn 4/28/06, Aditya Patel
[EMAIL PROTECTED] wrote:
I have a dropdown for my page and I want to display a form only if the drop down is selected. How can I do that with
Do you mean you want the form to be hidden until a selection is made on your drop down list or something along those lines?On 4/28/06, Igor Vaynberg
[EMAIL PROTECTED] wrote:
what do you mean you want to display a form only if the dropdown is selected? is the dropdown itself not in the form?-Igor
If I guessed right as to what you are asking... Basically, when your
drop down has a value, you want to 'un-hide' another part of the page.
In your case a form. The most conventional way I know of is to override
the 'isVisible' method for the component you want to hide unhide. In
the code
The drop down is in the form and the rest of the page is in another form. That
form should be hidden until a selection is made on the drop down list.
---
Using Tomcat but need to do more? Need to support web services, security?
Get
Hi
I am writing a simple web application and I'd like to
- mark the label of required fields (ie. a star before the text)
- change the style of the _label_ that belongs to invalid fields
I've found a blog entry about how to change a component's style after
validation but I don't know how to
Hi,
I have a form on a bookmarkable page. I loaded it in two tabs, then
submitted both, which caused the second one to show an expired page
error. When I click back and try to submit again, the connection
stalls. Any idea what is causing this? I'm using Resin.
Michael Day
final Form otherform=otherform.setVisible(false);DropDownChoice ddc=new DropDownChoice() { void wantOnSelectionChangedNotifications() { return true; } onSelectionChanged() { boolean showOtherForm=...some condition;
otherform.setVisible(showOtherForm); }}-IgorOn 4/28/06, Adit [EMAIL PROTECTED]
Hi,
There is an issue when automatic multi-window support is turned off.
I have a form on a bookmarkable page. I loaded it in two tabs, then
submitted both. This caused the second one to show an expired page
error. When I click back and try to submit again, the connection
stalls.
here is a quickyclass MyCoolLabel extends SimpleFormComponentLabel) { public MyCoolLabel(String id, FormComponent fc) { super(id, fc); //attribute modifier to add the error css class
add(new SimpleAttributeModifier(class, error) { boolean isEnabled() { //only enable if the attached formcomponent
i already entered a bug report for this-IgorOn 4/28/06, Michael Day [EMAIL PROTECTED]
wrote:Hi,I have a form on a bookmarkable page.I loaded it in two tabs, then
submitted both, which caused the second one to show an expired pageerror.When I click back and try to submit again, the
i already entered a bug report for this
-Igor
On 4/28/06, Michael Day [EMAIL PROTECTED] wrote:
Hi,There is an issue when automatic multi-window support is turned off.I have a form on a bookmarkable page.I loaded it in two tabs, thensubmitted both.This caused the second one to show an expired page
I have a couple of questions regarding RadioGroup.
I have the following code:
---
span wicket:id=response
input wicket:id=radio1 type=radio /
label wicket:id=label1 class=radioChoice 1/label
Thanks, it works.
2006. 04. 28, péntek keltezéssel 16.32-kor Igor Vaynberg ezt írta:
here is a quicky
class MyCoolLabel extends SimpleFormComponentLabel) {
public MyCoolLabel(String id, FormComponent fc) {
super(id, fc);
//attribute modifier to add the error
Thanks for the input, I have a couple of quick questions for you regarding this implementation:
wicket:panel
span wicket:id=currentCurrent Component/span
/wicket:panel
public class AlternatablePanel extends UserPanel
{
private static Log log = LogFactory.getLog(AlternatablePanel.class);
First:Read the javadoc again:* The model object of the gorup is set to the model object of* the selected radio component or null if none selected.So the RadioGroup's model is the correct property model. What is incorrect is the model you set on the Radio components. The Radio component's model
you lost me.But the problem here is the markupID. How can I get the proper markupID to the component at *construction* time, so that I don't have to construct the object from the interface method (it's actually not possible for me to do since I have a set of 4-5 dependant panels who's models are
40 matches
Mail list logo