It seems that you need some css guidance:
http://www.positioniseverything.net/ Visit This link
Lec wrote:
>
> Do you happen to know the attribute and its value for setting the position
> to the right?
>
>
> Timo Rantalaiho wrote:
>>
>> On Wed, 30 May 2007, Lec wrote:
>>> I need some guidan
Do you happen to know the attribute and its value for setting the position to
the right?
Timo Rantalaiho wrote:
>
> On Wed, 30 May 2007, Lec wrote:
>> I need some guidance. By default, normally we will see either a panel tab
>> or
>> multiple tab appear on the far left of the screen. How do we
Not necessarily, only if you (core developers) consider that it worth the
effort..
I just thought that this workaround could be useful for anyone who have
struggled with the same problem...
Alex
Eelco Hillenius wrote:
>
>> 2) Wrap the script into the tag, like this:
>>
>>
>>
>> //your
ugh. looks like this was another session issue (different thing though).
one thing that was helpful in tracking this down was turning on the AJAX
debugging window.
Jonathan Locke wrote:
>
> this may be my problem, but i'm having a bit of trouble with modal windows
> that won't open and wonde
On Wed, 30 May 2007, Lec wrote:
> I need some guidance. By default, normally we will see either a panel tab or
> multiple tab appear on the far left of the screen. How do we position them (
> the panel tabs ) in such a way that they will appear on the far right rather
> than the left?
With CSS. Ju
> new WebMarkupContainer("removeMe") {
> protected void onBeforeRender() {
> super.onBeforeRender();
> setVisible(sometimesFalse());
> }
> }
That, or alternatively,
new WebMarkupContainer("removeMe") {
public boolean isVisible() {
return sometimesFalse();
}
}
Eelc
I need some guidance. By default, normally we will see either a panel tab or
multiple tab appear on the far left of the screen. How do we position them (
the panel tabs ) in such a way that they will appear on the far right rather
than the left?
--
View this message in context:
http://www.nabble
On Wed, 30 May 2007, Lowell Kirsh wrote:
> I making a web page which contains some markup that I'd like to remove
> (sometimes). I imagine it would look like:
>
> ...
> Hello World
> ...
>
> Is it possible to remove this markup?
new WebMarkupContainer("removeMe") {
protected void onBeforeRen
+1. It can be tedious sometimes figuring out how to update
components that are on the other side of the tree from the onClick.
best,
jim
On 5/30/07, Jonathan Locke <[EMAIL PROTECTED]> wrote:
>
>
> Maybe another way to auto-ajax-update a component would be to have it do
> that whenever its model
If you mean getAjaxCallDecorator(), it is surely there. Just override
it to return your implementation of AjaxCallDecorator. To add to the
onclick, you will need to override the decorateScript method of
AjaxCallDecorator.
best,
jim
On 5/30/07, Tremelune <[EMAIL PROTECTED]> wrote:
>
> I'm looking
I making a web page which contains some markup that I'd like to remove
(sometimes). I imagine it would look like:
...
Hello World
...
Is it possible to remove this markup?
Thanks
Lowell
-
This SF.net email is sponsored by D
BTW, I know that the AJAX request to open the window is occurring because I
get this
[15:31:00] INFO - RequestLogger -
time=11,event=Interface[target:SendToFriendModalWindow$1(xyz:sendToFriendLink),
page: web.pages.index.IndexPage(6), interface:
IBehaviorListener.onRequest],[EMAIL
Maybe another way to auto-ajax-update a component would be to have it do
that whenever its model changes. There are a lot of caveats with model
change notifications, but that seems to be a pretty clean idea if the rules
for model changes were respected. Might make a good RFE for next Wicket
ver
It shouldn't be hard to write the method you're talking about. To find all
the components using the same model as a given component, just walk the
component hierarchy using visitChildren() and add any component which
returns true for sameInnermostModel(component).
There is a more general case o
this may be my problem, but i'm having a bit of trouble with modal windows
that won't open and wondering if there are any known gotchas or words of
wisdom for what to look at...
--
View this message in context:
http://www.nabble.com/modalwindow-open-fails-tf3843250.html#a10883547
Sent from the
I'm looking to add an additional script to the onclick of a (paging) ajax
link. I stumbled on this thread:
http://www.nabble.com/Appending-to-AJAX-Submit-Button-onclick-tf1695285.html#a4600751
I can't seem to find the additional code in 1.3. The thread is a year old,
perhaps the code was discard
I have a AjaxTabbedPanel that contains the Yahoo DateTimeField from
extensions. The calendar works fine on a page refresh, but when
clicking to other tabs with Ajax loading each tab, the DateTimeFields
quit working. Has anyone else experienced this and found a workaround
or fix?
Thanks
Aar
> 2) Wrap the script into the tag, like this:
>
>
>
> //your script
>
Is this something Wicket can/ should do by default?
Eelco
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE ver
I prefer not to do it that way because it requires a potentially large list
of records to be pulled up initially whereas now, I'm only pulling the
records on the current page, making it much faster. I pass the x & y right
through to the data access layer.
Johan Compagner wrote:
>
> this only w
huhu!
i just gave acegi with your wicket-role-model a try and came up with this quick
implementation (2 java & 1 xml-file):
http://wicket.silberlicht.de/misc/acegi-wicket.tar.gz (2k size)
you need the acegi-framework from
http://www.acegisecurity.org/
and the spring.jar (acegi needs this for
-Original Message-
From: Ryan Sonnek [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 30, 2007 12:45 PM
To: Apaar Trivedi
Subject: Re: wicket scriptaculous drag and drop
Thanks for the feedback. This question might be applicable to the
wicket user mailing list. My suggestion is to use t
> I am using wicket 1.2.6 API. I couldnt find this
> "org.apache.wicket.markup.IMarkupCacheKeyProvider" interface. Could you
> please tell me which jar or wicket has this interface.
It's a new feature of Wicket 1.3. Unfortunately, we can't support this in 1.2.
Eelco
-
I have some state which backs two panels, Panel A and Panel B, that may be
included as part of other panels. Ultimately they are both on the same page,
and their backing state is shared via the model class that backs both of
them. Panel A has an Ajax event handler which modifies the backing model
Johan many thanks for answering I think so.
Here is the structure of the code:
1) A panel that contains a Form (fields name and lastName) and a Table
(PageableListView).
2) A small SearchPage like this:
public DossierSearch() {
super();
add(new ch.logismata.wicket.panels.ajax.Dossi
Hi all,
The reference about using custom converter in apache wiki is outdated(
http://cwiki.apache.org/confluence/display/WICKET/Using+custom+converters#Usingcustomconverters-Provideacustomconverterfactory).
I could'nt find the method getConverterFactory() in Application class. Can
somebody upd
Hi
I am not native English speaker.
sorry for poor English.
I use wicket 1.2.6 .
I have question to use WicketTester.
i want to make Global object ,create instance in WebApplication Class and
create method to access the instance.
In WebPage class ,access the instance like this
SingleClass clas
I am using wicket 1.2.6 API. I couldnt find this
"org.apache.wicket.markup.IMarkupCacheKeyProvider" interface. Could you
please tell me which jar or wicket has this interface.
Thanks in advance.
Eelco Hillenius wrote:
>
> Look at PageWithCustomLoading. It implements IMarkupCacheKeyProvider
> a
Ah, I see.
If your popup functionality is pure client-side Javascript, couldn't you
just turn it into a Behavior that you attach to a Label, Image, or
whatever, that sets the "onclick" attribute of whatever you attached it
to?
jk
On Wed, May 30, 2007 at 10:13:40AM -0400, Ravindra Wankar wrote:
>
Look at PageWithCustomLoading. It implements IMarkupCacheKeyProvider
and has method:
/**
* Prevent the markup from ever be cached. This is optionally -
components
* that don't implement [EMAIL PROTECTED] IMarkupCacheKeyProvider} will
just have their
* markup ca
The size() method was one of my biggest stumbling blocks when I started using
DataProvders, but for slightly different reasons (i.e. just having a size
method makes it less maintainable, perform worse, less scalable and gives
less accurate results). But when I tried to work around the size method
OK, I've tried to create an unversioned page to keep the URL stable using
following page code:
> public class DownloadFile extends TemplatePage {
>
> // Constants
> ==
>
> private static final String FILE_PARAMETER = "file
no i thnk AlMaw wants to take a look at it.
johan
On 5/30/07, Ingram Chen <[EMAIL PROTECTED]> wrote:
In 1.2.x trunk, Settings still use old implemation:
public String getContextPath()
{
// Set the default context path if the context path is not already
// set (previou
Thanks John. I was suspecting no one to reply to a long mail.
Unfortunately, in my case the getTitle() returns a component not the
label text. The component returned by the child can either be a "label"
or an "image" component. The derived class gets the label text in its
constructor which it
In 1.2.x trunk, Settings still use old implemation:
public String getContextPath()
{
// Set the default context path if the context path is not already
// set (previous time or by the developer itself)
// This all to do missing api in the servlet spec.. You can't get a
One idea would be to create a class that represents the logical idea of
a link, e.g
public class NavEntry {
private String title;
private Class pageClass;
private PageParameters parameters;
...
}
Pass a list of these to the constructor of your panel, which then
renders these i
One way to solve the "abstract method from the constructor" problem (or
more precisely, the "non-final method from the constructor" problem) is
to use a Model, e.g...
public class PopupPanel extends Panel {
public abstract String getTitle();
public PopupPanel(String id) {
add(new L
Probably it is well known bug for most of you, but I think it worth to
mention again about it and its workaround.
The bug appears when the ajax response contains a which normally
should be evaluated (and it does in gecko browsers) but the script is not
evaluated in IE (any version, including IE
Relative URLs are good - they make the page work properly behind proxy
servers. Why do you want an absolute one? Do your resources live in a
different context or something?
If you're trying to serve resources relative to your context root, just
add it with:
add(HeaderContributor.forCss("resources/
Ah, perfect :)
Thank you so much for your help!
Johan Compagner wrote:
> Model model = new Model(map)
> {
> getObject()
> {
> return new List(map.entries())
> }
> }
>
> ListView lv = new ListView(x,model);
> johan
I tried with customresourceloading from wicket-examples its working but the
problem is with markup cache.
I am having to different markups for the same page(java file) so when I
start my server and hit that page it with criteria that selects markup
dynamically it displays that page with that mark
this only works if you have a seperate method:
private List getOrders()
{
if (orders == null)
{
orders = DAO.getOrders()
}
}
iterator()
{
return getOrders().sublist(x,y).iterator()
}
size()
{
return getOrders().size();
}
detach()
{
orders = null;
}
johan
On 5/29/07, V. Jenks
Model model = new Model(map)
{
getObject()
{
return new List(map.entries())
}
}
ListView lv = new ListView(x,model);
johan
On 5/30/07, Sven Schliesing <[EMAIL PROTECTED]> wrote:
I tried that already. But I ran into the following problem:
Caused by: java.lang.ClassCastException: java.u
I tried that already. But I ran into the following problem:
Caused by: java.lang.ClassCastException: java.util.HashMap cannot be
cast to java.util.List
at
org.apache.wicket.markup.html.list.ListView.getList(ListView.java:174)
at
org.apache.wicket.markup.html.list.ListView.getView
that seems to be a problem yes
what i did was change the Settigngs one:
contextPath =
((WebRequest)RequestCycle.get().getRequest()).getHttpServletRequest().getContextPath();
so that i directly call the context path of the http servlet request.
i think that should work fine, or does some have We
ahh ok change this
new ListView("list", new ArrayList>(map.entrySet()))
{
thats wrong you can't keep Map.Entry objects in a arraylist.
why not keep the map yourself?
new ListView("list", new Model(map) {
johan
On 5/30/07, Sven Schliesing <[EMAIL PROTECTED]> wrote:
Changing the code to:
new
2007/5/30, Sven Schliesing <[EMAIL PROTECTED]>:
Changing the code to:
new ListView("list", new ArrayList>(map.entrySet())) {
public void populateItem(ListItem listItem) {
Map.Entry entry = (Map.Entry)
listItem.getModelObject();
...
}
};
doesn't fix the problem. Furthermore
h
I have created a JIRA issue
https://issues.apache.org/jira/browse/WICKET-602
Regards
Dipu
- Original Message -
From: "Eelco Hillenius" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, May 29, 2007 5:08 PM
Subject: Re: [Wicket-user] Autocomplete - selecting
(higlighting)firstoptionby default.
Changing the code to:
new ListView("list", new ArrayList>(map.entrySet())) {
public void populateItem(ListItem listItem) {
Map.Entry entry = (Map.Entry)
listItem.getModelObject();
...
}
};
doesn't fix the problem. Furthermore
http://java.sun.com/j2se/1.5.0/docs/api/java/util/M
You should use an attribute modifier on the totals row. like this
totalsRow.add(new AttributeModifier("colspan",myModel));
If you know for a fact the number of columns is not going to change
after a page refresh you could use a new
SimpleAttributeModifier("colspan",length) else you should use a mod
Hi
The largest difference between the two is how much control you want over
the components. the Radio(used with radiogroup) lets you place your
radios exactly where you desire where as the radiochoice has a somewhat
fixed formatting and "just" prints out radios.
regards Nino
howzat wrote:
> T
50 matches
Mail list logo