I the current version of Wicket the target is set on bookmarkable
links when you explicitly set the target on the link itself. You don't
need this for popups though, as this is the window name you're passing
in.
window.open(getReportUrl(), 'myReport' <---
If you look at the url:
'/mypath//MyRep
I see you use tomcat so what you could try is antiResourceLocking and antiJarLocking of a tomcat context:http://tomcat.apache.org/tomcat-5.5-doc/config/context.html#Standard%20Implementation
johanOn 11/13/06, Nili Adoram <[EMAIL PROTECTED]> wrote:
Hi all,When running our Wicket based web applicatio
Hi Neli, Eelco,
You need to set the target attribute when you need to support a
non-JavaScript browser. Otherwise, the target attribute won't explain
the problem Neli is having unless a weird browser is used.
I was just surprised the target attribute was not set automatically as I
thought Wick
Sorry, this was my mistake.
I rewrote the URL inside the javascript function getReportUrl() and
omitted the page map from URL.
Thanks.
Eelco Hillenius wrote:
> I the current version of Wicket the target is set on bookmarkable
> links when you explicitly set the target on the link itself. You don
you could maybe use the metadata of session to store it in a 'standard' wicket sessionjohanOn 11/13/06, Nick Johnson <
[EMAIL PROTECTED]> wrote:I want to be able to have a nice, clean implementation of one
authorization strategy for all of my applications such that once I'vesigned in for one applic
> My rough plan was to create a concrete class implementing
> IAuthorizationStrategy, a SignIn.java and corresponding SignIn.html. Then
> in any application that needed authorization, I'd call
> setAuthorizationStrategy and pass in an instance of my
> SignInAuthorizationStrategy.
>
> The problem i
> You need to set the target attribute when you need to support a
> non-JavaScript browser. Otherwise, the target attribute won't explain
> the problem Neli is having unless a weird browser is used.
>
> I was just surprised the target attribute was not set automatically as I
> thought Wicket's phil
This would make a fine entry for a FAQ (which we don't have yet?) on
the WIKI. Any volunteers?
Eelco
On 11/13/06, Johan Compagner <[EMAIL PROTECTED]> wrote:
> I see you use tomcat so what you could try is antiResourceLocking and
> antiJarLocking of a tomcat context:
>
> http://tomcat.apache.org/
Ok.
http://issues.apache.org/jira/browse/WICKET-58
Erik.
Eelco Hillenius wrote:
>> You need to set the target attribute when you need to support a
>> non-JavaScript browser. Otherwise, the target attribute won't explain
>> the problem Neli is having unless a weird browser is used.
>>
>> I w
Thanks.
Eelco
On 11/13/06, Erik van Oosten <[EMAIL PROTECTED]> wrote:
> Ok.
> http://issues.apache.org/jira/browse/WICKET-58
>
> Erik.
>
>
> Eelco Hillenius wrote:
> >> You need to set the target attribute when you need to support a
> >> non-JavaScript browser. Otherwise, the target attribut
Hi,
I want to add an additional "class" value to the class attritbute of a
tag in onComponentTag():
aTag.getAttributes().add("class", "newvalue");
Looking at the javadocs, this seems to be supported. Nevertheless,
while rendering only the first value is rendered (see
ValueMap.getCharSeq
Hi Erik,
You should look at aTag.getAttributes as if it is a Map. If you do an
'add' you replace the existing value.
You can either do a get first and add your value, or use the behavior
wicket.AttributeModifier.
Regards,
Erik.
Erik Brakkee schreef:
> Hi,
>
>
> I want to add an addition
If I understand correctly, this explains the problem but does not
solve it. Anyway, I have a simple workaround to display the message as
a Label or some other component, overriding getModel() to return the
appropriate information. That way I am certain that I am seeing the
correct results.
All it
Or use the AttributeAppender
Martijn
On 11/13/06, Erik van Oosten <[EMAIL PROTECTED]> wrote:
> Hi Erik,
>
> You should look at aTag.getAttributes as if it is a Map. If you do an
> 'add' you replace the existing value.
>
> You can either do a get first and add your value, or use the behavior
> wic
You don't say what HTML editor you're using.
If you're using the Amateras editor, you just need to disable validation:
- Right-click your project, select Properties
- Browse to the Amateras tab
- Uncheck "XML Validation and Code Completion using DTD/XML schema"
and "HTML Validation"
--Charlie
Also notice this https://amateraside.dev.java.net/issues/show_bug.cgi?id=54
Haven't tried it, but it should be more flexible now.
Eelco
On 11/13/06, Charlie Dobbie <[EMAIL PROTECTED]> wrote:
> You don't say what HTML editor you're using.
>
> If you're using the Amateras editor, you just need to
Title: AjaxSubmitButton and Umlauts with ISO-8859-1 (Wicket 2)
I have a form with tow submit buttons (just for testing). A "normal" submit button and an AjaxSubmitButton. If I submit the form's fields with the "normal" button, umlauts are submitted corretly.
If I submit the form's fields with
"And i don't think we know it directly where the jars come from"is ofcourseAnd i don't think we know it directly where the resources come from (jars or dirs or zips, inside a war..)
On 11/13/06, Johan Compagner <[EMAIL PROTECTED]> wrote:
drop in a new jar when using it with for example OSGI.And i d
hellofriendswe are looking for some kind of charts , in our project , in wicketwating for reply RegardsKetan D.Gote
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-int
drop in a new jar when using it with for example OSGI.And i don't think we know it directly where the jars come fromWe just get an URL from the app server. In that url you can have a jarurlconnection yesBut that is completely depended on the implementation of the app server.
On 11/13/06, Nili Adora
Wicket has no such thing by default.
However, I can recommend JFreechart for creating charts. You can serve
JFreeChart images from a custom Wicket resource.
Erik.
ketan gote schreef:
> hello
> friends
>
> we are looking for some kind of charts , in our project , in wicket
> wating for repl
This solves the problem of course.
However, why does the ModificationWatcher look for modified resources
within wicket jars?
If component A extends component B, the MarkupCache should indeed verify
watch B as well unless it is a wicket component.
Why would anyone replace markup inside a wicket j
I am using wicket:1.3-incubating-20061113.111007-1 and also have this
problem with javascript not being rendered the second time.
I render a new page and all is rendered fine. i click on a link to
open a new page. there i click on a link that brings me back to the
previous page instance. The javasc
My current workaround is to include the reference in the markup with
tags around it.
I am sorry I did not yet have the time to create a quickstart/unit test
with the problem.
Erik.
Maurice Marrink schreef:
> I am using wicket:1.3-incubating-20061113.111007-1 and also have this
> proble
Unfortunately this is not an option for me as the javascript is
generated dynamically by the java code.
Maurice
On 11/13/06, Erik van Oosten <[EMAIL PROTECTED]> wrote:
> My current workaround is to include the reference in the markup with
> tags around it.
>
> I am sorry I did not yet have the t
why dont you create a quickstart so one of the devs can walk the code and see what is going on-igorOn 11/13/06, Erik Brakkee <
[EMAIL PROTECTED]> wrote:If I understand correctly, this explains the problem but does not
solve it. Anyway, I have a simple workaround to display the message asa Label or
On Sun, 2006-11-12 at 20:13 +0100, Rik van der Kleij wrote:
> Hi Joni,
>
> Do you have any idea why I'm getting the following error while
> opening a wicketpage:
> Can't preview file. Check your wicket:preview path.
>
> I have also wicket projects in Eclipse that do not have this error
> but
the rowitems do not matter, they hold no state. it is the cell items (individual squares in the grid) whose component hierarchy must be preserved, and it looks to me like it is because those are managed by the dataview.
are you sure you overrode equals and hashcode on the IModel not on the model ob
How does wicket solve the problem of layouts, tiles, includes which were
resolved in the JSP realm?
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated tech
via markup inheritance, panels, and borders.-igorOn 11/13/06, Jeff Saremi <[EMAIL PROTECTED]
> wrote:How does wicket solve the problem of layouts, tiles, includes which were resolved in the JSP realm?
-Using Tomcat but need to
If I have markup as such:
My goal is to have output as such:
I'm basically trying to wrap the button component with some markup via
a visitor. What it get's wrapped with wouldn't need to have any logic
with it, it could be a simple string prepend/append.
Cheers,
I'm also experiencing this. I believe it only occurs for a Page
object. All of my components that add css don't pose this problem at
all. Here is the constructor of my page class:
public UserProfilePage() {
add(HeaderContributor.forCss(UserProfilePanel.class,
"UserProfilePanel.css
the problem with doing this through components is that your markup hierarchy will be out of sync with your java one.what you can try is making myParent a AbstractOutputTransformerContainer and then doing string manip in the transform() method by wrapping the output.
its not purty, but it will worko
if you just want around the button MyButtonyou can use a border i guess (i don't like the current borders to much i would like to make them like swing borders)butButton myButton = new Button("myButton")
{ protected void onRender(MarkupStream stream) { getResponse(
I've tested this with current 1.3 and couldn't reproduce this. Can you
please provide a quick-start project? I'd be more than happy to look
into it.
-Matej
Maurice Marrink wrote:
> I am using wicket:1.3-incubating-20061113.111007-1 and also have this
> problem with javascript not being rendered
i like how borders work. borders can contain multiple components, with your way it can only contain one. so maybe you introduce a ComponentBorder or some such-igorOn 11/13/06,
Johan Compagner <[EMAIL PROTECTED]> wrote:
if you just want around the button MyButtonyou can use a border i guess (i don
thats is exactly how swing worksI have always find the wicket borders counter intuitive . (border contains/has components instead of a component has a border)But i don't say lets replace the current border thing.
But maybe add IComponentBorder to wicket 2.0And yes if you then want to wrap multiply
Hi folks,
I was taking a look at Wicket's support for Portlets, and after a
bit of a struggle (mostly caused by Liferay, Ubuntu, MySQL and
Tomcat), I got the examples working.
Then I got curious and tried to set the app to have 2 portlets that
communicate, but I'm a little lost. Is it even
hellofriends we want to implementing charts in wicket, and i have no idea of it? pls any one give some kind of clue. so that i can proceed wating for replyregard'sketan
d.gote
-
Using Tomcat but need to do m
I’d used Tree component(id=”tree”)
as navigation layout, I want to change another panel component(id=”main”)
of the same layout when one tree node clicked, But nothing change occur. When I
use the link component to change the same panel component(id=”main”)
followed the nested demo of wicke
search the list for jfreechart-igorOn 11/13/06, ketan gote <[EMAIL PROTECTED]> wrote:
hellofriends we want to implementing charts in wicket, and i have no idea of it?
pls any one give some kind of clue. so that i can proceed wating for replyregard'sketan
d.gote
---
I try to write a model which equals if beckendObject equals: private final class BackendEqualsThenModelEqualsModel extends Model { private BackendEqualsThenModelEqualsModel(Serializable object) {
super(object); } @Override public boolean equals(Object obj)
why are you overriding newItem ? the idataprovider implementation must return the correct model in its model(Object) method-igorOn 11/13/06, Ingram Chen
<[EMAIL PROTECTED]> wrote:I try to write a model which equals if beckendObject equals:
private final class BackendEqualsThenModelEqualsModel
ok, I change to: ListDataProvider listDataProvider = new ListDataProvider(dataList) { @Override public IModel model(Object object) { return new BackendEqualsThenModelEqualsModel(
(Serializable) object); } };
Look like it is more easier to show a sortable and pagable table than
using DataView. However if I need to show more than property from an
object. Like a BookmarkablePageLink , How should I do? Look like I
need to extended a custom AbstractColumn. Where can I find samples of
doing that?
--
there is an example in wicket-phonebook which lives in wicket-stuff svn.basically you extend the abstractcolumn and add a panel or a fragment. its pretty easy. look at the example - mainly in listcontactspage/actioncolumn i believe
-igorOn 11/13/06, Carfield Yim <[EMAIL PROTECTED]> wrote:
Look like
In version 1.2.2 is it still cumbersome to extend PopupSettings.
all fields are private (windowName, top, left etc.) with no getters, as
well as flagToString().
-- Nili
Eelco Hillenius wrote:
>> I'm having trouble with porting this code into wicket. For the first
>> time when one clicks the "..."
Hello,
I am also working on the same senario,but i not able to reconstruct the tree
with the child nodes given a parent node on click of a particular node.I
have overriden the onNodeClickedEvent() of the AbstractTree but the tree in
the webpage does',t show the child nodes on refresh.
Plz Help .
48 matches
Mail list logo