Re: ssl post to creditor company

2008-04-30 Thread Mathias P.W Nilsson
Ok! I guess I'll have to do this outside of wicket. HTTPClient or something like that. Is this correct? -- View this message in context: http://www.nabble.com/ssl-post-to-creditor-company-tp16978155p16979016.html Sent from the Wicket - User mailing list archive at Nabble.com.

ssl post to creditor company

2008-04-30 Thread Mathias P.W Nilsson
Hi! I must integrate my wicket webapplication with a creditor company. It is a https post with a lot of parameters. I need to check all parameters first and the forward the post to the billing company. Any suggestions on how to do that? -- View this message in context: http://www.nabble.com/ssl

Modal window and height

2008-04-29 Thread Mathias P.W Nilsson
Hi! I can't set initial height and width on my modal window. It's always the same height and width when opening it. final ModalWindow modal; add(modal = new ModalWindow("modal")); modal.setPageMapName("modal-4"); modal.setCookieName("modal window 4");

Re: Checking for file

2008-04-28 Thread Mathias P.W Nilsson
Yes, I tried a normal thread but that of course didn't work final WebMarkupContainer container = new WebMarkupContainer( "container" ); container.add( new AjaxSelfUpdatingTimerBehavior( Duration.ONE_SECOND){ protected void onPostProcessTa

Checking for file

2008-04-28 Thread Mathias P.W Nilsson
Hi! I'm generating files ( pdf ) in a server and I want to check for the file and when the file becomes available show it to the user 1. User clicks create preview 2. A modal window opens showing ( processing file ) 3. When the file is available show link in modal window. I don't know how

Administration in wicket

2008-04-24 Thread Mathias P.W Nilsson
Hi! I want to create administration for a site. Site.se. The administration should reside in Site.se/administration How can I tell wicket to go to a BasePage when user types in Site.se/administration. The HomePage is already set for the Site.se. How can I set a HomePage for Site.se/administratio

Re: How to set the path for a uploadfolder?

2008-04-24 Thread Mathias P.W Nilsson
Not quite sure but you can get the folder that is the root of your application context File file = new File( getServletContext().getRealPath( "/" ) ); -- View this message in context: http://www.nabble.com/How-to-set-the-path-for-a-uploadfolder--tp16848200p16850438.html Sent from the Wicket - U

Re: Problem with how to make variation

2008-04-24 Thread Mathias P.W Nilsson
Jepp, pagename_style_language.properties. Thank you for your feedback. I will go with this stratergy -- View this message in context: http://www.nabble.com/Problem-with-how-to-make-variation-tp16834129p16850182.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: Problem with how to make variation

2008-04-24 Thread Mathias P.W Nilsson
Another question for this.. The site1.com text will be different from Site2.com text even if the resource key is the same the text will not be the same. Can you set a resource based on locale and style? -- View this message in context: http://www.nabble.com/Problem-with-how-to-make-variation-t

Re: Problem with how to make variation

2008-04-24 Thread Mathias P.W Nilsson
Thanks you very much. Do you set up virtual hosts in tomcat, JBoss that all points to the same application? This is what I got so far. public class HairlessSession extends WebSession { private static final long serialVersionUID = 1L; public HairlessSession( Request requ

Re: Problem with how to make variation

2008-04-24 Thread Mathias P.W Nilsson
Thanks! Is this really a good idé? What about testing. editing the host files I guess? Is this what you normally do when building different websites with the same model? -- View this message in context: http://www.nabble.com/Problem-with-how-to-make-variation-tp16834129p16849672.html Sent from

Problem with how to make variation

2008-04-23 Thread Mathias P.W Nilsson
Hi! I have a model that should be shared with 4 websites. site1.se, site1.com, site2.se, site2.com So the only diffrents between site1.se and site2.com is the language. The diffrents between site2 and site1 is layout. How can this be done? I want to set the langauge in startup. the site1.se is

Default value on textfield

2008-04-21 Thread Mathias P.W Nilsson
Any component that has a textfield that changes default value if focus is gained and set the default value if focus is lost? -- View this message in context: http://www.nabble.com/Default-value-on-textfield-tp16804315p16804315.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: checkboxes and Link

2008-04-21 Thread Mathias P.W Nilsson
Thanks! I have made the javascript function outside wicket. It's not the best solution but a global variable could be defined by another user. Is there any way to add javascript in a function manner and not in the onclick. I know I can call a javascript function but can I supply the whole funct

Reuse Link in Wicket

2008-04-20 Thread Mathias P.W Nilsson
I want to reuse a Link in wicket. I have a link that set response page to another class. I will have the same link for image and label. In some rare occations I can't add the image and label to the link but I want to use the link for both the label and the image. Is this possible? -- View this me

Re: Wicket saving files

2008-04-20 Thread Mathias P.W Nilsson
No you are perfectly right. I have now Springed a path into the wicket that holds the folder for my external folder. The problem arises when trying to show an image in the wicket applet from the folder but I see you are suggesting to get it via a servlet. I'll have to look into this for testing

Re: checkboxes and Link

2008-04-20 Thread Mathias P.W Nilsson
Thanks I have looked at it and this is what I got so far protected void onComponentTag(ComponentTag tag) { checkComponentTag(tag, "a"); checkComponentTagAttribute(tag, "href", "#"); CheckGroup group = (CheckGroup)findParent(CheckGroup.class

Re: RequiredValidator

2008-04-20 Thread Mathias P.W Nilsson
What version of wicket are you using. >From the 1.2 snapshot wich was a while ago = This validator has been deprecated in favor of FormComponent.setRequired(boolean) Validator that ensures a component has a non-null and non-empty value. If the component's value is

Wicket saving files

2008-04-20 Thread Mathias P.W Nilsson
Hi! I'm using the getServletContext().getRealPath( "/" ) for saving uploaded images, xml and so on for my wicket application. My problem is that when I deploy my application all this files will be deleted. How can I save my files in an external folder within wicket and load, show images in wicke

Re: checkboxes and Link

2008-04-20 Thread Mathias P.W Nilsson
Thanks but this will add a checkbox to select all not a link. I want to select all with a link and not a checkbox -- View this message in context: http://www.nabble.com/checkboxes-and-Link-tp16757399p16795205.html Sent from the Wicket - User mailing list archive at Nabble.com.

Form clear

2008-04-17 Thread Mathias P.W Nilsson
Hi! I have an user Form that is posted with AjaxFallbackButton. When the forms gets submitted without error I want to clear the form. How can I reset the form? -- View this message in context: http://www.nabble.com/Form-clear-tp16760778p16760778.html Sent from the Wicket - User mailing list ar

Re: Get working URL

2008-04-17 Thread Mathias P.W Nilsson
Thanks Igor ((WebRequest) getRequest()).getHttpServletRequest().getRequestURL().toString() did the trick! -- View this message in context: http://www.nabble.com/Get-working-URL-tp16758219p16758760.html Sent from the Wicket - User mailing list archive at Nabble.com. -

Get working URL

2008-04-17 Thread Mathias P.W Nilsson
Hi! Is there any way that I can get the the current URL from my wicket application. the getServletContext() let me get the real path but I want the url. like http://localhost/myapplication/... -- View this message in context: http://www.nabble.com/Get-working-URL-tp16758219p16758219.html S

checkboxes and Link

2008-04-17 Thread Mathias P.W Nilsson
Hi! I need to add Checkboxes to a listview and a way to check, uncheck all checkboxes using a Link. any pointers would be appreciated. -- View this message in context: http://www.nabble.com/checkboxes-and-Link-tp16757399p16757399.html Sent from the Wicket - User mailing list archive at Nabbl

Re: problem with menu

2008-04-16 Thread Mathias P.W Nilsson
Thanks alot. It worked now. inspired by suckerFishPanel this is what I came up with class NavigationMenuItem{ public static final String LINK_ID = "link"; private final AbstractLink link; private final Label label;

Re: problem with menu

2008-04-15 Thread Mathias P.W Nilsson
Thanks! How can this be done with markup inheritance. I want to display a div menu like -- Header content change for pages -- footer -- The content for pages could be and with links. If I use inheritance then the content will be in a parent page. I don't know how to proceed. -- V

problem with menu

2008-04-15 Thread Mathias P.W Nilsson
Hi! I have a problem with a menu that should be in all pages but have different links. Is there anyway of achiving this. Adding links to parent class or something like that. It is a right meny with the same layout but different content. -- View this message in context: http://www.nabble.com/pr

Re: Applet parameter

2008-04-13 Thread Mathias P.W Nilsson
I looked at this example and solved it. http://cwiki.apache.org/WICKET/object-container-adding-flash-to-a-wicket-application.html http://cwiki.apache.org/WICKET/object-container-adding-flash-to-a-wicket-application.html -- View this message in context: http://www.nabble.com/Applet-parameter-t

Applet parameter

2008-04-13 Thread Mathias P.W Nilsson
Hi! How can I add dynamic parameters to my applet from wicket? param name="DocumentId" value="292640"/> The value needs to come from wicket. How can I add this? -- View this message in context: http://www.nabble.com/Applet-parameter-tp16657238p16657238.html Sent from the Wicket - User mailing

Re: @SpringBean in init

2008-04-08 Thread Mathias P.W Nilsson
That worked like a charm! Thanks! -- View this message in context: http://www.nabble.com/%40SpringBean-in-init-tp16548410p16558424.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail:

Re: @SpringBean in init

2008-04-08 Thread Mathias P.W Nilsson
Where should I do that? I have done this right now and it worked (Application)Application.get()).getSpringContextLocator().getSpringContext().getBean( "setting" ) but it is not pretty! -- View this message in context: http://www.nabble.com/%40SpringBean-in-init-tp16548410p16553797.html Sent f

Re: localizer and variables

2008-04-08 Thread Mathias P.W Nilsson
This is what I got so far new StringResourceModel( "email.forgotlogin.body" , Login.this, new Model(), new Object[]{ user.getUserName(), user.getPassWord() } ).getString(); must I really do this for every string? -- View this message in context: http://www.nabble.com/localizer-and-variables

localizer and variables

2008-04-08 Thread Mathias P.W Nilsson
Hi! In my property file i can do this email.subject=Hi {name}! Here is your confirmation. How can I use this in my wicket page? I have looked at getLocalizer() but there is no were to set the name variable. How can I use this in wicket? -- View this message in context: http://www.nabble.com/l

@SpringBean in init

2008-04-08 Thread Mathias P.W Nilsson
Hi! I have extended the SpringWebApplication and the init method looks like addComponentInstantiationListener(new SpringComponentInjector(this)); I want to access my @SpringBean in the init method but it fails. How can I do this? I need to cache all users from a webservice in application start

Form processing question

2008-04-05 Thread Mathias P.W Nilsson
Hi! I have this simple form that has a property model and in the onSubmit I handle the data. Is this the correct way of doing it? Sometimes it takes a little time for the form to redirect after post. If doing this in php I would have an intermediate page that would handle the process so the user

Re: Multiple TextField in ListView

2008-04-05 Thread Mathias P.W Nilsson
Thanks! I will try this immediately! -- View this message in context: http://www.nabble.com/Multiple-TextField-in-ListView-tp16492002p16510457.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscr

Re: Sorting and ListView

2008-04-04 Thread Mathias P.W Nilsson
Couldn't you just use the Comparator? Add all items to a list, with the translated name implement Comparator and make the sort. Return the sorted list as a model. -- View this message in context: http://www.nabble.com/Sorting-and-ListView-tp16493832p16494143.html Sent from the Wicket - User mail

Multiple TextField in ListView

2008-04-04 Thread Mathias P.W Nilsson
Hi! In my application a user should be able to connect keywords to a datasheet. When clicking the link add keywords 10-20 textfields should appear and the user can enter data to the fields. #1 textField #2 textfield .. How can I handle this like an array in wicket? I do not want to add

Re: Variation for a page

2008-03-31 Thread Mathias P.W Nilsson
Thanks! I'm using Fragment right now but I have some difficulties in updateing the fragment. I have 3 private classes in my Wicket page for each fragment. private final class ThumbnailFragment extends Fragment { private static final long serialVersionUID = 0L;

Variation for a page

2008-03-31 Thread Mathias P.W Nilsson
Hi! I have a page that can have multiple views. A detailed list, a text list and a thumbnail list. All data is comping from the same model but how can I change the layout for the view? Should I use 3 different html templates or how should I solve this? -- View this message in context: http://w

Re: css menu and wicket

2008-03-16 Thread Mathias P.W Nilsson
Thanks! This works. Just need some adjustments in the css :) -- View this message in context: http://www.nabble.com/css-menu-and-wicket-tp16062124p16079941.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: css menu and wicket

2008-03-15 Thread Mathias P.W Nilsson
I'm reading the Wicket in Action MEAP right now, just begun, and it seam like Behavior could fit into the picture? Any comments? -- View this message in context: http://www.nabble.com/css-menu-and-wicket-tp16062124p16066979.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: How to pop a warning dialog box when clicking a checkbox

2008-03-15 Thread Mathias P.W Nilsson
See this link http://javathoughts.capesugarbird.com/2008/01/wicket-13-ajax-button-with-confirmation.html warning dialog -- View this message in context: http://www.nabble.com/How-to-pop-a-warning-dialog-box-when-clicking-a-checkbox-tp16058046p16065780.html Sent from the Wicket - User mailing l

css menu and wicket

2008-03-14 Thread Mathias P.W Nilsson
Hi! I have troubles creating a css menu with wicket and css. I'm using the RepeatingView in Wicket for the UL, LI list. But the UL and LI needs some extra tweek for IE. I need to do something like this for it to render properly. How can I integrate this with wicket? #nogo SubMenu # 1 #

Re: Conditional markup

2008-03-14 Thread Mathias P.W Nilsson
Thanks for your suggestions. I think this will solve my problem. -- View this message in context: http://www.nabble.com/Conditional-markup-tp16048105p16051475.html Sent from the Wicket - User mailing list archive at Nabble.com. --

Conditional markup

2008-03-14 Thread Mathias P.W Nilsson
I have a question about conditional markup. There are many scenarios where we put labels if some conditions are meet. How do I do this the best way. Example If document is under update show image that displays that a new version is under process What is the wicket way of doing this? -- View

Re: Different content for user

2008-03-13 Thread Mathias P.W Nilsson
Thanks! I'm really confused on what to do here. What is your approach to this? -- View this message in context: http://www.nabble.com/Different-content-for-user-tp16027844p16036638.html Sent from the Wicket - User mailing list archive at Nabble.com. ---

Re: Back link

2008-03-13 Thread Mathias P.W Nilsson
Thanks I will look into this! -- View this message in context: http://www.nabble.com/Back-link-tp16026896p16034782.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTE

RE: Different content for user

2008-03-13 Thread Mathias P.W Nilsson
Ehh looks complicated. What about the old if( condition ) add Component ? -- View this message in context: http://www.nabble.com/Different-content-for-user-tp16027844p16034721.html Sent from the Wicket - User mailing list archive at Nabble.com. -

Different content for user

2008-03-13 Thread Mathias P.W Nilsson
How can I show different content for logged in users. I have a DataSheet page that allows users to add to cart, edit and so on. Some users should not be able to edit the content or even add to cart. How can I achive this? -- View this message in context: http://www.nabble.com/Different-content

Re: Wicket, Hibernate and Models

2008-03-13 Thread Mathias P.W Nilsson
Yes I think you are right. By using the LoadableDetachableModel you prevent the List to be put in the session. -- View this message in context: http://www.nabble.com/Wicket%2C-Hibernate-and-Models-tp16025532p16026919.html Sent from the Wicket - User mailing list archive at Nabble.com. ---

Back link

2008-03-13 Thread Mathias P.W Nilsson
Hi! I was wondering on how to deal with a back link. Not back button of browser but a back link ( not history.back() in javascript ) A user has performed a search for items. He/she found one on page 3. In my wicket link onclick event I do the following. Item i = ( Item ) item.getModelObject();

Re: Disable ajaxbutton until process is done

2008-03-11 Thread Mathias P.W Nilsson
Thanks =) Works great! -- View this message in context: http://www.nabble.com/Disable-ajaxbutton-until-process-is-done-tp15976490p15993390.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe,

Re: Disable ajaxbutton until process is done

2008-03-11 Thread Mathias P.W Nilsson
Thanks! I got it to work now. Is it really a good idé to access html like this in javacode? @Override protected IAjaxCallDecorator getAjaxCallDecorator() { return new IAjaxCallDecorator()

Re: Lazy load exception wicket and hibernate

2008-03-11 Thread Mathias P.W Nilsson
Not exactly sure what you mean here since this is my first time trying wicket and hibernate, spring. I have spring annoted daos that I use ex. myDao().getList(); returns a list that has lazy object references. When I try to evoke a method on the lazy object I get the exception. I have solved i ri

Re: Disable ajaxbutton until process is done

2008-03-11 Thread Mathias P.W Nilsson
OK! I'm a newbie so could please enhance this a little? -- View this message in context: http://www.nabble.com/Disable-ajaxbutton-until-process-is-done-tp15976490p15982628.html Sent from the Wicket - User mailing list archive at Nabble.com. -

Lazy load exception wicket and hibernate

2008-03-11 Thread Mathias P.W Nilsson
Hi! I'm using wicket with hibernate and spring. In my web.xml I have OpenEntityManagerInViewFilter. But when trying to add a dataview to my wicket page I get the org.hibernate.LazyInitializationException: could not initialize proxy - the owning Session was closed. Anyone? -- View this message in

Disable ajaxbutton until process is done

2008-03-11 Thread Mathias P.W Nilsson
Hi! I have IndicatingAjaxButton that overloads the onSubmit. When user clicks everything works great but I need to disable the button immediately after the user has click the button so that it can't happen twice. I've tried with this.setEnabled(false); target.addComponent(this); in the onSubmit b

Doubt in wicket and multiple views

2008-02-06 Thread Mathias P.W Nilsson
Hi! I have one model and 4 different web applications. All webapplications is using the same model but different views. There is Different virtual hosts on the same server. Can I use wicket for this? ie Domain1.se, Domain1.com, Domain2.se, Domain2.com same server different virtual hosts same m

Re: Filter data with wicket

2008-01-27 Thread Mathias P.W Nilsson
I don't quit follow what you mean since I'm a newbie. Can you please explain in a little more detail or give me some pointers. -- View this message in context: http://www.nabble.com/Filter-data-with-wicket-tp15124809p15126484.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: Controlling render for DropDownChoice

2008-01-27 Thread Mathias P.W Nilsson
You can only controll the select and not a single option using this. At least not all browsers -- View this message in context: http://www.nabble.com/Controlling-render-for-DropDownChoice-tp15100129p15126445.html Sent from the Wicket - User mailing list archive at Nabble.com. -

Filter data with wicket

2008-01-27 Thread Mathias P.W Nilsson
Hi! I have a design question for wicket. In my Article page the user can filter the articles in many ways, by category, brand, price, department, gender etc. I wan't to Use the same wicketpage for the Article list. What is the best approach with wicket? make New ArticlePage().setDepartment( req

Re: Not allowed to have whitespace in value

2008-01-26 Thread Mathias P.W Nilsson
This solved my problem. -- View this message in context: http://www.nabble.com/Not-allowed-to-have-whitespace-in-value-tp15107381p15114402.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe,

Re: DropDownChoice default value

2008-01-26 Thread Mathias P.W Nilsson
Thanks alot! It works now. :jumping: -- View this message in context: http://www.nabble.com/DropDownChoice-default-value-tp15106932p15114359.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe

Re: Not allowed to have whitespace in value

2008-01-26 Thread Mathias P.W Nilsson
If I put in the html character of whitespace " " it will type the value out! -- View this message in context: http://www.nabble.com/Not-allowed-to-have-whitespace-in-value-tp15107381p15107854.html Sent from the Wicket - User mailing list archive at Nabble.com.

Not allowed to have whitespace in value

2008-01-26 Thread Mathias P.W Nilsson
Hi! I'm not allowed to have WhiteSpace in the value of a DropDownList. How come? If I implement the IChoiceRenderer and implement the method getDisplayValue and return " " it is trimmed! I would like to be able to indent child in the drop downlist. How is this possible? Thanks -- View thi

Re: DropDownChoice default value

2008-01-26 Thread Mathias P.W Nilsson
Thanks but it still does not work. I have set the setIsNullValid to true and overrided the getDefaultChoice @Override protected java.lang.CharSequence getDefaultChoice(final Object selected){ return "Test value"; } But what happens then is that the null value is removed from the list. I wo

DropDownChoice default value

2008-01-26 Thread Mathias P.W Nilsson
I have a dropDownChoice populated with Category objects. If it is the first time the page is rendered the "Choose one" is visible in the list. If I choose any category this item gets removed because it is not a Category object. How can I always have a "Choose one" option as the first item in my D

Controlling render for DropDownChoice

2008-01-25 Thread Mathias P.W Nilsson
Is there anyway to control the rendering of a dropdownchoice? I don't mean implementing IChoiceRenderer but to set style on option tag in select parent tag. I tried to indent the name in a select tag by implementing the IChoiceRenderer but it doens't work. See getDisplayValue class TestChoic

Re: DropDownChoice problem

2008-01-25 Thread Mathias P.W Nilsson
Yes, I have read all about it. It solved when I used just new Model() and not PropertyModel -- View this message in context: http://www.nabble.com/DropDownChoice-problem-tp15095051p15097813.html Sent from the Wicket - User mailing list archive at Nabble.com. -

DropDownChoice problem

2008-01-25 Thread Mathias P.W Nilsson
Hi! I can't get the simples DropDownChoice to work! I want to return the object in my model but it returns string This is what I have so far. I have a ArrayList of Category objects. Each of this Objects have a list of child Categories. I want to render the Category id and name in the list and wh

Re: Different views in wicket

2008-01-22 Thread Mathias P.W Nilsson
Thanks alot all of you! -- View this message in context: http://www.nabble.com/Different-views-in-wicket-tp14997475p15027636.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL

Re: Different views in wicket

2008-01-21 Thread Mathias P.W Nilsson
I don't understand your reply. Can you please explain? -- View this message in context: http://www.nabble.com/Different-views-in-wicket-tp14997475p15002034.html Sent from the Wicket - User mailing list archive at Nabble.com. -

Different views in wicket

2008-01-21 Thread Mathias P.W Nilsson
Hi! I'm developing a site that has different views and languages. How does this fit in the wicket framework? When adding a WebPage you get a default .html view. Is there anyway on having multiple views for a wicket page? How do you develop a site with same model but different views? // Mathias

Re: Real example on Wicket

2007-08-14 Thread Mathias P.W Nilsson
If finally got it to work. Problem with Maven since it totally new to me. Got it running now :jumping: Thanks! -- View this message in context: http://www.nabble.com/Real-example-on-Wicket-tf4257796.html#a12148908 Sent from the Wicket - User mailing list archive at Nabble.com.

Re: Real example on Wicket

2007-08-14 Thread Mathias P.W Nilsson
Thanks you but the errors still remain :( -- View this message in context: http://www.nabble.com/Real-example-on-Wicket-tf4257796.html#a12147865 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe,

Re: Real example on Wicket

2007-08-14 Thread Mathias P.W Nilsson
Thanks! I've check out the project in Eclipse but there are error messages all over the place. They mostly consist of M2_REPO error. Is this maven 2? How can I bypass this? Thanks -- View this message in context: http://www.nabble.com/Real-example-on-Wicket-tf4257796.html#a12146465 Sent from t

Re: Real example on Wicket

2007-08-12 Thread Mathias P.W Nilsson
Thanks! I will dive into the code. It's very hard for me to follow it all. I'm and independent programmer and do not sit in a team with developers. So to learn new techniques probably takes longer time. The spring framework looks huges. But it seems like everybody uses it, although I don't really

Re: How to select server path using wicket?

2007-08-12 Thread Mathias P.W Nilsson
You can't! there is no way of controlling the browsers input type file. It's a restriction Wicket can't control or any other web framework for that matter. When you are doing this in a Swing application you can control it but not in a webapplication. Maybe if you use activex. When you click on

Real example on Wicket

2007-08-12 Thread Mathias P.W Nilsson
Hi all! I'm in a aqward situation and thinking of swithing from Struts2, JSTL, Tiles to Wicket. I've bought the book Pro Wicket and read 4 chapters. The book is very good but I need a real life application tutorial. My application today integrates with Hibernate. I shouldn't call the DAO it the

Re: HTML template

2007-08-12 Thread Mathias P.W Nilsson
I meen. What sort of template do you use. HTML with wicket:id or velocity or freemarker. What is the benefit of using velocity over html / wicket ? -- View this message in context: http://www.nabble.com/HTML-template-tf4257008.html#a12116282 Sent from the Wicket - User mailing list archive at Na

Re: HTML template

2007-08-12 Thread Mathias P.W Nilsson
Ok thanks! Havn't read much of freemarkers and velocity. What do you think is the most common use. Plain html seems as a good idé. -- View this message in context: http://www.nabble.com/HTML-template-tf4257008.html#a12115137 Sent from the Wicket - User mailing list archive at Nabble.com.

HTML template

2007-08-12 Thread Mathias P.W Nilsson
Is there any way of changing the HTML template without extending the class? -- View this message in context: http://www.nabble.com/HTML-template-tf4257008.html#a12114907 Sent from the Wicket - User mailing list archive at Nabble.com.

Re: Paging Navigator

2007-08-11 Thread Mathias P.W Nilsson
Yes! Your right. Had been great if it had wicket:id="emptyLink" so that you could mark up the code. Maybe like a ul, li list and display:block in css to make it both vertical and or horizontal. -- View this message in context: http://www.nabble.com/Paging-Navigator-tf4254110.html#a12110934 S

Re: Paging Navigator

2007-08-11 Thread Mathias P.W Nilsson
Thanks! It works fine. // Mathias -- View this message in context: http://www.nabble.com/Paging-Navigator-tf4254110.html#a12110654 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EM

Re: Paging Navigator

2007-08-11 Thread Mathias P.W Nilsson
Ok! I had hoped for a HTML template to fix this. I have extracted the PagingNavigator.html from the wicket source, extended PagingNavigator and edited the html template. Just hoped that the "no link" element were there but it wasn't. -- View this message in context: http://www.nabble.com/Paging

Re: Paging Navigator

2007-08-11 Thread Mathias P.W Nilsson
Thank you for that fast response. Work fine. I'm just wondering. Isn't it against good web programming rules to add HTML code in the java code? Isn't that what all new template based frameworks ( Struts 2, Tapestry, etc ) is trying to avoid? // Mathias -- View this message in context: http://ww

Paging Navigator

2007-08-11 Thread Mathias P.W Nilsson
Hi! I'm totally new to Wicket and I like very much so far. I've bought the book Pro Wicket and have started to go thru all examples. I'm facing a problem. I have implemented the PagingNavigator. The markup is very strange. I don't want Wicket to add span, em when the link is not active. How can I

<    1   2   3