is that use
protected void populateTreeItem(WebMarkupContainer item, int level) {} to
set the redirect link ?
thanks
Matej Knopp-2 wrote:
I believe, that what you want, is not to set response page, but rather
to switch panel components. At least that sounds much more reasonable
to me.
I think the BPM feature would be a nice addition.
Did someone think a bit yet about what jBPM integration might look
like? I didn't think Seam's example in their short tutorial was very
convincing, as it seems to be just an alternative way of defining page
flow. But I have to admit I merely
I think the BPM feature would be a nice addition.
I'm curious to learn what you would think that should look like. I've
heard of a couple of projects that used/ integrated Wicket + jBPM
(likely the default of SEAM) but everyone might have different ideas
on it. How would you want to use
In 1.2.6, how can a stateless form be simulated?
On Thu, 2007-07-05 at 17:05 -0700, Igor Vaynberg wrote:
On 7/5/07, Philip Wilkinson [EMAIL PROTECTED] wrote:
It would be nice if I could configure wicket to use cookies
(like the
servlet container) when enabled on
I think it has to do with your wicket version. Only recently they made
that method public.
If you are using the snapshot version of wicket, try updating it. Note
that some versions of maven have a problem updating snapshots so go
into your local repository and delete wicket from it. then you
Perhaps a bit late but you also do not need to extend
SwarmWebApplication (it just takes care of the grunt work for you) You
could use Swarm and not use the SwarmWebApplication by implementing
the WaspApplication interface for an example of this check out the
ExtendsTest in the test directory of
On 7/5/07, Ed _ [EMAIL PROTECTED] wrote:
sorry didn't quiet get it.
here is my scenario - 3 panels
P1 contains - P2 and P3 (P1 , P2 and P3 are all different kinds of
panels)
P3 has a iframe
P2 has a link - which onclick - needs to change the contents of P3 (either
by changing the src
On 7/5/07, maru [EMAIL PROTECTED] wrote:
So, we upload the image, set the search-object picture to the uploaded
data
and update the model for the image_shown. Problem is, the image is not
updated on the screen. What have I missed? How do I update an Image?
Thanks
for any help, I´m new to this
On 7/5/07, David Leangen [EMAIL PROTECTED] wrote:
In 1.2.6, how can a stateless form be simulated?
stateless forms are 1.3 only afaik
-igor
On Thu, 2007-07-05 at 17:05 -0700, Igor Vaynberg wrote:
On 7/5/07, Philip Wilkinson [EMAIL PROTECTED] wrote:
It would be nice if I
I have never used SEAM myself and haven't looked into it in detail.
I first thought the conversations / workspace concepts could be usefull, and
that SEAM could offer a better (or different) solution to the
OpenSessionInView pattern to manage Hibernate sessions over requests.
But maybe seam
Hi,
I have 3 fields, field name, data type, cell name
If I enter the 3 fields, In the same page under the submit button, i want to
show the given input data into XML. Is it possible,
Suppose my input data looks like, Speed, string, and A1.
it should show like
fields
field name =Speed data
I think it depends how Seam will be really decoupled from JSF.
I think it would be a nice option to Seam users to use Wicket as
presentation layer instead of JSF, but if so the integration should be a
Seam developers matter ..
What would be nice to have in Wicket from an integration with Seam
Of course Here is part of the code
The hiercarchy is
webpage
border
- (WebMarkupContainer) RMAsContainer rmaList
- PageableListView rmaView , AjaxPagingNavigator
public class RMARecords extends WebPage {
private static final long
Hi,
There was a thread in may
(http://www.mail-archive.com/wicket-user@lists.sourceforge.net/msg28185.html)
about two asynchronous ajax calls. I have already the similar problem:
I want to use for example 4 AjaxLazyLoadPanel components and load
their contents asynchronous. But all ajax requests
pageflow?
like defining the next page in xml file?
and then instead of
setResponsePage(new MyNextPage());
i get
setResponsePage(mynextpageasastring)
if you want something like that then you should really develop then on top
if wicket yourself.
because that won't make it into core.
johan
On
Thanks
form wicket:id=confirmForm
spaninput id=submit type=submit value=Confirm/span
spaninput wicket:id=cancel type=submit value=Cancel/span
/form
public class RequestConfirm extends WebPage {
private ConfirmForm confirmForm;
public RequestConfirm(final PageParameters pps) {
I'm not absolutely specking about a core implementation.
This should regards a Seam or just JBPM integration. JBPM provides a very
nice process flow designer.
I think would be possible to have a process flow that defines the Wicket
page and the inner model binding-persistence.
Using the
thanks for the explanation igor I will use /mycontext for now as
there's only a few links I can manage ... would try to figure out why it
only happens on the deployed server and not on my development
environment
Josh
On 7/6/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
On 7/5/07, Joshua
I'm using Wicket 1.2.6 and I'm not able to create a custom web session. The
code looks like:
@Before
public void setUp() {
tester = new WicketTester();
tester.setSessionFactory(new ISessionFactory() {
@Override
https://issues.apache.org/jira/browse/WICKET-725
On 7/6/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
On 7/5/07, Joshua Lim [EMAIL PROTECTED] wrote:
Thanks for the explanation igor, I would like to use google analytics
on all our pages, hence I need to have all the pages mounted with
Robert Novotny wrote:
Greetings,
I have migrated by application to the wicket beta2 and I have experienced an
apparent change in the functionality of CompoundPropertyModels.
I have a simple page with constructor code similar to the following code:
public TestPage() {
setModel(new
Hello,
I want to display a table from a list a model object.
One of the property of the model object is a code.
Those codes should be substituted in the webpage (front tier) with
corresponding user friendly labels.
I'm using some code like this:
IColumn[] columns = new IColumn[6];
...
This is writen completely without thinking, so I might have missed the
obvious..
But could wicket be used for RESTFUL webservices?
I know we can make the nice urls and we can produce xml responses, but
does it make sense?
regards Nino
Здравствуйте, Vincent.
Вы писали Friday, July 06, 2007, 6:29:46 PM:
Robert Novotny wrote:
Greetings,
I have migrated by application to the wicket beta2 and I have experienced an
apparent change in the functionality of CompoundPropertyModels.
I have a simple page with constructor code
shumbola wrote:
Здравствуйте, Vincent.
Вы писали Friday, July 06, 2007, 6:29:46 PM:
Robert Novotny wrote:
Greetings,
I have migrated by application to the wicket beta2 and I have experienced an
apparent change in the functionality of CompoundPropertyModels.
I have a simple page
On 7/6/07, Edi [EMAIL PROTECTED] wrote:
Hi,
I have 3 fields, field name, data type, cell name
If I enter the 3 fields, In the same page under the submit button, i want
to
show the given input data into XML. Is it possible,
Suppose my input data looks like, Speed, string, and A1.
it should
On 7/6/07, Ox [EMAIL PROTECTED] wrote:
Hello,
I want to display a table from a list a model object.
One of the property of the model object is a code.
Those codes should be substituted in the webpage (front tier) with
corresponding user friendly labels.
What kind of mechanism shoul I use to
Hi everyone!
I'm sorry, I'm looking for a hint on the following problem..
I have an existing JSF webapp which I'd like to extend (=build new
pages) with Wicket.. The application is structured so that every page is
JSF-generated with a dynamic menu on top and the selected functionality
at the
On 7/6/07, Vincent Demay [EMAIL PROTECTED] wrote:
Thanks for the tip but I absolutly need a compoundPropertyModel.
I'll continue to investigate... because it is a very blocker problem for,
commiters, some idea to rescue me ;)?
https://issues.apache.org/jira/browse/WICKET-723
-igor
On 7/6/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED]
wrote:
This is writen completely without thinking, so I might have missed the
obvious..
But could wicket be used for RESTFUL webservices?
I know we can make the nice urls and we can produce xml responses, but
does it make
On 7/6/07, Joshua Lim [EMAIL PROTECTED] wrote:
https://issues.apache.org/jira/browse/WICKET-725
thanks, but do understand this is not a priority right now so it wont happen
in 1.3.0 timeframe
-igor
On 7/6/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
On 7/5/07, Joshua Lim [EMAIL
This will be labeled experimental in Databinder 1.1 probably, but it
worked very smoothly in the example I cooked up some time ago and have
let fall off the web (it will be back though; it's replacing the regular
phone directory app). It's interesting stuff, anyway.
Keep us informed :)
Eelco
On 7/6/07, Nathan Hamblen [EMAIL PROTECTED] wrote:
The Wicket community is (for now) oriented around IDetachable so it's
easier going that way. And I don't think detaching is a bad way to
work--I use it for everything.
can you also not use idetachable for long conversations? as far as i
Hi
In wicket-ajax.js, the functions wicketShow, wich is supposed to display the
indicator, does this like this: e.style.display = ;
I had to change this to: e.style.display = inline;, because the empty
string was not working for me. The inline, or block does.
Btw, I am not using the
Right! I found the thing.
My indicator was hidden with a style embedded in a css class. When I removed
that and put the style attribute inline ... it does business.
dx
igor.vaynberg wrote:
On 7/6/07, dx74a19 [EMAIL PROTECTED] wrote:
Hi
In wicket-ajax.js, the functions wicketShow, wich
On 7/5/07, maru [EMAIL PROTECTED] wrote:
So, we upload the image, set the search-object picture to the uploaded
data
and update the model for the image_shown. Problem is, the image is not
updated on the screen. What have I missed? How do I update an Image?
Thanks
for any help, I´m new
On 7/6/07, maru [EMAIL PROTECTED] wrote:
Yes, just now. No luck. Somehow I cannot seem to update the image,
beginning
to think there is some problem with my uploaded jpg.
i guess at this point set a breakpoint where the resource should be
retrieving the uploaded file and see if that is
How do you forward from a link within .this is what I am doing p2 is being
rendered by a gridview component. So I am doing the following in P1P1() {
final P3 p3=new P3(...);IDataProvider dataProvider = new
P2dataProvider(category);GridView gridView = new GridView(rows,
I've seen some unanswered posts on this before, but I figured I'd try again.
:)
I haven't had much luck in getting my Wicket pages to pass the test on
validator.w3.org. (The live action examples on wicketstuff.org don't
work, either, but that's because they don't specify a DOCTYPE.)
I'm using
Sorry I am just not being able to wrap my head around this one - just a little
denseyou said
P2.onclick() is forwared from a link that is inside it - I am trying to figure
how one would forward to the parent .thanks for all your help and appreciate
your patience on this.p1.java ---P1() {
On 7/6/07, Ed _ [EMAIL PROTECTED] wrote:
Now in P2.java ---
add(new Label(Testing);
add(new AjaxLink(AjaxtestLink)
{
public void onClick(AjaxRequestTarget target)
{
/How do you forward to the parent onClick.
}
i'm also pretty interested in this problem. even if making wicket fully
multithreaded
would be extremely difficult (if it's desirable at all), it might be
possible to increase
wicket's liveness within contended sessions. in particular, there are more
and less
important ajax requests. if you
Hi guys, I have an Autocomplete field.
As soon as I hit a key the following url gets loaded.
http://localhost:8084/ArgoWeb2/?wicket:bookmarkablePage=%3Aorg.apache.wicket.markup.html.pages.PageExpiredErrorPage
I copy the code from the example at:
Igor Vaynberg wrote:
now the instance of this model defines the conversation scope, pass it
around between pages that need to use the same conversation. or is there
more to it then that?
I'm not sure if that's an option I tried and rejected; it was a half
year ago. Keeping the sessions in
Hi,
I met a problem similar to
WICKET-281https://issues.apache.org/jira/browse/WICKET-281.
It sill happens even after our project moves to wicket 1.2.6.
I can regenerate this error (JavaScript errors Object expected), when
1) submit a form which will update ListView in the same page and clear
On 7/6/07, Conglun Yao [EMAIL PROTECTED] wrote:
Hi,
I met a problem similar to
WICKET-281https://issues.apache.org/jira/browse/WICKET-281.
It sill happens even after our project moves to wicket 1.2.6.
I can regenerate this error (JavaScript errors Object expected), when
this is not the
I'm wondering about ComponentTag.writeOutput() [line653]:
if (value != null)
{
response.write(=\);
value = Strings.replaceAll(value, \, \\\);
response.write(value);
response.write(\);
}
Shouldn't the escaping be something more sensible to
Hi igor,
Thanks for your help.
But I really can not see wicket-ajax.js in the html source code.
The hierarchy of my ListView is
Border
| ItemForm (Form)
|--- TextField, DropDownChoice, submit button
| --- ItemsContainer (WebMarkupContainer)
| --- ListView
Thanks,Since I have multple MyPanels all with a link that need to update one P3
- doing as suggested gives me A child with id 'delete' already exists.Is there
a way to dynamically generate the ids?-edDate: Fri, 6 Jul 2007 12:41:17
-0700From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: Re:
On 7/6/07, Conglun Yao [EMAIL PROTECTED] wrote:
Hi igor,
Thanks for your help.
But I really can not see wicket-ajax.js in the html source code.
The hierarchy of my ListView is
Border
| ItemForm (Form)
|--- TextField, DropDownChoice, submit button
| ---
I don't understand why pagmap is locked and I can't have two or more
request processing on the server (what is the reason of such
behaviour)?
The main reasons for that are versioning, which is used for back
button support, and the fact that we want to provide a thread safe
programming model
in general the problem with wicket is that it has a stateful
and
mutable component model. if one thread is busy recursively rendering
component
A and another thread decides to remove it in the middle of that process,
what then?
to allow the two threads to both work on the component model,
Please ignore. Was my issue.-edDate: Fri, 6 Jul 2007 12:41:17 -0700From: [EMAIL
PROTECTED]: [EMAIL PROTECTED]: Re: [Wicket-user] link ajax and panelOn 7/6/07,
Ed _ [EMAIL PROTECTED] wrote:
Now in P2.java ---add(new Label(Testing);add(new
AjaxLink(AjaxtestLink){
Three kinds of Errors (testing under firefox):
wicketAjaxGet is not defined.(when changing the ajax DropDownChoice)
wicketAjaxPost is not defined. (when submit form from ajax button)
wicketSubmitFormById is not defined. (when submit form from plain
submit-button)
Conglun
On 7/7/07,
But I do get this error - even though I can see the appropricate methods -
onclick and delete being called.ERROR [http-8080-1] (RequestCycle.java:1043) -
markupId cannot be emptyjava.lang.IllegalArgumentException: markupId cannot be
emptyat
On 7/6/07, Conglun Yao [EMAIL PROTECTED] wrote:
Three kinds of Errors (testing under firefox):
wicketAjaxGet is not defined.(when changing the ajax DropDownChoice)
wicketAjaxPost is not defined. (when submit form from ajax button)
wicketSubmitFormById is not defined. (when submit form
On 7/6/07, Ed _ [EMAIL PROTECTED] wrote:
But I do get this error - even though I can see the appropricate methods
- onclick and delete being called.
ERROR [http-8080-1] (RequestCycle.java:1043) - markupId cannot be empty
java.lang.IllegalArgumentException: markupId cannot be empty
at
Hi Igor,I did have that on the original p3 that I render - even added it to the
P3 panel which was being created as update and replaced. in the onDelete
function.Still have the same issue.thanks,edDate: Fri, 6 Jul 2007 16:45:32
-0700From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: Re: [Wicket-user]
The other thing I am getting is -at
java.lang.Thread.run(Thread.java:613)ERROR [http-8080-2]
(RequestCycle.java:1043) - This method can only be called on a component that
has already been added to its parent.java.lang.IllegalStateException: This
method can only be called on a component
Hi,
Wicket 1.3 is now allowing PropertyModel to access private fields of the
target object. However, I am not sure if this is a recommended practice.
There are basically two supporting reasons for this feature:
1) No need to generate boring getters and setters.
2) Hibernate Spring also support
(http://www.hibernate.org/hib_docs/v3/reference/en/html/persistent-classes.html#persistent-classes-pojo-accessors).
However, I don't see why PropertyModel (or Wicket code in general) is in
such a special position. It is part of the UI and I don't see why UI code
should need access to
i think your argument is willfully slanted. generic manipulation and
persistence can be good reasons to reach into an implementation which
otherwise does not wish to expose properties or fields at all. i personally
prefer objects that keep all these details private. i would hope that
private
to give a pseudo-code example of what i mean, imagine something
like this:
hibernate wicket int getValue() { ... }
where hibernate and wicket are attributes that expose the method
only to org.apache.wicket.** and hibernate's package. this sort of
thing is possible in scala, but not java.
in
i think your argument is willfully slanted. generic manipulation and
persistence can be good reasons to reach into an implementation which
otherwise does not wish to expose properties or fields at all. i personally
prefer objects that keep all these details private. i would hope that
yeah, even my pre-emptive lock claiming idea would require some thinking
about versioning. what happens to all the versioning information recorded
by the pre-empted thread? we'd need a transacted commit on that.
actually, if you think about database technologies here, one way to get
better
i didn't say that's fine. it's clearly not. i was just pointing out
there's
another side to this argument because java's protection attributes are
so coarse grained. by not supporting this feature, some classes which
otherwise would have all implementation details private would be forced
i didn't say that's fine. it's clearly not. i was just pointing out
there's
another side to this argument because java's protection attributes are
so coarse grained. by not supporting this feature, some classes which
otherwise would have all implementation details private would be forced
Have you tried:
import org.apache.wicket.protocol.http.servlet.*;
throw new AbortWithWebErrorCodeException(401)
// or maybe:
throw new AbortWithHttpStatusException(401, false)
On 7/3/07, Maurice Marrink [EMAIL PROTECTED] wrote:
I did some digging in the code and found the following:
On 7/6/07, Jonathan Locke [EMAIL PROTECTED] wrote:
yeah, even my pre-emptive lock claiming idea would require some thinking
about versioning. what happens to all the versioning information recorded
by the pre-empted thread? we'd need a transacted commit on that.
actually, if you think
On 7/6/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
i think your argument is willfully slanted. generic manipulation and
persistence can be good reasons to reach into an implementation which
otherwise does not wish to expose properties or fields at all. i
personally
prefer objects that
yeah, it would not be straightforward, which is why it will take some
thinking.
might be one of these things where the default behavior is safe and coarse
grained but then provide a way to turn on fancy multithreading and provide
calls to notify the system of changes like the one you're talking
i disagree completely. the most common usecase for this is for components to
access their own private fields via property model.
class namepanel extends formcomponentpanel {
private string first;
private string last;
namepanel(..) {
add(new textfield(first, new
72 matches
Mail list logo