[Newbie] Add a yui calendar without a datetextfield

2007-08-08 Thread Per Newgro
Hi *, i'm new to the group and hope to find some answers here :-). I checked the examples and i got the idea to add a simple rendered yui calendar instance to a webpage. I don't want to add a datetextfield and then click the button beside it. Is this possible? And if so how? Thanks for your

Howto use AttributeModifier

2007-09-06 Thread Per Newgro
Hi *, i use wicket-1.2.6. I try to change the background-color of an gridtable item. But i dont get it to work. Is there a howto or doc for it? javadoc is not that detailed. My goal is to display a table with link as cell-content. If i click on the link the cell should be marked selected by

Howto customize yui datepicker

2007-09-13 Thread Per Newgro
Hi *, is someone knowing howto customize the layout of a org.apache.wicket.extensions.yui.calendar.DatePicker? I like to change some colors and maybe the font. I tried to override css settings in my startpage, but layout didn't changed. Investigation of DatePicker (to override and customize

Re: Howto customize yui datepicker

2007-09-13 Thread Per Newgro
Hi gerolf, could you file a RFE, so that we can provide the facilities for that? Could you please tell me what you mean with RFE? I never heared of it. Where do i have to include the css with the higher specificty (my-customized-calendar.css)? In the html file related to the application or to

Re: ANN: beturtle.com launched

2007-09-21 Thread Per Newgro
Nice layout, but only with firefox. It looks horrible with konquerrer. Sorry to say that. But hope you interessted in it :-). Cheers Per - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Howto center new window on screen?

2007-09-26 Thread Per Newgro
Hi *, i don't know exactly if this question is more a html related then for wicket. I would like to open a new window centered after click on a link. Can and if how can i do this? Thanks for your help Per - To unsubscribe,

Re: Howto center new window on screen?

2007-09-26 Thread Per Newgro
I don't know exactly from the top of my head, but I think you'd do this with Javascript. Ahh ok. I found an example here: http://www.boutell.com/newfaq/creating/windowcenter.html Where do i have store the java scripts i want to use oftenly? I expected that Page.class would provide it out of

Re: Howto center new window on screen?

2007-09-26 Thread Per Newgro
Thanks that helps alot Cheers Per - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Update of datepicker value with ajax

2007-10-04 Thread Per Newgro
Hi *, I present a date by 3 DropDownChoices (year, month, day). Additionally i want to provide a datepicker. The sync from datepicker selection to dropdownchoises is working as expected. On the other hand if i change the dropdownchoise the datepicker value will be changed, but it is

Render model changes

2007-10-10 Thread Per Newgro
Hi *, im standing in the wood. I try to implement an update strategy for my issues. 45 Panel1 are included in a Panel2 2 Panel2 are included in a Page Every contained component (all Panels) has a listener assigned. The listener for Panel2 will be called if a Panel1 instance has been clicked.

Re: Render model changes

2007-10-10 Thread Per Newgro
-- Subject: Render model changes Date: Mittwoch, 10. Oktober 2007 20:02 From: Per Newgro [EMAIL PROTECTED] To: wicket-ug, users@wicket.apache.org Hi *, im standing in the wood. I try to implement an update strategy for my issues. 45 Panel1 are included in a Panel2 2 Panel2 are included

Re: HOWTO - update models in chain (push or pull)

2007-10-12 Thread Per Newgro
You have both panels using the same data, i.e. the same model or parent model? Every component has its own model. The model changes of Panel1 have to be reflected in model2 and Panel2 itself. I have a category which i can select in a tree. The category contains a field url which points to an

Re: HOWTO - update models in chain (push or pull)

2007-10-12 Thread Per Newgro
Hi Matej, Thanks for your answer. But how can i know in a child model beside the changed one that i have to pull my data again? E.g. if i have page with two panels. Panel1 executes a link and changes its data. The data change in Panel1 has to reflected in Panel2 to. My intension was to get a

Change attribute after model update

2007-10-12 Thread Per Newgro
Hi *, i would like to implement a testing issue for me. I add three panels with a link on every panel. If i click one panel-link all panels should become green. But i dont get that to work. The model in the AttributeModifier cant be refreshed. What am i missing here? Thank you for helping me

Re: HOWTO - update models in chain (push or pull)

2007-10-12 Thread Per Newgro
Hi Gwyn, The Wicket way would be to decouple the data from the display by not having each using component having to have it's own model, but by having a 'parent' model used by both - by default, if the component itself doesn't have a model, Wicket will look for a model in the parent, so just

Re: HOWTO - update models in chain (push or pull)

2007-10-12 Thread Per Newgro
i dont really understand what you are talking about. you have a panel that can display a person right? and in an order you have two instances of person: the order and the invoice, and you want to reuse your panel? No. On one page i edit the order and on another page i edit the invoice. Both

Re: HOWTO - update models in chain (push or pull)

2007-10-12 Thread Per Newgro
Hello Igor Vaynberg: see sourcecode to this: http://wicketstuff.org/wicket13/echo/ Ok i see in the code that one model can be shared between two components. But my question was a bit more related to design. Lets say i build an order and an invoice page. If i read the posts in the threads

Re: HOWTO - update models in chain (push or pull)

2007-10-13 Thread Per Newgro
Ahh. Ok. I can set the personpnel its model by calling orderpage extends webpage { public orderpage(IModel order) { add(new personpanel(shipto, new propertymodel(order,shipto)); } } invoicepage extends webpage { public invoicepage(IModel invoice) { add(new personpanel(billto, new

Re: HOWTO - update models in chain (push or pull)

2007-10-13 Thread Per Newgro
Maybe im a bit swing-oriented. There we don't create always new page and panel instances. Instead we reuse the created view instances and exchange simply the model / models. So if (as an example) i change the order (while navigating thru all orders) the related adress will change to. So i could

Re: HOWTO - update models in chain (push or pull)

2007-10-13 Thread Per Newgro
I tried the code below. Personpanel / model looks similar to orderpanel / model. OrderFactory2 creates another order with other data (quick and dirty). But the display of order is not changing. Why is this not working, if i share the model? public HomePage(final PageParameters parameters) {

Re: HOWTO - update models in chain (push or pull)

2007-10-13 Thread Per Newgro
Sorry for my stupidity. I think i got it now. I have to provide an accessor chain based on the page model assigned. So i don't have to get the objects in the model. Instead i have to specify the path to object'. Code below is working now. public HomePage(final PageParameters parameters) {

[OT] Integrate wicket-application into a static html / php / site

2007-10-20 Thread Per Newgro
Hi *, im looking for an example how i can integrate my newly created wicket application into an existing static website (don't know exactly if html-only or with some php) served by Apache Webserver. I have a little pre-selection (Panel) which should be included at some places in the site. For

Re: [OT] Integrate wicket-application into a static html / php / site

2007-10-20 Thread Per Newgro
Is something like HTML BODY Going to include hello.jsp...BR jsp:include page=hello.jsp/ /BODY /HTML helping me out here Thanks Per - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

TagTester - Howto get the value?

2007-10-25 Thread Per Newgro
Hi *, is there a way for getting the value between the tags? If i try TagTester t = wicketTester.getTagByWicketId(myId); i only get the tag with its attributes. But i would like to access the value enclosed by tags: span wicket:id=myIdThis value i'm looking for/myId A hint would be nice.

Re: TagTester - Howto get the value?

2007-10-26 Thread Per Newgro
Hi, should i add an RFE for this? Per -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Localizing title of ModalWindow

2007-11-02 Thread Per Newgro
Is it correct that the jira entry says it is fixed in beta4? Because we use beta4 and the title still needs a Model instead of an IModel. Cheers Per - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: Display two modal windows in one request

2008-11-24 Thread Per Newgro
On Monday 24 November 2008 15:20:11 Martin Sachs wrote: Hi, we have had the same issue. We are solving this Problem with a little workaround in the Wicket-Source. We also created a ticket with our solution for this problem. https://issues.apache.org/jira/browse/WICKET-1771 The problem

Re: from and to date fields validator or generic dependency validator

2008-12-19 Thread Per Newgro
miro schrieb: I have from and to date fields in form and form validation should enforce either both from and to has values or neither of them , is there any such validator ,or is there any generic validator for dependency validations ? **org.apache.wicket.validation.CompoundValidator**

Re: Is there any collapsible container ?

2008-12-21 Thread Per Newgro
miro schrieb: Is there any collapsible container? You want to hide a panel on button-click? Simply set it visible=false. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail:

Re: code for DataGrid with vertical scrolling

2008-12-21 Thread Per Newgro
miro schrieb: please point me for the code with data grid vertical scrolling component. If i'm not completely wrong you have to do it by CSS property overflow. Cheers Per - To unsubscribe, e-mail:

Re: Extending to all components

2009-01-06 Thread Per Newgro
If i'm not completly wrong there is a Session.get(). You could write a Helper which is casting that session instance. So you could use it everywhere you want. SessionConverter.java public static MySession getConverted() { return (MySession) Session.get(); } and in component where you want to

Re: Wicket tree

2009-01-12 Thread Per Newgro
Hi, a bit more code would help getting a good answer. You could overwrite the DefaultAbstractTree.onNodeLinkClicked(AjaxRequestTarget target, TreeNode node) method. Why this should not work - i only can hit the air. Another way is to call the

Re: How to handle click event on tree

2009-01-12 Thread Per Newgro
Hi Karthic, check the Wicket tree thread please. Per - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: Wicket tree

2009-01-12 Thread Per Newgro
AFAIK you can use Tree. It's extending already the DefaultAbstractTree. Cheers Per - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: How to test Ajax Submit Button on A form

2009-01-17 Thread Per Newgro
rag...@directi schrieb: Can any one please help me with testing an AjaxSubmitButton on a form. I am using tester.executeAjaxEvent to call the event. But I am not sure how to set the data on the form and submit the data while using an ajax submit button There is a form tester FormTester

[wicket-1.4] Why has ModelT parameter to extend Serializable?

2009-01-19 Thread Per Newgro
Hi *, i would like to know how i should get this to work: class MyPanel extends BasePanelMySerializableClass { public MyPanel(String id) { super(id, new ModelListMySerializableClass(new ArrayListMySerializableClass())); } } Compiler says: The constructor

Re: [wicket-1.4] Why has ModelT parameter to extend Serializable?

2009-01-20 Thread Per Newgro
BasePanel is public abstract class BasePanelT extends Panel implements IChangeHandler { /** * Constructor of BasePanel * @param pId wicket id of component */ public BasePanel(String pId) { super(pId); } /** * Constructor of BasePanel * @param pId wicket

Re: [wicket-1.4] Why has ModelT parameter to extend Serializable?

2009-01-20 Thread Per Newgro
Do you mean that way? public class MyPanel extends BasePanelListMySerializableClass { public MyPanel(String pId) { super(pId, new ModelListMySerializableClass(new ArrayListMySerializableClass())); } } That way i get Bound mismatch: The type ListMySerializableClass is not a valid

Re: [wicket-1.4] Why has ModelT parameter to extend Serializable?

2009-01-20 Thread Per Newgro
Sure thats what i've red in the docs to. But i don't see it for my special case. I will get a NoSerializableException if it's not. So where is the problem? But as i wrote - i can deal with that implementation, if i get out of my problem. Thanks Per

Re: [wicket-1.4] Why has ModelT parameter to extend Serializable?

2009-01-21 Thread Per Newgro
Thanks Timo, didn't saw the list model. Is it 1.4-only? Have to investigate the diffs between 1.3 and 1.4 more detailed. Cheers Per - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands,

Re: How to make a popup page for exception handling?

2009-01-21 Thread Per Newgro
I know how to show the exception in a feedback panel. But how to make the popup dependent on the results of submission You could add the errorWindow to your page and in your catch you can show it. But it's only working with ajax. add errorWindow to markup and in class. try {

Re: [wicket-1.4] Why has ModelT parameter to extend Serializable?

2009-01-21 Thread Per Newgro
Oh sure. Thanks for clearing this. Per - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: which jars holds the DatePicker class

2009-01-21 Thread Per Newgro
It's wicket-datetime-1.4-rc1.jar package org.apache.wicket.extensions.yui.calendar; Maybe you should check classpath or your pom.xml. You didn't showed us your real problem. HTH Per - To unsubscribe, e-mail:

Re: Refreshing DataView with new dataset

2009-01-25 Thread Per Newgro
cbchhaya schrieb: Hi all, Apologies if this has been answered elsewhere - I could not find a relevant thread. I have a Panel containing a form, with a textfield and button, and a WebMarkupContainer containing a dataview. The provider for the dataview sources data from a database based on the

Re: Refreshing DataView with new dataset

2009-01-25 Thread Per Newgro
I don't see the complete process, but if i'm not completely wrong you is creating the DataProvider instance twice. Once in constructor and once in the AjaxButton.onSubmit method. But you is not assign this new instance to the dataview. Hit me if i'm wrong. Cheers Per

Access last page

2009-01-25 Thread Per Newgro
Hi, can i easily access the page from which another page is called? I would like to share the navigational infos of one page with the next page. That should be achieved by pulling the NaviModel of the last page (if present). If i debug i can see that there is a pagemap - (SecondLevel)

Re: Access last page

2009-01-26 Thread Per Newgro
Thanks 4 reply, Johan. I guess i have to store the ids in my session ?!? I'll try it out. Thanks Per - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: Example for presenting pdf in modal window

2009-01-26 Thread Per Newgro
Is there no way to achieve my goal? Per - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: Example for presenting pdf in modal window

2009-01-27 Thread Per Newgro
And how should i add the pdf? Page.add(InlineFrame.add(???)); That is exactly hte problem i can't get over. Thanks for helping me Per - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands,

Re: WicketTester - Problem submitting a form

2009-01-27 Thread Per Newgro
Hi Stephan Koch, i can't help you on the exception. But all i can see is that you don't call submit. FormTester loginFormTester = tester.newFormTester(form); loginFormTester.setValue(loginName, testUser.getUsername()); loginFormTester.setValue(password, test); loginFormTester.submit(); //

Re: Example for presenting pdf in modal window

2009-01-28 Thread Per Newgro
Great Ernesto, this is exactly the solution i was looking for. Thanks alot for sharing this with us. I would suggest that you add it to the wiki. Cheers Per - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For

Re: DateTimeField

2009-01-28 Thread Per Newgro
Hi Wadi, checkout this example (reached by click to examples link on wicket-homepage (wicket.apache.org)) http://www.wicketstuff.org/wicket13/dates/ Short version: - Add a form - Add a DateTextField to form - Set the model of DateTextfield - Get the date from model. HTH Per

What are the consequences on sharing panels between pages?

2009-02-01 Thread Per Newgro
Hi, i would like to share (instance reuse) a navigation panel in my page flow. I try to achieve that so i can keep the current state of navigation components. It's a clone of the windows xp sidebar in system controls. But i don't know if sharing is a good idea. I will have many pages. What

Re: What are the consequences on sharing panels between pages?

2009-02-01 Thread Per Newgro
Hi Uwe, until now i can do everything :-). All my experiments with ldm failed so far. I have to store the states. But in DB? It's heavyweight for me. Maybe i should try a cookie based solution. Thanks for your doubts Cheers Per

Re: What are the consequences on sharing panels between pages?

2009-02-02 Thread Per Newgro
Thanks Thomas and Matej, storing state in session sounds natural in your explanations. It comes into my mind, that i could initiate the instance in Application.newSession(). Is this the right place for this task? The the navigational panel could extract an initialized model instance from the

Howto test attribute of fragment markup?

2009-02-21 Thread Per Newgro
Hi *, I added to a panel two fragments. The ajax response looks like attchement. I would like to check if the attribute class for tag pnlHeader1 is as expected. But the TagTester only gives me the component tag with same id. Can i extract the CDATA area to? PS: I surely can parse the markup

Re: Wicket Page Expired Exception

2009-03-23 Thread Per Newgro
Sandyc schrieb: Hi, we are developing a website with apache wicket. I have scenario where i have to go back to the previous page from the current page.i tried using the MixedParamUrlCodingStrategy for passing the parameters from the current page to the previous page but i get a page expired

Re: Testing a Form with AjaxButton

2009-03-23 Thread Per Newgro
rodrigo benenson schrieb: Hello there ! Could someone point me out the correct way of testing a Form that has an AjaxButton in Wicket 1.4-rc2 ? calling form_tester.submit() or form_tester.submit(button-id) or tester.executeAjaxEvent(button-id, onclick); does not seem to do what I expect. The

Re: Wicket Page Expired Exception

2009-03-23 Thread Per Newgro
Sandyc schrieb: Please check following code. Actually i am calling the page from a Panel add(new StatelessLink(abstract){ private static final long serialVersionUID = 1L; @Override public void onClick() {

Re: Direclty using parent's compoundpropertymodel not possible ?

2008-07-10 Thread Per Newgro
Am Donnerstag, 10. Juli 2008 09:08:08 schrieb ZedroS: Thanks a lot for your answer. One question though : Johan Compagner wrote: CPM is used that child components can have sub objects/properties of that main object by using the child components id as the property how can I easily get the

Howto assign ResourceBundle to component in unit-test?

2008-10-12 Thread Per Newgro
Hi *, i try to test a component which displays some strings getting localized by a higher ranking component. AFAIK wicket uses a hierarchical process to get the appropriate string. Normally the component under test will be added to a panel and this provides the appropriate properties file. But

Re: retrieveing page parameters

2008-10-13 Thread Per Newgro
Am Montag, 13. Oktober 2008 16:53:30 schrieb miro: I am using setRedirect(true); setResponsePage(MyPage.class,pageParameters); in Mypage how can I retrieve pageParameters ? public MyPage(PageParameters params) not working? Cheers Per

Re: Possible bug in FormComponent$MessageSource regarding resource string lookups

2008-10-13 Thread Per Newgro
Am Montag, 13. Oktober 2008 11:28:07 schrieb Christian Oldiges: Hello! First here is my setup and the situation in which I discovered the problem which might be a bug in FormComponent$MessageSource: I am using v1.3.4 and I have a problem placing a resource string for a customized subclass

How can i load my css

2009-08-18 Thread Per Newgro
Hi *, i would like to add a css-class to my div to display a background image. So i've added this to css my.css div.myimg { background: url(navi_items.gif) no-repeat; width: 12px; height: 10px; cursor: pointer; } The navi_items.gif is located in - webapp - WEB-INF -

Re: How can i load my css

2009-08-18 Thread Per Newgro
Haulyn R. Jason schrieb: Hi, I didn't use this style, but I leave my css in resources folder, and use the following code here:add(CSSPackageResource.getHeaderContribution(AbstractWebPage.class, resources/base.css)); everything works well. Thanks for reply Haulyn, i can't find a

Re: How can i load my css

2009-08-18 Thread Per Newgro
But i'm realy instressted in solving this with 1.3.7. Is there no other way then jumping to 1.4? Cheers Per - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail:

Re: How can i load my css

2009-08-18 Thread Per Newgro
Major Péter schrieb: I guess, you could do something like this: add(HeaderContributor.forCss(new CompressedResourceReference(((WebRequest) getRequest()).getHttpServletRequest().getContextPath() + /webresources/my.css))); but this isn't a nice way to do it... That was my thought to. But it

Re: How can i load my css

2009-08-20 Thread Per Newgro
Now i've upgraded to 1.4. I changed the resource ref from CompressedRR to ContextRelativeResource. Css is found now. But the images loaded with url(xy.gif) defined in css are not loaded. They always tried to be got from the Application scope

Re: 2 new models for wicket

2009-09-25 Thread Per Newgro
Puhh, very long article. Did you've tried MyDomainModel myDomainModel; CompoundPropertyModel model = new CompoundPropertyModel(myDomainModel); AContainer.add(new MarkupContainer(new PropertyModel(model, theGetPropertyInMyDomainModelToSubModel)); If MyDomainModel provides an accessor for

Re: RadioChoice and Ajax to display a panel of dropdowns

2009-09-30 Thread Per Newgro
Hey Jeff, did you override this? /** * Override this method if you want onBeforeRender to be called even when your component is not * visible. default this returns false. * * @return boolean, if true then onBeforeRender is called even for none visible components, *

Consequences of sharing ajax request target by attribute or by static determination

2009-09-30 Thread Per Newgro
Hi *, i would like to know if there hidden consequences if i exchange sharing by attribute through sharing by static determination. To couple my event-components with it's higher ranking components i use a listener based approach. Each parent adds a listener to the child can be involved if an

Re: RadioChoice and Ajax to display a panel of dropdowns

2009-09-30 Thread Per Newgro
- From: Per Newgro [mailto:per.new...@gmx.ch] Sent: Wednesday, September 30, 2009 2:17 AM To: users@wicket.apache.org Subject: Re: RadioChoice and Ajax to display a panel of dropdowns Hey Jeff, did you override this? /** * Override this method if you want onBeforeRender to be called

Re: RadioChoice and Ajax to display a panel of dropdowns

2009-09-30 Thread Per Newgro
The books you mentioned are the places to look at. If i google wicket component not visible the third entry brings up the solution. And in the list this question was answered quite often. But it surely depends on search phrase. But now it's answered again. At least here you will get almost

Howto test redirect to non-wicket base page

2009-10-12 Thread Per Newgro
Hi *, i would like to test behavior of my page. In constructor there is a redirect if page parameter not set. But the redirect target is a url and not a wicket page instance. What is the best attribute to add my assertion to? MyPage(PageParams p) { if (p.get(xyz) == null) {

Re: Howto test redirect to non-wicket base page

2009-10-12 Thread Per Newgro
Thanks Erik, this is definitly worth a shot. There seem to be many new classes in 1.4. So i have to dig deeper into wicket again. Thanks for showing me the light on this. Per - To unsubscribe, e-mail:

Wickettester change locale of request

2009-10-15 Thread Per Newgro
Hi i would like to test my code on new session creation in application. A task in this process is to validate the resulting session locale. Because the session locale will be taken from the request i have to provide my test value in the Wickettester.servletRequest attribute. But how can i set

Re: Updating Component On a Different Page

2009-10-16 Thread Per Newgro
Another approach could be to use wicket-auth-roles. All is there. And you could simply add an annotation to the page which needs the authentication. Cheers Per - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For

Re: Wickettester change locale of request

2009-10-16 Thread Per Newgro
Thanks Pieter, right in place i found the same solution :-). Cause of our problem is that creation of WicketTester is not following a (maybe common-base) wicket rule: Let the user override defaults by providing protected creation methods e.g. newRequest(). All is done in MockWebApplication

Howto accept other then first locale in HTTP header Accept-Language?

2009-10-16 Thread Per Newgro
Hi, after solving my problem with testing session locale filtering in thread Wickettester change locale of request i found a new problem. Assume your client browser accepts CHINA - locale by default (first) and ENGLISH as second. Your application supports FRENCH and ENGLISH locale. The system

Re: Howto accept other then first locale in HTTP header Accept-Language?

2009-10-16 Thread Per Newgro
Hi Olivier, isn't mod_jk a bit heavyweight for this little usecase? I like the locale usage of wicket. It is like magic and i don't have to worry about it. All i want to add to my application is the check for a supported locale on session startup. But thanks anyway. Per

Re: css in DefaultDateTable

2009-10-18 Thread Per Newgro
It depends on your structure of html components. Here are the basics http://www.w3.org/TR/CSS2/cascade.html Cheers Per - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail:

Re: css in DefaultDateTable

2009-10-18 Thread Per Newgro
Am i right here: you want to exchange the css class of an td to bring up your own layout? This seems heavyweight to me. Why not simply overwrite the css class definition? CHerrs Per - To unsubscribe, e-mail:

Re: enclosure error

2009-10-18 Thread Per Newgro
tdwicket:message key=serialSerial/wicket:message/td If i'm not completly wrong, you don't need to add serial to your java code. You have to provide an i18n value in your .properties file. Did you check http://cwiki.apache.org/WICKET/general-i18n-in-wicket.html Cheers Per

Re: enclosure error

2009-10-18 Thread Per Newgro
Sorry ignore my answer. I looked at the wrong line. Cheers Per - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: Howto accept other then first locale in HTTP header Accept-Language?

2009-10-19 Thread Per Newgro
Hi Olivier And the overload of getLocale() would'nt work ? I don't see how it could solve my problem. What i try is to filter the locales assignable to session. It will be assigned in Application.newSession(Request, Response) by usage of the Accepted-Langauge value in header of response.

Re: Howto accept other then first locale in HTTP header Accept-Language?

2009-10-19 Thread Per Newgro
Hi Olivier, you wrote exactly what i did. But if you check the extraction of locale from request to provide it in session, you can see that only first accepted language is evaluated and used if not-null. But if you assume that first accpeted language is CHINESE and second is FRENCH and the

Re: Howto accept other then first locale in HTTP header Accept-Language?

2009-10-19 Thread Per Newgro
Olivier Bourgeois schrieb: Well, you can't change the behaviour of ServletRequest.getLocale() unless you want to patch your servlet container :) But you make me think it would be great in the Servlet API to have something like setAcceptedLocales(Enumeration e) and let the servlet container do

Re: uploaded files in page instance

2009-10-20 Thread Per Newgro
fachhoch schrieb: Why are you saving the byte arrays in the page instance? I show these files to user with read-only permission , so this user can just view these files ,the owner of these files can delete them anytime , so If I go to database , upon user click , this file might have been

Re: Howto accept other then first locale in HTTP header Accept-Language?

2009-10-20 Thread Per Newgro
Done https://issues.apache.org/jira/browse/WICKET-2533 Cheers Per - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: uploaded files in page instance

2009-10-20 Thread Per Newgro
Igor Vaynberg schrieb: you guys ever hear of transactional isolation? :) databases handle all this kind of neat stuff for you. -igor Oh, i didn't saw that he tried it in one transaction. I thought it are multiple stateless steps. Sorry Per

Which assertions are possible for wicket:message?

2009-10-23 Thread Per Newgro
Hi, i would like to test availability of components added in markup by usage of wicket:message attribute. assertLabel is unusable. What else can i do? I didn't found a hint after searching list and google. Thanks Per -- GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt

Re: Isssues in Modal Window display in IE8

2009-10-25 Thread Per Newgro
The only thing we had here was that transparency of background page was ignored. Page was displayed in black. But that seemed to be a specific issue on some maschines. So generally we have no problems here with ie8 and modal window. Can you be more precise on your issue? Cheers Per

Re: Tree table with check box

2009-10-27 Thread Per Newgro
sakthi vel schrieb: Hello, I have a single column in the tree table. But I need to have check box in the same column along with nodes and not in the seperate column. Can anyone tell how to acheive this. Use a markupcontainer and add both components to it. Then add container as cell.

Re: Tree table with check box

2009-10-30 Thread Per Newgro
Can you be more specific please. How did you created the treetable. How the columns. How the panel etc. Code helps to understand your problem. Cheers Per - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For

Re: Tree table with check box

2009-11-03 Thread Per Newgro
You add a single column to your tree. But you overlay the default cell component by the checkboxpanel. So you don't get all the stuff from parent component (Like link and node icon etc). Check TreeTable.TreeFragment for details. You have two opportunities: 1. If you want to add your checkbox

Re: Isssues in Modal Window display in IE8

2009-11-17 Thread Per Newgro
Hmm Martin, we switched almost every 1.3 version and always had issues. Like changed checkbox behavior and so on. Don't know all our bugs anymore but we always had to write new tests because of missing tested behavior. So it could be troublish. Cheers Per

Can i convince WicketTester to click a label?

2009-11-18 Thread Per Newgro
Hi, i've added the html tag label and it's attribute for to provide selection change of my checkbox. form wicket:id=selected input type=checkbox wicket:id=check / label wicket:id=text/label /form final CheckBox checkbox = checkbox(); _item.add(checkbox); _item.add(new Label(text,

Re: web projct of wicket can be changed to swing?

2009-11-19 Thread Per Newgro
maven apache schrieb: Hi: There is a web project which uses the wicket framework as present tier ,can I change them to swing? You looking for a ui framework sharing desktop and web applicance? Checkout WingS. Cheers Per

Re: the version of wicket1.4 and 1.3

2009-11-19 Thread Per Newgro
If you use eclipse you're not done by using the jdk5 or . There is an attribute in compiler settings where you can set the project layout. That is 1.4 by default. But should be set to 1.5 or . Cheers Per - To unsubscribe,

Re: PropertyModel question

2009-12-15 Thread Per Newgro
Hi, final Label testLabel = new Label(testLabel, new PropertyModelString(this, prodNo)); and in same class public String getProdNo() { return selected.getProdNo(); } or alternate final Label testLabel = new Label(testLabel, new PropertyModelString(this, selected.prodNo)); in same class

  1   2   3   4   >