Thanks. I will do that. I was just looking for an easier way to customize the
presentation.
I did find out though that you can override the style sheet palette.css
pretty easily, although this does not allow you to replace the images
--
View this message in context:
Thanks, everyone. I did manage to replace the images by subclassing Palette
and overriding newAddComponent() and newRemoveComponent(). Strange I could
not do the same for the CSS file, so I created my own palette.css and added
that in my html.
Igor - how do I add an RFE?
--
View this
This code does not override the list headers. I'm using 1.3.4 - what am I
doing wrong?
public class MyPalette extends Palette
{
private static final long serialVersionUID = 1L;
public MyPalette(String wicketId, Model toEntriesModel, Model
fromEntriesModel, ChoiceRenderer
Hi, did you find a solution to this?I have the same issue.
--
View this message in context:
http://www.nabble.com/Prepopulating-palette-tp18656359p18817837.html
Sent from the Wicket - User mailing list archive at Nabble.com.
Can I customize palette to use a different set of images for the arrows? how
about the layout of the headers?
Can I attach a javascript to the images to do other things (for example,
show more info about the selected item)?
--
View this message in context:
Hi,
The solution is to add the selected profile to the available list
See this thread:
http://www.nabble.com/Palette-header-td12673870.html#a18817811
--
View this message in context:
http://www.nabble.com/Prepopulating-palette-tp18656359p18818301.html
Sent from the Wicket - User mailing
Can you be a bit more specific, eg. how would you replace the button images?
--
View this message in context:
http://www.nabble.com/Customizing-palette-tp18817932p18820997.html
Sent from the Wicket - User mailing list archive at Nabble.com.
I have a listview consisting of user info in a HTML table that I want to
refresh when the user picks a value from a dropdownlist of department codes.
Below is the pseudocode, cobbled together from various postings on the net.
The code runs the first time; however, subsequent requests do not
Worked!!!
Can you explain how putting the model name in quotes does the trick?
mypage extends page{
private string dept;
public mypage() {
add(new dropdownchoice(id, new propertymodel(this, dept));
add(new listview(list, new propertymodel(this, users));
}
public listuser getusers() {
Only problem here is that I populate the dropdown like so:
List depts = new ArrayListString ();
depts.add(A);
depts.add(B);
How do I get this list into the dropdown using the suggested code below?
mypage extends page{
private string dept;
public mypage() {
add(new
Thanks, this works.
It's actually in getClientInfo().getProperties().getRemoteAddress();
--
View this message in context:
http://www.nabble.com/Another-question-on-client-IP-address-and-HttpRequest-tp18642444p18653387.html
Sent from the Wicket - User mailing list archive at Nabble.com.
I know that the client IP address can be obtained from the raw HttpRequest,
but only if you are in a WebPage, but is there a way to get to it from the
session?
Reason I'm asking is upon the creation of a user session, I'd like to be
able to get the IP address of the user and log it for audit
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
li # Link text here /li
/ul
Just remember to add whatever you want to the item, and not just use
add(...).
http://wicket.apache.org/docs/wicket-1.3.2/wicket/apidocs/org/apache/wicket/markup/html/list/ListView.html
Alex
-Opprinnelig melding-
Fra: Edbay [mailto:[EMAIL
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
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));
}
}
16 matches
Mail list logo