Hi,
I would like to create different users that will have different permissions.
For example if I have a page with several buttons, some users will just see
that page while others will be able to push the buttons.
I read the Wicket-Security at Wicket Stuff site:
http://wicketstuff.org/confluence/
Hi,
I have my custom session class that extends AuthenticatedWebSession and I
implement the authenticate method.
In order to get the user name from anywhere in the code I save the user name
in the authenticate method to local member and then I can use it anywhere.
The problem is if I restart my
Hi,
Currently in my server anyone that logged in can add and see all the data in
the system (that he added or other people added)
I need the ability to create different users and each user can see only the
data that he enter.
Does wicket has a build in solution for this scenario?
Thanks in adva
Hi Erik,
I used your solution and it works great for ff, while ie seem to have
problems with it. Have you run it also in ie?
Thanks,
Itay
Erik van Oosten wrote:
>
> I just finished an experiment with something like that. Its still ugly
> and very static, but here is my code.
>
> In the HT
>}
> };
>
> For this to work externalXapUrlField will have be a variable (so that you
> can refer back to it) and
> have externalXapUrlField.setOutputMarkupId(true)...
>
> Ernesto
>
>
>> On Tue, Dec 9, 2008 at 10:31 AM, itayh <
Hi,
I have AjaxCheckBox. I want to be able to set other components to be disable
or enable when the use check or unckeck the AjaxCheckBox.
In my javacode:
Several text fields in the next format:
TextField externalXapUrlField = new TextField("externalXapUrl");
add(externalXapUrlField, new Propert
Hi,
I am creating a form in the next format:
private abstract class EditForm extends Form{
public EditForm(String id, Poll poll) {
/*
* We wrap the poll bean with a CompoundPropertyModel, this
allows
* us to easily connect form components to t
Thank you, it works great.
jWeekend wrote:
>
> You can use or HeaderContributors.
> See http://cwiki.apache.org/WICKET/javascript-and-css-support.html this .
>
> Regards - Cemal
> http://www.jWeekend.co.uk http://jWeekend.co.uk
>
>
> itayh wrote:
>
Hi,
I use Markup inheritance in my site in order to keep common logic in the
base page.
I would like my child pages to do certain javascript actions when they are
loaded. I try to define the the javascript on the childs body (between the
and ) but I don't see them in the generated
page (the bas
e);
>
> Rgds
>
> Ned
>
>
>
> itayh wrote:
>>
>> Hi Charlie,
>> You are correct, I removed some not relevant data.
>> Here is my table full markup:
>>
>>
>>
>>
not closed the span or anchor
> tags,
> and Wicket won't accept that at all.
>
> Please post your real markup!
>
> Charlie.
>
>
>
>
>
> 2008/11/11 Igor Vaynberg <[EMAIL PROTECTED]>
>
>> what url is generated for that link (look in sourc
Hi,
I am having a table with deactivate and delete link columns. In the delete
column I want to have delete image, so pressing on the image will activate
the delete function on the server.
My html code:
< a href="#" wicket:id="active-link" >< span wicket:id="poll.active" >
< a href="#" wicket:i
Thank you all for all the help. Changing the type of the button to button
instead of submit fix that problem.
itayh wrote:
>
> The first line is actually name = item.getName(); there was a copy typo
> when I paste here the code. Any Idea?
>
> Pablo Abad wrote:
>>
>>
Hi Timo,
Changing it to link solve the problem, but created a new one. It changes the
look and feel of my page (since I am using buttons for save and cancel in my
site).
Thank in advance,
Itay
Timo Rantalaiho wrote:
>
> On Tue, 28 Oct 2008, itayh wrote:
>> I have a page th
10x alot, it works
Jeremy Thomerson-5 wrote:
>
> Try this:
> http://www.nabble.com/Adding-Adobe-Media-Player-in-wicket-to19797690.html#a19827296
>
>
> --
> Jeremy Thomerson
> http://www.wickettraining.com
>
> On Mon, Nov 3, 2008 at 10:52 AM, itayh <[EMAIL P
r in dynamic way from my
java code. To be more accurate what I need is to set the next url
m=http://SWITCH434-01.castup.net/cunet/gm.asp?ai=434&ar=08-09-18_22-00-30&ak=null";
from the java code according to the url I get from the user.
Any simple way to do this in wicket?
Than
Hi all,
I have a peace of html that looks like that:
img src="http://reshet.attractv.net/reshet/img/no_silverlight.jpg";
usemap="#no_silverlight" border="0" />
http://go.microsoft.com/fwlink/?LinkID=124807"; />
I need to set
Hi,
I have a page that contains several iframes with some actions in each
iframe. When I press on some of the actions I want the parent page to be
updated (since the actions affect the whole parent page with the iframes).
But every attempt to update the page is actually updating the iframe only.
gameItem --> item)
>>> On Tue, Oct 28, 2008 at 11:41 AM, itayh <[EMAIL PROTECTED]> wrote:
>>>
>>>> protected void onEditItem(Item item) {
>>>>name = gameitem.getName();
>>>>addItemsForm.setVisible(true);
>>>> }
ue, Oct 28, 2008 at 11:41 AM, itayh <[EMAIL PROTECTED]> wrote:
>>
>> Hey,
>>
>> I have a page that contain a hidden form. When the user press on "Add
>> Item"
>> or "Edit Item" then I set the visability of the form to true and the user
Hey,
I have a page that contain a hidden form. When the user press on "Add Item"
or "Edit Item" then I set the visability of the form to true and the user
can add details and the OK button save the data and set the visability of
the form to false.
The problem is if the user press on cancel. I nee
ound and replace the url /
chars with different ones but it is quite ugly. You have any Idea why it is
like that?
Erik van Oosten wrote:
>
> Please check your setup then. I understand you are using sitemesh. Maybe
> this interferes.
>
> Erik.
>
> itayh wrote:
>> I
ers;
>
>
> Regards,
> Erik.
>
>
>
> itayh wrote:
>> Hi Erik,
>>
>> You are right, the src AttributeModifier overwrites params values. If I
>> am
>> not using the src AttributeModifier then the params has values and if I
>> use
>
Hi all,
Is there any way I can control the page expire url? I am using ajax self
updating and when the page expire for some reason it turns into
host:port/myapp/;jsessionid=9A04D7E548899E5E36381E6AEBCAD1AE?wicket:bookmarkablePage=:org.apache.wicket.markup.html.pages.PageExpiredErrorPage
I need i
(myFrame);
>
> public MyFrame(PageParameters params){
> String url = params.getString("0"); // changed to getString
> doSomething(url);
> }
>
> mount(new IndexedHybridUrlCodingStrategy("iframe/MyFrame",
> MyFrame.class)); // removed leading /
&
I tried also for the url mounting:
mount(new HybridUrlCodingStrategy(/iframe/MyFrame, MyFrame.class));
In all cases the params inside the constructor of MyFrame class has no
values in them (size = 0)
Thanks,
Itay
Erik van Oosten wrote:
>
> Itayh,
>
> What you do seems alright.
Any Idea?
itayh wrote:
>
> Thx for the quick response.
>
> I cahnged the url mount in my application to
> mount(new IndexedHybridUrlCodingStrategy("/iframe/MyFrame",
> MyFrame.class)) ...
>
> My problem is that still when i try to create iframe l
Hi,
We plan to run our servers on a cluster environment. We are using Tomcat.
I looked and tried to see how is the best way to configure cluster wicket
but all I could find was to use the default.
Is there any paper that say what are the benefits/problems of any option?
Also in case I use the d
/MyFrame", MyFrame.class))
...
The param is runtime value and I can not know it when creating my app.
Erik van Oosten wrote:
>
> You should use one of the other HybridUrlCoding strategies. E.g. the
> IndexedHybridUrlCodingStrategy.
>
> If you need an MixedParamHybridUrlC
Hi,
I am using HybridUrlCodingStrategy for my url's (I need that the mount point
will preserved even after invoking listener interfaces).
I am creating IFrames using InlineFrame class.
In order that the url of the IFrame will be what I want I do:
PageParameters params = new PageParameters();
pa
Dear All,
I am using sitemesh decoration framework in my wicket application.
Everything work perfectly until I tried to create iframes.
I am using InlineFrame class for creating the iframes.
Java Code:
InlineFrame myFrame = new InlineFrame("MyFrame", new MyFrame(this));
Where MyFrame is simple w
31 matches
Mail list logo