When using a bookmarkable page and altering the state of the page so
that the url is rewritten to
?wicket:interface=:n:myPage::ILinkListener:: etc, why is the basepath /
instead of the bookmarkable page's path?
If someone bookmarks a stateful page, they will be redirected to the
homepage if
Is it right that also userspage is also not serializable because userservice
is not serializable (not a proxy)?
Regards,
Rik
2008/7/21 Igor Vaynberg [EMAIL PROTECTED]:
class usersdataprovider implements dataprovider {
final userservice svc;
public int size() { return svc.size(); }
}
no.
@configurable overides serialization and null sout the reference.
@springbean injects a proxy that is serializable.
-igor
On Tue, Jul 22, 2008 at 12:05 AM, Rik van der Kleij [EMAIL PROTECTED] wrote:
Is it right that also userspage is also not serializable because userservice
is not
Hi
I am struggling to understand why I get the following error message when
replaying the LoadRunner script below. Basically, to make absolutely sure I
am on the correct page I have clicked a menu option twice to ensure that I
am on the Update Customer Page, then click on an Editable Grid to
use HybridUrlEncodingStrategy to mount the page.
Martijn
On Tue, Jul 22, 2008 at 8:46 AM, Edvin Syse [EMAIL PROTECTED] wrote:
When using a bookmarkable page and altering the state of the page so that
the url is rewritten to ?wicket:interface=:n:myPage::ILinkListener:: etc,
why is the basepath
The client can't live with the url's created by
HybridUrlEncodingStrategy. They are dead set on that arguments in the
url should be appended with ?, not dot. Conventionally, dots does not
denote arguments, and I must agree that he has a point.
I think everyone would agree that keeping the
Easy Answer: MS Word!
Quid licet iovi non licet bovi as the romans said.In english: if
it's ok for Microsoft it's still not ok for you!
Thomas
snip
Then the question is, why do they need those 7000 Windows 2000 Desktops?
Wouldn't they be better served by 7000 X server workstations and
I have three rules for directly referencing objects from pages
1) It's serializable
2) The valueis not going to change from the time I construct the page
to when I use the object
3) It doesn't matter if I get a copy of the object (because of deserialization).
2 3 can be summarized as the object
Hello,
How can I add a SimpleFormComponentLabel for an
org.apache.wicket.extensions.yui.calendar.DateField ?
The problem is that the SimpleFormComponentLabel uses the markupid of
the DateField itself
instead of the markupid of the nested DateTextField.
This code
DateField departure = new
hallo,
How can i override the
AbstractRequestTargetUrlCodingStrategy.decodeParameters() function to catch
and correct the exception java.lang.IllegalStateException: URL fragment has
unmatched key/value pair
please help!
--
View this message in context:
Hello again,
Actually I have created a behavior that automatically add labels and
validation messages for all my formComponents:
@Override
public void beforeRender(Component component) {
FormComponent formComponent = (FormComponent)component;
if (formComponent.getLabel() == null) {
Hi All,
Looking for some pointers. Anyone?
nanotech wrote:
Hi,
I am trying to add a column of checkboxes in data table with CheckGroup
Selector.
Html looks like this
wicket:panel
form wicket:id=form
input type=checkbox
Hi everyone,
I would like to use Wicket in cms system.
I wonder, is it possible to place *html files somewhere else than war
package, so every user could edit html files whenever he wants?
I would like to use html files as templates.
Do you know what I mean?
Sorry for my english.
Best regards,
Perhaps my non versioned HybridUrlEncoding strategy is something for you:
http://www.nabble.com/More-on-wicket-url-stratergy-td18212748.html#a18273996
Regards,
Erik.
Edvin Syse wrote:
The client can't live with the url's created by
HybridUrlEncodingStrategy. They are dead set on that
There are a few examples of doing this in the docs/wiki.
But the answer is generally yes, you could put them anywhere you like.
- Brill Pappin
On 22-Jul-08, at 9:16 AM, Piotr Janik wrote:
Hi everyone,
I would like to use Wicket in cms system.
I wonder, is it possible to place *html files
What if I want to pass parameter to message?
For example, You must pay more {0} dollars. I want to set {0} with a
parameter.
How can I do?
Thanks!
Gerolf Seitz wrote:
myComponent.error(getString(my.localized.key));
Gerolf
--
View this message in context:
there is a checkgroup inside datatable example in wicket-stuff phonebook
-igor
On Tue, Jul 22, 2008 at 3:37 AM, nanotech [EMAIL PROTECTED] wrote:
Hi All,
Looking for some pointers. Anyone?
nanotech wrote:
Hi,
I am trying to add a column of checkboxes in data table with CheckGroup
then use component.getstring() that takes a model which is a map of
key, values that will be interpolated in the string.
if you want {0} format then use java's formatter to interpolate it
-igor
On Tue, Jul 22, 2008 at 7:08 AM, liny [EMAIL PROTECTED] wrote:
What if I want to pass parameter to
Hello,
I want to be able to build a left-side dynamic navigation bar based on user
permissions. For example, if the user does not have access to the Prices
page, I do not want to show the Prices link on the navigation bar. Also,
since the link will point to a Wicket page, it has to be a
I'd use a ListView :)
Assuming this lil code
add( new ListView(list, linkList )
{
public void populateItem(ListItem item)
{
item.add( (Link)linkList );
}
});
You'd have the html look something like this
ul wicket:id=list
lia href=#
Rik,
Also see http://jira.springframework.org/browse/SPR-4302
Regards - Cemal
http://www.jWeekend.co.uk http://jWeekend.co.uk
Rik van der Kleij-2 wrote:
Is it right that also userspage is also not serializable because
userservice
is not serializable (not a proxy)?
Regards,
Rik
Hi Igor,
Thanks for the reply. I had a look at the phonebook example application in
wicket-stuff.
I have a question?
1. Currently it does not maintain the checked(or selected) items if you
change the datatable's pages. How can I add that feature?
2. Can I replace CheckBox with AjaxCheckBox and
Thanks for the quick reply.
Wouldn't this force all links to have the same wicket ids (linkid)?
I'd like to be able to have the line items look like this:
ul wicket:id=list
li # Link01 text here /li
li # Link02 text here /li
li # Link03 text here /li
/ul
Alexander
They need the same wicket:id yes, but that doesn't mean that they need the same
text or targets. Just create as many links as you want/need, with whatever
behaviour they need. Just make sure they all have the same id :)
Alex
-Opprinnelig melding-
Fra: Edbay [mailto:[EMAIL PROTECTED]
Got a couple of questions:
1. BookmarkablePageLink - shouldn't events be exposed so that the target
page [ page 2 in Joe's example ] is bookmarkable and still the user inputs
could be passed as pageParameters?
2. SubmitLink - Why doesn't it have PopupSettings ?
3.
On Tue, Jul 22, 2008 at 09:59:48AM -0700, Edbay wrote:
Thanks for the quick reply.
Wouldn't this force all links to have the same wicket ids (linkid)?
I'd like to be able to have the line items look like this:
ul wicket:id=list
li # Link01 text here /li
li # Link02 text
Edbay wrote:
I tried using ListView, but I could not get it to work, as it forces the
wicket id of the line items to be all the same.
Why is that a problem? Using ListView should be a good solution. Could you
elaborate?
--
View this message in context:
Hi Igor,
I changed the implemention of wicket-stuff-phonebook to suit my needs where
in i needed do disable the delete button if none selected and re-enable it.
I also successfully used AjaxCheckBox and updated the webmarkup container
containing buttons.
Now, in the same example app.
1. I am
Here is my code that works for me. I put the navigation bar in a panel.
wicket:panel
span wicket:id=mainNavList
span wicket:id=navigationItem
a href=#
span wicket:id=navigationLabel/span
/a
/span
/span
/wicket:panel
And the java class looks like this:
The characters from my markup pages and my data model is for some reason
rendered with different character encoding. The characters in the markup
shows up just right, while the exact same text hardcoded in a Label becomes
garbage.
This is what i get in the web browser. The web page is utf-8
I get this approach. Can you provide the code for the panel?
ul
!-- note: the tag here is only for preview,
it will be replaced by the link panel contents --
li wicket:id=menuItem # Foo /li
/ul
RepeatingView menu = new RepeatingView(menuItem);
menu.add(new
I just tried this plugin for the first time and I got the example to run. But
as soon as I tried to do something as simple as loop through a list of
items, it all came unstuck (code below). It seems to me like the mismatch
between Wicket's use of anonymous inner classes and Groovy's lack of
Something like this...
wicket:panel
a wicket:id=linkspan wicket:id=labelFoo/span/a
/wicket:panel
public class MyMenuPanel extends Panel {
public MyMenuPanel(String id, String label, Class pageClass) {
super(id);
Link link = new BookmarkablePageLink(link, pageClass);
add(link);
On Tue, Jul 22, 2008 at 7:51 PM, srizmi [EMAIL PROTECTED] wrote:
Got a couple of questions:
1. BookmarkablePageLink - shouldn't events be exposed so that the
target
page [ page 2 in Joe's example ] is bookmarkable and still the user inputs
could be passed as pageParameters?
Works!
:clap:
wicket:panel
Foo
/wicket:panel
public class MyMenuPanel extends Panel {
public MyMenuPanel(String id, String label, Class pageClass) {
super(id);
Link link = new BookmarkablePageLink(link, pageClass);
add(link);
link.add(new Label(label, label));
}
}
Hi,
I have not yet looked much into Wicket but am quite interested in the
project.
We have a specific requirement where I could not yet find the right
information/documentation for.
We need to put multiple components onto a page receiving data through
web services. A single web services
After a page submit, I need to identify if any components on the page failed
validation. I’ve come up with two possible solutions, but they both seem to
be workarounds and I'm not 100% they cover all conditions.
1. Traverse the page’s component hierarchy using a custom visitor.
Hi,
I've switched to using the YuiMenuBar in wicket stuff from directly using
the Yui javascript.
The YuiMenuBar automatically adds this javascript...
var oMenu = new YAHOO.widget.MenuBar(webMenuBar,
{visible:true,clicktohide:false,autosubmenudisplay: true,
On Mon, 21 Jul 2008, lars vonk wrote:
Is it maybe an idea to change this to a registerConverter(IConverter)
method that I can call? That saves me a custom IConverterLocator to
implement.
Normally you can just register converters in init() of your
Application subclass. You only need your own
On Mon, 21 Jul 2008, marco m wrote:
When I submit my form using the tester, all of the properties of my model
object are null.
Print out the feedback messages from the Session. It sounds
like your FileUploadField.causes a validation error.
Best wishes,
Timo
On Tue, 22 Jul 2008, sstendal wrote:
rendered with different character encoding. The characters in the markup
shows up just right, while the exact same text hardcoded in a Label becomes
garbage.
Are you compiling on Windows by any chance? If not, what is
your system locale when compiling?
I
41 matches
Mail list logo