Solution for me was to append a js where I set the id on a variable...
regards Nino
Nino Saturnino Martinez Vazquez Wael wrote:
Hi
Im doing some manual ajax with wicketAjaxGet.. And I need to get a id
from one of the things added upon the request, how can I get that?
It's for the
I have a dropDownChoice populated with Category objects. If it is the first
time the page is rendered
the Choose one is visible in the list. If I choose any category this item
gets removed because it is not a Category object. How can I always have a
Choose one option as the first item in my
On Sat, 26 Jan 2008, Mathias P.W Nilsson wrote:
I have a dropDownChoice populated with Category objects. If it is the first
time the page is rendered
the Choose one is visible in the list. If I choose any category this item
gets removed because it is not a Category object. How can I always
Thanks but it still does not work. I have set the setIsNullValid to true and
overrided the getDefaultChoice
@Override
protected java.lang.CharSequence getDefaultChoice(final Object selected){
return Test value;
}
But what happens then is that the null value is removed from the list. I
Hi!
I'm not allowed to have WhiteSpace in the value of a DropDownList. How come?
If I implement the IChoiceRenderer and implement the method getDisplayValue
and returnit is trimmed!
I would like to be able to indent child in the drop downlist. How is this
possible?
Thanks
--
View this
Have you tried using nbsp;? That's just the nature of HTML (and XML). The
surrounding whitespace is ignored.
On 1/26/08, Mathias P.W Nilsson [EMAIL PROTECTED] wrote:
Hi!
I'm not allowed to have WhiteSpace in the value of a DropDownList. How
come?
If I implement the IChoiceRenderer and
If I put in the html character of whitespace nbsp; it will type the value
out!
--
View this message in context:
http://www.nabble.com/Not-allowed-to-have-whitespace-in-value-tp15107381p15107854.html
Sent from the Wicket - User mailing list archive at Nabble.com.
Thanks for the pointer. I tried to follow what is in the link.
http://www.nabble.com/Adding-item-to-ListView-over-Ajax---refresh-only-newest-row-td11272937.html
Still I am facing a lot of serious problem. I am trying to generate html for
the new row as said using javascript.
I add the item
Sorry for this post ..I think my problem is solved(Once i added the item to
ajaxrequesttarget which is what i was forgetting)...I do not need to bother
about creating the children of the item using javascript...They are just in
place after the page is rendered...
On Jan 26, 2008 8:56 PM, atul
On Jan 26, 2008 5:21 AM, Mathias P.W Nilsson [EMAIL PROTECTED] wrote:
If I put in the html character of whitespace nbsp; it will type the value
out!
You have to tell Wicket not to escape the output of your drop down
list, which you do by calling setEscapeModelStrings(false) on it.
Eelco
How do you store your dao? Is it a transient object on the page?
regards nino
[EMAIL PROTECTED] wrote:
Hello:
I have several bookmarkable links that would bring up page with data retrieved
from database via JPA/TOPLINK (EntityManager is always created fresh evertime
data is retrieved). The
On Jan 26, 2008 4:19 AM, Mathias P.W Nilsson [EMAIL PROTECTED] wrote:
Thanks but it still does not work. I have set the setIsNullValid to true and
overrided the getDefaultChoice
@Override
protected java.lang.CharSequence getDefaultChoice(final Object selected){
return Test value;
}
Suppose I have two users, one with admin rights and one without. How do I
remove the 'admin' link from my application when the non-admin logs in?
Something similar to the TabbedPanel where I can dynamically create
individual tabs, how do I dynamically create a list of links?
With thanks,
-Matt
You always add all the links and then decide for each link if it
should display or not.
You can do this manually by having the isVisible method of your link
check for an admin user or you can defer this to your security
framework, swarm for instance automatically hides secure links.
Thanks alot! It works now. :jumping:
--
View this message in context:
http://www.nabble.com/DropDownChoice-default-value-tp15106932p15114359.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To
This solved my problem.
--
View this message in context:
http://www.nabble.com/Not-allowed-to-have-whitespace-in-value-tp15107381p15114402.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To
I found this thread:
http://www.mail-archive.com/users@wicket.apache.org/msg04400.html
I have written similair code, but I'm getting an exception. Clearly my
markup is wrong, but I can't for the life of me unnderstand why? When I
inspect the code, the page contains the right things. I'm a
With wicket security (either wasp/swarm, or wicket-auth-roles) can things
like Roles and Permissions be created through a web interface?
Eg,
I need a system whereby I can add new roles (or principals) through the web
interface, and define their permission to a ACLs which are determined by
which
I am writing a web application that will allow the admin for the app to
track who is uploading files and the progress on each file being uploaded.
How can this be done using wicket.
thanks
http://wicketstuff.org/wicket13/upload/single
see that example for a monitored upload. now this upload reports to
the user, but you can use the same mechanism to report the progress to
somewhere where you can track it.
-igor
On Jan 26, 2008 6:06 PM, Gareth Segree [EMAIL PROTECTED] wrote:
I am
Can you specify details more precisely ?
According to http://www.thescripts.com/forum/thread95602.html
It seems nested forms is forbidden.
2008/1/25, Eelco Hillenius [EMAIL PROTECTED]:
You could try nested forms.
Eelco
On Jan 24, 2008 11:19 AM, smallufo [EMAIL PROTECTED] wrote:
I have a
Sorry Textfield id should be key. Should be
class C extends webpage{
String key = default;
add(new Form(f, new CompoundPropertyModel(this))
form.add(new Textfield(key)
Hello: here is a strange result
class C extends webpage{
String key = default;
add(new Form(f, new
Hello: here is a strange result
class C extends webpage{
String key = default;
add(new Form(f, new CompoundPropertyModel(this))
form.add(new Textfield(tf)
}
When I enter a something like Test and hit submit
I'd expect the textfield would return with Test since
it has been saved to mode
Apologies. Pls disregard this question. I found the problem.
Sorry Textfield id should be key. Should be
class C extends webpage{
String key = default;
add(new Form(f, new CompoundPropertyModel(this))
form.add(new Textfield(key)
Hello: here is a strange result
class C extends
On Jan 26, 2008 7:47 PM, smallufo [EMAIL PROTECTED] wrote:
Can you specify details more precisely ?
According to http://www.thescripts.com/forum/thread95602.html
It seems nested forms is forbidden.
In Wicket you can nest them and let Wicket figure out to not actually
print the inner ones. I
Try removing the id attributes from the markup. Wicket likes to generate
this for itself.
You'll also need to add a FormLabel (or something named like that) to
the for element.
Regards,
Erik.
Andy Czerwonka wrote:
I found this thread:
26 matches
Mail list logo