with Wicket, but I give it a shot... :-)
>
> @Override
> public void renderHead(IHeaderResponse response) {
> super.renderHead(response);
> response.renderCSSReference(YOUR_CSS_REF);
> }
>
> private static final Resour
I have a component that extends panel. I need to add css customization
to this panel. I can include the css in the over all site CSS, but
I like to separate the CSS for this panel. For example,
MyPanel.java
MyPanel.html
MyPanel.css
I like to have MyPanel.css included in the header of the html whe
ote:
> > You can use a disabled link, which will render as a .
> >
> > Sven
> >
> >
> > On 08/21/2012 08:10 AM, Mansour Al Akeel wrote:
> >>
> >> I am looking to produce the following mark up:
> >>
> >> Home
> >>
I am looking to produce the following mark up:
Home
About
Josh, I tried to run the app, but I couldn't resolve an issue with
maven. May be you have seen something similar before. I had deleted the
corresponding wicket/1.4.12 direcotry
from maven repo to forse it to re download, but no luck. I am using maven 3. Do
I need to install all these required pr
s.compref.BookmarkablePageLinkPage
>
> G'luck
>
> Marco.
>
> On 28 March 2011 07:48, Mansour Al Akeel wrote:
> > Josh,
> > Yes each link is reloading a different page, and the list of the links
> > is not rebuilt. Only the contents part of the page.
> > W
Josh,
Yes each link is reloading a different page, and the list of the links
is not rebuilt. Only the contents part of the page.
What would your css alternative solution be ? How can I get the clicked
link disabled and assing it a class, excluding the rest of the links,
without breaking the ajax f
of great men should always be
> measured by the means they have used to
> acquire it."
> - Francois de La Rochefoucauld
>
>
>
> On Sun, Mar 27, 2011 at 8:37 PM, Mansour Al Akeel > wrote:
>
> > Hello all,
> > I have created a dynamic menu using AjaxLin
No answer yet.
Any thing not clear ?
On Sun Mar 27,2011 07:37 pm, Mansour Al Akeel wrote:
> Hello all,
> I have created a dynamic menu using AjaxLink. Clicking a link results in
> dispalying the correcponding class on the screen. It's common, to
> display the clicked link in
I didn't clearly understand the question. But another shot in the dark
;)
You mean, is the behaviour of the ajax link depends on the clicked item ?
If that's what you mean, then I like to be able to disable the clicked
link while viewing the corresponding panel.
The second part about the onchang
Hello all,
I have created a dynamic menu using AjaxLink. Clicking a link results in
dispalying the correcponding class on the screen. It's common, to
display the clicked link in a different color/background ... etc.
But I wasn't able to find a way to achieve this.
Any advice tutorial, article ?
structor..
>
> you dont need setOutputMarkupId(true) as you are already using
> setOutputMarkupPlaceholderTag(true)
>
> and yes you are using replacewith correctly ,i dont think there is any
> problem in this code..
>
> On Sun, Mar 27, 2011 at 2:08 PM, Mansour Al Akeel
> w
mal way etc. what you want to do..
>
> On Sun, Mar 27, 2011 at 12:56 PM, Mansour Al Akeel
> wrote:
> > Martin,
> > I could not find any help using this extension. May be I missed something
> > somewhere.
> > Let's look at a peice of code of w
O
error generated ! Is't correct to conclude that the html template for
EditUserScreen is never parsed, and instead the Panle.java is used ?
Shouldn't the old panel should be removed in this case, at least?
On Fri Mar 25,2011 03:06 pm, Mansour Al Akeel wrote:
> Thank you Martin,
>
check whether the previous/next wizard step
> should be shown to the current user depending on its privileges.
>
> On Fri, Mar 25, 2011 at 1:57 AM, Mansour Al Akeel > wrote:
>
> > I do have the need to implement different screens. Each screen is a
> > Panel that w
I do have the need to implement different screens. Each screen is a
Panel that will be displayed when requested from the screens menu.
The screen menu should display the items depending on the functionality
the user has access to.
Can some one point me to an article or a tutorial with similar
re
Thank you.
Will try that.
On Thu Mar 24,2011 08:08 pm, Mansour Al Akeel wrote:
> On Tue Mar 22,2011 10:15 pm, Zilvinas Vilutis wrote:
> > https://cwiki.apache.org/WICKET/spring-security-and-wicket-auth-roles.html#SpringSecurityandWicket-auth-roles-Wicketsetup
> > and call Se
> E-mail: cika...@gmail.com
>
>
>
> On Tue, Mar 22, 2011 at 6:13 PM, Mansour Al Akeel
> wrote:
> > Woops forgot to include the way I am getting the request.
> >
> > private User getLoggedInUser() {
> > ?? ??ServletWebRequest servletWebReque
= request.getUserPrincipal();
User user = (User) principal;
return user;
}
I appreciate your help.
On Tue Mar 22,2011 08:42 pm, Mansour Al Akeel wrote:
> Hello all,
>
> I am authenticating a user, and it's working fine through our own Jaas
> module implementation. However, I am try
Hello all,
I am authenticating a user, and it's working fine through our own Jaas
module implementation. However, I am trying to get one of the Panels to
display based on the logged in user. I am not using wicket-aut yet, and
looking to do this by obtaining the Principal implementaton from the
Htt
It runs ok under a standard tomcat installation, and I can do remote
debugging. However, it's not as convenient as if it's running from
maven, where I can view changes easily.
In my case, changes has to be deployed to tomcat installation after
re-packaging the war file.
When dealing with maven-je
rovided
>
> 2010/7/19 Mansour Al Akeel
>
>> Martin,
>> thank you. But I don't have servlet.jar in the lib folder. There's no
>> lib folder, since I am using maven archetype.
>> If I have to exclude it from POM.XML then how ?
>> tomcat plugin depends o
n Grigorov
wrote:
> Remove servlet.jar from yourApplication.war#WEB-INF/lib/ folder
>
>
> 2010/7/18 Mansour Al Akeel
>
>> Hello all:
>> I am trying to run tomcat from maven and including openEJB. The
>> command I am using to run tomcat:
>>
>> mvn tomca
Hello all:
I am trying to run tomcat from maven and including openEJB. The
command I am using to run tomcat:
mvn tomcat:run
The error I am getting :
Jul 18, 2010 6:53:29 AM org.apache.catalina.startup.Embedded start
INFO: Starting tomcat server
Jul 18, 2010 6:53:29 AM org.apache.catalina.core.St
roperty it provides, but it is hard-wired
> on the object you give to its constructor.
>
> Hope this helps
>
> Sven
>
>
> On 07/15/2010 08:36 PM, Mansour Al Akeel wrote:
>>
>> Sven,
>> thank you, but it worked when using this ?
>>
>> add(new
you look at the source code for AjaxEditableLabel you could've seen
>>that it is not suited for CompoundPropertyModel usage.
>
> AjaxEditableLabel is very well capable of working with
> CompoundPropertyModels, see AjaxEditableLabel#getParentModel().
>
> Regards
>
> Sve
results for the corresponding product in the Labels, but not in the
AjaxEditableLabel.
On Thu, Jul 15, 2010 at 3:48 PM, Martin Makundi
wrote:
> you need to add the updated panel into target:
>
> target.addComponent(panelToBeUpdated);
>
>
>
> 2010/7/15 Mansou
I just tried it. It doesn't update the panel. Here's the full code:
public class ProductDetails extends Panel {
@EJB
private ProductServicesLocal productServices;
public ProductDetails(String id, final Product product) {
super(id);
setOutpu
ear all your problems. Using
> compoundpropertymodel you will get all kinds of surprises.. sometimes,
> and spend lot of extra time resolving.
>
> **
> Martin
>
> 2010/7/15 Mansour Al Akeel :
>> Hello all, I have been trying to resolve this issue. I have a panel
>>
Hello all, I have been trying to resolve this issue. I have a panel
that shows a product info.
public class ProductDetails extends Panel {
public ProductDetails(String id, final Product product) {
super(id);
setOutputMarkupId(true);
this.set
.id"))
This one is not working as expected.
Do you have a ling for an example ?
>
> Note that using the CompoundPropertyModel as suggested earlier is much
> easier.
>
> Regards
>
> Sven
>
> On 07/13/2010 05:16 AM, Mansour Al Akeel wrote:
>>
>> Thank you. I
Thank you. I didn't know that wicket will pick the properties without
getters. I thought I have to create a getter for each property before
it's seen. Now the remaining issues:
When I use soemthing like :
add(new Label("id", new PropertyModel(this,
"model.id")));
I get an exception
add(new Label("codProduct"));
>
> add(new Label("tpVat"));
> }
>
> public void setCurrentProduct(Product product) {
> setDefaultModel(new CompoundPropertyModel(product));
> }
> }
>
>
> HTH
>
> Sven
>
>
> On 0
I have a panel that displays a product info :
public class ProductDetails extends Panel {
private IModel model;
public ProductDetails(String id, Product product) {
super(id);
setOutputMarkupId(true);
this.setCurrentProduct(product);
In fact, I tried to send String as events, and I got the same error.
Finally I found that I had to use the full name for the String class
java.lang.String .
http://example.com";>x:ReportName
java.lang.String
It's working now. Thank you.
On Wed Jan 06,2010 11:04 am, Wilhelmsen Tor Iv
Thank you Tor:
I am using wicket 1.4.5. I was able to find some examples for events
but I am having difficulties getting my code to work with wicket. Here's a
refrence:
http://blog.xebia.com/2009/04/19/inter-portlet-coordination-with-jsr-286/
In my code I am trying to send the event from onClick,
I am having a problem finding a resource or an example for portlets
communications with events "processEvent(EventRequest request,
EventResponse response)"
how do I dispatch and event from wicket page? for example if I have a
ViewPage and I need to send an event to a subscribed portlet , how do
I d
86 container,
> shame the same can't be said for a JSR-168 container, ie Pluto :(
>
> cheers,
> Steve
>
>
>
>
> On 04/01/2010, at 5:17 PM, Mansour Al Akeel wrote:
>
> > Yes, this is JS2.2, but how where you able to tell it it's JSR286 ?
> &g
l
new to wicket, but enjoying it already :)
On Mon Jan 04,2010 04:52 pm, Steve Swinsburg wrote:
> Absolutely that would be great. BTW I assume this is Jetspeed 2 since its
> JSR286?
>
>
>
> On 04/01/2010, at 4:48 PM, Mansour Al Akeel wrote:
>
> > I checked jetspeed
Steve Swinsburg
wrote:
> Hi Mansour,
>
> Thats just the Tomcat log, you should have a portal log that has the actual
> exception or error that occurred?
>
> cheers,
> Steve
>
>
> On 04/01/2010, at 3:32 PM, Mansour Al Akeel wrote:
>
>> Sorry, Forgot to include t
org.apache.catalina.core.StandardContext start
SEVERE: Error filterStart
Jan 4, 2010 12:03:47 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/reports-0.5.4] startup failed due to previous errors
On Mon, Jan 4, 2010 at 12:27 AM, Mansour Al Akeel
wrote:
> Thank you Tor:
>
> He
Thank you Tor:
Here's what I have. this is copied from the web.xml from the wicket
maven project :
http://java.sun.com/xml/ns/j2ee";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";
I am trying to understand portlets using wicket. I read on multiple
resources, that wicket supports JSR 286 in a transparent way. However,
I can not see any reference to a simple portlet application to adopt
as the basis for my project and build on top of it.
I have checked out the examples from th
Arun:
See my comment.
On Wed May 27,2009 04:01 pm, Arun Wagle wrote:
> Hello ,
>
> I have an issue with refreshing the portlet in jetspeed. I will try to
> explain the issue below
>
> I have a navigation in Jetspeed which point to a psml file. This psml file
> will bring up a wicket portlet.
>
44 matches
Mail list logo