Hi,
I need to display a zone, containing javascript code that contains
document.write().
I created an example - here is the relevant code:
...
var currentdate = new Date();
var datetime = "Current time (JS): " + currentdate.getDay()
+ "."+cur
this assumption proved to be wrong, this also doesn't work - I'm still
playing around with it to see if there's any way to make it work.
It seems I'm stuck. Any other ideas?
Lidija
On Tue, Nov 26, 2013 at 11:29 AM, Thiago H de Paula Figueiredo <
thiag...@gmail.com>
After discussing it with our marketing staff it turns out that we don't
need to display the ad on demand.
So the solution is to load the ad at page load time and display it in a
hidden div. When it needs to be displayed, the div containing the ad is
simply shown.
Thank you for help!
Regards,
Lid
Hi,
I can't seem to get client-side email validation to work.
My tml code:
emailValue is being validated for "required", but not for "email" validity.
Why not?
Regards,
Lidija
il.com> wrote:
> >
> > On Wed, 27 Nov 2013 17:36:05 -0200, Lidija Dolinar <
> lidija@gmail.com>
> >> wrote:
> >>
> >> Hi,
> >>>
> >>
> >> Hi!
> >>
> >
> > Hi,
> >
> >
> >&g
Hi,
My page name is Najdi and I have a query parameter appended to the link so
the link looks like this: http://localhost:8080/najdi/test .
I need to remember this url because I'm redirecting user back to this page
later on when he logs in (we have a custom login page).
I'm assigning resources.g
he tapestry request class.
>
> @Inject
> Request request
>
> void func() {
> String url = request.getRequestURL();
>
> }
>
> On 02.01.2014 08:59, Lidija Dolinar wrote:
>
>> Hi,
>>
>> My page name is Najdi and I have a query parameter appended to th
Thank you!
It indeed helped :).
I added onPassivate method to Najdi page:
String onPassivate() {
return q; // returns query parameter
}
And now I get the complete URL with the following code:
String absolute = linkSource.createPageRenderLink(resources.getPageName(),
false).toAbsoluteURI();
Re
You're right, of course :).
Sorry for the confusion - "test" string in above url represents query in
our application.
Regards,
Lidija
On Thu, Jan 2, 2014 at 12:25 PM, Thiago H de Paula Figueiredo <
thiag...@gmail.com> wrote:
> On Thu, 02 Jan 2014 05:59:08 -0200,
Hi,
our web application is running on different sub-domains and we need
shiroSavedRequest cookie to be saved on domain level and not on subdomain
level.
This is supposed to be accomplished with the following setting in
shiro.ini:
[main]
securityManager.sessionManager.sessionIdCookie.domain=
But
effect
Shouldn't this delete the cookie?
Regards,
Lidija
On Tue, Jan 28, 2014 at 3:18 PM, Lidija Dolinar wrote:
> Hi,
>
> our web application is running on different sub-domains and we need
> shiroSavedRequest cookie to be saved on domain level and not on subdomain
> level
Hi,
I tried "Remember Me" functionality here:
http://tynamo-federatedaccounts.tynamo.org/ (live demo webapp) but the user
isn't remembered.
When I check the "Remember Me" checkbox and login, the cookie "rememberMe"
is created. After I close the browser and reopen it again I'm not logged
in. Am I
Lenny and Kalle, thank you for your responses.
On Tue, Feb 25, 2014 at 10:26 PM, Kalle Korhonen wrote:
>
>
> Shiro makes a strong separation between remembered and authenticated use
> cases. It depends on your security settings whether you want to allow
> remembered only users.
How should the
Hi,
After the user successfully logs in he is redirected to the page where he
came from. The location is written in the shiroSavedRequest cookie. The
redirect works most of the time, but occasionally for some users the below
code throws an exception. I tried bullet-proofing it by setting requestUr
Sorry for the ugly code formatting :-/.
Regards,
Lidija
I pasted shiro's debug logs below.
As far as I can see two rememberMe cookies are created: one with value
"deleteMe" that gets deleted immediately since Max-Age=0 and another
rememberMe cookie that has expiration date 1 year from now. So why don't I
see this cookie in a browser?
There's a debug m
Sorry for talking to myself :-).
We managed to resolve the issue - the cookie was bigger than 4K. I had to
debug shiro-web since there was no warning whatsoever and browser obviously
just ignored the cookie.
This issue is nicely explained here:
http://shiro-user.582556.n2.nabble.com/Remember-me-p
By SimplePrincipalSerializer - did you mean this one that uses Kryo?
http://grepcode.com/file/repo1.maven.org/maven2/org.jasig.cas/cas-server-integration-memcached/4.0.0-RC1/org/jasig/cas/ticket/registry/support/kryo/serial/SimplePrincipalSerializer.java
Regards,
Lidija
On Wed, Mar 5, 2014 at 5
Ah, I see, you ment SimplePrincipalSerializer from the patch.
It doesn't effect cookie size much though - it is now 4.3K instead of 4.6K
so it doesn't resolve our problem, cookie is still to big.
Regards,
Lidija
On Thu, Mar 6, 2014 at 10:14 AM, Lidija Dolinar wr
Dusko, thank you for your reply.
If I use your SimplePrincipalSerializer, the rememberMe cookie is indeed
created and is very small:
[11:31:39] DEBUG [org.apache.shiro.web.servlet.SimpleCookie]: Added
HttpServletResponse Cookie [rememberMe=deleteMe; Path=/; Max-Age=0;
Expires=Wed, 05-Mar-2014 10
Cookie size is 2K. Works like a charm, thank you :).
Regards,
Lidija
On Thu, Mar 6, 2014 at 12:21 PM, Dusko Jovanovski wrote:
> Thanks for pointing that out, I wasn't finishing the GZIP stream properly,
> already fixed in the updated gist.
> https://gist.github.com/duskote/0f8cce8d1b0d1cc56844
Anyone?
Kind regards,
Lidija
Hi,
I have a datatable editor and I'm using ajaxFileUpload to upload an image.
I can edit an item in datatable and for example change it's picture -
upload a new one. Now I've stumbled upon an issue: I can't seem to
determine (from JavaScript) if there was an error uploading file on the
server si
Hi,
I'm trying to use freemarker templates according to the following
instructions:
http://chenillekit.codehaus.org/chenillekit-template/howto_freemarkerservice.html
My code in AppModule is the same as specified above.
In my Java code I'm trying to send mail with the use of a template file:
Out
emarker service. Using the AssetSource also allow you to create
> localized template files, if necessary.
>
> Best,
> Thilo
>
>
> From: Lidija Dolinar
> Sent: Monday, May 26, 2014 15:03
> To: Tapestry users
> Subject: FreeMarker conf
25 matches
Mail list logo