Have you ever run this example ?

2009-08-28 Thread Altuğ B . Altıntaş
Hi all ; I am trying to run Spring Security and Wicket-auth-roles example. Url : http://cwiki.apache.org/WICKET/spring-security-and-wicket-auth-roles.html I implemented what it writes step by step but it gives : java.lang.IllegalArgumentException: Argument [[ctx]] cannot be null at

Re: images in html or images in css

2009-08-28 Thread Altuğ B . Altıntaş
Hi; Because your css file location and html file location are different. try to reach images via url way like background:url(*/images/FondoGeneral.jpg*); or img src=*/images/MarcoFoto.png* width=177 height=107 Cheers... 2009/8/28 Fernando Wermus fernando.wer...@gmail.com Hi all,

Re: Have you ever run this example ?

2009-08-28 Thread Altuğ B . Altıntaş
How can i add ctx variable ? I am new in Spring Security Thanks... 2009/8/28 Anders innocentl...@gmail.com I don't see any ctx variable in that web page. On Fri, Aug 28, 2009 at 10:37 PM, Altuğ B. Altıntaş alt...@gmail.com wrote: Hi all ; I am trying to run Spring Security

Re: Have you ever run this example ?

2009-08-28 Thread Altuğ B . Altıntaş
, It sounds like there is no bean factory set on your servlet context. Did you add Spring's context listener in web.xml? Regards - Cemal jWeekend OO Java Technologies, Wicket Training and Development http://jWeekend.com Altuğ B. Altıntaş wrote: How can i add ctx variable ? I am new

WebMarkupContainer Ajax update problem

2009-09-03 Thread Altuğ B . Altıntaş
Hi ; In Panel I have a AjaxButton In that AjaxButton, I tried to update the background (Parent Pages's WebMarkupContainer). Here is the simplified code : AjaxButton vote = new AjaxButton(Vote) { @Override protected void onSubmit(AjaxRequestTarget

Re: WebMarkupContainer Ajax update problem

2009-09-04 Thread Altuğ B . Altıntaş
://www.wickettraining.com On Thu, Sep 3, 2009 at 5:57 PM, Altuğ B. Altıntaş alt...@gmail.com wrote: Hi ; In Panel I have a AjaxButton In that AjaxButton, I tried to update the background (Parent Pages's WebMarkupContainer). Here is the simplified code : AjaxButton vote = new AjaxButton

Re: GridView and refreshing with an ajax call

2009-09-25 Thread Altuğ B . Altıntaş
Did you add the component to AjaxRequestTarget target.addComponent(yourGridview) Also don't forget this : yourGridview.setOutputMarkupId(true); A.B.A 2009/9/25 Fernando Wermus fernando.wer...@gmail.com Hi all,I have an ajaxclick which should refresh a gridview, but this doesnt happened.

html tag doesn't render by the browser

2009-09-25 Thread Altuğ B . Altıntaş
Hi all ; Problem is html tag - bold brdoesn't process ; I don't know if this problem related with Wicket. Let me explain it by simple code: HTML side : wicket:panel span wicket:id=test test code comes here /span /wicket:panel Java side : String test = Java bSoftware/b

Re: html tag doesn't render by the browser

2009-09-25 Thread Altuğ B . Altıntaş
#getDefaultModelObjectAsString()http://static.ddpoker.com/javadoc/wicket/1.4-rc2/org/apache/wicket/Component.html#getDefaultModelObjectAsString%28%29 On Fri, Sep 25, 2009 at 7:38 PM, Altuğ B. Altıntaş alt...@gmail.com wrote: Hi all ; Problem is html tag - bold brdoesn't process ; I don't know

Re: NullPointException in subclass of FormComponentFeedbackBorder

2009-09-27 Thread Altuğ B . Altıntaş
wicket:border span wicket:id=errorIndicator/span img alt=Error! src=icon.gif/span style=color:red;! br/ /span wicket:body/ /wicket:border Try above . Maybe error occurs because of hierarchy; i mean it your html; img is child of errorIndicator but i think in your java code

java.lang.StackOverflowError and ModalWindow

2009-10-01 Thread Altuğ B . Altıntaş
Hi all; I have a modal window; In that modal window i put a flash upload tool which calls a Servlet to post data. System works fine. But sometimes it gives java.lang.StackOverflowError. I couldn't understand this issue. Note : Also i increased Tomcat heap size... My wicket version is 1.4.1 JDK

Re: java.lang.StackOverflowError and ModalWindow

2009-10-01 Thread Altuğ B . Altıntaş
I think problem occurs because of old disk written Session. I cleaned Tomcat work directory. It works for now. 2009/10/1 Altuğ B. Altıntaş alt...@gmail.com Hi all; I have a modal window; In that modal window i put a flash upload tool which calls a Servlet to post data. System works fine

Re: ProgressBar demo doesn't work for firefox 3.5.3

2009-10-02 Thread Altuğ B . Altıntaş
You are right; it doesn't work properly. I am using swfupload tool. it is flash and it works great. Regards. Altug. 2009/10/2 Paul Huang paulhuan...@gmail.com I copy and paste the single file upload demo at http://www.wicket-library.com/wicket-examples/upload/single; to my local machine

DropDownChoice and onSelectionChanged error.

2009-10-09 Thread Altuğ B . Altıntaş
Hi; I have a problem with DropDownChoice; The code block is here : ListFaaliyetfaaliyetListesi = // data comes final DropDownChoiceFaaliyet faaliyetler = new DropDownChoiceFaaliyet(Faaliyetler, new Model((Serializable) faaliyetListesi), faaliyetlerRenderer) {

Re: DropDownChoice and onSelectionChanged error.

2009-10-10 Thread Altuğ B . Altıntaş
Thanks Fatih. It is my fault, i solved the problem. Altug. 2009/10/9 Fatih Mehmet Ucar fmu...@gmail.com If you use the below constrcutor, it should solve your problem. DropDownChoice(java.lang.String id, IModel model, IModel choices, IChoiceRenderer renderer) 2009/10/9 Altuğ B. Altıntaş

Wicket + Spring + Hibernate event in ISTANBUL (Turkey)

2009-10-15 Thread Altuğ B . Altıntaş
Hi all; Today we will organize a medium size event. In that event, we will present hands on session about Wicket + Spring + Hibernate. This event will be in Istanbul, Besiktasi Bahcesehir University at 19.00 (local time) http.//www.java.org.tr Feel free to attend this event. Regards. --

Re: some questions from newbie

2009-12-16 Thread Altuğ B . Altıntaş
Merhaba Halil; *1. is there an ide to develop wicket applications/components easily* I used Netbeans and now I am using Eclipse, it is really fun to develop on these IDEs. *2. does the tag starts with wicket: take arguments or not, if yes, is.* First; don't compare Wicket *syntax *with

Tag Oriented Development

2009-12-21 Thread Altuğ B . Altıntaş
Hi, I have a question about JSF, I know this is Wicket-User group but I think my question is more suitable for this group I've been using Wicket for ~1,5 years before Wicket i used Struts 1.x and JSF (Myfaces + Tiles + Tomehawk ...) Now i am investigating JSF libs *just for fun*; such as

Re: Tag Oriented Development

2009-12-22 Thread Altuğ B . Altıntaş
I agree with you. I think becoming a JSR also adds lots of friction to development. 2009/12/22 nino martinez wael nino.martinez.w...@gmail.com Could'nt one petition a JSR for wicket? :) -regards Nino 2009/12/22 Chris Colman chr...@stepaheadsoftware.com: I know JSF is standard; what is

Re: Tag Oriented Development

2009-12-22 Thread Altuğ B . Altıntaş
In business, decision makers choose standards and JSF is standard so JSF is good and JSF is the King. But couldn't be The King Is Naked ?? OR Am i wrong ? JSF is really cool and i don't know the hidden features ?? I don't want to start framework wars, this is useless but I think Wicket should

Re: Tag Oriented Development

2009-12-29 Thread Altuğ B . Altıntaş
Agreed 2009/12/25 b...@actrix.gen.nz JSF == Standard? My question is: What should become a standard? When I think about standards, then things that come to mind are: - SQL - ODBC - Java - JDBC - EJB - JPA but not JSF. And not Spring. And not ... - you name it. For some reason,

Re: Wicket Acegi Security

2010-01-10 Thread Altuğ B . Altıntaş
I prefer Apache Shiro, simple and powerful. http://incubator.apache.org/shiro/ http://incubator.apache.org/shiro/This month Shiro team gonna release the first official version as Apache Shiro. This product known as Jsecurity before connected to Apache system. My formula : Apache Wicket +

Re: LegUp updated for latest version of Wicket, and other frameworks

2010-01-15 Thread Altuğ B . Altıntaş
This is great ! 2010/1/15 Cemal Bayramoglu jweekend_for...@cabouge.com Marek, Jeremy, Thanks. Yes, we do plan to gradually add more configurations. We have already had offers to contribute Wicket/Scala templates and a few others we will consider. Wicket/WiQuery will be popular too, once

Re: Just showing rating results

2009-04-10 Thread Altuğ B . Altıntaş
B. Altıntaş alt...@gmail.com: Hi; How can i just show rating results of my ratings in the page. I know RatingPanel component but i need just to show rating in stars (ex : as an image), i don't want Ajax or clickable component. When you visit youtube homepage, you see the stars about

class files disappered while deployment

2009-04-14 Thread Altuğ B . Altıntaş
Hi all; I have very interesting problem. I am using netbeans 6.5 + tomcat 6.x + wicket 1.3.5.. My problem is java.lang.NoClassDefFoundError but not a standard one. I have a wicket page Buy.java and Buy.html. When java files are compiled below class files are generated Buy$1.class -- inner

Re: how to get some data from servlet

2009-07-14 Thread Altuğ B . Altıntaş
Also I have a problem like yours. Servlet session and Wicket's session are different so you are getting nul. Just debug your application and you will see that they have different session Id's. I tried to use WicketSessionFilter but it doesn't work. I am using wicket 1.3.5. Cheers... Altug.

Re: how to get some data from servlet

2009-07-19 Thread Altuğ B . Altıntaş
Hi Igor; I found the problem; problem is when i hit my UploadServlet via http-get method , i simply write the url and hit the enter then below code is working Session wicketSession = Session.get(); I can get wicket Session, wow !! it is great... BUT ... When i hit my UploadServlet via

Re: how to get some data from servlet

2009-07-19 Thread Altuğ B . Altıntaş
(); } } On Sun, Jul 19, 2009 at 3:20 PM, Altuğ B. Altıntaş alt...@gmail.com wrote: Hi Igor; I found the problem; problem is when i hit my UploadServlet via http-get method , i simply write the url and hit the enter then below code is working Session wicketSession = Session.get(); I can get

Re: how to get some data from servlet

2009-07-23 Thread Altuğ B . Altıntaş
Hi all ; I can't use WicketSessionFilter maybe because I am using Apache Shiro (old name is Apache Kİ). In fact Fernando's solution works; Now I can reach and use Session inside UploadRequestTarget which implements IRequestTarget. But then I realized that I reach a different Session object in

Re: how to get some data from servlet

2009-07-23 Thread Altuğ B . Altıntaş
the IRequestTarget class you have implemented? On Thu, Jul 23, 2009 at 10:31 AM, Altuğ B. Altıntaş alt...@gmail.com wrote: Hi all ; I can't use WicketSessionFilter maybe because I am using Apache Shiro (old name is Apache Kİ). In fact Fernando's solution works; Now I can reach and use

Re: how to get some data from servlet

2009-07-23 Thread Altuğ B . Altıntaş
I forgot to say : I am using Wicket 1.3.6 + Tomcat + java 6 maybe it gives a clue 2009/7/24 Altuğ B. Altıntaş alt...@gmail.com I will post my codes. But now i catched a very very strange position in WicketSessionFilter . Let me explain : I used WicketSessionFilter and a Simple

WicketSessionFilter and empty HttpSession

2009-07-27 Thread Altuğ B . Altıntaş
Hi all ; I am working on WicketSessionFilter for a while and i have problem about accessing Wicket Session in my Servlet. My question is : In WicketSessionFilter.java (core class in wicket.1.3.6.jar) at doFilter() method HttpSession httpSession = httpServletRequest.getSession(false); above

Re: WicketSessionFilter and empty HttpSession

2009-07-27 Thread Altuğ B . Altıntaş
It is impossible, I can get Session Id but then when I call servlet ' s doPost() method , WicketSessionFilter can not find the HttpSession. I mean : HttpSession httpSession = httpServletRequest.getSession(false); // WicketSessionFilter.java in wicket.1.3.6.jar returns NULL. so that my servlet

Re: WicketSessionFilter and empty HttpSession

2009-07-27 Thread Altuğ B . Altıntaş
OK. Problem occurs because of swfupload - swfupload.org/ swfupload is a flash based file upload tool and it doesn't send cookie information in the http header so i can't access Wicket Session. I am sending Session Id in URL when posting via swfupload; Is there any way to access Session object

Re: WicketSessionFilter and empty HttpSession

2009-07-27 Thread Altuğ B . Altıntaş
Thanks Igor. 2009/7/27 Igor Vaynberg igor.vaynb...@gmail.com no, there is not afaik. what you need to do is pass it in the url just like the servlet container would /context;JSESSIONID=x?foo=bar -igor On Mon, Jul 27, 2009 at 11:09 AM, Altuğ B. Altıntaşalt...@gmail.com wrote: OK.