Done: https://issues.apache.org/jira/browse/WICKET-720
But unfortunately the TestCase works as expected, while the in the wild
test fails.
--
View this message in context:
http://www.nabble.com/AjaxLink-not-updating-Image-tf3915168.html#a11425908
Sent from the Wicket - User mailing list
Ok, thanks.
Igor Vaynberg wrote:
On 7/3/07, *Nino Saturnino Martinez Vazquez Wael*
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:
Hi
I have this setup:
ListView blockContainer = new ListView(blockContainer, model) {
protected void populateItem(ListItem
Very interesting question indeed.
I did some digging in the code and found the following: using the
RequestCycle you can get the Response. which is most likely a
WebResponse from there you can get the HttpServletResponse and set the
statuscode to 401. Question remains how to tell wicket to stop
eelco,
speaking of wicket-datetime.
is it possible to change the default implementation of
notifyComponentOnDateSelected to return true?
when telling other people (happend twice up to now) about how to use the
datepicker, i always felt the urge to tell them to override this method if
they wanted
you can use a Page that you also display and then in the configureResponse()
you can set the right status
like the AccessDeniedPage does:
protected void configureResponse()
{
super.configureResponse();
getWebRequestCycle().getWebResponse().getHttpServletResponse().setStatus(
the reason i using the tree is my menu will be cover a lot of reports ( i m
develop the report module). So if using the tree style, the interface will
be look more nicer and structure. Plus the dynamic feel to the user :p (more
attractive). is that the wicket - tree is hard to maintain? Actually
Is there an elegant way to do the opposite of what the AuthorizeAction
annotation was intended for?
I have an unregister function that any user _except_ the admin user
should be able to use. If the admin unregisters, I'm f*.
Essentially, I'd really like to be able to do something like this:
Hi all,
Rather than using the default session expiry page I registered my
LoginPage with
getApplicationSettings().setPageExpiredErrorPage(LoginPage.class);
Is there a way to pass along parameters to the LoginPage when it's
registered as the expiry page? On the LoginPage I want to let the
Is there a way to pass along parameters to the LoginPage when it's
registered as the expiry page? On the LoginPage I want to let the user know
that he has to relogin because his session expired however within the
LoginPage I cannot determine the cause anymore.
How about ExpiredPage extends
thats why the source is open for you to hack into :)
however,
1. for the Not Set Stuff, check the XCell class for modification
2. the one without ajax is easy, Look up the ExcelGridPanel class and make
these modifications
final XCell cell = ...
TextField celltx = new TextField(cell, new
Carl-Eric Menzel wrote:
Is there a way to pass along parameters to the LoginPage when it's
registered as the expiry page? On the LoginPage I want to let the user know
that he has to relogin because his session expired however within the
LoginPage I cannot determine the cause anymore.
How
Ah didn't think of that, that'll work. Does Wicket travel up the hierarchy
tree to look for the
markup file? If ExpiredPage.html doesn't exist, will it use LoginPage.html?
I don't really know and can't test it right now. I just thought of that off the
top of my head ;-) Simply give it a
Hello, thx a lot for your input!
In fact the value are sticking well after the submit. But I was explicitly
reloading a new page with the values of the checkboxes.
So that was bad but my Form model should be oK.
What I don't understant is that I created a Form that I added to my Page.
I didn't
Unfortunately, there is no control of the opacity. The problem is that
for certain browsers, the opacity attribute doesn't work well and we
need to use a masking transparent picture.
-Matej
On 7/4/07, Sean Sullivan [EMAIL PROTECTED] wrote:
Hello,
I am using a Wicket 1.3.0 SNAPSHOT from the
I believe, that what you want, is not to set response page, but rather
to switch panel components. At least that sounds much more reasonable
to me.
-Matej
On 7/4/07, kenixwong [EMAIL PROTECTED] wrote:
the reason i using the tree is my menu will be cover a lot of reports ( i m
develop the
On Wednesday, July 4, 2007, 3:25:33 AM, Lec [EMAIL PROTECTED] wrote:
I have been trying to figure out a reason as to why wicket-phonebook 1.3
couldn't be executed anymore after reloading in glassfish but it can be done
in tomcat 5.x...I could reload it in glassfish without seeing error on the
Thanks for that Dave.
It does make sense.
But I know the values are stored in the session pagemap, so I'd like to be
able to get them from there. I was hoping that a combination of a bookmarked
url, and maybe cookie or hidden field, managed by wicket, would be enough
for wicket not to stray
Philip,
But I know the values are stored in the session pagemap, so I'd like
to be able to get them from there. I was hoping that a combination
of a bookmarked url, and maybe cookie or hidden field, managed
by wicket, would be enough for wicket not to stray from my 'nice'
bookmarked url,
I'm using wicket 1.2.6 and I'd like to display simple gif images.
I have the following code in my constructor for WelcomePage:
add(new Image(toplogo, new ResourceReference(WelcomePage.class,
toplogo.gif)));
The html looks like:
..
trtd /img/td/tr
..
The
Ah didn't think of that, that'll work. Does Wicket travel up the hierarchy
tree to look for the markup file? If ExpiredPage.html doesn't exist, will it
use LoginPage.html?
Yes
janos
-
This SF.net email is sponsored
On 7/4/07, Ox [EMAIL PROTECTED] wrote:
What I don't understant is that I created a Form that I added to my Page.
I didn't relate the form to the DefaultDataTable
you need to relate it to the dataprovider rather then the table
This table has a DataProvider. Do I have to use an instance
On 7/4/07, David Leangen [EMAIL PROTECTED] wrote:
What I can't figure out here is this: when the form's submit button gets
pressed on the current page, obvious a new HttpServletRequest gets sent to
the server, and the onSubmit() method gets invoked.
1. What URL is sent to the server?
the
On 7/4/07, Gohan [EMAIL PROTECTED] wrote:
I'm using wicket 1.2.6 and I'd like to display simple gif images.
I have the following code in my constructor for WelcomePage:
add(new Image(toplogo, new ResourceReference(WelcomePage.class,
toplogo.gif)));
The html
On 7/4/07, Philip Wilkinson [EMAIL PROTECTED] wrote:
Thanks for that Dave.
It does make sense.
But I know the values are stored in the session pagemap, so I'd like to be
able to get them from there. I was hoping that a combination of a
bookmarked
url, and maybe cookie or hidden field, managed
Hi,
I'm trying to update the provided TabbedPanel to be able to provide a new
CSS style to each tab so I can control the color of each tab.
I tried subclassing TabbedPanel and adding this method:
@Override
protected void onBeforeRender() {
super.onBeforeRender();
// get
Hi
How do I make that IModel.getObject of FormComponets gets called on every
request?
I have a form, wich dislpays a record from a database. On the form I have
put buttons for navigation - previos and next records and so on. These
buttons have DefaultFormProcessing set to false (needs to be,
Thank god, I fixed it :)
I had to iterate trough FormComponents and call valid(). modelChanged()
shoud work also, I think.
--
View this message in context:
http://www.nabble.com/Model.getObject---non-processing-form-submits-tf4025837.html#a11435495
Sent from the Wicket - User mailing list
I've thought of a way of making my question clearer.
I have a web page with a form which is accessed thru a bookmarked url so the
address looks like
http://localhost:8080/MyApp/myform
I submit the form and the validation fails, the url in the address bar now
looks like this
The first London Wicket Users Group went well; it was informative,
interesting and entertaining.
Our generous hosts at Arclight Media took really good care of us and Matt
Dudbridge rounded the evening off with a nice presentation about the
impressive http://zoomf.com zoomf.com .
Alastair Maw's
Hi,New to wickets - trying to figure out how to dynamically add i fra mes to a
page.Both the url to be set in the iframe and the body of the I want to
dynamically add i fr ames to external urls (i.e. urls not in
the wicket pkg. - some external entities. , i.e. i do not
know how many of these
I would like to use the InlineFrame, but the InlineFrame does not work. The
codes are as follows:
body
span wicket:id=libBorder
iframe wicket:id=bFrame src=[source] name=bottom/
/span
/body
public class Map extends WebPage {
public static final String
On 7/4/07, Gerolf Seitz [EMAIL PROTECTED] wrote:
eelco,
speaking of wicket-datetime.
is it possible to change the default implementation of
notifyComponentOnDateSelected to return true?
when telling other people (happend twice up to now) about how to use the
datepicker, i always felt the
I'm trying to create a foldable box component - not unlike the quick
contacts and labels boxes in gmail. I want to render some markup around a
border's contents - particulary, an open/close link. So far, I've made it
toggle the value of Border.setBorderBodyVisible() and it works fine.
But. I
New to wickets - trying to figure out how to dynamically add i fra mes to a
page.
Both the url to be set in the iframe and the body of the
I want to dynamically add i fr ames to external urls (i.e. urls not in the
wicket pkg. - some external entities. , i.e. i do not know how many of these
I have an authorization scheme where by the user is presented with a sign in
page. After signing in, a check is made to see if they need to change their
password. If so, they are redirected to a change password page. After that
they should be redirected back to their intended page.
Ah didn't think of that, that'll work. Does Wicket travel up the hierarchy
tree to look for the markup file? If ExpiredPage.html doesn't exist, will it
use LoginPage.html?
Yes
That's a nice idea. But for the record, alternatively you could use a
custom request cycle, override public Page
I know this is long winded, and I apologize. But it would be nice to
know the best way to deal with a large imagemap like this. I would be
happy to post this information on the wiki, but I don't want to do it
if there are better solutions. So any advice would be appreciated.
Tbh, I never
I am trying to render two columns of panels of a given type on a page.I want to
use the dataview to get the content from the DB and make use of the
pagenavigation.I want to set up a maximum of 5 panels per column and
essentially have navigation to the next page if there is more to render.All
On 7/4/07, Erik Dreyer [EMAIL PROTECTED] wrote:
Hi,
I'm trying to update the provided TabbedPanel to be able to provide a new
CSS style to each tab so I can control the color of each tab.
I tried subclassing TabbedPanel and adding this method:
@Override
protected void
On 7/4/07, Ed _ [EMAIL PROTECTED] wrote:
I am trying to render two columns of panels of a given type on a page.
I want to use the dataview to get the content from the DB and make use of
the pagenavigation.
I want to set up a maximum of 5 panels per column and essentially have
navigation to
On 7/4/07, Erik Dreyer [EMAIL PROTECTED] wrote:
Hi,
I'm trying to update the provided TabbedPanel to be able to provide a new
CSS style to each tab so I can control the color of each tab.
I tried subclassing TabbedPanel and adding this method:
@Override
protected void
On Wed, 2007-07-04 at 12:14 -0700, Philip Wilkinson wrote:
I've thought of a way of making my question clearer.
I have a web page with a form which is accessed thru a bookmarked url so the
address looks like
http://localhost:8080/MyApp/myform
I submit the form and the validation fails,
Thanks, Igor, that makes sense.
But still one more question before I really understand onSubmit():
I could have this in my onSubmit:
if( isValidated )
setResponsePage( PageOne.class );
else
setResponsePage( PageTwo.class );
So, what gets sent back in the HttpServletResponse is different
On 7/4/07, David Leangen [EMAIL PROTECTED] wrote:
Thanks, Igor, that makes sense.
But still one more question before I really understand onSubmit():
I could have this in my onSubmit:
if( isValidated )
setResponsePage( PageOne.class );
else
setResponsePage( PageTwo.class );
So, what
snip
b) we can add this functionality to the tabbed pael in core, making it a bit
more bloated.
i dont mind (b) if its just adding tab1, tab2 class attributes.
/snip
That would be much appreciated...
item.add(new AttributeAppender(class, true, new Model(tab+index), ));
On 7/4/07, Igor
Maybe this helps---| _Prev /1/2/Next_ |||
P1 | | P2 | || - --- || _
|
|| P3 | | P4 | |
| - --- || _ |
|| P5 | |
Igor,
hope this helps some
Yep. Helps me to understand how this works. Very clever. Thanks!
Hopefully it will also help Philip, who was asking the questions about
this.
Cheers,
Dave
On Wed, 2007-07-04 at 20:31 -0700, Igor Vaynberg wrote:
On 7/4/07, David Leangen [EMAIL PROTECTED]
On 7/4/07, Ed _ [EMAIL PROTECTED] wrote:
Maybe this helps
---
| _Prev /1/2/Next_ |
| | P1 | |P2| |
| - --- |
| _ |
| | P3 | |P4| |
| - --- |
| _
On Wed, 04 Jul 2007, Erik Dreyer wrote:
snip
b) we can add this functionality to the tabbed pael in core, making it a bit
more bloated.
i dont mind (b) if its just adding tab1, tab2 class attributes.
/snip
That would be much appreciated...
item.add(new AttributeAppender(class, true, new
On Tue, 03 Jul 2007, Igor Vaynberg wrote:
the problem here is that onchange is fired when the focus is lost from the
field. so if you are on that field and you click the submit button this will
result in two form-submittals that are very very close to each other. thus
the double submit that
50 matches
Mail list logo