On Tue, Dec 21, 2010 at 1:44 AM, Ioannis Canellos ioca...@gmail.com wrote:
Sorry but I received delivery failure both times I sent the email.
No worries. It may have been a notification that your message needed
to be moderated through. When I moderated your message, I also made
it so that all
On Mon, Dec 20, 2010 at 11:47 PM, Jeremy Thomerson
jer...@wickettraining.com wrote:
On Mon, Dec 20, 2010 at 4:41 PM, hok ivanvasi...@gmail.com wrote:
Jeremy, thanks for the fast response. However my problem is not the same
as
described in the other topic.
I'm using DropDownChoice, so I
Thanks
On Tue, Dec 21, 2010 at 9:59 AM, Jeremy Thomerson jer...@wickettraining.com
wrote:
On Tue, Dec 21, 2010 at 1:44 AM, Ioannis Canellos ioca...@gmail.com
wrote:
Sorry but I received delivery failure both times I sent the email.
No worries. It may have been a notification that your
Hi, i have 3 panels on my page:
wicket:extend
div align=center style=background-color:red;padding:20px
h2Epubs upload/h2
form wicket:id=form
div style=background-color:#304050
span wicket:id=uploadPanel1/
span wicket:id=uploadPanel2/
span wicket:id=uploadPanel3/
a href=# wicket:id=addLinkAdd next
Hi,
What it looks to me that the panel of which visibility has been set is not
added to the target.
So, IMHO *target.add(uploadPanel2)* should do.
Regards
On Tue, Dec 21, 2010 at 6:09 PM, Duro develma...@yahoo.com wrote:
Hi, i have 3 panels on my page:
wicket:extend
div align=center
Make sure of set the OutputMarkupPlaceholderTag to true in uploadPanels also
On Tue, Dec 21, 2010 at 10:46 AM, Tejash Tarun ttej...@educator.eu wrote:
Hi,
What it looks to me that the panel of which visibility has been set is not
added to the target.
So, IMHO *target.add(uploadPanel2)*
Hi, i have 3 panels on my page:
wicket:extend
div align=center style=background-color:red;padding:20px
h2Epubs upload/h2
form wicket:id=form
div style=background-color:#304050
span wicket:id=uploadPanel1/
span wicket:id=uploadPanel2/
span wicket:id=uploadPanel3/
a href=# wicket:id=addLinkAdd next
solved, thanks a lot
Make sure of set the OutputMarkupPlaceholderTag to true in uploadPanels also
On Tue, Dec 21, 2010 at 10:46 AM, Tejash Tarunttej...@educator.eu wrote:
Hi,
What it looks to me that the panel of which visibility has been set is not
added to the target.
So, IMHO
1-Put
uploadPanel2.setOutputMarkupId(true);
uploadPanel2.setOutputMarkupPlaceholderTag(true);
uploadPanel2.setVisible(false);
when you create the panel.
2- on
public void onClick(AjaxRequestTarget target) {
uploadPanel2.setVisible(true);
thanks, setOutputMarkupId(true) is probably not necessary., but adding
the component to target and setOutputMarkupPlaceholderTag(true) is.
Now i tried to mak eit work even better and removed the panels from the
site. i want to add them just on time, when the user request it. so site
looks now
I think you are correct, calling setOutputMarkupId(true) is not necessary
when calling setOutputMarkupPlaceholderTag(true). If I remember correctly
from looking at the code for setOutputMarkupPlaceholderTag(), this will
call setOutputMarkupId(true) for you.
From: Duro
panel.setOutputMarkupPlaceholderTag(true); should be done on panel
creation: this is needed to tell wicket that even when the component
is not visible it should render an empty div with a is set, so that it
can be later used to plugin the panel contents via AJAX when you do
setVisible(true). So,
div with a is set == div with the ID attribute set
On Tue, Dec 21, 2010 at 2:36 PM, Ernesto Reinaldo Barreiro
reier...@gmail.com wrote:
panel.setOutputMarkupPlaceholderTag(true); should be done on panel
creation: this is needed to tell wicket that even when the component
is not visible it
Yep.
public final Component setOutputMarkupPlaceholderTag(final boolean outputTag)
{
if (outputTag != getFlag(FLAG_PLACEHOLDER))
{
if (outputTag)
{
setOutputMarkupId(true);
How do I set the DropDownChoice to a particular choice (item) of the list?
My DropDownChoice has items X,Y,Z. I would like to set the currently
selected item to Y.
I have the method setChoices(..) which lets me initialize the list, but is
there a method to select an item by index?
--
View this
Hello.
Use setModel() in this case.
Best regards, Alexander.
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
HI,
suppose that your choices list is called choicesList and your
DropDownChoice is called options you should write something like:
options.setModelObject(choicesList.get(i));
How do I set the DropDownChoice to a particular choice (item) of the list?
My DropDownChoice has items X,Y,Z. I
Hi,
WICKET-2779 seems to be related to modal windows with upload and ajax
but jcorbins original post was about a nested form in a modal window within
a multipart form.
Are both issues fixed or does the problem from jcorbins first post persist?
thanks
Christian
--
View this message in
Thanks.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Set-Current-DropDownChoice-Item-Selected-tp3154886p3159534.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To
I have a piece of Ajax code, attached to some field (let's call it
sourceField), which looks like this:
sourceField.add(new AjaxFormChoiceComponentUpdatingBehavior()
{
protected void onUpdate(AjaxRequestTarget target)
{
target.addComponent(Field2);
}
}
As you can
im going to guess that the field is repainted with the values the
serverside thinks should be selected. if the values from the
clientside are not processed by the serverside before the ajax update
they will be different, and so the serverside state overrides the
clientside state.
-igor
On Tue,
On Tue, Dec 21, 2010 at 1:50 PM, eugenebalt eugeneb...@yahoo.com wrote:
I have a piece of Ajax code, attached to some field (let's call it
sourceField), which looks like this:
sourceField.add(new AjaxFormChoiceComponentUpdatingBehavior()
{
protected void onUpdate(AjaxRequestTarget
Did the field2 have an initial value or did you set the value in your
browser and then let the ajax run?
Hielke
On 21 Dec 2010 20:51, eugenebalt eugeneb...@yahoo.com wrote:
I have a piece of Ajax code, attached to some field (let's call it
sourceField), which looks like this:
Awesome! I love the Wicket community. 11 minutes after the initial post,
there are three very helpful answers. Great work everyone!
On Tue, Dec 21, 2010 at 2:01 PM, Hielke Hoeve hielke.ho...@gmail.comwrote:
Did the field2 have an initial value or did you set the value in your
browser and
On Tue, Dec 21, 2010 at 5:50 PM, eugenebalt eugeneb...@yahoo.com wrote:
I have a piece of Ajax code, attached to some field (let's call it
sourceField), which looks like this:
sourceField.add(new AjaxFormChoiceComponentUpdatingBehavior()
{
protected void onUpdate(AjaxRequestTarget
First, I never used the tree table from wicket-extensions. But i had a
very quick look at the code and had the following idea.
You could try to extend the TreeTable so you can provide your own
TreeFragment. This ExtendedTreeFragment could render different
components depending on the 'level'
Thanks for the fast replies, much appreciated, but what should I change in my
code? I'm still not clear.
Yes, the Field2 had some initial values with which it was constructed.
--
View this message in context:
s/AjaxFormChoiceComponentUpdatingBehavior/AjaxFormSubmittingBehavior/
so all values are propagated
-igor
On Tue, Dec 21, 2010 at 10:24 PM, eugenebalt eugeneb...@yahoo.com wrote:
Thanks for the fast replies, much appreciated, but what should I change in my
code? I'm still not clear.
Yes, the
But I can't use AjaxFormSubmittingBehavior (correct me if I'm wrong).
I need to make some changes to Field2 prior to any form submission, they
have to be made as soon as the sourceField has changed in any way.
I just don't want the Field2's values to get erased without me even doing
anything. I
It looks like I fixed it by adding new Ajax code to Field2.
The Field2's Ajax code does nothing, it just calls target.addComponent() on
itself: target.addComponent(Field2). This got rid of the values getting
erased.
So whenever you update something via Ajax, it has to be 2-way? You need to
Hi,
I've put together a project based on Wicket Oracle which I'd hope could serve
as a good starting point for applications based on these 2 technologies.
My background is in writing large applications based upon Oracle I wrote this
to learn about Wicket Java and also to prove to myself that
- using individual database users to represent real users - giving end-to-end
authentication allowing the use of features such as SQL Trace fine
grained auditing
Does that mean that the number of open connections always equals the
number of signed in users?
- using database roles to
Let me guess, you're a dba?
On Dec 21, 2010 5:14 PM, Andrew Hall andre...@hotmail.com wrote:
Hi,
I've put together a project based on Wicket Oracle which I'd hope could
serve as a good starting point for applications based on these 2
technologies.
My background is in writing large
You shouldn't need a connection per user with Oracle's Universal
Connection Pool jar. e.g. in his AbstractOracleDAO
UCPMgr.getLabelledConnection( pUsername , pPassword );
Scott
On Tue, Dec 21, 2010 at 4:12 PM, Eelco Hillenius
eelco.hillen...@gmail.com wrote:
- using individual database
On Dec 21, 2010, at 5:14 PM, Andrew Hall wrote:
It'd be fair to say that some of my Java may not be of the highest standard,
so if anyone has the inclination to look at this, any constructive feedback
would be appreciated.
I've thought about how to use the database this way as well. Eelco
I am want to save the uploaded file in temp folder till its persisted in
database along with some other fields.
I have a page with a form and a uploadpanel which is ajaxfileupload.
User 1 open this page uploaded a file with name test.pdf and filing up
other fields in the form.
at this time
Have you verified that this is what happens?
On Dec 21, 2010 10:00 PM, fachhoch fachh...@gmail.com wrote:
I am want to save the uploaded file in temp folder till its persisted in
database along with some other fields.
I have a page with a form and a uploadpanel which is ajaxfileupload.
User 1
No i have not tried yet , I will try it , but this is what should happen
right ?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/saving-uploaded-file-to-temp-folder-best-practices-tp3160036p3160091.html
Sent from the Users forum mailing list archive at Nabble.com.
Why don't you try an upload and see what the file name is in the temp folder.
On Tue, Dec 21, 2010 at 11:18 PM, fachhoch fachh...@gmail.com wrote:
No i have not tried yet , I will try it , but this is what should happen
right ?
--
View this message in context:
On Tue, Dec 21, 2010 at 6:12 PM, Eelco Hillenius
eelco.hillen...@gmail.comwrote:
- using database roles to restrict access to data, and not relying wholly
on application enforced security
So if you want to determine whether user X can see button Y, you have
to query the database for
40 matches
Mail list logo