Hi, I'm new with Wicket framework and I have a little problem :
I have a list that contains Strings. Those strings can be a key in a map
that contains another list.
I want to
display the values of my list, and if the map contains a list2 for the key,
show the content of the list from the map too,
Hi, I need some request attributes in my page. Those attributes aren't for
session but only for the current request.
To do that I made my own WebRequest that extends ServletWebRequest and
changed the
protected WebRequest newWebRequest(HttpServletRequest servletRequest)
of my application to use
2007/5/27, Kent Tong [EMAIL PROTECTED]:
Matthieu Casanova chocolat.mou at gmail.com writes:
html
body
span wicket:id=list
label wicket:id=keykey/label
span wicket:id=list2
label wicket:id=valueValue/label
/span
/span
/body
/html
If you use a fragment inside list2
? Are you integrating with
another technology, like JSPs?
Eelco
On 5/28/07, Matthieu Casanova [EMAIL PROTECTED] wrote:
Hi, I need some request attributes in my page. Those attributes aren't
for
session but only for the current request.
To do that I made my own WebRequest that extends
constructor with it). Otherwise, you'll have to use Eelco's method and
query the request attributes.
Martijn
On 5/28/07, Matthieu Casanova [EMAIL PROTECTED] wrote:
Hi, no, I'm not integrating with another technology. My problem is that
for
each request, I get some informations from a server, and I need
2007/5/30, Sven Schliesing [EMAIL PROTECTED]:
Changing the code to:
new ListView(list, new ArrayListMap.EntryIKey,
Integer(map.entrySet())) {
public void populateItem(ListItem listItem) {
Map.EntryIKey, Integer entry = (Map.EntryIKey, Integer)
listItem.getModelObject();
...
Hi, I want to hide a component, and sometimes making it visible using
javascript.
Is there something like that in wicket api or should I do it myself with
some javascript ?
Matthieu
-
This SF.net email is sponsored by DB2
007/6/3, Vincent Demay [EMAIL PROTECTED]:
Matthieu Casanova a écrit :
Hi, I want to hide a component, and sometimes making it visible using
javascript.
Is there something like that in wicket api or should I do it myself
with some javascript ?
Hi,
If you want to make your component visible
Hi, I wonder what was the lifetime of the page and related objects in Wicket
?
For example if I create a link in a web page, if I click on it, my java
method is called. But how many time do I have to click on it ?
Isn't it possible to have memory problems because of those objects (the
models too
Hi, I'm not sure but I had such problems with a ListView because I added
some elements to my ArrayList in the
onBeforeRender() method of my page, so the list was populated, but the
rendering failed because there was a new element that was not populated
because it didn't exists before.
it was
Hi, I wanted to add some custom tags in the cells of my TreeTable, but if I
return html code in the public String renderNode(TreeNode node) method of my
column,
the tags are stripped.
I found this idea to do what I want, it works but it's not very well :
I had to replace the TreeFragment used in
Hi, I'm trying to make wicket-contrib-yui working with 1.2.6. I took the
version from svn, but I have a lot of javascript errors. The first is
because sometimes it uses YAHOO.js and sometimes it's yahoo.js. I fixed it
but I still have a lot of problems.
Is it completely broken or should it work ?
2007/6/13, James McLaughlin [EMAIL PROTECTED]:
Hi Matthieu,
Which version from svn are you using? Trunk is intended to work with
1.3 only. So if you want to work yui and 1.2.6, you need to:
svn checkout
https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/branches/wicket_1_2
Hi, I want to change some contents in javascript but I don't know
exactly how to do that :
here is my example :
script type=text/javascript wicket:id=js
var myvar = 'value';
/script
I can write the entire content of the javascript like that :
String foo ...
new Label(js,var myvar = '+foo+';);
2007/6/19, Gerolf Seitz [EMAIL PROTECTED]:
take a look at the class
org.apache.wicket.extensions.yui.calendar.DatePicker (in
wicket-datetime)
there is the following statement in line 183
TextTemplateHeaderContributor.forJavaScript(DatePicker.class,
DatePicker.js,
Hi, I'm not familiar with wicket sessions. I understand that I can
create my own session object that extends the WebSession, and that
will have some fields containing my sessions datas. In that case I
have to replace the ISessionFactory of my application.
The other choice to store datas in the
2007/6/22, Johan Compagner [EMAIL PROTECTED]:
you should really create your own session.
Usage of the metadata things should really be avoided for that kind of data.
I almost could say. don't use meta data at all, its a wicket internal thing
to store quickly markers and stuff like that.
Hi, I have some ajax link in a page that are used to select items in a
list (the items are stored in an ArrayList on the server).
It works fine with any browser. But from this page if I click on a
BookmarkableLink to another page and after click on the back button
of my browser, when clicking on
18 matches
Mail list logo