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.
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
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");
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
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
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
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
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.
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
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
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
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
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.
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
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
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
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
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
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
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.
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
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.
-
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
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
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;
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
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
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
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
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:
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
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
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
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
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
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
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
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
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;
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
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.
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.
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
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
#
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.
--
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
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.
---
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
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.
-
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
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.
---
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();
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,
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()
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
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.
-
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
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
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
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.
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.
-
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
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,
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
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.
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
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
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
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
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.
-
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
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
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.
-
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
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.
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,
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
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
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
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
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
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.
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.
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
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
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
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
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
201 - 288 of 288 matches
Mail list logo