Hi,
Use panels, and instantiate either one type or another on the java side.
Then your content will change.
Cheers,
Ista Pouss wrote:
Hi,
What is the best technique to do some "if" "else" and so on with wicket ?
I need a html with something like that (stupid and naïve approch) :
do th
Use an AjaxEditableLabel.
newbie_to_wicket wrote:
Hi All,
I am using wicket framework.
I have to achieve the functionality as I shown in the below image.
http://www.nabble.com/file/p22437770/names.jpeg
Whenever I pressed R in the textfield box then it should displays the names
which contans
We use iframes for that. It works quite well.
Stefan Lindner wrote:
Dear wicket users and wizzards!
Is ist possible to use wicket to implement "partial" pages that can be
embedded into another page? E.g. to have a normal content management
system like Joomla and use wicket top lug it into exisi
transient field + lazy init method?
Edwin Ansicodd wrote:
have a Serializable object on a Wicket page. This object in turn has a
reference to an XMLBeanFactory. Wicket is giving me an error because
XMLBeanFactory is not serializable. What do I do??
--
Hi,
I'm pretty sure what you need is wicket:enclosure [1] instead
[1] http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html
the_adam wrote:
If we have a component with a corresponding markup tag and want to hide
it and display placeholder tag via Component#setOutputMarkupPlaceholderTag
the
Sure! sorry, missed that one... Well, all requirements were already
implemented :D
If I were naughty, I would write "rtfm" ;)
Jan Kriesten wrote:
Hi Sébastien,
1) and 2) are already implemented, or something very close exists. 3)
may be a good improvement, maybe with a new wicket tag
().
I really doubt that such an exception may be fixed by upgrading
jasperreport (NotSerializableException is pure wicket exception, not a
jasper one).
The stacktrace shows you that the problem is here:
final java.io.InputStream
com.homeaccount.web.jasper.JRResource$1.val$report
[class=
Hi,
look at RequestCycle#setRequestTarget and ResourceStreamRequestTarget
novotny wrote:
Hi,
I'm learning Jasper to create/display a PDF when a link is clicked and the
template code I have looks like:
ServletOutputStream servletOutputStream = response.getOutputStream();
InputStream r
Hi,
1) and 2) are already implemented, or something very close exists. 3)
may be a good improvement, maybe with a new wicket tag
(). let's see what think
core developpers
1) you have various way of altering tags and attributes:
attributemodifiers, attributeappenders, overriding oncomponentt
Some little points:
- on the "onsubmit" of a form (or any onsubmit like in button,
submitlink, ajaxfallbackbutton, etc.) you don't need to verify the
validity: wicket does it for you, it firsts validate the form and then
call onsubmit if there is no error. Thus it means you can remove your
"v
Have a look at RequestCycle#setRequestTarget.
Additionnaly, you may have a look at SubmitLink, since the validation
step has nothing to do in the onClick of a link
jeredm wrote:
I am using FOP to create a PDF dynamically based on user input into a web
form. I don't have a problem creating th
Hi,
Unfortunately, not really. Now I don't rely on the wizard's events
anymore and use a regular link instead, this works better
If you find a way to make a clean redirection from inside
onActiveStepChanged, I'll highly appreciate it ;)
jorgesantoro wrote:
I have the same problem, did y
Hi,
I doubt such a feature is implemented in the wicket code
most likely, you will need to call the javascript function
"window.resizeTo" yourself, with an AjaxBehavior (ie
AjaxAbstractDefaultBehavior#respond and AjaxRequestTarget#appendJavascript)
Vitek Tajzich wrote:
Hi,
Is it possi
IMO it is not required. This kind of error appears mostly with
beginners, or during early phase of development: it doesn't happens
anymore after.
For me, the behavior of wicket with that error is quite good. No need
for some magical generation of markup.
This may lead to wrong use of the fra
Hello,
I was wondering if the behavior described here
http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html (use
wicket:message as attribute) was broken or if I'm doing something wrong
(Wicket 1.3.5)
I've written that:
wicket:id="label">[label goes h
you may look at wicket iolite too, it's very usefull
miro wrote:
are there any examples for spring, wicket and hibernate ?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Yes, I read a bit about Spring some time ago, but atm I'm working on a
project that will be released soon. I can't afford to rewrite half my
code on the lasts weeks ;)
Next time, I'll take some time to getting started with it. I'm sure it's
worth, that's what I read all the day. But I must con
Hello,
I've a problem with the DatePicker component. Every time I reload my
application (in Eclipse -> Run -> 'My project' on MyEclipse
Tomcat, or with an application undeploy/redeploy on Tomcat), I got the
stacktrace below.
java.lang.NoClassDefFoundError:
org.apache.wicket.extensions.yui.cale
In the Dojo subproject, there is a DojoColorPicker, but it works not
perfectly on my config. Depending on what you want to do with it, it
may be useful.
Java Programmer a écrit :
On Feb 20, 2008 8:28 AM, laiqinyi <[EMAIL PROTECTED]> wrote:
Is there Color Picker ?
I can choice an
Hello,
I just tried it, and it worked :) I don't know if I can use this
directive on my deployment server... I'll have a look with my hoster.
After some investigation, I'm now quite sure that it's a Wicket problem.
I tried with a very simple project (Hello World) and it made the lock.
Could
Yes, I made a syntax error... but even with the syntax bellow, the
problem stills...
Sébastien Piller a écrit :
But the problem stills Have I done a syntax error?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Hello,
thank you for your answer. I wrote a */META-INF/context.xml* file with
that in it:
antiJARLocking
true
But the problem stills Have I done a syntax error?
C S a écrit :
Have you tried the antiLocking options (antiJARLocking and
antiResou
Service stopped.
[2008-02-14 12:46:33] [info] Console CTRL+C event signaled
[2008-02-14 12:46:33] [info] Stopping service...
[2008-02-14 12:46:33] [471 javajni.c] [debug] argv[0] = stop
[2008-02-14 12:46:33] [1255 prunsrv.c] [debug] Worker finished.
[2008-02-14 12:46:34] [1265 prunsrv
Hello guys,
I have a problem with wicket when I undeploy my application. Tomcat
tries to undeploy everything, but he fails to delete the wicket's API
librairies (wicket-1.3.1.jar, wicket-extensions-1.3.1.jar, etc.).
It seems to the same issue as this one:
http://mail-archives.apache.org/mod_m
Hello,
I'm searching for a best practice to integrate some hibernate
transaction with Wicket. I'd like to implement the "session-per-request"
that is described here
http://www.hibernate.org/hib_docs/v3/reference/fr/html_single/#tutorial-firstapp-workingpersistence
I think I can commit the tr
Sorry, it is solved I'm too stupid, or need glasses...
The only need to fix this problem is to configure the resource finder,
in the init() method of the application class...
WebApplicationPath resourceFinder =
(WebApplicationPath) getResourceSettings().getResourceFinder();
String s = "/
Hello,
I have a little question: my app lets the user upload some files on the
server side. I would like to put them somewhere on the server hdd, out
of the context of the application (let say on /dev/etc/uploads), so when
I redeploy my war (update of the system), all the uploaded files aren't
That's it! I'm too stupid... sorry for the disturbing ;)
Martijn Dashorst a écrit :
My first guess is that the IVisitor is not serializable. Since you
create two nested anonymous inner classes inside one another, the
behaviors keep a reference to the IVisitor.
Martijn
Hello guys,
I'm having a little problem with the use of AjaxFormValidatingBehavior.
I add it to all my fields, using a visitor.
form.visitChildren(FormComponent.class, new IVisitor()
{
public Object component(Component component) {
if (component instanc
Hello,
I'm using DojoColorPicker (latest trunk from the svn) for the first
time and I think I've found an issue.
I use it very trivialy:
rvbhexcode = new DojoColorPicker("rvbhexcode", new
PropertyModel(formTarget, "rvbhexcode"));
rvbhexcode.setRequired(true);
form.add(rvbhexcode);
In IE6
I found a patch (very ugly but works). On the onSelectionChange, I wrote
this:
if (MyAbstractPage.this instanceof MyPageWithTheRefreshIssue) {
setResponsePage(new MyPageWithTheRefreshIssue());
}
But I wonder: is this a normal behavior? I guessed I need not to refresh
it manually, need I?
Yes, no problem, but it's really trivial...
My Flash object is added here (I use the ShockWaveComponent, little
modified, from the wiki):
ShockWaveComponent swf = new ShockWaveComponent("swf",
"ShirtDesignerV2.swf", "770", "480");
swf.setValue("quality", "high");
Hello,
I have a little problem with drop down choices. I have one on my page.
It stores some currencies. In the same page, I've got a Flash module,
who needs the actual currency to work. I pass it using the usual
"flashvars".
But when I change a currency on the DDC (ie from USD to EUR), the
In fact: setEscapeModelString
;)
Gerolf Seitz a écrit :
.setEscapeOutputStrings(false) (or something like that)
Gerolf
On Jan 30, 2008 10:04 AM, laiqinyi <[EMAIL PROTECTED]> wrote:
Hi All,
now, I have integrated a wyswyg Editor with Wicket,and I save a lot of
HTML tag into
Hello guys,
I would like to prevent a page to be stored on the client side. How can
I set the "Cache-Control" headers?
Thanks!
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I think I got it ;)
Here is what I wrote. It works fine until now. It still has some weak
points (no error on client side if server can not process the file) but
I paste it here:
if (request instanceof ServletWebRequest) {
try {
ServletWebRequest swr = (ServletWebReq
Hi everybody,
I have a problem with my application.
I need to upload some files on the server using an Adobe Flex
application. Flex doesn't provide much control for the file upload, I
can't get the raw file data that I want to upload (so I can't send them
in the url, or encode them or anythi
Mmm... I think they are not. What I type is setted to the model as is,
no crypto here
Juliano Gaio a écrit :
Hi All,
how to disable crypt of a PasswordTextField ?
Juliano.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Fo
Yes, I'd like to do it, but as english is not my mother language, I
need somebody to correct it after I write it.
Who wants to do that? ;)
Gwyn Evans a écrit :
As Cemel suggested, if you have time to put a summary up on the Wiki,
it would be appreciated!
Hello guys,
I've a little question about the javascript and wicket. I need to update
some models on server side using javascript (in fact, I need to update
it from a flash object, and that's why I use js).
But I have no idea about how to do this... I know how to call a JS
function from flash
Well, with swarm I do need to define the policy files, which isn't
trivial for me (I never saw this kind of syntax before).
And there is a lot of new classes/interfaces in this api (SwarmWebApp,
Principal, SwarmActionFactory, LoginContext, ...) with no much
documentation. It's not easy to tran
I answered your first post (where you omitted { and }).
I have seen your correction after sending this
;)
nasrin mansour a écrit :
yes i said this before , has my syntax any different with your's?
On Dec 31, 2007 2:07 PM, Sébastien Piller <[EMAIL PROTECTED]> wrote:
Yes, I tried it too, but it doesn't work.
The right syntax seems to be @AutorizeInstanciation( { "poweruser", "admin", "sysadmin" } )
Thanks
nasrin mansour a écrit :
hi
i don't have enough experience in this topic like you but i think if you
look at wicket-role-auth-example it's usuful an
Marco Aurélio Silva a écrit :
Hi
I'm trying to use some HTML codes with internationalized page. For example,
some texts have words in italic and I need to use the tag. But when
wicket renders the text the tag is showed on screen instead make the
word italic. Any suggestion?
Thank you
Marco
44 matches
Mail list logo